{
  "slug": "gh-stack-branch-names-no-longer-use-stack-prefixes-or-numbered-naming-98eee258a6ae",
  "title": "gh-stack branch names no longer use stack prefixes or numbered naming",
  "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 adding a named branch, use its name directly; `gh stack add refactor/foo` creates that branch. To create a branch from a message, run `gh stack add -m \"<message>\"`; the v0.0.8 release says an omitted name generates `MM-DD-slug`.",
    "examples": [
      "gh stack add refactor/foo",
      "gh stack add -m \"<message>\""
    ],
    "gotchas": [
      "Version: v0.0.8",
      "branch: Optional branch name; if omitted, `add` prompts for one, or auto-generates one when `-m` is provided.",
      "-m, --message <string>: Create a commit with this message before creating the branch; with no branch name, generates the branch name.",
      "-A, --all: Stage all changes, including untracked files; requires `-m`.",
      "-u, --update: Stage changes to tracked files only; requires `-m`.",
      "Prerequisite: Install the extension with `gh extension install github/gh-stack`; requires GitHub CLI (`gh`) v2.0 or later.",
      "Prerequisite: For an existing stack, run `add` while on its topmost branch.",
      "Existing stack files carrying `prefix`/`numbered` keys still load; the fields are ignored and dropped on the next save.",
      "Docs conflict: The current README is newer than v0.0.8 and gives an auto-generated-name example `03-24-auth_middleware`; the release states the v0.0.8 form is `MM-DD-slug`.",
      "Docs conflict: The current README documents only `-b, --base <branch>` for `init` and omits the removed `-p/--prefix` and `-n/--numbered` flags; it does not document legacy `prefix`/`numbered` file handling."
    ]
  },
  "why_it_matters": "When adding a branch with a chosen name or generating one from a message, use the branch name directly or the new generated-name form.",
  "before": "Use the stack branch-name prefix or coupled numbered naming; `init` accepts `-p/--prefix` and `-n/--numbered`.",
  "sources": [
    "https://github.com/github/gh-stack/releases/tag/v0.0.8",
    "https://github.com/github/gh-stack"
  ],
  "rank": 0.94037,
  "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-7:gate",
    "evidence_hash": "8c610ca63f990c218a1377571bfb0983cda993b4d2b1250db23b2885d99ca55f"
  },
  "review": {
    "draft_hash": "340ece01261e79988b5e74301fe9b0c636fc629054ea212617ec4c7585b1db7d",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "recover-20261008:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.94 >= 0.9; 2 needed) and Jev gave 0.73 (>= 0.6 needed)."
  }
}
