diff --git a/CHANGELOG.md b/CHANGELOG.md index 81aa04a64..ec4f971f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,66 @@ # Changelog +## [1.104.0.0] - 2026-11-25 + +**gstack now picks the newest Opus, Fable, Sol and Astra everywhere it chooses a model.** The second-model voice in Codex now defaults to `gpt-6.2-astra`, the plan-review tiers move to `claude-fable-5-2` and `gpt-6.2-sol`, eval judges default to `claude-fable-5-2` (the arm benchmark keeps the `claude-fable-5-1` judge its frozen plan names), and setup, doctor and the docs name the same models. One table, `lib/model-families.ts`, now holds each family's newest model, so the next release of any of them is a one-line change, and a test fails if gstack's code or skill text names an older one. Which family speaks as the second voice is unchanged (Astra). Users who pinned a model in their config keep it. + +**/autoplan no longer asks the owner a third time for changes his "do it" already approved.** When the review rounds run out and the only plan edit since the last gate is the recommendations the owner took in his own words, the run now finishes with no new gate. It prints one `UNREVIEWED:` note saying which revision no reviewer read and why, and `gstack-autoplan rule` records a Captain's or the owner's ruling that closes it, the way /ship ships after its second review round. A change the owner didn't approve still goes to him, now as one item for every phase that hit the cap instead of one item per phase, and a phase that does review the revision still raises its findings. `gstack-autoplan status` shows whether that note is still open. (GST-3753) + +**New guide section: you don't need to cut back on MCP servers for accuracy, up to about 300 tools, as long as Claude Code's tool search stays on.** It sits under "Do you need to cut back on MCP servers?" in USING_GBRAIN_WITH_GSTACK.md and gives the November 2026 test's numbers for each agent. Turning tool search off dropped Claude Code from 92.9% to 85.4% right at 300 tools and doubled the cost per request. Codex and OpenClaw also held up at 300 tools, but they rarely used tools that gbrain unlocked partway through a session (13 of 131 trials and 0 of 131), so gbrain users on those agents should register the full tool set with `gbrain serve --surface full`. Cost and security are still good reasons to remove servers you don't need. BROWSER.md now says its case against browser MCP servers is about cost, speed and reliability, not accuracy. + +**`/eval-plan` lets a judge that grades code be checked against a third model's labels instead of people's (R126).** A plan's `## Scoring` can now say `labels-by: google/gemini-4-neon` (another third family, such as `x-ai/grok-4.7`, when Gemini is the judge or an arm) with `label-kind: code`, `blind: yes`, and frozen known-answer anchors (`anchors:`, `anchor-pass:` and the `anchors-digest:` digest that `gstack-eval-plan anchors --hash` prints). `judge --check --anchors` counts the labeller's labels only after it meets its anchor pass line, and `results --check` wants the results to say "judge checked against , a third model, not against people". Judges of anything other than code, quality and taste included, still need people's or construction labels, and the label count and kappa bar are unchanged. + +**The QA-only cleanup test no longer fails at random in CI.** Its missing-terminal case now waits until the terminal agent has published its port before removing the agent's record, so it always checks that cleanup refuses when a terminal's record is gone but its port file is left behind. + +**Three tests that failed at random now pass reliably.** The review-exploratory-small-cli eval no longer fails when the model re-reads HANDOFF.md with `offset: 1` after writing its review record, because a read from line 1 with no limit is the whole file. QA-only browser cleanup no longer fails when it runs before a headless browse daemon has started its terminal agent, and it starts over if that agent appears mid-cleanup; it still keeps the fixture whenever an agent it can't identify is running. The Office Hours abort test gives the killed background process up to 2 seconds to leave the process table. + +**Six tests that failed at random now pass reliably.** The plan review floor checks read their small classifier's answer as schema-checked structured output with no tools, so a stray character after the JSON (seen twice on 2026-11-25) or a tool call it was never meant to make no longer fails the case. The QA caller evals tell the model to read HANDOFF.md with the Read tool, not `cat`. The bootstrap retention, docsync seeded-attempt, autoplan guard-line and QA caller fixture tests get time budgets that fit their work on a busy machine, including local `bun test` runs at Bun's 5 second default. + +- **/gstack-ship honours a ruled edit after the final review, and a stop on a second-model blocker records.** `gstack-review-plan --range-base` now reads `edit:` rulings the way finish does, so an edit the owner ruled a note plans as no fix (`RULED_EDIT:`, `NEXT: done`) instead of asking for every voice again (GST-3814). Step 11's pass program starts one review-log token per voice row it logs, so the second-model reader's row binds to its tree and `gstack-ship-receipt stop` no longer refuses with `STOP_UNBOUND` when that reader is the one that blocks. `gstack-no-stop` and `checkNoStop` both refuse the retired `scoped-fix-check`, and the remaining recovery messages name `/gstack-ship` and the scoped reader. + +**`/ship` is now `/gstack-ship`, so Claude Code loads gstack's shipping skill again (#4775).** Claude Code 2.1.331 keeps the name `ship` for its own built-in `/ship` and drops any user skill with that name at startup, so gstack's `/ship` never ran there: typing `/ship` started Claude Code's version, and the model got "A custom /ship isn't loaded". gstack's skill now installs as `/gstack-ship` in both prefix modes and on every host, the `/ship` budget child starts with `/gstack-ship`, and the resume command and most recovery messages gstack prints say `/gstack-ship`. Upgrading removes gstack's old `ship` entry, keeping any file you added to it, and never touches a `ship` skill of your own (without reporting it as skipped); a shared cached skill render left from an older gstack, which still says `/ship`, is not served until this version renders again (a per-install render that fails to refresh keeps its old name until setup succeeds, and setup warns about it); and a `disabled_skills: ship` entry still turns the skill off. Receipts, state folders and the `gstack-ship-*` commands keep their names. On an older gstack, starting Claude Code with `CLAUDE_CODE_DISABLE_SHIP=1` brings gstack's `/ship` back, but it also turns Claude Code's own `/ship` off. + +**make-pdf's new layout handles three more cases.** A mermaid or excalidraw diagram right after a `###` sub-heading now spans the full width instead of being squeezed into the text column, and a wide one that gets its own sideways page takes its sub-heading along. A sub-heading with `
` line breaks now reserves room for every line, so it no longer prints over the next heading. `--to html` output now declares a phone-width viewport, so it switches to one column on phones. + +**make-pdf has a bold new default look, and `--style plain` keeps the old one.** PDFs now come out in a Swiss-poster layout: section headings in white on black bars, a red document title, small red sub-headings in a narrow left field beside the text, tables, code and diagrams across the full width, and a black cover block with a red bar. The text column holds about 70 characters a line (down from about 83), with 0.75in side margins and 11pt type on a 15pt line. `--style plain` produces exactly the previous look, and `--margins` still overrides either style. The same look applies to `--to html` and `preview`; Word output always uses the plain look. + +**Skill routing no longer fires on subagent hand-backs or on a passing mention of "code review".** A subagent's report that Claude Code delivers under "Another Claude session sent a message:" in an `` block is now skipped like other agent messages, so it no longer starts an unrequested /review or /verify run and the Stop block that followed (#4801). A trigger that is only a noun phrase ("code review", "pre-landing review"), or a trigger's words in another order ("pr review"), now routes only when the sentence asks for the work ("can you do a code review", "run a code review on my branch", or just "code review"), so a sentence that only mentions it routes nowhere (#4802). Each `routed` line in `hooks/skill-route.log` now records the prompt's length, the trigger that matched and the prompt's kind (typed or which agent wrapper), and `no-route` lines record the kind too, still with no prompt text (#4805). Thanks to @sohampatwardhan for the reports and repros. + +### Fixed + +- **The destructive-command check no longer asks before deleting a file inside another `git worktree` of the same repository, or elsewhere in the session's own worktree.** A session started in `~/Projects/app` that ran `rm /Users/me/Projects/app-192/src/debug.spec.ts` got "deletes files outside this session's folder" on every delete, even in bypass mode (#4827). A plain `rm` or `unlink` of a path now counts as inside when, resolved on disk, it sits strictly inside a worktree that `git worktree list` reports for the session's own repository, and every statement in the command is such a delete. Everything else still asks, including a worktree's root or a folder holding one, `.git` and the git folder, `..`, symlinks, globs, other repositories, `rm -r`, `find`, `rsync --delete`, `shred`, a command that runs anything before the delete, and `git worktree remove --force`. + +- **An owner can now let a small edit made after the final review ship as a disclosed note, and /ship honours it.** Before, an edit after the read-only final review stopped `gstack-ship-release finish` with no way to record the owner's "ship it with the note", so the run stayed stuck however the owner ruled. The owner's ruling is now one `gstack-approvals rule --finding edit: --head ` per edited path, and the `gstack-review-plan --post-review` stop prints that command for each of the PR's own edited paths, shell-quoted so it pastes safely. finish then accepts exactly those paths, at exactly the ruled bytes, prints a `RULED_EDIT:` line for each, and the PR body lists each ruling. It refuses, with a `RULED_EDIT_REFUSED:` line and the reason, a path edited again after its ruling, a deletion, a path git cannot read, and a path whose name reaches finish with a replacement character, so a ruling can never clear an edit to a different file. + +- **`gstack-pr-wait` no longer blocks on a cancelled check that a newer passing run of the same check replaced.** In a repository whose workflows use `concurrency: cancel-in-progress`, the older run is cancelled when the next one starts; `gstack-ship-queue ready` already judged the check by the newer pass, but `gstack-pr-wait --until green` stopped with `PR_WAIT_BLOCKED`. It now waits while the newer run is going and goes green when it passes. A failed run beside a newer pass still blocks, and so does a cancel that is the newest run (#4807, reported by exGeni). +- **The `DEPS_MISSING` stop names npm's `allow-git` setting when the lockfile installs a package from git.** npm 12 refuses git packages by default, so the plain `npm ci` the stop suggested failed with `EALLOWGIT`. The hint still suggests `npm ci` and says to add `--allow-git=all` if you trust that source; gstack does not turn it on for you (#4815, reported by exGeni). +- **The docs audit /gstack-ship launches starts after a reviewer's install replaced the shared install verdict.** A `--for review-voice` install rewrote the shared verdict, so the `document-release` child was refused at start even though /gstack-ship's own install had certified the same checkout and HEAD. When a reviewer's install wrote the shared verdict, admission now also tries /gstack-ship's own record, with the same checks. A launch refused this way and reported as an empty blocked result no longer uses up the PR's one re-audit. +- **`gstack-ship-receipt write` leaves a retired `scoped-fix-check` row out of `--no-stop`,** as `gstack-no-stop` already refuses one. + +- **`gstack-ship-receipt stop` works before a PR exists.** An unattended run that stopped at round 2 with no PR (harness-evals#592) had nowhere to write its stop. Without `--pr` it now records the stop in the run record and prints `pr=none`. +- **Receipt checks read a path with `*` or `?` in its name as that file.** The receipt's carry and depth checks passed paths to `git ls-tree` as patterns, so such a file could match others. They now pass `--literal-pathspecs`. +- **The /gstack-ship driver records spend at start and close only,** with no budget note after every program; the review pass's own note keeps the cap check. The driver also says that a plan agreed only in conversation must be written to a file the audit can find, or the run reads it as `plan=none` and skips the plan-completion reader (the last release's note said unattended runs skip that reader; that holds only for runs with no plan). + +### For contributors + +- **This release's notes no longer contradict each other.** Two notes written while /cso was being removed in two steps, one saying /cso still works and one about an internal CI step, are gone; the /gstack-ship rename note no longer promises a message fix that shipped in this release; and the /cso removal note states the Opus result as measured, a gap within the test's margin of error. + +- **A release no longer rewrites version numbers inside changelog entries, counts subsection headings as changes, or prints a subsection heading twice.** `gstack-restamp --release` copies each `changelog.d/` entry as written, even where the CHANGELOG is one of the policy's `stamp_files`, so a note that quotes the version being released from keeps pointing at it. The release PR lists one line per change, and entries that share a heading such as `### For contributors` sit under one copy of it. To correct an entry already on main, land a small PR before the release that deletes it and adds the fixed text under a new file name. + +### Changed + +- **The CI image now runs Claude Code 2.1.326 and Codex 0.172.0, versions that know gstack's newest default models.** Claude Code 2.1.292 had no entry for claude-fable-5-2, the default eval judge, and Codex 0.160.0 had no metadata for gpt-6.2-sol or gpt-6.2-astra. Both new versions were checked. Their binaries carry those model ids, and Codex 0.172.0 answered on both GPT-6.2 models. +- `bin/gstack-capy-install` reads the Codex setup model from the astra row of `lib/model-families.ts` instead of naming it, so the next Astra release is still a one-line change. An unreadable registry fails setup before either host runs. +- The default judge's move to claude-fable-5-2 is checked against the labelled controls next to its callers (plan-decision and DX peer-comparison calibrations, the redaction semantic pass): every item agreed with its label. The record and the callers that have no labelled outputs yet are in `test/fixtures/judge-calibration/README.md`. +- The test harness keeps working on Claude Code 2.1.326. Its PTY sessions pre-trust their own disposable test directories, because 2.1.326 now asks before using an `--add-dir` folder it hasn't seen and the prompt defaults to exit. The shared-code read-only check recognizes 2.1.326's own startup Git calls, which add two hardening settings. The bootstrap check accepts the larger 2.1.326 binary (371 MB, past the old 256 MiB limit). + +### Removed + +- **The /cso security audit skill is gone, because a plain request for a security audit now finds more real problems.** In a head-to-head test on 52 real, published security advisories, plainly asking the agent to audit the code for security problems caught more of them than /cso did: 13 of 52 against 7 of 52 on particle-1, and 12 of 51 against 8 of 51 on Claude Opus 5.5 (the Opus gap is within the test's margin of error). So /cso, its native helper programs, its scanner images and its CI jobs are removed, and `./setup` no longer looks for a C toolchain. When you upgrade, setup and relink remove gstack's own `/cso` skill entries and the old `gstack-cso-*` helper files from your checkout, and leave any skill of your own named `cso` alone. Two leftovers are yours to delete if you want the space back. The first is the scanner and runtime images: `docker image ls | grep -E 'gstack-cso|gstack/cso'` lists the ones built locally and the ones pulled from `ghcr.io/garrytan/gstack/cso-*`, and `docker image rm` removes each one by its image ID. The second is earlier audit reports in `~/.gstack/security/cso`. For a security review, ask your agent to audit the code for security problems, or run `/review`. + +- **/gstack-ship no longer has round grants, fix-check grants or the review-loop exception: after two review rounds a blocker ships only as an owner's ruled note, or the PR parks.** These paths were deprecated last release (fix-checks gave way to full second rounds) and kept breaking: four PRs in one day tried to repair the grant path. `gstack-approvals round-grant` and `gstack-ship-receipt claim` are gone. `gstack-review-plan` refuses `--grant`, `--round-grant`, `--stop`, `--fix-checks`, `--fix-check-prompt` and `--last fix-check`, and `gstack-ship-receipt write` and `gstack-ship-release finish` refuse `--review-loop-exception`; each refusal names the replacement. `gstack-no-stop` no longer records a scoped fix-check. Receipts written before keep their old fields, except that a receipt still recording a review-loop exception is now refused when the queue lands or carries it: run /gstack-ship again on that PR for a fresh receipt. +- **`gstack-ship-queue ready` no longer asks for a cross-family read of the decision trail.** It caught one finding in 17 reads, one the second-model reviewer had already raised. The READY's Attention section now opens with the receipt's risk class, and `--trail` is gone. `gstack-decision-trail` stays for runs that keep a trail. + ## [1.103.3.0] - 2026-11-25 ### Fixed diff --git a/VERSION b/VERSION index 070cd8621..c5dd7e2d1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.103.3.0 +1.104.0.0 diff --git a/agents-digest/gstack-AGENTS.md b/agents-digest/gstack-AGENTS.md index 626f69520..01ecea6ea 100644 --- a/agents-digest/gstack-AGENTS.md +++ b/agents-digest/gstack-AGENTS.md @@ -1,4 +1,4 @@ -# gstack digest v1.103.3.0 — regenerate/re-copy after upgrading gstack +# gstack digest v1.104.0.0 — regenerate/re-copy after upgrading gstack Behavioral rules from gstack (https://github.com/garrytan/gstack), compressed for agent hosts without a full skill install. The full skills add workflows, diff --git a/changelog.d/always-use-newest-opus-fable-sol-astra.md b/changelog.d/always-use-newest-opus-fable-sol-astra.md deleted file mode 100644 index f8e4ed6f8..000000000 --- a/changelog.d/always-use-newest-opus-fable-sol-astra.md +++ /dev/null @@ -1 +0,0 @@ -**gstack now picks the newest Opus, Fable, Sol and Astra everywhere it chooses a model.** The second-model voice in Codex now defaults to `gpt-6.2-astra`, the plan-review tiers move to `claude-fable-5-2` and `gpt-6.2-sol`, eval judges default to `claude-fable-5-2` (the arm benchmark keeps the `claude-fable-5-1` judge its frozen plan names), and setup, doctor and the docs name the same models. One table, `lib/model-families.ts`, now holds each family's newest model, so the next release of any of them is a one-line change, and a test fails if gstack's code or skill text names an older one. Which family speaks as the second voice is unchanged (Astra). Users who pinned a model in their config keep it. diff --git a/changelog.d/autoplan-cap-do-it-no-third-gate.md b/changelog.d/autoplan-cap-do-it-no-third-gate.md deleted file mode 100644 index f19b40067..000000000 --- a/changelog.d/autoplan-cap-do-it-no-third-gate.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -important: blocker ---- -**/autoplan no longer asks the owner a third time for changes his "do it" already approved.** When the review rounds run out and the only plan edit since the last gate is the recommendations the owner took in his own words, the run now finishes with no new gate. It prints one `UNREVIEWED:` note saying which revision no reviewer read and why, and `gstack-autoplan rule` records a Captain's or the owner's ruling that closes it, the way /ship ships after its second review round. A change the owner didn't approve still goes to him, now as one item for every phase that hit the cap instead of one item per phase, and a phase that does review the revision still raises its findings. `gstack-autoplan status` shows whether that note is still open. (GST-3753) diff --git a/changelog.d/careful-allows-deletes-in-sibling-worktrees.md b/changelog.d/careful-allows-deletes-in-sibling-worktrees.md deleted file mode 100644 index 85ed57c15..000000000 --- a/changelog.d/careful-allows-deletes-in-sibling-worktrees.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- **The destructive-command check no longer asks before deleting a file inside another `git worktree` of the same repository, or elsewhere in the session's own worktree.** A session started in `~/Projects/app` that ran `rm /Users/me/Projects/app-192/src/debug.spec.ts` got "deletes files outside this session's folder" on every delete, even in bypass mode (#4827). A plain `rm` or `unlink` of a path now counts as inside when, resolved on disk, it sits strictly inside a worktree that `git worktree list` reports for the session's own repository, and every statement in the command is such a delete. Everything else still asks, including a worktree's root or a folder holding one, `.git` and the git folder, `..`, symlinks, globs, other repositories, `rm -r`, `find`, `rsync --delete`, `shred`, a command that runs anything before the delete, and `git worktree remove --force`. diff --git a/changelog.d/docs-mcp-tool-count-advice.md b/changelog.d/docs-mcp-tool-count-advice.md deleted file mode 100644 index 70fb0640d..000000000 --- a/changelog.d/docs-mcp-tool-count-advice.md +++ /dev/null @@ -1 +0,0 @@ -**New guide section: you don't need to cut back on MCP servers for accuracy, up to about 300 tools, as long as Claude Code's tool search stays on.** It sits under "Do you need to cut back on MCP servers?" in USING_GBRAIN_WITH_GSTACK.md and gives the November 2026 test's numbers for each agent. Turning tool search off dropped Claude Code from 92.9% to 85.4% right at 300 tools and doubled the cost per request. Codex and OpenClaw also held up at 300 tools, but they rarely used tools that gbrain unlocked partway through a session (13 of 131 trials and 0 of 131), so gbrain users on those agents should register the full tool set with `gbrain serve --surface full`. Cost and security are still good reasons to remove servers you don't need. BROWSER.md now says its case against browser MCP servers is about cost, speed and reliability, not accuracy. diff --git a/changelog.d/drop-outdated-changelog-notes.md b/changelog.d/drop-outdated-changelog-notes.md deleted file mode 100644 index 48c3f58ea..000000000 --- a/changelog.d/drop-outdated-changelog-notes.md +++ /dev/null @@ -1,3 +0,0 @@ -### For contributors - -- **This release's notes no longer contradict each other.** Two notes written while /cso was being removed in two steps, one saying /cso still works and one about an internal CI step, are gone; the /gstack-ship rename note no longer promises a message fix that shipped in this release; and the /cso removal note states the Opus result as measured, a gap within the test's margin of error. diff --git a/changelog.d/edit-ruling-fixes.md b/changelog.d/edit-ruling-fixes.md deleted file mode 100644 index 9ba8bda5d..000000000 --- a/changelog.d/edit-ruling-fixes.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -important: blocker ---- -### Fixed - -- **An owner can now let a small edit made after the final review ship as a disclosed note, and /ship honours it.** Before, an edit after the read-only final review stopped `gstack-ship-release finish` with no way to record the owner's "ship it with the note", so the run stayed stuck however the owner ruled. The owner's ruling is now one `gstack-approvals rule --finding edit: --head ` per edited path, and the `gstack-review-plan --post-review` stop prints that command for each of the PR's own edited paths, shell-quoted so it pastes safely. finish then accepts exactly those paths, at exactly the ruled bytes, prints a `RULED_EDIT:` line for each, and the PR body lists each ruling. It refuses, with a `RULED_EDIT_REFUSED:` line and the reason, a path edited again after its ruling, a deletion, a path git cannot read, and a path whose name reaches finish with a replacement character, so a ruling can never clear an edit to a different file. diff --git a/changelog.d/eval-plan-third-model-labels-for-code-judges.md b/changelog.d/eval-plan-third-model-labels-for-code-judges.md deleted file mode 100644 index 718b41862..000000000 --- a/changelog.d/eval-plan-third-model-labels-for-code-judges.md +++ /dev/null @@ -1 +0,0 @@ -**`/eval-plan` lets a judge that grades code be checked against a third model's labels instead of people's (R126).** A plan's `## Scoring` can now say `labels-by: google/gemini-4-neon` (another third family, such as `x-ai/grok-4.7`, when Gemini is the judge or an arm) with `label-kind: code`, `blind: yes`, and frozen known-answer anchors (`anchors:`, `anchor-pass:` and the `anchors-digest:` digest that `gstack-eval-plan anchors --hash` prints). `judge --check --anchors` counts the labeller's labels only after it meets its anchor pass line, and `results --check` wants the results to say "judge checked against , a third model, not against people". Judges of anything other than code, quality and taste included, still need people's or construction labels, and the label count and kappa bar are unchanged. diff --git a/changelog.d/fix-pr-wait-replaced-cancels-npm-allow-git-docs-admission.md b/changelog.d/fix-pr-wait-replaced-cancels-npm-allow-git-docs-admission.md deleted file mode 100644 index bd1f9a6fe..000000000 --- a/changelog.d/fix-pr-wait-replaced-cancels-npm-allow-git-docs-admission.md +++ /dev/null @@ -1,6 +0,0 @@ -### Fixed - -- **`gstack-pr-wait` no longer blocks on a cancelled check that a newer passing run of the same check replaced.** In a repository whose workflows use `concurrency: cancel-in-progress`, the older run is cancelled when the next one starts; `gstack-ship-queue ready` already judged the check by the newer pass, but `gstack-pr-wait --until green` stopped with `PR_WAIT_BLOCKED`. It now waits while the newer run is going and goes green when it passes. A failed run beside a newer pass still blocks, and so does a cancel that is the newest run (#4807, reported by exGeni). -- **The `DEPS_MISSING` stop names npm's `allow-git` setting when the lockfile installs a package from git.** npm 12 refuses git packages by default, so the plain `npm ci` the stop suggested failed with `EALLOWGIT`. The hint still suggests `npm ci` and says to add `--allow-git=all` if you trust that source; gstack does not turn it on for you (#4815, reported by exGeni). -- **The docs audit /gstack-ship launches starts after a reviewer's install replaced the shared install verdict.** A `--for review-voice` install rewrote the shared verdict, so the `document-release` child was refused at start even though /gstack-ship's own install had certified the same checkout and HEAD. When a reviewer's install wrote the shared verdict, admission now also tries /gstack-ship's own record, with the same checks. A launch refused this way and reported as an empty blocked result no longer uses up the PR's one re-audit. -- **`gstack-ship-receipt write` leaves a retired `scoped-fix-check` row out of `--no-stop`,** as `gstack-no-stop` already refuses one. diff --git a/changelog.d/fix-qa-cleanup-missing-terminal-race.md b/changelog.d/fix-qa-cleanup-missing-terminal-race.md deleted file mode 100644 index f58aa21ba..000000000 --- a/changelog.d/fix-qa-cleanup-missing-terminal-race.md +++ /dev/null @@ -1 +0,0 @@ -**The QA-only cleanup test no longer fails at random in CI.** Its missing-terminal case now waits until the terminal agent has published its port before removing the agent's record, so it always checks that cleanup refuses when a terminal's record is gone but its port file is left behind. diff --git a/changelog.d/flaky-fixes-2026-11-24.md b/changelog.d/flaky-fixes-2026-11-24.md deleted file mode 100644 index a00b68e4e..000000000 --- a/changelog.d/flaky-fixes-2026-11-24.md +++ /dev/null @@ -1 +0,0 @@ -**Three tests that failed at random now pass reliably.** The review-exploratory-small-cli eval no longer fails when the model re-reads HANDOFF.md with `offset: 1` after writing its review record, because a read from line 1 with no limit is the whole file. QA-only browser cleanup no longer fails when it runs before a headless browse daemon has started its terminal agent, and it starts over if that agent appears mid-cleanup; it still keeps the fixture whenever an agent it can't identify is running. The Office Hours abort test gives the killed background process up to 2 seconds to leave the process table. diff --git a/changelog.d/flaky-fixes-2026-11-25.md b/changelog.d/flaky-fixes-2026-11-25.md deleted file mode 100644 index 2af7abfe9..000000000 --- a/changelog.d/flaky-fixes-2026-11-25.md +++ /dev/null @@ -1 +0,0 @@ -**Six tests that failed at random now pass reliably.** The plan review floor checks read their small classifier's answer as schema-checked structured output with no tools, so a stray character after the JSON (seen twice on 2026-11-25) or a tool call it was never meant to make no longer fails the case. The QA caller evals tell the model to read HANDOFF.md with the Read tool, not `cat`. The bootstrap retention, docsync seeded-attempt, autoplan guard-line and QA caller fixture tests get time budgets that fit their work on a busy machine, including local `bun test` runs at Bun's 5 second default. diff --git a/changelog.d/gstack-ship-ruled-edits-and-voice-stops.md b/changelog.d/gstack-ship-ruled-edits-and-voice-stops.md deleted file mode 100644 index bc3f73d80..000000000 --- a/changelog.d/gstack-ship-ruled-edits-and-voice-stops.md +++ /dev/null @@ -1 +0,0 @@ -- **/gstack-ship honours a ruled edit after the final review, and a stop on a second-model blocker records.** `gstack-review-plan --range-base` now reads `edit:` rulings the way finish does, so an edit the owner ruled a note plans as no fix (`RULED_EDIT:`, `NEXT: done`) instead of asking for every voice again (GST-3814). Step 11's pass program starts one review-log token per voice row it logs, so the second-model reader's row binds to its tree and `gstack-ship-receipt stop` no longer refuses with `STOP_UNBOUND` when that reader is the one that blocks. `gstack-no-stop` and `checkNoStop` both refuse the retired `scoped-fix-check`, and the remaining recovery messages name `/gstack-ship` and the scoped reader. diff --git a/changelog.d/gstack-ship-skill-rename.md b/changelog.d/gstack-ship-skill-rename.md deleted file mode 100644 index bf717bcbe..000000000 --- a/changelog.d/gstack-ship-skill-rename.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -bump: minor -important: blocker ---- -**`/ship` is now `/gstack-ship`, so Claude Code loads gstack's shipping skill again (#4775).** Claude Code 2.1.331 keeps the name `ship` for its own built-in `/ship` and drops any user skill with that name at startup, so gstack's `/ship` never ran there: typing `/ship` started Claude Code's version, and the model got "A custom /ship isn't loaded". gstack's skill now installs as `/gstack-ship` in both prefix modes and on every host, the `/ship` budget child starts with `/gstack-ship`, and the resume command and most recovery messages gstack prints say `/gstack-ship`. Upgrading removes gstack's old `ship` entry, keeping any file you added to it, and never touches a `ship` skill of your own (without reporting it as skipped); a shared cached skill render left from an older gstack, which still says `/ship`, is not served until this version renders again (a per-install render that fails to refresh keeps its old name until setup succeeds, and setup warns about it); and a `disabled_skills: ship` entry still turns the skill off. Receipts, state folders and the `gstack-ship-*` commands keep their names. On an older gstack, starting Claude Code with `CLAUDE_CODE_DISABLE_SHIP=1` brings gstack's `/ship` back, but it also turns Claude Code's own `/ship` off. diff --git a/changelog.d/make-pdf-swiss-followups.md b/changelog.d/make-pdf-swiss-followups.md deleted file mode 100644 index fee1fa67c..000000000 --- a/changelog.d/make-pdf-swiss-followups.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -bump: patch ---- -**make-pdf's new layout handles three more cases.** A mermaid or excalidraw diagram right after a `###` sub-heading now spans the full width instead of being squeezed into the text column, and a wide one that gets its own sideways page takes its sub-heading along. A sub-heading with `
` line breaks now reserves room for every line, so it no longer prints over the next heading. `--to html` output now declares a phone-width viewport, so it switches to one column on phones. diff --git a/changelog.d/make-pdf-swiss-style.md b/changelog.d/make-pdf-swiss-style.md deleted file mode 100644 index affc9ae8f..000000000 --- a/changelog.d/make-pdf-swiss-style.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -bump: minor ---- -**make-pdf has a bold new default look, and `--style plain` keeps the old one.** PDFs now come out in a Swiss-poster layout: section headings in white on black bars, a red document title, small red sub-headings in a narrow left field beside the text, tables, code and diagrams across the full width, and a black cover block with a red bar. The text column holds about 70 characters a line (down from about 83), with 0.75in side margins and 11pt type on a 15pt line. `--style plain` produces exactly the previous look, and `--margins` still overrides either style. The same look applies to `--to html` and `preview`; Word output always uses the plain look. diff --git a/changelog.d/newer-cli-pins-and-judge-check.md b/changelog.d/newer-cli-pins-and-judge-check.md deleted file mode 100644 index 4d13dfc9d..000000000 --- a/changelog.d/newer-cli-pins-and-judge-check.md +++ /dev/null @@ -1,6 +0,0 @@ -### Changed - -- **The CI image now runs Claude Code 2.1.326 and Codex 0.172.0, versions that know gstack's newest default models.** Claude Code 2.1.292 had no entry for claude-fable-5-2, the default eval judge, and Codex 0.160.0 had no metadata for gpt-6.2-sol or gpt-6.2-astra. Both new versions were checked. Their binaries carry those model ids, and Codex 0.172.0 answered on both GPT-6.2 models. -- `bin/gstack-capy-install` reads the Codex setup model from the astra row of `lib/model-families.ts` instead of naming it, so the next Astra release is still a one-line change. An unreadable registry fails setup before either host runs. -- The default judge's move to claude-fable-5-2 is checked against the labelled controls next to its callers (plan-decision and DX peer-comparison calibrations, the redaction semantic pass): every item agreed with its label. The record and the callers that have no labelled outputs yet are in `test/fixtures/judge-calibration/README.md`. -- The test harness keeps working on Claude Code 2.1.326. Its PTY sessions pre-trust their own disposable test directories, because 2.1.326 now asks before using an `--add-dir` folder it hasn't seen and the prompt defaults to exit. The shared-code read-only check recognizes 2.1.326's own startup Git calls, which add two hardening settings. The bootstrap check accepts the larger 2.1.326 binary (371 MB, past the old 256 MiB limit). diff --git a/changelog.d/release-notes-keep-versions-and-headings.md b/changelog.d/release-notes-keep-versions-and-headings.md deleted file mode 100644 index ecfc3e7c2..000000000 --- a/changelog.d/release-notes-keep-versions-and-headings.md +++ /dev/null @@ -1,3 +0,0 @@ -### For contributors - -- **A release no longer rewrites version numbers inside changelog entries, counts subsection headings as changes, or prints a subsection heading twice.** `gstack-restamp --release` copies each `changelog.d/` entry as written, even where the CHANGELOG is one of the policy's `stamp_files`, so a note that quotes the version being released from keeps pointing at it. The release PR lists one line per change, and entries that share a heading such as `### For contributors` sit under one copy of it. To correct an entry already on main, land a small PR before the release that deletes it and adds the fixed text under a new file name. diff --git a/changelog.d/remove-cso-security-audit-skill.md b/changelog.d/remove-cso-security-audit-skill.md deleted file mode 100644 index 735bd636d..000000000 --- a/changelog.d/remove-cso-security-audit-skill.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -bump: minor ---- -### Removed - -- **The /cso security audit skill is gone, because a plain request for a security audit now finds more real problems.** In a head-to-head test on 52 real, published security advisories, plainly asking the agent to audit the code for security problems caught more of them than /cso did: 13 of 52 against 7 of 52 on particle-1, and 12 of 51 against 8 of 51 on Claude Opus 5.5 (the Opus gap is within the test's margin of error). So /cso, its native helper programs, its scanner images and its CI jobs are removed, and `./setup` no longer looks for a C toolchain. When you upgrade, setup and relink remove gstack's own `/cso` skill entries and the old `gstack-cso-*` helper files from your checkout, and leave any skill of your own named `cso` alone. Two leftovers are yours to delete if you want the space back. The first is the scanner and runtime images: `docker image ls | grep -E 'gstack-cso|gstack/cso'` lists the ones built locally and the ones pulled from `ghcr.io/garrytan/gstack/cso-*`, and `docker image rm` removes each one by its image ID. The second is earlier audit reports in `~/.gstack/security/cso`. For a security review, ask your agent to audit the code for security problems, or run `/review`. diff --git a/changelog.d/ship-deletes-retired-grants.md b/changelog.d/ship-deletes-retired-grants.md deleted file mode 100644 index e8780159e..000000000 --- a/changelog.d/ship-deletes-retired-grants.md +++ /dev/null @@ -1,10 +0,0 @@ -### Removed - -- **/gstack-ship no longer has round grants, fix-check grants or the review-loop exception: after two review rounds a blocker ships only as an owner's ruled note, or the PR parks.** These paths were deprecated last release (fix-checks gave way to full second rounds) and kept breaking: four PRs in one day tried to repair the grant path. `gstack-approvals round-grant` and `gstack-ship-receipt claim` are gone. `gstack-review-plan` refuses `--grant`, `--round-grant`, `--stop`, `--fix-checks`, `--fix-check-prompt` and `--last fix-check`, and `gstack-ship-receipt write` and `gstack-ship-release finish` refuse `--review-loop-exception`; each refusal names the replacement. `gstack-no-stop` no longer records a scoped fix-check. Receipts written before keep their old fields, except that a receipt still recording a review-loop exception is now refused when the queue lands or carries it: run /gstack-ship again on that PR for a fresh receipt. -- **`gstack-ship-queue ready` no longer asks for a cross-family read of the decision trail.** It caught one finding in 17 reads, one the second-model reviewer had already raised. The READY's Attention section now opens with the receipt's risk class, and `--trail` is gone. `gstack-decision-trail` stays for runs that keep a trail. - -### Fixed - -- **`gstack-ship-receipt stop` works before a PR exists.** An unattended run that stopped at round 2 with no PR (harness-evals#592) had nowhere to write its stop. Without `--pr` it now records the stop in the run record and prints `pr=none`. -- **Receipt checks read a path with `*` or `?` in its name as that file.** The receipt's carry and depth checks passed paths to `git ls-tree` as patterns, so such a file could match others. They now pass `--literal-pathspecs`. -- **The /gstack-ship driver records spend at start and close only,** with no budget note after every program; the review pass's own note keeps the cap check. The driver also says that a plan agreed only in conversation must be written to a file the audit can find, or the run reads it as `plan=none` and skips the plan-completion reader (the last release's note said unattended runs skip that reader; that holds only for runs with no plan). diff --git a/changelog.d/skill-routing-skips-handbacks-and-bare-mentions.md b/changelog.d/skill-routing-skips-handbacks-and-bare-mentions.md deleted file mode 100644 index 97d8f5f05..000000000 --- a/changelog.d/skill-routing-skips-handbacks-and-bare-mentions.md +++ /dev/null @@ -1 +0,0 @@ -**Skill routing no longer fires on subagent hand-backs or on a passing mention of "code review".** A subagent's report that Claude Code delivers under "Another Claude session sent a message:" in an `` block is now skipped like other agent messages, so it no longer starts an unrequested /review or /verify run and the Stop block that followed (#4801). A trigger that is only a noun phrase ("code review", "pre-landing review"), or a trigger's words in another order ("pr review"), now routes only when the sentence asks for the work ("can you do a code review", "run a code review on my branch", or just "code review"), so a sentence that only mentions it routes nowhere (#4802). Each `routed` line in `hooks/skill-route.log` now records the prompt's length, the trigger that matched and the prompt's kind (typed or which agent wrapper), and `no-route` lines record the kind too, still with no prompt text (#4805). Thanks to @sohampatwardhan for the reports and repros. diff --git a/package.json b/package.json index 8096f1e32..5b851ef83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gstack", - "version": "1.103.3", + "version": "1.104.0", "description": "Garry's Stack — Claude Code skills + fast headless browser. One repo, one install, entire AI engineering workflow.", "license": "MIT", "type": "module",