{
  "slug": "jj-bookmark-rename-can-overwrite-an-existing-bookmark-3efcf177a636",
  "title": "jj bookmark rename can overwrite an existing bookmark",
  "tools": [
    "jj"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-03-04T18:28:43.000Z",
  "announced_at": "2026-03-04T18:28:43.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When renaming a bookmark to a name that already exists, run `jj bookmark rename` with `--overwrite-existing` to replace the existing bookmark.",
    "examples": [
      "jj bookmark rename --overwrite-existing <old> <new>"
    ],
    "gotchas": [
      "Version: v0.39.0",
      "old (required): Existing bookmark name to rename.",
      "new (required): New bookmark name.",
      "--overwrite-existing: Allow renaming when the new bookmark name already exists.",
      "The flag allows the existing bookmark with the new name to be replaced."
    ]
  },
  "why_it_matters": "Rename a bookmark to a name that already exists in the repository.",
  "sources": [
    "https://github.com/jj-vcs/jj/releases/tag/v0.39.0",
    "https://github.com/jj-vcs/jj/blob/v0.39.0/cli/src/commands/bookmark/rename.rs"
  ],
  "rank": 0.92019,
  "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-tools-20261017",
    "verdict_id": "wave1b-tools-20261017:wave1b-tools-20261017-7bbe2f4242294e1b-25:gate",
    "evidence_hash": "c53a418ad28d07436e7dcc93a9a84d24352b31af3ecd8b942def60733aee66fc"
  },
  "review": {
    "draft_hash": "fb4a1db6693f13ee2afd6dd45b6aec31ef68458ecbf79d47624e8d9764bbc725",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-tools-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.92 >= 0.9; 2 needed) and Jev gave 0.63 (>= 0.6 needed)."
  }
}
