{
  "slug": "azd-extension-install-upgrade-and-list-accept-direct-registry-sources-5b30a11be1ac",
  "title": "azd extension install, upgrade, and list accept direct registry sources",
  "tools": [
    "azd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-30T21:28:18.000Z",
  "announced_at": "2026-06-30T21:28:18.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When installing or upgrading an extension from a registry URL or local path, pass that location with `--source` to register and use it. The current docs describe `list --source` as read-only; see conflicts.",
    "examples": [
      "azd extension install <extension-id> --source <registry-url-or-local-path>",
      "azd extension upgrade <extension-id> --source <registry-url-or-local-path>",
      "azd extension list --source <registry-url-or-local-path>"
    ],
    "gotchas": [
      "Version: 1.27.0",
      "<extension-id> (required): Extension identifier to install or upgrade.",
      "--source, -s: Accepts a registered source name or, for install and update, a registry URL or file path to register and use. For list, filters by registered source name or registry location. No mutual-exclusion rule documented.",
      "--installed: For list, lists installed extensions.",
      "Prerequisite: When registration needs a source name, install prompts for a name; URLs also require confirmation. Under `--no-prompt`, registering a source from a location is not allowed; add the source first with `azd extension source add`.",
      "Docs conflict: The release note says `azd extension list -s <location>` validates and persists the location before resolving the extension. Current official docs say list queries locations read-only and does not register them. The current docs are newer than version 1.27.0."
    ]
  },
  "why_it_matters": "Install, upgrade, or list an azd extension from a registry URL or local path without first adding a source.",
  "before": "The release note says users previously needed to run `azd extension source add` before using the source.",
  "sources": [
    "https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.27.0",
    "https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/reference",
    "https://github.com/Azure/azure-dev/blob/main/cli/azd/docs/extensions/extension-framework.md"
  ],
  "rank": 0.97028,
  "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-6b1348cb5815b1ca-0:gate",
    "evidence_hash": "b6ce7b6b46e95ed065aa7ef2b2d64cb64db4a583daf5586cda9b03730543292e"
  },
  "review": {
    "draft_hash": "7c2ea9956b9c5035c61b141ab056882b045f2a87e379a1ff2ade8ab212dc9e2c",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.75 (>= 0.6 needed)."
  }
}
