Digital Twin
An offline, contract-driven State & Simulation Twin models capacity and blast radius at $0 spend before any Azure lab or change runs.
More
The Digital Twin spans the avd-ops toolkit without changing family roles, never leave the meter running, or avd-swarm boundaries. See decision 0031 and the full Digital Twin specification.
Three-tier architecture
The model separates $0 static simulation, spend-gated live sandboxes, and private-vault operator memory.
More
- Tier A — State & Simulation Twin ($0 offline): Built deterministically from redacted
C11(avd-current-state),C14(avd-migrate),C25(avd-benchmark),C27(avd-assess),C34(avd-security), andC18(avd-second-brain) contracts. - Tier B — Ephemeral Execution Twin (spend-gated): A short-lived isolated stamp spun up via sandbox batches only after explicit
go batch <id> $<total>approval when static math cannot prove OS, WDOT, Defender, or FSLogix behavior. - Admin Digital Twin (private
vault/only): A read-only recommender anchored to Git-reviewedC18lifecycle records andC10action outcomes. It ranks and flags anomalies, and never acts as an auto-approval proxy.
Contract composition
Each repository supplies or consumes versioned, redacted contracts without importing another repository's code.
More
| Repository | Contract / Input | Role in the Twin |
|---|---|---|
| avd-current-state | C11 facts + scheduled drift |
Sensor and sync layer anchored to live Azure state |
| avd-benchmark | C25 empirical curves |
Physics engine calibrating density, logon-storm, and IOPS gates |
| avd-migrate | C14 target state + C27 usage |
Design-time what-if replay before avd-landing-zone deploys |
| avd-remediate | C24 remediation plan |
Counterfactual triage against calibration envelopes (logon p95 <= 30s, RTT p95 <= 100ms) |
| avd-security | C34 posture state |
Lateral-movement and blast-radius reachability graph |
| avd-second-brain | C18 lifecycle + C15 fact IDs |
Durable memory, Admin Twin store, and cited evidence |
| avd-swarm | C10 outcomes (after spec §9a step 3) |
Pre-flight blast-radius diffs and post-action verification |
Red-team invariants
Every simulation enforces freshness TTLs, fail-closed redaction checks, and explicit proof-boundary tags.
More
- Freshness TTLs:
C11expires at 7 days (forensicC12at 90 days); stale inputs mark simulationslow-confidenceand require live target re-reads before any write. - Explicit proof boundary: Every check is tagged
provable-in-state-twin(capacity, host-drain headroom, logon-storm IOPS envelope) orrequires-ephemeral-twin(OS, WDOT, Defender, or FSLogix driver behavior). - Fail-closed redaction: Public twin math rejects GUIDs, IPv4 addresses, emails, and secrets; unredacted topology and Admin Twin data stay strictly inside the adopter's private
vault/. - Git-reviewed Admin Twin anchoring: Operator preferences anchor strictly to Git-reviewed
C18decisions and signedC10logs, preventing gradual "boiling-the-frog" drift. - Advisory only: Twin outputs are before/after impact diffs, never auto-approval.