{
  "slug": "gh-stack-unstack-dissolves-a-remote-stack-by-number-4c892239ce17",
  "title": "gh stack unstack dissolves a remote stack by number",
  "tools": [
    "gh-stack"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-15T17:28:54.000Z",
  "announced_at": "2026-07-15T17:28:54.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When dissolving a stack that may not be tracked locally, run `gh stack unstack <stack-number>` from within the repository. It dissolves the stack through GitHub’s API and removes local tracking when present.",
    "examples": [
      "gh stack unstack <stack-number>"
    ],
    "gotchas": [
      "Version: v0.0.8",
      "<stack-number> (required): Stack number shown in the GitHub stack UI; targets that stack for unstacking.",
      "Prerequisite: Install the extension with `gh extension install github/gh-stack`; requires GitHub CLI (`gh`) v2.0 or later.",
      "Prerequisite: The Stacked PRs feature must be enabled for the repository; authenticate with GitHub CLI to run stack operations.",
      "The command works from anywhere in the repository, whether or not the stack is tracked locally."
    ]
  },
  "why_it_matters": "When dissolving a stack that may not be tracked locally, unstack it by its stack number from within the repository.",
  "sources": [
    "https://github.com/github/gh-stack/releases/tag/v0.0.8",
    "https://github.com/github/gh-stack/blob/v0.0.8/README.md"
  ],
  "rank": 0.94026,
  "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-00890c982ae52383-3:gate",
    "evidence_hash": "8c610ca63f990c218a1377571bfb0983cda993b4d2b1250db23b2885d99ca55f"
  },
  "review": {
    "draft_hash": "87918a0bc6e8600a7f806a53e9c678b1429d9d90771806bb1a9af3b31661c60f",
    "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.94 >= 0.9; 2 needed) and Jev gave 0.66 (>= 0.6 needed)."
  }
}
