{
  "slug": "azd-provision-runs-local-preflight-validation-before-bicep-deployment-1f68e1f332ff",
  "title": "azd provision runs local preflight validation before Bicep deployment",
  "tools": [
    "azd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-13T22:26:33.000Z",
  "announced_at": "2026-03-13T22:26:33.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "For a Bicep project, run `azd provision` to run local preflight automatically before deployment is sent to Azure. To disable it, run `azd config set provision.preflight off`.",
    "examples": [
      "azd provision",
      "azd config set provision.preflight off"
    ],
    "gotchas": [
      "Version: 1.23.9",
      "provision.preflight: User configuration key; set to `off` to disable local preflight.",
      "off (required): Value used with `provision.preflight` to disable preflight.",
      "Prerequisite: Local preflight depends on the `bicep snapshot` command, available in modern Bicep CLI versions; the docs do not specify a minimum version.",
      "Local preflight depends on the `bicep snapshot` command, available in modern Bicep CLI versions.",
      "Preflight can be disabled by setting `provision.preflight` to `\"off\"` in azd user configuration."
    ]
  },
  "why_it_matters": "Provision resources from a Bicep deployment while detecting parameter, configuration, or permission issues before submission to Azure.",
  "sources": [
    "https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.23.9",
    "https://github.com/Azure/azure-dev/pull/7053",
    "https://github.com/Azure/azure-dev/blob/azure-dev-cli_1.23.9/cli/azd/docs/design/local-preflight-validation.md"
  ],
  "rank": 0.9104,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-a09cae42f5326d8e-1:gate",
    "evidence_hash": "ee4464ec9c03a44d248975c7a0d225e18eeaf5928b99647cf07d1b13ae0c66d7"
  },
  "review": {
    "draft_hash": "f06bd52833e36d6ebe224d5d201252cfa6b8618b34321c2e0ad3262a761bc432",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.91 >= 0.9; 2 needed) and Jev gave 0.67 (>= 0.6 needed)."
  }
}
