avd-opsDeploy quietly
Community research project. Use at your own risk. No warranty.Use at your own risk
  • Built on my own time for research and learning. Not affiliated with, endorsed by or supported by my employer or Microsoft.
  • Don't run any of it in production or against tenants that matter. Test in a dedicated lab subscription and tenant first.
  • Provided "as is", without warranty of any kind, under each repo's license. You use it at your own risk and own the Azure charges it incurs.
  • Contributions and forks are welcome and encouraged. See Contribute.

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
  1. 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), and C18 (avd-second-brain) contracts.
  2. 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.
  3. Admin Digital Twin (private vault/ only): A read-only recommender anchored to Git-reviewed C18 lifecycle records and C10 action 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: C11 expires at 7 days (forensic C12 at 90 days); stale inputs mark simulations low-confidence and 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) or requires-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 C18 decisions and signed C10 logs, preventing gradual "boiling-the-frog" drift.
  • Advisory only: Twin outputs are before/after impact diffs, never auto-approval.
Linked from 3 pages