{
  "slug": "gh-issue-develop-checks-out-a-linked-branch-in-a-worktree-59f98336f61d",
  "title": "gh issue develop checks out a linked branch in a worktree",
  "tools": [
    "gh"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-01T20:25:04.000Z",
  "announced_at": "2026-09-01T20:25:04.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When you need to start issue work in a separate Git working copy, run `gh issue develop` with `--checkout` and `--worktree` to create and check out the linked branch there. The documented example uses issue 123 and `/path/to/wt-feature`.",
    "examples": [
      "gh issue develop 123 --checkout --worktree /path/to/wt-feature"
    ],
    "gotchas": [
      "Version: v2.99.0",
      "<number> (required): Issue number or URL whose linked branch to manage.",
      "--checkout (required): Check out the branch after creating it.",
      "--worktree <path> (required): Check out the branch into a worktree at the given path.",
      "Prerequisite: Authenticate `gh` with `gh auth login` or provide a supported authentication token through an environment variable.",
      "The new worktree leaves the current working copy unchanged."
    ]
  },
  "why_it_matters": "Start work on an issue in a separate Git working copy while preserving the current working copy.",
  "sources": [
    "https://github.com/cli/cli/releases/tag/v2.99.0",
    "https://cli.github.com/manual/gh_issue_develop",
    "https://cli.github.com/manual/index"
  ],
  "rank": 0.9704,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "augsep-20261008",
    "verdict_id": "augsep-20261008:augsep-20261008-a821704c77daab11-1:gate",
    "evidence_hash": "c1fe278bc210fd10305c583743fcb8685ae4e49d3fe0d0bf107f01fefefc79c2"
  },
  "review": {
    "draft_hash": "c2775a97ac525e6485dc9e5fbf46a2427be444728703a9d99a907b5ea50090ad",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "augsep-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.74 (>= 0.6 needed)."
  }
}
