1. The Architect (Human-in-the-Loop)
Variable 01 — Strategic Command & Final Approval Authority: Operating from a clean project folder inside a persistent local IDE and terminal environment (Visual Studio Code and Git Bash), The Architect sits in the command seat and drives the entire build across Phases 1 through 7. The Architect initializes the five blank deliverable files and locks in the 5 Build Coordinates in Phase 1, runs read-only CLI extraction queries in Phase 2, executes the IaC Payload, Terminal Runbook, and any guided Azure Portal MFA Handoff in Phase 3, runs the live Validation Bridge and verifies Azure Portal Monitoring Metrics (Total Service API Hits) in Phase 4, saves the compliance ledgers in Phase 5, and pushes the sterilized repository in Phase 6. Whenever any error is solved during the Standard Patch Loop (Iterations 1 to 3), The Architect verifies the fix in the terminal so it is logged in the Defect & Patch Ledger (DPL) with a full-file State Re-Sync (or exercises strategic risk governance if an isolated defect reaches Iteration 4), and in Phase 7 reviews the counted AI Performance Scorecard and authorizes The AI Engine to permanently compile all verified DPL fixes into the upgraded System Directive.
2. The State Machine (System Directive v1.0)
Variable 02 — The Central Compiler Harness & Rulebook: The master System Directive (v1.0) is The Adversarial Kill-Chain Counter-Engineering State Machine: the un-bypassable structural compiler rulebook (Directives 00–07 and Rules 1–32) standing directly between The Architect and The AI Engine. It paces the deployment through 7 sequential phases behind mandatory [STRICT HALT] human-in-the-loop gates and a continuous Watchdog check (Directive 07), enforces all 4 Architectural Gates and 5 Enterprise Guardrails, embeds the 30-Second Server Sync Timer, triggers Directive 05 whenever execution friction strikes (enforcing full-file State Re-Syncs in Iterations 1–3 or The 4-Iteration Circuit Breaker at Iteration 4), and permanently upgrades its own System Directive rules in Phase 7 from every verified fix logged in the Defect & Patch Ledger (DPL).
3. The AI Engine (Controlled Compute)
Variable 03 — The Tethered High-Performance Co-Pilot: Subordinated to The State Machine and The Architect's human sign-off with zero direct network access to the Entra ID Tenant ID or Azure Subscription ID, The AI Engine operates through controlled state-switching—explicitly announcing when it steps out into [MODE: COLLABORATIVE TROUBLESHOOTING] during a mid-phase patch loop and when it tethers back into [MODE: RESUMING DETERMINISTIC EXECUTION]. It outputs read-only CLI extraction scripts in Phases 1 and 2, synthesizes the 100% finished Terraform HCL, Azure Bicep, or PowerShell REST API IaC Payload and Terminal Runbook in Phase 3, generates the pre-test Identity Architecture Ledger (IAL) and masked .yml Validation Bridge (::add-mask::) in Phase 4, compiles the Audit Results Ledger (ARL), standby KQL Telemetry (kql_telemetry.md), and Defect & Patch Ledger (DPL) in Phase 5, generates the Git synchronization script in Phase 6, and outputs the counted AI Performance Scorecard and upgraded System Directive in Phase 7.