{
  "slug": "gh-stack-switch-interactively-selects-a-branch-in-the-current-stack-fad9d2f35cab",
  "title": "gh stack switch interactively selects a branch in the current stack",
  "tools": [
    "gh-stack"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-20T15:29:35.000Z",
  "announced_at": "2026-04-20T15:29:35.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When you need to switch to a branch in the current stack, run `gh stack switch` in an interactive terminal and select the branch from the ordered picker.",
    "examples": [
      "gh stack switch"
    ],
    "gotchas": [
      "Version: v0.0.2",
      "Prerequisite: Requires an interactive terminal.",
      "Prerequisite: Install the extension with `gh extension install github/gh-stack`; requires GitHub CLI `gh` v2.0 or later.",
      "Interactive picker command."
    ]
  },
  "why_it_matters": "Interactively switch to a branch in the current stack.",
  "sources": [
    "https://github.com/github/gh-stack/releases/tag/v0.0.2",
    "https://github.com/github/docs/blob/main/content/pull-requests/reference/stacked-prs-cli-commands.md",
    "https://github.com/github/gh-stack/blob/v0.0.2/README.md"
  ],
  "rank": 0.96024,
  "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": "recover-20261008",
    "verdict_id": "recover-20261008:recover-20261008-f2276e15351d43d7-1:gate",
    "evidence_hash": "52d58cace2ac9a9b9ac050112b1a4979c8334ae281165299bc14108df9b0982f"
  },
  "review": {
    "draft_hash": "4f9306c7181f033f2c0c0d8726ae577ed37cfa34ea06e0babeba939d75a0220a",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "recover-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.73 (>= 0.6 needed)."
  }
}
