diff --git a/CHANGELOG.md b/CHANGELOG.md index ec4f971f5..8e1d886b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## [1.104.1.0] - 2026-11-26 + +**The release gate's live /autoplan guard test runs its scripted actor on Claude Haiku 5.5.** The test's relay now ends the actor's turn after the background reviewer dispatch until that reviewer hands its report back, so the test reaches the path it checks however fast the model is; on Haiku 5.5 without this the actor ran ahead and the case failed the release gate 8 times out of 8. The relay and the test's evidence both recognise the hand-back form Claude Code 2.1.326 sends (``), and the test sets `CLAUDE_CODE_AUTO_MODE_SERVER=0` so Claude Code's auto-mode billing notice can't hold the reviewer behind the local relay. + +**`/codex challenge` and `/codex consult` no longer stop for a /careful delete warning at the end of every run.** Their cleanup deleted the prompt file through a variable the safety check could not resolve, so it asked every time; the cleanup now uses a guarded variable the check accepts. Thanks @dmfrede (#4841). + +- **The Codex second-model review in `/plan-eng-review` and `/plan-ceo-review` works in Claude Code plan mode again.** The prompt file was created under `$TMPDIR`, where plan mode refuses Write, so Codex never started. It is now created in the project's `.gstack/tmp/` (never through a symlinked `.gstack` folder) and deleted with a plain `rm` of that one path. Thanks @mcp10 (#4842). + +**Upgrading now removes the old `ship` and `cso` skill folders that 1.104.0.0 left behind.** That upgrade removed each folder's `SKILL.md` but not its `sections/` folder, so `ship/` and `cso/` (and their `gstack-` versions) stayed in your skills directory holding only links. Running `./setup` or `/gstack-upgrade` again cleans them up, including on machines that already upgraded. Only links and copies gstack made are removed: a file, link or folder you added inside one of these folders stays where it is. + +**`./setup` on Windows now works when your home folder has an apostrophe in its name, such as `C:\Users\O'Brien`.** Git Bash converts `/c/...` paths to `C:/...` before it starts Bun, but it skips any path that holds an apostrophe, so setup stopped with `Module not found`. Setup now converts the paths it hands Bun itself. A Windows run of `./setup` with such a home folder now installs, starts the core skills and runs `/browse`. + +**`/gstack-ship` now handles very large results PRs.** A repository's `review_exclude_paths` can list up to 256 patterns instead of 64. When a reviewer's diff is still too big, the suggested fix no longer offers to hide `docs/` and never prints a policy gstack would refuse. The pre-merge secrets check and `gstack-banned-terms` read a diff of any size instead of failing past 256 MB. `gstack-review-plan` matches exclusion patterns and searches for files that name excluded paths with a fixed number of git calls, which took a 16,000-file results PR from 180 s to 100 s, and the docs-only check searches for references to every changed doc in one pass instead of one search per file. A PR body may list its `Ruled note:` lines as `- ` or `* ` bullets. + +**make-pdf removes `javascript:` links spelled with tabs, line breaks or entity letters.** Untrusted Markdown could still produce a live `javascript:` link in the HTML make-pdf prints by putting a tab or line break inside the scheme (`java script:`) or by writing its letters as entities (`javascript:`). Those links now become harmless `#` fragments. Two smaller fixes in the same code: removing a click handler whose value contains `>` no longer mangles the rest of the tag, and an entity such as `Ϋ` that only starts like a colon no longer rewrites an ordinary link. + +- **Quotes at the start of a paragraph, heading, list item or table cell now curl the right way in make-pdf.** `"Hello," she said` used to render as `”Hello,”`, including in the page title and running header. +- **Wide SVG diagrams are printed on a sideways page again.** make-pdf read an SVG's `stroke-width` (or `data-height`) as its size, so a 3000px-wide diagram looked 2px wide and stayed on an upright page. +- **One malformed learning no longer breaks every later `gstack-learnings-search`.** A row with `files` saved as a single string (or `ts` as a number) crashed the search until someone edited the file by hand. Search now reads those rows, and `gstack-learnings-log` stores a single path as a one-item list. +- **Cross-project learnings add to this project's own and never replace them.** A newer learning with the same key from another repo used to replace this repo's answer, for example its test command. +- **A pretty-printed timeline event that already has a timestamp is saved as one line**, so `gstack-timeline-read` no longer skips it without a word. + +**`/gstack-ship` now reviews a diff over the 2 MB review ceiling in slices instead of stopping.** When one reviewer's kept diff is bigger than 2,000,000 bytes, `gstack-review-dispatch pass` splits it into up to 8 slice readers that share no file and together cover every file, keeping each top-level folder in one slice when it fits. Git checks that coverage before any brief is written, and `gstack-review-dispatch verify` checks it again at the reviewed tree, refusing a missing, uncollected, overlapping or dropping slice. A sliced reader is still one reviewer for round counting. One file over 2 MB by itself, a diff that needs more than 8 slices, or a slice that would name more paths than one command can carry still stops with `REVIEW_DIFF_TOO_LARGE`, now naming the reason. Large results PRs and large pure-deletion PRs whose files sit in a few folders or subfolders can now be reviewed in full; a single flat folder of thousands of small files can still hit the path limit. Diffs under the ceiling are reviewed exactly as before. + +**`./setup --refresh-registered` run from inside the gstack checkout no longer reinstalls Codex after you removed it.** The checkout's own `.agents/skills/gstack` folder is its Codex skill render, and the upgrade used to mistake it for a Codex install inside a project, so it reinstalled Codex skills into `~/.codex/skills` and added Codex back to the installed hosts. Now only a separate project that keeps its own gstack copy at `.agents/skills/gstack` is picked up and refreshed. Thanks to @schubter for the report (#4835). + +### Fixed + +- **The plan-review test judge no longer accepts an answer from a session that reported an error.** When Claude Code exits 0 but its final result says `is_error: true`, the finding-floor judge now treats the assessment as failed instead of using the answer it saw earlier. The judge session also runs with hooks and slash commands turned off, like gstack's other Claude Code calls, and skips a plain notice line in the output while still failing on a broken JSON event. +- **The `gstack-question-log` Bun-config test no longer sees a record left by the test before it.** Each write used to start a background profile update that kept writing into the test's state folder after the test ended; the test now turns that update off. +- **A brain-sync merge test that failed at random now shows the sync status message when it fails,** so the next failure names its cause. + ## [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. diff --git a/VERSION b/VERSION index c5dd7e2d1..39a1861d3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.104.0.0 +1.104.1.0 diff --git a/agents-digest/gstack-AGENTS.md b/agents-digest/gstack-AGENTS.md index 01ecea6ea..4ff0ee15d 100644 --- a/agents-digest/gstack-AGENTS.md +++ b/agents-digest/gstack-AGENTS.md @@ -1,4 +1,4 @@ -# gstack digest v1.104.0.0 — regenerate/re-copy after upgrading gstack +# gstack digest v1.104.1.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/autoplan-guard-runs-on-haiku-5-5.md b/changelog.d/autoplan-guard-runs-on-haiku-5-5.md deleted file mode 100644 index 6490aa8ca..000000000 --- a/changelog.d/autoplan-guard-runs-on-haiku-5-5.md +++ /dev/null @@ -1 +0,0 @@ -**The release gate's live /autoplan guard test runs its scripted actor on Claude Haiku 5.5.** The test's relay now ends the actor's turn after the background reviewer dispatch until that reviewer hands its report back, so the test reaches the path it checks however fast the model is; on Haiku 5.5 without this the actor ran ahead and the case failed the release gate 8 times out of 8. The relay and the test's evidence both recognise the hand-back form Claude Code 2.1.326 sends (``), and the test sets `CLAUDE_CODE_AUTO_MODE_SERVER=0` so Claude Code's auto-mode billing notice can't hold the reviewer behind the local relay. diff --git a/changelog.d/fix-codex-prompt-cleanup-plan-mode-prompt-file.md b/changelog.d/fix-codex-prompt-cleanup-plan-mode-prompt-file.md deleted file mode 100644 index 9406916cb..000000000 --- a/changelog.d/fix-codex-prompt-cleanup-plan-mode-prompt-file.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -important: regression ---- -**`/codex challenge` and `/codex consult` no longer stop for a /careful delete warning at the end of every run.** Their cleanup deleted the prompt file through a variable the safety check could not resolve, so it asked every time; the cleanup now uses a guarded variable the check accepts. Thanks @dmfrede (#4841). - -- **The Codex second-model review in `/plan-eng-review` and `/plan-ceo-review` works in Claude Code plan mode again.** The prompt file was created under `$TMPDIR`, where plan mode refuses Write, so Codex never started. It is now created in the project's `.gstack/tmp/` (never through a symlinked `.gstack` folder) and deleted with a plain `rm` of that one path. Thanks @mcp10 (#4842). diff --git a/changelog.d/fix-retired-skill-sections-cleanup.md b/changelog.d/fix-retired-skill-sections-cleanup.md deleted file mode 100644 index 61e400a6e..000000000 --- a/changelog.d/fix-retired-skill-sections-cleanup.md +++ /dev/null @@ -1 +0,0 @@ -**Upgrading now removes the old `ship` and `cso` skill folders that 1.104.0.0 left behind.** That upgrade removed each folder's `SKILL.md` but not its `sections/` folder, so `ship/` and `cso/` (and their `gstack-` versions) stayed in your skills directory holding only links. Running `./setup` or `/gstack-upgrade` again cleans them up, including on machines that already upgraded. Only links and copies gstack made are removed: a file, link or folder you added inside one of these folders stays where it is. diff --git a/changelog.d/fix-windows-setup-apostrophe-home.md b/changelog.d/fix-windows-setup-apostrophe-home.md deleted file mode 100644 index f1ee6dfc3..000000000 --- a/changelog.d/fix-windows-setup-apostrophe-home.md +++ /dev/null @@ -1 +0,0 @@ -**`./setup` on Windows now works when your home folder has an apostrophe in its name, such as `C:\Users\O'Brien`.** Git Bash converts `/c/...` paths to `C:/...` before it starts Bun, but it skips any path that holds an apostrophe, so setup stopped with `Module not found`. Setup now converts the paths it hands Bun itself. A Windows run of `./setup` with such a home folder now installs, starts the core skills and runs `/browse`. diff --git a/changelog.d/flaky-tests-and-stricter-plan-review-judge.md b/changelog.d/flaky-tests-and-stricter-plan-review-judge.md deleted file mode 100644 index e8b15cf8e..000000000 --- a/changelog.d/flaky-tests-and-stricter-plan-review-judge.md +++ /dev/null @@ -1,5 +0,0 @@ -### Fixed - -- **The plan-review test judge no longer accepts an answer from a session that reported an error.** When Claude Code exits 0 but its final result says `is_error: true`, the finding-floor judge now treats the assessment as failed instead of using the answer it saw earlier. The judge session also runs with hooks and slash commands turned off, like gstack's other Claude Code calls, and skips a plain notice line in the output while still failing on a broken JSON event. -- **The `gstack-question-log` Bun-config test no longer sees a record left by the test before it.** Each write used to start a background profile update that kept writing into the test's state folder after the test ended; the test now turns that update off. -- **A brain-sync merge test that failed at random now shows the sync status message when it fails,** so the next failure names its cause. diff --git a/changelog.d/large-results-prs-ship-scaling.md b/changelog.d/large-results-prs-ship-scaling.md deleted file mode 100644 index 17e801483..000000000 --- a/changelog.d/large-results-prs-ship-scaling.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -important: blocker ---- -**`/gstack-ship` now handles very large results PRs.** A repository's `review_exclude_paths` can list up to 256 patterns instead of 64. When a reviewer's diff is still too big, the suggested fix no longer offers to hide `docs/` and never prints a policy gstack would refuse. The pre-merge secrets check and `gstack-banned-terms` read a diff of any size instead of failing past 256 MB. `gstack-review-plan` matches exclusion patterns and searches for files that name excluded paths with a fixed number of git calls, which took a 16,000-file results PR from 180 s to 100 s, and the docs-only check searches for references to every changed doc in one pass instead of one search per file. A PR body may list its `Ruled note:` lines as `- ` or `* ` bullets. diff --git a/changelog.d/make-pdf-sanitizer-gaps-and-small-fixes.md b/changelog.d/make-pdf-sanitizer-gaps-and-small-fixes.md deleted file mode 100644 index b37e4bc42..000000000 --- a/changelog.d/make-pdf-sanitizer-gaps-and-small-fixes.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -important: security ---- -**make-pdf removes `javascript:` links spelled with tabs, line breaks or entity letters.** Untrusted Markdown could still produce a live `javascript:` link in the HTML make-pdf prints by putting a tab or line break inside the scheme (`java script:`) or by writing its letters as entities (`javascript:`). Those links now become harmless `#` fragments. Two smaller fixes in the same code: removing a click handler whose value contains `>` no longer mangles the rest of the tag, and an entity such as `Ϋ` that only starts like a colon no longer rewrites an ordinary link. - -- **Quotes at the start of a paragraph, heading, list item or table cell now curl the right way in make-pdf.** `"Hello," she said` used to render as `”Hello,”`, including in the page title and running header. -- **Wide SVG diagrams are printed on a sideways page again.** make-pdf read an SVG's `stroke-width` (or `data-height`) as its size, so a 3000px-wide diagram looked 2px wide and stayed on an upright page. -- **One malformed learning no longer breaks every later `gstack-learnings-search`.** A row with `files` saved as a single string (or `ts` as a number) crashed the search until someone edited the file by hand. Search now reads those rows, and `gstack-learnings-log` stores a single path as a one-item list. -- **Cross-project learnings add to this project's own and never replace them.** A newer learning with the same key from another repo used to replace this repo's answer, for example its test command. -- **A pretty-printed timeline event that already has a timestamp is saved as one line**, so `gstack-timeline-read` no longer skips it without a word. diff --git a/changelog.d/review-large-diffs-in-slices.md b/changelog.d/review-large-diffs-in-slices.md deleted file mode 100644 index 516f83bdb..000000000 --- a/changelog.d/review-large-diffs-in-slices.md +++ /dev/null @@ -1 +0,0 @@ -**`/gstack-ship` now reviews a diff over the 2 MB review ceiling in slices instead of stopping.** When one reviewer's kept diff is bigger than 2,000,000 bytes, `gstack-review-dispatch pass` splits it into up to 8 slice readers that share no file and together cover every file, keeping each top-level folder in one slice when it fits. Git checks that coverage before any brief is written, and `gstack-review-dispatch verify` checks it again at the reviewed tree, refusing a missing, uncollected, overlapping or dropping slice. A sliced reader is still one reviewer for round counting. One file over 2 MB by itself, a diff that needs more than 8 slices, or a slice that would name more paths than one command can carry still stops with `REVIEW_DIFF_TOO_LARGE`, now naming the reason. Large results PRs and large pure-deletion PRs whose files sit in a few folders or subfolders can now be reviewed in full; a single flat folder of thousands of small files can still hit the path limit. Diffs under the ceiling are reviewed exactly as before. diff --git a/changelog.d/setup-refresh-skips-checkout-codex-render.md b/changelog.d/setup-refresh-skips-checkout-codex-render.md deleted file mode 100644 index a1ae24599..000000000 --- a/changelog.d/setup-refresh-skips-checkout-codex-render.md +++ /dev/null @@ -1 +0,0 @@ -**`./setup --refresh-registered` run from inside the gstack checkout no longer reinstalls Codex after you removed it.** The checkout's own `.agents/skills/gstack` folder is its Codex skill render, and the upgrade used to mistake it for a Codex install inside a project, so it reinstalled Codex skills into `~/.codex/skills` and added Codex back to the installed hosts. Now only a separate project that keeps its own gstack copy at `.agents/skills/gstack` is picked up and refreshed. Thanks to @schubter for the report (#4835). diff --git a/package.json b/package.json index 5b851ef83..371b28b25 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gstack", - "version": "1.104.0", + "version": "1.104.1", "description": "Garry's Stack — Claude Code skills + fast headless browser. One repo, one install, entire AI engineering workflow.", "license": "MIT", "type": "module",