{
  "slug": "argo-cd-git-tag-path-prefixes-11b55db5aa36",
  "title": "Argo CD Git tag path prefixes",
  "tools": [
    "argocd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-04T08:35:57.000Z",
  "announced_at": "2026-08-04T08:35:57.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When resolving a Git semver target within a tag path, set `tagPrefix` with `targetRevision`. Argo CD filters tags by that prefix, strips it for constraint evaluation, then restores it on the resolved version; semver constraints match tags, not branches.",
    "examples": [
      "argocd app set <APPNAME> --revision '1.0.*' --tag-prefix 'component-b/'",
      "spec:\n  source:\n    targetRevision: 1.0.*\n    tagPrefix: component-b/"
    ],
    "gotchas": [
      "Version: v3.5.0",
      "APPNAME (required): Application name.",
      "--revision: Tracking source branch, tag, commit, or Helm chart version; use a semver constraint for Git tag resolution.",
      "--tag-prefix: Filters Git tags by this prefix before evaluating `targetRevision` as a semver constraint.",
      "targetRevision (required): For this task, the semver constraint used to resolve a Git tag; constraints match tags, never branches.",
      "tagPrefix: Filters tags to those with the prefix, strips it before comparing against `targetRevision`, and re-adds it to the resolved version. No mutually exclusive values are documented.",
      "Semver constraints are matched against tags, never branches.",
      "The source describes basic support for Git tag path prefixes."
    ]
  },
  "why_it_matters": "Resolve a semver target revision against tags scoped to a component or environment prefix.",
  "sources": [
    "https://github.com/argoproj/argo-cd/releases/tag/v3.5.0",
    "https://github.com/argoproj/argo-cd/pull/27290",
    "https://github.com/argoproj/argo-cd/blob/v3.5.0/docs/user-guide/commands/argocd_app_set.md",
    "https://github.com/argoproj/argo-cd/blob/v3.5.0/docs/user-guide/tracking_strategies.md"
  ],
  "rank": 0.98035,
  "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": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-656f1cd605543c63-35:gate",
    "evidence_hash": "07be7454f1632122a2ab9cf03b6223f667e5b8c46a3233bb371b89fc1a018727"
  },
  "review": {
    "draft_hash": "1382495a1f3bc43b523dd3203c26310eedb223ef365ed24e118103f5e3ff418c",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.73 (>= 0.6 needed)."
  }
}
