{
  "slug": "circleci-deploy-rollback-9feea2d3f9cf",
  "title": "circleci deploy rollback",
  "tools": [
    "circleci"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-17T10:43:57.000Z",
  "announced_at": "2026-08-17T10:43:57.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a CircleCI-managed deployment needs reverting, run `circleci deploy rollback` with the target version, component, and environment; provide the current version with `--from` if you need to assert which deployment is being replaced.",
    "examples": [
      "circleci deploy rollback <target-version> --component <component> --environment <environment>",
      "circleci deploy rollback <target-version> --component <component> --environment <environment> --from <current-version> --force",
      "circleci deploy rollback <target-version> --component <component> --environment <environment> --reason \"<reason>\" --param <key>=<value>"
    ],
    "gotchas": [
      "Version: v1.0.48275",
      "<target-version> (required): Version to roll back to.",
      "--component (required): Deploy component name or ID.",
      "--environment (required): Deploy environment name or ID.",
      "--from: Version being replaced; defaults to the latest deployed version.",
      "--force / -f: Skip the confirmation prompt.",
      "--namespace: Namespace scoping the component; defaults to `default`.",
      "--param: Rollback pipeline parameter in `key=value` form; repeatable.",
      "--reason: Reason for the rollback, recorded in the audit log.",
      "--project: Project slug; defaults to the current Git remote.",
      "--checkout-ref: Git ref the rollback pipeline checks out.",
      "--config-ref: Git ref from which the rollback pipeline config is read.",
      "Prerequisite: Install the CircleCI CLI.",
      "Prerequisite: For rollback through a rollback pipeline, configure deploy markers and a rollback pipeline for the project."
    ]
  },
  "why_it_matters": "Roll back a deployment managed through CircleCI.",
  "sources": [
    "https://github.com/CircleCI-Public/circleci-cli/releases/tag/v1.0.48275",
    "https://cli.circleci.com/reference/",
    "https://circleci.com/docs/guides/deploy/rollback-a-deployment/"
  ],
  "rank": 0.97046,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3-rejudge+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-afc1dc1d5bb55ed5-0:rescue",
    "evidence_hash": "5338aac126e3c0d44e3dbb8cf4e7036707f4bc9080ed13874404b13422c4bf63"
  },
  "review": {
    "draft_hash": "01ff3d7080bb28f080941d71baa9d1898c073a53b5f3fa47dab796671b1540dd",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:rescue",
    "reason": "Rescue path: first rejected only because the extracted card lacked usage; judged again on the enriched card, 3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.67 (>= 0.6 needed)."
  }
}
