Skip to content

Step 3.5 — Governance

Discover effective Azure Policy assignments (including management-group-inherited ones), classify their effects, and emit the 04-governance-constraints.{md,json} artifacts that gate downstream IaC planning and deployment.

04g-Governance — uses the azure-governance-discovery skill.

Invoke: Ctrl+Shift+A → 04g-Governance
Output: agent-output/{project}/04-governance-constraints.md
agent-output/{project}/04-governance-constraints.json
  • Policy assignments at subscription + management-group scope.
  • Policy definitions and exemptions referenced by assignments.
  • Effect classification (Deny, Audit, Modify, DeployIfNotExists).
  • Dual-track property mapping — bicepPropertyPath + azurePropertyPath — so both IaC tracks can self-validate.
  • SKU allowlist projection via derive-sku-allowlist.mjs, written into sku-manifest.sku_allowlist_snapshot.

1 × governance-reconciliation adversarial pass (mandatory when constraints exist; skipped when the policy array is empty).

The Orchestrator routes context to Step 4 — IaC Plan.