Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA
Changelog
[1.104.5.0] - 2026-11-29
When /gstack-ship's second-model review runs on Codex, it now counts as a second-model review. The Codex review's closing status line names the Codex model and its family, so the review record proves the reviewer came from a different model family than the one that wrote the code, instead of recording the Codex review as unavailable. /gstack-ship also saves that record once the review checks out and passes it to the shipping record by itself, so every shipping record says which second model reviewed the change. If Codex can't run, that is still recorded and still never blocks shipping (GST-4148).
[1.104.4.0] - 2026-11-28
browse can now keep untrusted pages off your machine and private network. Run browse --public-only or set BROWSE_PUBLIC_ONLY=1, and every connection the browser makes (pages, redirects, images, fetches, WebSockets, downloads) is refused when it points at this machine, a private network, or a cloud metadata address, and DNS tricks can't get around it. With the switch off nothing changes, so localhost:3000 keeps working. See BROWSER.md, "Public-only mode". (#4812)
A repo can now keep browser end-to-end tests that need running servers out of the pre-merge test run, wherever the tests live. List the folder in .gstack/pregate.json as "local_skip": ["apps/web/e2e/**"] on your main branch. /gstack-ship then leaves the Playwright tests under it out of the run on your machine, prints how many it left out, and still expects them from your CI or remote test gate. Any test under that folder that isn't a Playwright test still runs, so a folder glob that's too wide can't quietly stop your unit tests. Before this, only folders under test/, tests/, spec/ or __tests__/ could be set aside, so a suite at a path like apps/web/e2e/ failed a green branch while it waited for a server that never started (#4709).
A file deleted or renamed after the final review can now ship as a ruled note, like an edit. The owner's edit:<path> ruling covers a deleted path, and a rename takes two rulings, one for the old path and one for the new, so folding or renaming a changelog.d fragment after review no longer stops /gstack-ship with RULED_EDIT_REFUSED and RECEIPT_INVALID (garrytan/gbrain#10623). gstack-review-plan --post-review now prints the ruling command for deleted paths too. A ruling still never covers a path no commit deleted (a typo), a file deleted after its edit was ruled, or a file re-created or touched again after its deletion was ruled, and deleting money, auth, secret or gate code, or a docs claim, still gets its targeted read (GST-4139).
A code or gate pull request now gets a second-model review of the code its fixes changed, and every second-model review records which model family did it. Before, once /gstack-ship's first second-model review had run, a later full review pass and the read-only final review skipped it, so a pull request whose first pass took fixes could ship with no second-model read of its final head. Now a later full pass on code or gate changes lists the second-model review again (unless its fixes changed no runtime lines), and the read-only final review lists both the native adversarial review and the second-model review. gstack-review-dispatch collect refuses a second-model review from the author's own model family (for example a Claude reader checking Claude's work) and records the provider, model and family of every one; a review counts as completed only when its model's family and the author's family are both recognized and differ. verify prints OUTSIDE_VOICE_RECORD: only when the review record is clean, and gstack-ship-receipt write --outside-voice can record it in the receipt, refusing a same-family completed review (/gstack-ship does not pass that flag yet). A second-model review that could not run (Codex down, disabled, rate-limited or refused) is still recorded as unavailable and never blocks shipping. Docs and tests changes and light reviews are unchanged.
[1.104.3.0] - 2026-11-28
Dependency and CI action updates, each checked against its publisher. marked 18.3.0 (Markdown rendering fixes, including two inputs that took quadratic time), @ngrok/ngrok 1.8.1 (a dropped tunnel retries with waits capped at 30 seconds, where before the wait between retries grew to hours), socks 2.8.11 and @types/bun 1.4.5. CI moves to dependency-review-action 5.0.1, docker/login-action 4.8.0, scorecard-action 2.6.0, codeql upload-sarif 4.39.4 and Trunk dynamic-ci 0.1.12, every one still pinned to a full commit SHA.
The PR body check no longer loses the closing Agent notes section when the text quotes a <!-- comment opener in inline code or a code block, so a body that explains HTML comments is no longer refused for a receipt and words that already sit in the right place. gstack-review-plan --pass now says plainly that it counts the review passes already finished, prints a PASS_COUNT: line with the value to give after the next pass, and inside an open /ship run refuses a --pass that disagrees with the passes the run's review log holds, instead of quietly planning the read-only final review a round early.
/gstack-ship stops mistaking ordinary text for Capy ids, and checks every part of a public PR body it posts. Text such as SHA-256:abc, UTF-8:x, PR-12:fix or a file named test/jam_fix.ts was refused or replaced by "a private message" on public repositories; now only real Capy ids (jam_, icm_, iev_) and relay refs whose message part is a Capy id or a timestamp count, and a relayed ruling still reads "relayed from a private message" whatever its ref looks like. On a public repository, gstack-ship-receipt write, carry and abandoned now also refuse a home folder path or Capy id in the earlier-runs block and abandon reasons, not only in the receipt. gstack-ship-receipt abandoned --pr marks only an open PR that records the run, and reads the repository the branch pushes to (its pushRemote or remote.pushDefault, else origin, at that remote's push URL), so contributors whose origin is upstream can use it once one of those names their fork. On private repositories, the merge check again accepts a Gate disposition: line written before ids were redacted, and a hand-edited earlier-runs entry with a non-text run no longer crashes the round count.
/gstack-ship no longer puts home folder paths or Capy thread and message ids into PR bodies on public repositories. The ship receipt stored --run as given, so runs that passed their run folder's path published /home/<user>/.... It now keeps only the folder's name, both when writing and when carrying a receipt to a new head, and older receipts that still hold the full path keep matching their run. On a repository GitHub doesn't report as private (checking the --repo a command publishes to as well as the checkout's own), a receipt that would still hold a home path or a Capy id (jam_, icm_, iev_ or <thread>:<message>) in any value or key is refused before anything is written or carried. A ruling relayed from a Capy message reads "relayed from a private message" in gstack-approvals rulings, in finish's output and in the receipt, and a Capy id in a ruling's ruler or reason, or in a gate disposition's recorder, reason or words, reads the same way, so a PR carrying a Captain's ruling still gets a clean receipt. The approval record keeps the real references. gstack-ship-receipt abandoned refuses a PR whose head isn't this checkout's branch on its origin repository, instead of marking someone else's or a fork's PR, and leaves Capy ids out of the entry it writes on a public repository.
/gstack-ship no longer stops or blocks because of time and tokens that belong to something else. The 100-minute stop now counts active minutes: a stretch of more than 5 minutes with no gstack call (waiting on CI, a reviewer or a Captain's ruling) counts only its first 5 minutes, and only calls in the run's own checkout count, while a run that keeps calling gstack still stops at 100. A new /gstack-ship that reuses an earlier run's record now starts its own run instead of joining the earlier one, so the token cap and the clock count only this run's own use; resume still continues an earlier run and is still the only way past a budget stop, and resume --meter capy now needs --reading instead of counting the thread's whole counter. A run whose budget closed at its last step now marks its run record finished, and the next preflight ends one an older gstack left open, so a finished run no longer blocks the next /gstack-ship on the same checkout while a run still in progress keeps blocking. gstack-ship-run abandon --run unknown with an open PR no longer suggests a PR-body command that refuses the same way, and a PR-body mark that the PR refuses prints why without a rerun hint.
/gstack-ship keeps its token cap and clock when its budget start reruns mid-run. While a /gstack-ship run is still open on the checkout, gstack-ship-budget start now always re-attaches that run instead of opening a new one with a fresh cap (or none), applies a stricter --token-cap (printing CAP: lowered) and prints CAP: kept for a looser one; a run already past its cap or 100 active minutes records its stop and exits 3. resume --run of a run a later start replaced now marks that later run replaced too, so it no longer holds gstack upgrades for 6 hours. start --ledger refuses a path that is the earlier run's ledger file, start takes the earlier run's lock for the whole switch so a racing note cannot point the record back at the old run, preflight ties each budget ledger to its run id so an earlier run's late close never ends a later run, and the 100-minute clock ignores calls from a nested checkout or submodule inside the run's checkout. Follow-up to #4877 (GST-4132).
/gstack-ship stops reopening findings that were already settled, and a missing run folder no longer costs a docs-audit attempt. A finding the owner ruled as a note stays ruled when edits above it move its line (the ruled line itself unchanged); a different finding in the same file, or the same line after its text changed, still needs its own ruling. A blocker fixed in a commit with no Review-Finding trailer now closes when that commit changed the finding's own line after it was raised and a later full review, the read-only final review included, read the whole branch clean. Lines under a reviewer's "What I checked and found sound" list no longer count as blocking findings unless written as one, such as a line tagged "(Critical)"; a heading that only mentions a sound phrase still counts every finding under it. The docs audit's snapshot refuses up front with DOCS_RUN_FOLDER_MISSING when its run folder does not exist yet, so that setup mistake spends neither of the step's two attempts.
/gstack-ship closes five gaps in how it records reviews, and --for gstack-ship now installs the ship skill on Capy. A ruled docs edit that adds a money, security or numeric claim now needs a fresh targeted read in both the review plan and the receipt; before, the receipt accepted the old read while the plan asked for a new one. A targeted-only read after the loop no longer hides an earlier full pass that stopped before its findings were logged. When a review is split into slices, a targeted record is no longer marked done if the slices don't cover the diff exactly, and a retry after an outside reviewer's cyber-policy refusal now skips the native reviewer's model family even when the native reviewer was sliced. gstack-ship-budget check --next dispatch:<role>*<k> reserves one reader per slice, so a sliced review is priced before it runs. The Capy skill now says /gstack-ship throughout, and the troubleshooting entry for RECEIPT_CARRY_PRODUCT_CHANGED lists the base-merge case that docs/ship-policy.md already allows.
The stable release no longer skips a fully tested commit because a report-only workflow failed on it. The daily stable cut refused v1.104.2.0 because the weekly mutation report, which never blocks a merge, failed on that commit. Now its check runs are set aside like the nightly Windows suite's, along with the other workflows whose own header says they never block, which are the Trunk flaky-test upload, the marathon evals and the eval sweep. A red free-tests or main-backstop check still keeps a commit out. The weekly mutation report also runs again. The free-suite setup rebuilds a committed bundle whose bytes differ by machine, so the report refused its own fresh checkout as dirty; the workflow now puts those files back first, and the report names the edited files when it does refuse. Release note lines also drop a stray trailing comma or semicolon before the pull request link.
A test that copies its own bun binary no longer stops /gstack-ship with a fetch violation. The review's fetch check now recognizes a new large file that is an exact copy of the Bun runtime it runs on (same size and SHA-256) and prints it as FETCH_IGNORED: … reason=host-runtime; a file named bun with any byte changed is still a fetch. Also: the Codex prompt files /plan-ceo-review and /plan-eng-review write in .gstack/tmp/ are now kept out of git, from a subdirectory or a linked worktree too; the /autoplan guard treats Claude Code 2.1.326, the version CI runs, as checked, from a fresh capture of its hook payload; and docs/skills.md says /review always runs the Codex second-model review when Codex is ready and the Red Team on diffs over 200 lines.
The secrets check no longer reports an 11-digit GitHub Actions run id as a phone number when code names it with a camelCase run identifier such as runId: <id>, RunGithubID: <id> or resolveRunDetection(t, db, d, <id>, ...) (#4861). Everything the check reported before still reports, including a plain "run": <n> in JSON, a phone-named key such as phoneRun or contactRunId, an id with more text after it in the same value, and any number that isn't exactly 11 digits.
/review now always runs its Codex second-model review when Codex is ready, and runs the Red Team on diffs over 200 lines. Both were documented steps that Claude Opus skipped in every headless session of a recent eval, because /review called the Codex pass optional and its end-of-skill check never looked for either. The check now requires a status line that gstack-outside-voice prints itself (a legitimate "Codex not installed" or "reviews disabled" skip still passes; a claim in the model's own words, or a hand-written codex exec, does not), and requires the Red Team whenever the diff is over 200 lines. /review runs Codex through that one command, so a model that rewrites the shell can no longer lose the result. In a headless session, the check also stops the model from ending while reviewers it started in the background are still running. /gstack-ship is unchanged.
The factory scorecard's red-train rate now counts each train (one batch of PRs tested together) once per report, by its branch, so re-testing the same batch inside the report's window no longer moves the rate. It used to divide red runs by every non-cancelled run on a train branch, so a red batch that was bisected and rebuilt added extra runs to the count. A train is now red when any of its non-cancelled runs in the window did not succeed, even if a later rebuild passed, and a branch whose runs were all cancelled is left out. A rebuild that lands after the window closes still counts in the next report. The published week in crew/docs/recommended-harness.md recounts the same (1 red of 22 trains). Rebuilt from #4864 by @mvanhorn (#4767).
The secrets check catches more Google API keys in encoded text, reads each JavaScript and TypeScript declaration under its own name, reports a provider key once, and stops matching look-alike values against your environment's secrets. A Google API key inside a long block of base64 text is now reported when its characters show it can't be part of that block. In a line that declares several names, a key is checked under the name it is assigned to, so a hash after a secret-named variable no longer reads as that secret, and a key assigned to a secret-named variable that follows names declared without a value is now caught. A provider key in a const (such as a public Firebase key) now reports only under its provider's rule, so allowlisting that rule clears it. A value that differs from one of your environment's secrets by one character no longer matches that secret's base64 form, while the secret's own base64 form still reports. (GST-4104)
The secrets check now catches keys in JavaScript, TypeScript and Go declarations, and stops flagging JSON key paths, run folders and base64 noise. A key written as const token = "<key>"; (or let, var, a class field, or Go's token := "<key>") is now flagged when the value looks like a real key: a provider prefix such as sk- or ghp_, or long random text. A name or word as the value (const API_KEY = "AUTHENTICATION") stays clean. A JSON "key": "sources/vector-index" field and a 20261123-1711 run folder no longer raise false alarms. A key from your environment is now also found when it appears base64-encoded, and a short AIza… or sk-… match buried deep in a long base64 blob is no longer reported. (GST-3500)
The paid shared-code review test no longer fails a correct review that printed a caller file with cat -A. In a batched read whose result is an error, the test's evidence check now also accepts GNU cat's visible rendering (-A, -e, -t, -v, -E, -T) of the exact file, so the release gate stops reporting this case as a flaky failure (run 46089594210). A truncated, edited or differently rendered file still fails.
The weekly benchmark line in the stable release plan now also strips C1 control characters and the Unicode line and paragraph separators (U+2028, U+2029) from record text, so no published record can break that line. Two model ids that read the same once cleaned still make the whole benchmark read unreadable on purpose, because the release step should fail closed rather than guess which result counts. Holding stays off.
[1.104.2.0] - 2026-11-27
Pages built by /design-html from the bundled Pretext copy now run instead of crashing on their first text-layout call. The skill told the agent to paste vendor/pretext.js into the page's own <script type="module">, but the bundle only exports prepare, layout, prepareWithSegments and the rest under renamed minified names, so every page threw ReferenceError: prepareWithSegments is not defined. The bundle now sits in an inert <script type="text/plain"> block that the page imports as its own module through a short-lived Blob URL, so the page is still one file with no network requests and works opened from disk or from a local server. A new test builds a page from the exact recipe in the skill and runs it in Chromium. Thanks to @Akkyman2 for finding and diagnosing this (#4855).
gstack-design-lint now names a path it cannot read relative to the folder you ran it from, even when you reach that path through a symlink. Before, a missing file, a dangling link or a link that points at itself under a symlinked folder (on macOS, anything under /tmp or /var) printed its full absolute path. The design-lint tests also pass on a Mac again, where four of them compared paths against the unresolved temp folder. Thanks to Akkyman2 for the report and first fix (#4856).
Free Tests no longer breaks the runner's package database when its saved system packages upgrade one the runner image already has. The offline install now lets dpkg set the older package aside while it upgrades both, and a failed offline install is repaired before Playwright installs its dependencies online.
Two gstack tests no longer fail at random. The QA-only cleanup check no longer refuses on a terminal agent that exited a moment ago and has not been collected by its parent yet, and the contributor-mode test names its base branch so it no longer waits on GitHub and the network, which pushed it past Bun's default five-second limit under load.
/gstack-ship no longer forces a whole new full review after the Captain rules in a small edit made after the final review. The planner stopped because the release stamps written after review (VERSION, CHANGELOG) were never ruled, and the receipt refused the targeted reader's record from before the edit. Now stamps need no ruling, a ruled edit that touches no money, gate, auth or secret code keeps that record (the receipt lists the rulings), and a ruled edit that does touch such code gets one targeted reader instead of a full review. A ruled edit to a doc the docs audit checked no longer reports the docs as stale, and the targeted reader's own pass no longer shows as unbound. Inside a git worktree, gstack no longer crashes with ENOTDIR when git can't name its directory; it reports the git failure. Carrying a ship receipt across a merge of main also works when main made one of the PR's exact changes itself, such as deleting the same entry; a merge that drops or edits any other change still needs a new review.
[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 (<agent-message from=...>), 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-reviewand/plan-ceo-reviewworks 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.gstackfolder) and deleted with a plainrmof 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 saidused 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(ordata-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 withfilessaved as a single string (ortsas a number) crashed the search until someone edited the file by hand. Search now reads those rows, andgstack-learnings-logstores 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-readno 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-logBun-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.
/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-basenow readsedit:<path>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 andgstack-ship-receipt stopno longer refuses withSTOP_UNBOUNDwhen that reader is the one that blocks.gstack-no-stopandcheckNoStopboth refuse the retiredscoped-fix-check, and the remaining recovery messages name/gstack-shipand 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 <br> 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 <agent-message> 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 worktreeof the same repository, or elsewhere in the session's own worktree. A session started in~/Projects/appthat ranrm /Users/me/Projects/app-192/src/debug.spec.tsgot "deletes files outside this session's folder" on every delete, even in bypass mode (#4827). A plainrmorunlinkof a path now counts as inside when, resolved on disk, it sits strictly inside a worktree thatgit worktree listreports 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,.gitand the git folder,.., symlinks, globs, other repositories,rm -r,find,rsync --delete,shred, a command that runs anything before the delete, andgit 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 finishwith 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 onegstack-approvals rule --finding edit:<path> --head <stop head>per edited path, and thegstack-review-plan --post-reviewstop 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 aRULED_EDIT:line for each, and the PR body lists each ruling. It refuses, with aRULED_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-waitno longer blocks on a cancelled check that a newer passing run of the same check replaced. In a repository whose workflows useconcurrency: cancel-in-progress, the older run is cancelled when the next one starts;gstack-ship-queue readyalready judged the check by the newer pass, butgstack-pr-wait --until greenstopped withPR_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_MISSINGstop names npm'sallow-gitsetting when the lockfile installs a package from git. npm 12 refuses git packages by default, so the plainnpm cithe stop suggested failed withEALLOWGIT. The hint still suggestsnpm ciand says to add--allow-git=allif 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-voiceinstall rewrote the shared verdict, so thedocument-releasechild 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 writeleaves a retiredscoped-fix-checkrow out of--no-stop, asgstack-no-stopalready refuses one.gstack-ship-receipt stopworks 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--prit now records the stop in the run record and printspr=none.Receipt checks read a path with
*or?in its name as that file. The receipt's carry and depth checks passed paths togit ls-treeas 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=noneand 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 --releasecopies eachchangelog.d/entry as written, even where the CHANGELOG is one of the policy'sstamp_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 contributorssit 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-installreads the Codex setup model from the astra row oflib/model-families.tsinstead 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-dirfolder 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
./setupno longer looks for a C toolchain. When you upgrade, setup and relink remove gstack's own/csoskill entries and the oldgstack-cso-*helper files from your checkout, and leave any skill of your own namedcsoalone. 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 fromghcr.io/garrytan/gstack/cso-*, anddocker image rmremoves 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-grantandgstack-ship-receipt claimare gone.gstack-review-planrefuses--grant,--round-grant,--stop,--fix-checks,--fix-check-promptand--last fix-check, andgstack-ship-receipt writeandgstack-ship-release finishrefuse--review-loop-exception; each refusal names the replacement.gstack-no-stopno 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 readyno 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--trailis gone.gstack-decision-trailstays for runs that keep a trail.
[1.103.3.0] - 2026-11-25
Fixed
- Screenshots, PDFs and page dumps taken in the Aside browser are no longer lost before you can see them. Aside now deletes a script's working folder the moment the script ends and refuses to save anywhere else, so the old "save, then copy it out" step always failed (#4784). Browsing skills (/browse, /qa, /design-review, /canary, /land-and-deploy, /design-shotgun, /design-consultation, /devex-review) now run any script that saves a file through the new
bin/gstack-aside-repl --out <dir>, which carries each file out over the script's output and writes it to<dir>. make-pdf, diagrams and design previews rendered through Aside use the same route. gstack's own fallback browser ($B) is unchanged.
Fixed
/cso --comprehensivecan now prepare npm apps whose lockfile lists bundled dependencies, such as Next.js apps on Tailwind CSS 4. npm records a package that ships inside another package's tarball with"inBundle": trueand no download URL, and preparation used to refuse the whole lockfile withUNPINNED_ARCHIVE. A bundled entry is now accepted when the package that bundles it has a pinned registry archive (an npmjs.org URL and a SHA-256 or SHA-512 hash). It is still refused when that parent is missing, is a local workspace link, or is itself unpinned, and an ordinary entry with no URL is still refused. (#4777)
A first version's ruled-out line now counts only against the one reply it cites. The date in ruled out <date>: "<ruling>" names the owner's recorded reply by its record id, its time (2026-11-18 09:20Z), or its day when he sent only one reply that day. The ruling beats a reviewer only when that reply holds its words. A citation that names no reply or several, or a reply that doesn't hold the ruling, makes the approval gate ask him instead. Words from some other reply no longer count. Keeping his ruling also leaves the build with no task for the fix he turned down. A second reviewer's finding that names a different quote now stays on its own item instead of joining this one. (GST-3646)
A first version's plan can say the owner ruled something out, and that line now counts only when he actually said it. Under ### Owner's words, a quote's line can be ruled out <date>: "<ruling>". When one of the owner's recorded replies holds the ruling (three or more words, not just the quote repeated), the ruling beats a reviewer. A finding that says the plan does less than his words becomes one item recommending his ruling, and a cut of those words stays a cut. When no recorded reply holds it, the approval gate asks him once, showing the ruling and any finding side by side and recommending the ruling. A finding's twin from the other reviewer that doesn't name the quote now joins the same item instead of becoming a separate take-the-change proposal, and public exports redact the ruling like the quote. (GST-3646)
/ship's documentation check updates your repo's own docs again, including docs written as templates. A recent change limited the check to README.md, docs/ and bench/README.md, gstack's own layout, so in a project whose docs live elsewhere (for example handbook/*.md.tmpl) the check stopped and asked for a decision instead of fixing the stale page. It now edits the docs it discovers in your project again and still leaves skill files (SKILL.md and SKILL.md.tmpl) to review.
Fixed
- /autoplan approval asks with more than 26 choices now label them AA, AB and so on instead of punctuation. The ask lettered its choices one character at a time, so choice 27 became
[, choice 33 becamea(the same answer as choice 1, since answers are read in any case), choices 63 to 95 were control characters that don't print, and later ones were stray symbols. Labels now run A to Z and then on like spreadsheet columns (AA, AB, … ZZ, AAA), every one capital letters and none repeated, so a reply like "AA1" names exactly one choice next to "A1". (#4769)
/land-and-deploy no longer leaves an auto-merge request behind or deletes main. It merges the PR directly, pinned to the reviewed head. When GitHub won't allow the merge yet, or the base branch merges only through a merge queue, it says so and stops, instead of arming a merge that could land later with nobody watching. It deletes the head branch only when that branch lives in the repository, is not the default branch or main, and no other open PR uses it as its base, so a main-to-production promotion keeps main (#4770).
When the branch you push moved on the remote since your last fetch, the pre-push credential guard now tells you to run git fetch instead of failing with ENOBUFS or telling you to rotate a credential that is already on the remote. It scans the commits you are adding as your own, so a secret in them still blocks as before. The rest of what you push is still checked, because your clone's copy of the remote may be out of date; a credential there, or history too large to read, blocks with a message to fetch first, and after the fetch only your new commits are scanned. Reported by @ajrmooreuk in #4790.
Fixed
- The pre-merge secrets check now scans an added file over 16 MiB instead of failing it unread. gstack-redact refuses any input over 16 MiB, so a branch that added a large data file, such as a 60 MB
trials.jsonlof eval results, failed the check as HIGH with nothing to fix. The check now scans such a file in parts cut at line ends, each repeating at least 64K characters of the text before it (more when a credential environment value is longer), and reports every finding at its line in the file. A single line too long to scan whole, or too long to share a part with that much context, still fails and names the line, and a scanner run that prints no report is an incomplete scan, never a pass. (#4796)
On Windows, an update no longer deletes your brain-aware skills when python3 is the Microsoft Store alias. That alias stays on PATH next to a real Python and exits 49 without running anything, so gstack-config gbrain-refresh, which runs after every team-mode update, read a healthy gbrain as "not detected" and removed the brain-aware render. A Python that does not run now counts as absent (the next Python, then a plain-text read, is used instead), and when gbrain's state cannot be read at all the existing render is left in place. Thanks to @Barack-zero-to-one for the diagnosis and tests (#4752). A pre-ship test command longer than the 8,186 characters Git Bash keeps is now split to fit, or refused with a clear "argument list too long" message, instead of starting cut off and failing with an empty log (#4773).
[1.103.2.0] - 2026-11-24
make-pdf no longer lets a NUL character hide an onerror handler, a javascript: link or a <script> tag from its sanitizer. The typography pass drops U+0000 after the sanitizer has run, so on\u0000error= became a live onerror in the print browser; the sanitizer now drops NUL first. Removing a handler could also join the two halves of a tag name, so <scr onx="a"ipt> came out as a live <script>; the sanitizer now repeats until its output stops changing. Removing a handler or a javascript: link also keeps the page's structure. Handler-looking text inside a quoted attribute no longer deletes the elements after it, and a javascript: value loses only its scheme instead of gaining quotes, and the scheme is also caught after leading spaces or with its colon written as an entity.
After a blocking fix, /ship's second review round is always a full review whose every reader is recorded with the pass, instead of a narrower re-check whose result could go missing.
/ship's instructions now match how it reviews code. A code change after the first review round gets a full second round, and a pull request past its two rounds whose code changed gets one read-only full review of its final head; the old narrow re-checks and the grants that bought them are marked deprecated and go away next release. Unattended /ship skips the test-coverage and plan-completion readers and the scope, exploratory-QA, TODOS, metrics and nudge steps, none of which caught anything in recorded runs. The documentation audit edits only README.md, docs/ and bench/README.md, a new /ship run on a pull request past its review rounds no longer lets that last review apply fixes, and the starter .gstack/pregate.json that gstack prints now links to its documentation on GitHub.
For contributors
- A weekly benchmark record can no longer slip text into the release job's log through its error messages, or lose a model row to an odd model name. When the release tool can't read a record, the reason it prints is now stripped of control characters too, and model names that collide once cleaned make the record unreadable instead of silently dropping a row.
For contributors
- Every stable release plan now prints the weekly benchmark's result, so you can see whether this week's gstack measurably fixes more or fewer bugs than the current stable release. The release tool reads the weekly record gstack-evals publishes, and a measured drop will hold the regular cut once holding is switched on after two weekly records. Security, data-loss and regression fixes still ship. A hand-run cut can pass a hold with the new
benchmark_waiverinput. See docs/releases.md#weekly-benchmark.
[1.103.1.0] - 2026-11-24
/ship now tells you what to change when GitHub refuses a push for email privacy. A push GitHub declines with GH007 (a commit carries an email address your account keeps private) used to be reported as a non-fast-forward, sending you into a pointless merge and a rerun of the release steps. It now says to set user.email to your GitHub noreply address and rewrite the commits, and any other refusal from the remote, such as a protected branch, is quoted (through the secret scanner) instead of read as a merge problem. (#4738) Reported by @raymondllee
gstack-approvals rule and round-grant now say which --owner-ref check failed. A ref in the wrong shape, a missing --words and a missing --by each get their own line, the shape refusal states what a valid ref looks like, and no invalid-record refusal tells you to rerun gstack-approvals add with flags the command you ran doesn't take. (#4718) Idea and first version by @Barack-zero-to-one in #4720
The merge queue's bisect now accepts a red judge case whose name holds a space. A judge case such as setup-browser-cookies/SKILL.md workflow was refused as outside the gate's plan, because bisect's own id check left out the space that the release bisect and the CI route already allow; all three now share one rule. (#3580) Idea and first version by @Barack-zero-to-one in #4724
The release gate's /cso check accepts the low-confidence hypotheses /cso now reports. Since /cso started keeping unconfirmed findings as hypotheses, its diff-mode eval failed every run because the check still required every finding in a daily report to be confirmed. The check now accepts hypotheses only at low confidence, still requires each case's main finding to be confirmed, and a free test replays a captured run through the real helper.
/cso reports every security finding the code supports instead of dropping most of them. On 52 real GitHub security advisories, /cso named the published flaw in 3 of 51 audits where a plain audit request named 12. It was told to keep only findings proven inside the repository, which drops most library bugs, and the helper refused anything less in a daily run. Now a library's public API counts as an attacker entry point, a finding with one open question is kept at low confidence as a hypothesis (the helper saves it in a daily run too), the skill reads the run ID and the full file list with jq instead of a cut-off shell result, and a refused start is retried with the correction it names.
/cso can search the whole repository in one call, and a daily report now lists its low-confidence hypotheses. Audits that started used up their 10-minute budget reading one file per helper call, so most files were never read. The new gstack-cso search <run> <regex> runs one regular expression over every file in the snapshot. It stops at a hard 60-second limit, even on a pattern that never finishes, prints the matches found so far, and lists the files it did not search (the first 50 by name, then a count). The skill now pages the file list 500 paths at a time, and report.md lists daily hypotheses under "Hypotheses (unconfirmed)".
A first version's plan and try-it message now open with the owner's own words, and the build is tried the same way he will try it before he is asked. A plan with a ### Day one section (or /autoplan --first-version) quotes each of the owner's messages that state the job, with a line saying whether this version does it, or leaves it as a choice with its size. Reviewers check every cut against those quotes, and the approval page gives every cut its own letter. gstack-first-use now freezes the quotes and the exact try-it text, runs those steps on the real device or service (iOS, Android, web, macOS or a server), records a verdict and a plain line for each step, and refuses to send the message while any step the owner asked for is thin, wrong or broken. On the owner's real setup the check only reads, unless he approved a write by letter. The factory page, the lane card, the Captain guide, the /autoplan driver and /ship's TestFlight step now point at it (docs/first-use-check.md).
A first version's public export now keeps out the owner's short quotes and his reasons to leave something out, and a phone first-use check installs a build the cloud phone can actually run. gstack-autoplan export --public used to redact only owner quotes of three or more words, so a one- or two-word quote, or a leave out: reason, could reach the public copy through the gate's choice titles. Now every plan quote is redacted wherever it appears directly inside quote marks, and every leave out: reason wherever the gate shows it, whatever case the key is typed in; validate --public catches either one written back. gstack-first-use start for an iOS or Android build now takes --phone-build <id>, the Capy mobile build of the same commit, because the cloud phone installs only that kind of build and a TestFlight number left the checker unable to install anything. An iOS or Android run started before this change is refused with a note to start a new one (docs/first-use-check.md).
Three intermittent test failures are fixed. gstack-developer-profile --vibe no longer exits 141 or 126 once a profile grows past 64 KB: it read the profile through an environment variable and an unread pipe, and now reads it from standard input like the other subcommands. The docs-audit test fixture now tells the model to skip, not probe, a skill command outside its allowed commands (the new gstack-banned-terms step). The error-message review fixture's well-behaved example now meets every item of the review rubric on its network and crash failures, so the reviewer no longer flags it.
Free Tests runs its shards on 8-core runners again. The ten free-suite shards go back to ubicloud-standard-8 with four sub-shards each, and the exclusive shard keeps its single serial child on the same runner size. On 16-core runners each shard finished sooner, but a whole run was only about 0.4 minutes faster, because the macOS jobs and the final check set when a run finishes, while the median run cost about a third more ($0.31 against $0.23 at list price). The same tests run in the same shards.
A land that waits on an earlier CI run now decides on what that run actually did. If a green run was rerun at the moment land picked it up, a red or still-running rerun used to be ignored and land would start another run. Now the rerun's result counts. Main's own Free Tests run also skips a cancelled run when it looks for the run a land already did, so it reuses the earlier green one instead of running the whole suite again.
Landing a PR no longer starts a new CI run when one for the same merged code is already running or has passed. When main had moved, each gstack-ship-queue land --pin dispatched a fresh Free Tests run on the merged tree and gave up after 45 minutes, so a slow macOS runner queue refused the land, and the next try queued yet another run while the first one finished green unused. Land now reuses the newest earlier run on the same merged tree. It lands at once on a green run, waits on one still queued and refuses on a red one, and a timeout names the run the next try will wait on.
/ship no longer misses a file-mode change from main on files whose names start with :. A name like :!tool.sh or :(glob)tool.sh made git refuse /ship's mode lookup on both heads, and the two failures compared as equal, and a name like :(top)tool.sh read the mode of a different file, so a merged head could count as reviewed after main changed such a file's mode. Both mode lookups now read the name literally, and a lookup that fails counts as a change that needs review.
make-pdf keeps quotes in alt text, link titles and raw HTML attributes inside the attribute, so a Markdown file can no longer add an onerror, onload or javascript: link that runs in the print browser. make-pdf used to turn " back into " after its sanitizer had run, so an image caption holding a quote followed by an onerror handler printed as a live handler; quote entities are now read as quotes only in text, where they become curly quotes. The sanitizer also catches a handler or javascript: link written right after a / or a closing quote inside a raw HTML block, and no longer leaves an attribute or element open when it removes handler text. Handler-looking text such as /onload= is still removed wherever it appears, URLs and code included. Quotes in alt text and titles also render correctly now instead of cutting the text short.
Posting a PR body that lists earlier /ship runs no longer stops for a phone number that isn't there. gstack-post read the run id on each line of the gstack-receipt-runs block (4242424-1700000000-deadbeef) as a phone number, so every /ship that rewrote a PR body with earlier runs waited for a confirmation. The run id on a well-formed line of that block is now skipped for that check; a phone number anywhere else, including elsewhere on the same line, is still caught. About 1 in 10 run ids also reads as a card number and still asks; a follow-up fixes that. Reported by @dgrant (#4725), fix idea from @thomsjack (#4729).
gstack-approvals import --autoplan records an interactive /autoplan run under its own run id. Without a run.json, every interactive run was imported as autoplan, so the run id could not be cited and separate runs shared one gate state. A Plan: approved: line naming the run's folder resolves the same way while the folder holds one run; once it holds several, cite the run id instead. Approvals imported before this change under autoplan need importing again. New interactive run ids put autoplan between the branch name and the time stamp, so a branch name ending in digits no longer turns the id into something the privacy check reads as a phone or card number. Reported by @exGeni (#4402).
A first version's public export now catches a short owner quote whose padding or quote marks are encoded. gstack-autoplan export --public matched a short plan quote on the raw text only, so a copy that wrote the padding as or a zero-width space, the quote marks as " or \", or a space as   kept the owner's words, and validate --public passed it. Short quotes are now matched on the same decoded text the long-quote scan reads, and the redaction still covers the original characters.
A first version's public export now also keeps out a short owner quote written with spaces just inside its quote marks. gstack-autoplan export --public matched a short plan quote only when its words touched the quote marks, so a bullet like " water alerts " kept those words in the public copy, and validate --public passed it. Now spaces inside the marks are allowed in the match.
Posting a PR body that lists earlier /ship runs no longer stops for a card number that isn't there. About 1 in 10 /ship run ids (<pid>-<epoch>-<8 hex>) also passes the card-number checksum, so gstack-post still asked for a confirmation on those bodies after the phone-number fix. The run id of a well-formed line in the earlier-runs block, and of the ship receipt itself, is now skipped for the card-number check too, only when the whole card-shaped number lies inside that run id; a card number in any other field, or written as a run id of any other shape, is still caught. Reported by @dgrant (#4725).
/ship no longer asks for an extra reader when you merge the base branch next to code that was already reviewed. If merging main leaves your own added and removed lines, file modes and symlink targets exactly as they were reviewed, /ship treats the head as reviewed and lets CI on the merged head check it. A merge that splices main's change into the same lines you changed, or that has to choose the order of your inserted lines against lines main inserted at the same spot, still gets one scoped reader, and a mode flip, a symlink retarget or a conflict resolution that edits your own lines still needs a full review.
/ship no longer plans narrow re-checks after a fix. A fix after the first review round gets a full second round on the fixed range, and a fix in the last allowed round gets one read-only full review of the whole PR, so changed code never ships unread (a light diff's below-floor fixes that change no runtime lines still ship as notes). Each of those rounds keeps at least one full-effort reviewer, the one the narrow re-check was, even on a docs-only change. An approval no longer swaps that final review for a narrow re-check. docs/review-policy.md, docs/ship-policy.md (GST-3562)
/ship can't quietly gain new refusals. A new test lists the 131 ways /ship can refuse to continue today and fails when a new one appears without a written reason, so new stopping points have to justify themselves. test/ship-refusal-code-ratchet.test.ts (GST-3562)
gstack-upgrade no longer refuses to run after you disable skills. With gstack-config set disabled_skills ... (or plan_mode_preamble off), setup rewrites the router SKILL.md in the checkout, and the upgrade read that rewrite as your own edit and stopped with "tracked files changed: SKILL.md". The upgrade now accepts the router when its bytes are exactly what gstack renders for your current settings, puts back the committed file for the update, and renders it again afterwards, so your disabled skills stay off. Any other edit to SKILL.md or another tracked file still stops the upgrade as before. (#4704, GST-3542)
The free test suite splits its shards from this week's recorded test times. Eight test files that now finish in under a minute leave the slow-file list, and the Linux and Windows duration seeds carry the 2026-11-22 recording.
gstack now writes up a failed or shelved attempt before closing it. Any experiment, eval arm, prototype or PR that closes as failed, shelved, cut, null or not now first gets a short write-up (takeaways, what worked, what didn't with its numbers, why it stopped, what would reopen it, where the data is, cost), and the close links it. The template is docs/shelved-attempt.md; the factory page, ETHOS.md's "Why null?" verdict, /eval-plan's results step, /captain's report and close rules, and the lane report template all point at it, and gstack-archive-check thread prints a NOTE: for each PR that closed without merging so the archive step checks the link.
[1.103.0.0] - 2026-11-23
The recommendation judge's calibration test now includes two real captured questions, one on each side of the pass line. After the judge moved to Haiku 5.5, the AskUserQuestion format eval started failing on recommendations the old judge passed. These two captures pin down where the current judge draws the line, so a future judge-model change that moves either one fails the calibration test instead of silently changing what the eval passes.
The release gate's live /autoplan guard test keeps its Claude Haiku 4.5 actor. On Haiku 5.5 the actor ran ahead of the background reviewer's completion notice, so the test never reached the path it checks and failed the release gate 8 times out of 8; the other four canaries and the eval defaults stay on Haiku 5.5.
A base branch whose review_exclude_paths list breaks the policy schema no longer stops every /ship. When the only errors in the base's .gstack/ship-policy.json are in review_exclude_paths or review_content_patterns (such as 65 patterns, past the limit of 64), gstack-review-plan sets both keys aside and reviews every file, applies every other key as committed, and prints REVIEW_EXCLUDE: fallback (WARNING: …) with each error and the fix; the ship receipt records it as review_exclude_fallback, and every other step that reads the base policy reads it the same way, so the PR that corrects the list can be reviewed and land; gstack-ship-policy validate still reports the list as invalid. Before, every plan on that repository refused with POLICY_INVALID, the fixing PR's included. Any other invalid key still stops the plan, and a branch's own policy still never counts before it lands. (GST-3399)
gstack-ship-queue landrunsland.merged_checksin a fresh clone and stops when a check touches anything land's later git or gh calls read. The merged-tree checks now run in a clone outside the checkout, with its own.gitand a copy ofnode_modules, so what a check writes to its hooks, config or modules is thrown away with the clone. Before the checks, land pins the absolutegitandghit runs and puts their directories first on its ownPATH, and it records the checkout's git config, hooks,commondirandgitdirfiles and.git, every config file git loads there (includes and the global file among them), gh's config and hosts files, the pinned binaries, and every symlink hop among them. When a check changed any of them, land refuses withQUEUE_LAND_MERGED_CHECKSnaming each path and a hold-and-inspect fix, makes no further git or gh call and leaves the land lock held; after restoring the named paths,gstack-ship-queue land --pr <n> --pin <sha>without--allow-repo-commandsreleases the lock without running the checks. Every git callgstack-ship-queue landmakes runs withcore.hooksPath=/dev/nullandcore.fsmonitor=false; other queue commands keep the checkout's hooks. (GST-1747, GST-1766)gstack-ship-queue landcan run full CI on the merged tree before it lands a PR whose base moved. A newland.merged_cikey ({ workflow, profile }) makes land push the PR merged onto main's tip to a scratch branch, dispatch that workflow there, wait, and land only when the run passes the named run profile with the merged tree as its tested tree; a red run refuses withQUEUE_LAND_MERGED_CHECKS. gstack's own policy now runs the whole free suite this way, so no PR reaches main on a base its tests never saw. (GST-3303)
The destructive-command check catches more force pushes and outside deletes, and stops asking about a few harmless spellings. A force push to main is no longer read as a dry run when --no-dry-run is abbreviated (git push -fn --no-dry origin main), when the -n is really the value of -o/--push-option (git push -f -o -n origin main, also with --push), or when -f sits in a group with a digit (-f4, -4f, -fo-n). A push-option value is no longer read as the remote, so git push -f -o ci.skip origin on main is blocked like git push -f origin. A relative delete after cd into a system folder (cd /etc/nginx && rm -f sites-enabled/default, also cd ../../etc) and removing a device node under /dev (rm -f /dev/loop0, /dev/sg0, /dev/zram0) now ask, like their absolute-path forms. A push-option value never makes a push safer. It can't turn a push into a dry run, and a --no-dry-run after -o still undoes -n. Quoting no longer changes the decision: rm -rf "/home/me/app/dist" is allowed like rm -rf /home/me/app/dist (#4628), and the quoted title or body of gh issue or gh pr create, comment and edit is read as text, like its backslashed spelling (#4601).
A skipped CI run no longer blocks reuse of a passing run on the same commit. When a workflow fired twice for one commit, say a manual dispatch plus a pull request run whose jobs all skipped, the skipped run was treated as a newer failure: gstack-pregate refused the passing run with newer_run_vetoes, and gstack-ci-carry wait reported the commit red. Both now pass over the skipped run. A newer failed, cancelled or still-running run still blocks reuse.
Small fixes to /ship's helper tools. gstack-issue-links no longer turns /ship's Review-Finding: trailers (p1/red-team#3) into Refs lines in the PR body (#4371), and names the commit of every issue mention instead of commit : for mentions in older commits on the branch (#4378, reported and first fixed by @Davmunrey). gstack-ship-receipt read --check-prose skips the PR body's opening above its first fold when that opening fits the 3-line, 600-character limit, so a result the PR is about ("58 fixed with gstack") is no longer a false counter mismatch. The review fetch check no longer stops /ship when a stage builds the repo's own native binary at a path its committed .gitignore names exactly (bin/gstack-cso-core). A base ship policy whose only error is its exclusion list no longer also drops an unknown key that merely starts with that list's name. Merge trains accept --fixes-base-red-file for gate case names that hold a comma and read > and ' in JUnit names (#4569). Setup's daily onboarding event can no longer be sent twice when a run straddles UTC midnight.
A fix-check grant that a fix-check already used can no longer be claimed for a second read. gstack-ship-receipt claim now also checks the review log: when a counted fix-check already read under the grant (one that carries it, or one that carries no grant and was logged after the grant was recorded, such as a read planned through gstack-review-plan --grant with no claim), claim refuses with GRANT_SPENT. /ship finish no longer reports the docs audit stale for a path a clean fix-check read and nothing changed since; DOCS: fresh lists it as fix_checked=<n>. ci_record_timeout_s now bounds only finding and verifying the CI run: the local runs of CI-skipped files that gstack-evidence record-ci does afterwards get up to an hour more, so a long remainder no longer runs into the bound, and a slow CI lookup is still stopped at the bound, as ci_record_timeout. (GST-3560)
A fix round that a grant bought and a fix-check read clean now closes the findings the grant names, with no hand-written ruling. gstack-ship-receipt write checks the grant, the PR body's stop and claim entries and the fix-check's review-log row, which gstack-review-log now stamps from the run record's claim with the range it read and the digest of the hunks its reader was given; it records cleared_by_grant in the receipt and one line in the PR body's Agent notes, and says on a FIX_CHECK_CLEAR: line why anything less closes nothing (another PR's or run's grant, a spent grant, no stop record, another range, anything left open, or a grant id that names no single open finding), and it closes only the findings the fix-check's fix list named, only when the hunks its reader was given cover every file the fix changed. A finding whose fix commit carries its Review-Finding: trailer also closes once a later full review round leaves nothing open (#4597). finish counts a granted fix-check from the stop its grant names, not the newest reviewed tree (#4612), and the review plan routes a fix-check grant that answers a stop raised after a fix-check to its one fix-check (harness-evals#504). (GST-3260)
A disabled_skills: verify entry now turns off /build-check, and gstack no longer claims prompts that say "verify" (#4593). gstack renamed /verify to /build-check so Claude Code's built-in /verify works again. If your config still says disabled_skills: verify, gstack now reads it as build-check, so the skill stays off after you upgrade. /build-check's description and the prompt router no longer list "verify my change", which leaves prompts about verifying to Claude Code's own skill. When setup or an upgrade moves an edited skill file aside, each run now gets its own backup folder, so two runs in the same second can't overwrite each other's backups.
/ship can finish when its docs audit corrects a doc the review read, after the last review round. Before, when Step 14.5's docs audit fixed a line in a gate-path doc (gbrain#10059: "4 times" to "2 times" in docs/guides/secret-store.md) after the round cap, gstack-ship-receipt write refused on review_exclude and offered only another review round, which the cap forbids, so the receipt had to be waived. Write now refuses with RECEIPT_DOCS_AUDIT_READ, writes a packet of the audit's change for one scoped reader, which is not a review round, and binds the reader's clean --docs-audit-read record into the receipt as docs_audit_read (GST-3532). A reader's finding, a stale record, an edit too large for one reader, or a change git can show only as binary still refuses. The docs audit steps also say a re-audit passes one flag for its one earlier audit: --carry, or --carry-stopped when that audit stopped first.
/ship can write its receipt after a docs audit that stopped before saving its snapshot. Before, when Step 14.5's first docs audit edited a docs file the review leaves out and then stopped as blocked, the re-audit's snapshot could not account for that edit, so gstack-ship-receipt write refused on review_exclude and no supported path led to a receipt (GST-3502). gstack-docs-candidate snapshot --carry-stopped <stopped audit's Prepare snapshot> now carries the stopped audit's edits into the re-audit's snapshot, and two spellings of the same run record path now count as one run.
/eval-plan checks match the preregistration end to end. dry-run --prereg <file> applies the plan's vendor-default: lines and frozen: date, so a competitor arm the plan declares, or an arm in a plan frozen before the older-model rule, is no longer refused at the dry run; pilot start reads the same record. An unpriced older model of a priced family (claude-opus-4-5, gpt-4.1, o1, gemini-2.0-flash) is now refused like the priced ones, with its replacement. Plans frozen from 2026-11-23 also need a grader: line under Held-out exposure saying how a grader that runs git treats the agent's repo, or grader: none.
/eval-plan refuses gpt-4o and older-generation models in every role a plan chooses. A preregistration's arms, judge, readers and simulators, and every dry-run and pilot arm, are checked against gpt-4o (any variant) and the models lib/pricing.ts marks as replaced by a newer generation; each refusal names the model, its role and the current replacement. A competitor system tested as its vendor ships it keeps its built-in model through a recorded vendor-default: line. Plans frozen on or after 2026-11-22 also check a model judge against at least 100 hand labels instead of 40. gstack's own eval warmup, distill and recommendation-judge defaults and five canary tests move from Claude Haiku 4.5 to Haiku 5.5.
The prompt router stops sending feature requests to your bug-fix skill. A request whose title asks for something new ("[Feature]: …", "Support …", "Add …") no longer counts as a bug report because its body mentions an error, unless the title itself names a defect, the body asks for a fix, or the body follows an issue template (steps to reproduce, expected or actual behavior). On 34 fixed probes, 15 of 16 feature requests no longer name the bug-fix skill (3 did before), and all 18 bug reports still do.
A fix commit's Review-Finding: trailer now closes its finding only after a full review that finished and converged with the fix in its range. Before, a completed review pass that had made its own fixes (and so hadn't converged), or whose range began after the fix, could close the finding. A first pass, which reads the whole pull request, still closes it. A security finding known only by its file (with or without a line) never closes this way or by grant, so its location can't reach the public PR body, and a granted follow-up check whose dispatch ledger is missing no longer counts. (GST-3260)
A neutral CI run no longer blocks reuse of a passing run on the same commit, and a reusable-workflow lane clears only from a caller run at your exact commit. A newer run that concluded neutral is now passed over like a skipped one by gstack-pregate and gstack-ci-carry wait; a newer failed, cancelled, timed-out or unfinished run still blocks reuse. gstack-pregate clear --remote <lane> --run-url on a lane that only runs through workflow_call now takes a caller run only when it tested your exact commit. A run of another commit (head_mismatch), a pull request run that tested GitHub's merge with the base (merge_tested) or a commit whose files differ from what pregate recorded (tree_mismatch) is refused, so an old or merged green caller run can't clear today's code. A run of the lane's own workflow is checked as before. Regression tests replay gbrain's real runs at 435e38c5, where a skipped pull request run had blocked a passing manual run.
/cso keeps an audit open after a refused submit. If the helper refused a submission (for example exclusions must be an array), finish used to close the audit anyway, and the corrected resubmit was then refused because the audit was no longer running, so the evidence was lost. Now finish says the last submit was refused and asks for a corrected one; it closes without that evidence only once the audit deadline has passed, and records the refused submission as a gap.
/cso no longer aborts when a tracked secret-like file such as .env.example cannot be read. A Claude Code sandbox rule like Read(**/.env*), or a file with no read permission, made start fail with a generic INVALID_SCHEMA error. The file is now listed as unread, the source coverage reads partial, and the audit continues. Other files /cso already leaves out of the audit (dependencies, tool state and agent configuration) are handled the same way when unreadable; any other unreadable file still stops the run. Reported by @kado-ta (#4395).
The release check's docs-audit tests accept /ship's step for a stopped docs audit again. Three ship doc-sync cases failed the release check whenever the model followed /ship's instruction for a docs audit that stopped before its snapshot: the test fixture's audit snapshot left out the --run record that /ship always passes, and its command checker did not know the new flag. Nothing changes for users; this unblocks the stable release.
Defaults gstack picks for you now name current models, and /ship's review no longer reads a code name like "the HIGH branch" as a HIGH finding. The design prototype script builds its request with the design binary's own helper, so it takes its models from the binary's one setting and stops with the binary's fix-it message on a model that cannot drive the image tool (it sent gpt-4o, which cannot). A Gemini run whose CLI reports no model is labelled and priced as Gemini 4 Argon instead of Gemini 2.5 Pro, and gstack-context-bill --exact counts tokens with Claude Opus 5.5 instead of Opus 4.5. In a reviewer's reply, a capitalized severity word that names something in the code ("the HIGH branch", "the MEDIUM and LOW tiers") collects at INFORMATIONAL, so the reviewer's own Severity fields decide; CRITICAL always keeps its label, even in "the HIGH and CRITICAL write paths".
browse --session <name> <command>works with the flag before the command. Before,--sessionin front was read as the command name and failed withUnknown command: '--session'. The help and BROWSER.md now also say Windows gets no automatic per-agent session, so each parallel agent there setsBROWSE_SESSION. (#4662)- The
browse handoffwindow no longer opens with a stray blank tab thatbrowse tabsdid not list and no command could close. (#4323, #4330) $D setupaccepts the Gemini keys Google AI Studio issues now, which start withAQ., and saves a key typed with no--provideras a Gemini key. gstack's secret scan and browse's cookie masking now recognizeAQ.keys too. (#4239)/verifytrusts a repository's checks in every worktree of it. Trust was keyed by the checkout folder, so an agent app that starts each session in a fresh worktree asked again every time. The command set still has to match, so a worktree whose checks differ still asks, and only folders git lists as worktrees of the repository share its trust. (#4407)/context-restorefinds Claude Code transcripts underCLAUDE_CONFIG_DIR(and Codex sessions underCODEX_HOME) when a second profile is in use. (#4559)
The docs link check and the prose check no longer read a line that starts with inline code as the start of a code block. In docs/troubleshooting.md, a line opening with an inline code span hid every heading after it, so valid links to those sections were refused and the prose check skipped half the file. Fences now follow CommonMark. Reported by @Davmunrey (#4391, #4393).
/learn prune checks every learning, not just the first 100. gstack-learnings-search gains --all, and prune uses it, so old entries that pointed at deleted files were being skipped without notice on larger projects. Reported by @exGeni (#4215).
/retro counts a test runner in tests/ that has no test-style name, and stops counting game-engine sidecar files as tests. On a Godot repo whose suite is tests/run.gd, the test file total read 0 while Godot's .uid sidecar counted as a changed test. Unity .meta and Godot .import files are skipped too. Contributed by @huongtran84 (#4306).
The bootstrap retention tests skip the five cases that cannot happen when the free suite runs as root, instead of failing them. Reported by @Davmunrey (#4425).
Codex review findings written as numbered headings keep their severity. A finding like ### 1. High — title read as having no severity, so a finished second-model review came back untagged_review. Contributed by @larsonthune (#4231).
/autoplan's phase-report check works in sessions where Remote Control was on from the start. Claude Code writes a bridge_status record as the first line of those sessions, and the check skipped itself with a "not verified" warning on every reviewer call. Reported by @exGeni (#4298).
/ship sees every git worktree of a repo when it picks a version. Worktrees outside the Conductor layout, such as Claude Code's .claude/worktrees or a plain git worktree add, were invisible, so two of them could take the same version. workspace_root: null still turns the scan off. Contributed by @vilano93 (#4196).
gstack-pr-shots --path compares against the real base branch when origin/HEAD points at the feature branch. Committed changes no longer vanish from the before-and-after image. Contributed by @szsunyuan (#4141, #3733).
When a reviewer's diff is too large, the printed fix suggests only folders the review exclusion policy can actually exclude. Code and tests always stay in review, so a folder of code was a fix that excluded nothing, and once that policy landed the same line asked for it again. The line now says to split the PR when excluding content files cannot get under the limit. Reported by @exGeni (#4369).
TypeScript hooks start on Windows when Git Bash leaves a path unconverted. Under a home folder holding an apostrophe (such as
C:\Users\O'Brien), or withMSYS_NO_PATHCONV=1orMSYS2_ARG_CONV_EXCL=*set, every TypeScript hook died with "Module not found" andgstack-hook-checkreported all of them broken. Each hook now hands Bun its own folder inC:/…form, the checker does the same, and./setupturns Git Bash's path conversion back on for the programs it starts. (#4386)./setup --statuspasses on a--prefixinstall. It no longer reportsgstack-review/SKILL.md names ../qa/sections/exploratory.mdas broken when the prefixed../gstack-qa/…path the same file names exists. (#4164)./setup --statusnames commands that clear what it reports. A row whose install root is gone now says./setup --refresh-registereddrops it, and the gstack checkout's own Codex render is no longer listed as an unregistered project install. (#4420)./setupno longer leaves owner-only files in Bun's shared package cache. Itsbun installand Playwright install run under umask 022, so another project that later reuses the same cached packages can be read by other users; gstack's own state and logs stay owner-only. (#4288)Disabling
/open-gstack-browseralso removes its/connect-chromealias. (#4308)gstack-doctorno longer flags gstack's own CLAUDE.md as a pasted skill list when run inside a gstack checkout. (#4324)OpenClaw, Hermes and Dots registrations leave out skills turned off with
disabled_skills. (#4548)Deleting or renaming a test now checks the files that still list it, even when another test covers it. Before, if a
dependenciesentry or another test already pointed at the removed test,/verifyand/shipran only that test and passed, while a curation list that still named the deleted file was never checked (#3536). Those files' tests now run, and a file that names it with no test of its own fails closed.Playwright specs that use a local fixtures file run under
playwright test. A spec that takestestfrom a repo module built on@playwright/test(Playwright's fixtures pattern,export const test = base.extend(…)) was sent to the unit runner, which found no tests and failed (#4347). It now runs throughplaywright testlike a spec that imports@playwright/testdirectly.
gstack's current files, and so every new shallow gstack install, no longer contain real benchmark tasks. The router tests used 63 prompts copied from SWE-rebench tasks, and since every install is a clone of the repository, those tasks sat in each user's home and in every eval run that installed gstack. They are replaced with synthetic bug reports and feature requests covering the same routes, and a new free test fails if a SWE-bench-style task id appears anywhere under test/ or browse/test/. Older commits still hold the original prompts, so an install with full git history, such as one pinned to a commit, can still reach them through git log.
A granted fix-check that confirmed its blockers fixed now counts once the remaining findings are ruled. /ship's finish printed FIX_CHECK: not counted (review has unresolved findings or did not finish clean) whenever the fix-check row still listed the blockers it had just confirmed fixed: a finding the reviewer marked blocking held the row open even after it was fixed, and a fixed finding can't be ruled, so nothing could clear it (gbrain#10036). A blocking finding recorded as fixed or auto-fixed no longer needs a ruling; open, deferred, noted and skipped blockers still do. (GST-3501)
gstack-gbrain-mcp-verify no longer misreads a large or slow-to-write SSE reply as broken. It checked the first line through echo | head -1 | grep -q under pipefail, which fails with SIGPIPE when a reader exits early, so a valid reply could end the probe with jq's exit 5. Two gate-ahead preparations for one PR no longer fail each other with failed to read .git/worktrees/worktree/commondir: Success: the worktree adds and removals of the version stamp and the gate-ahead queue now take one lock per repository. (GST-3543)
The weekly test health check passes again. It fails when more than five free test files have no recorded run time, and the recorded times had fallen behind as new tests landed (16 files missing on 11-16, 7 on main today). The times are re-recorded for all 1,739 files, and two files that now run past the 60-second limit are listed with a follow-up to split them.
Free test shards no longer fail when a test's browser exits while the runner checks who owns it. The shard's cleanup tracker treated a browser process that ended on its own during its ps identity check as an ownership failure and failed the shard with "native process identity unavailable" (quick-bun-default on main, run 44850005025); a process that is gone now just ends that check, while a failed check of a live process still fails the shard. The Free Tests planning job also gets 10 minutes instead of 5, so a slow GitHub runner start no longer cancels it.
gbrain memory lookups find the pages they were looking for. GSTACK_BRAIN_SOURCE_ID now names the artifacts source for /sync-gbrain's duplicate-import guard and for gstack-decision-search --semantic, so a brain host whose source is a clone elsewhere stops importing plans and design docs twice (#4443) and gets its "Related from memory" hits (#4327). Planning skills' product, brand and persona digests read the page text current gbrain returns, under the lowercase slug it stores (#4265). Every artifacts sync now advances the brain worktree after its own commit, so gbrain indexes what was just published instead of waiting up to a day (#4179). An oversized timeline, learnings or eureka log keeps its newest complete rows in the brain instead of its oldest, cut mid-row (#4362).
/ship's final CI check no longer makes you rerun CI just because main moved. A green pull request run that tested your branch merged onto a newer main now counts for your branch when your own added and removed lines in that merge are byte-identical to your branch's, so main changed none of your lines and none next to them; before, gstack-ship-release accept refused it with tree_mismatch and busy repos never converged. It still refuses when main changed one of your lines or one next to it or the run tested another commit, and a CARRY_DIAGNOSIS: line says which. Landing still checks the merged tree with land.merged_ci; a repo whose land is null gets no merged-tree check. docs/ship-policy.md#ci-carry-base-moved (GST-3567)
A receipt now survives a base merge that only re-records a shared harness pin, and /ship warns when its readers ran without a logged review. Before, a sibling PR that touched the same pinned harness file lost its receipt and paid for a fresh /ship (#4652); a pin whose recorded blob is its file's, with its reason and the harness version unchanged, now carries as a regenerated output. gstack-review-scope summary prints REVIEW_ROWS_MISSING: when a run's dispatch ledgers hold reader output that no review-log row of the run records, the case where the fix-check grant later could not bind.
A crashed gstack-ship-queue land --pin no longer blocks every other merge. Its lock now records the process holding it and expires 90 minutes after its last step, so the next land takes over a lock whose land has exited, whose machine restarted, or that expired, and logs the takeover; a land that is still running is never interrupted. New gstack-ship-queue count prints how many finished PRs are waiting to merge, from one gh call, with a DRAIN line when more than 6 wait or one has waited a day. docs/ship-policy.md#land-lock, docs/ship-policy.md#revert-drill, crew/docs/captain.md#drain-the-queue
- A PR landed onto a moved main no longer runs Free Tests twice. When
gstack-ship-queue landmerges a PR whose base moved,land.merged_cihas already run Free Tests on the merged tree ongstack-land/<n>. Main's push run now reuses that run when it passed and tested exactly the tree that landed; when main moved again before the merge, or the newest land run wasn't green, the push run tests the tree itself as before (docs/pregate.md#ci-reuse).
A weekly report shows which small wrong edits gstack's tests fail to catch. Every Saturday a new workflow, Mutation report, uses StrykerJS to plant small wrong edits in the five lib/ files with the most landings in the last 30 days, runs the tests that import each file, and lists every edit no test failed on. Before it mutates a file, a positive control makes the file throw on load and checks that those tests fail. If they still pass, the tests never load the file directly and the file is reported without mutation scores. The report never blocks a merge. It is a trial, and its results decide whether mutation testing earns a permanent place.
A Captain's ruling after a PR's second review round now ends in a /ship receipt. The planner, gstack-ship-receipt claim and write accept the same fix-check grant whether it was recorded with gstack-approvals round-grant or as an owner's review_loop_grant <head> row. A fix-check grant no longer needs a stop record, so an edit made after review (a docs-audit edit) or a stop gstack could not bind can get one, and its clean fix-check closes the blockers its fix list named without per-finding rule rows; a blocker nothing covers still refuses. gstack now builds the fix-check's diff from the grant's head itself, a fix-check row that doesn't count (converged:false, partial hunks) no longer uses up the grant, and a round-grant --reason longer than 300 characters is cut in the ask with the full words kept. A /ship run that finished or was abandoned, or whose process is gone, stops holding gstack upgrades at once, and gstack-ship-run abandon takes a run whose process is gone without the 60-minute wait. An owner's review_loop_grant row recorded with gstack-approvals add inside an open /ship run now needs --owner-ref, like round-grant. (GST-3546)
Eight skill fixes reported by users. The Aside check now asks you to open Aside when its CLI says the app isn't running, instead of falling back to the headless browser (#4366). /test-audit finds the current branch's eng-review test plan again (#4216). /verify explains what to do when a repo declares no checks (#4346). Re-running /ship on an open PR no longer leaves an earlier run's sections describing an older head (#4379). /spec --execute records the branch its spawned session ships from, so /ship can close the spec's issue (#4616). /design-shotgun passes the reason for each pick, so taste memory learns (#4618). /codex reads a repository's own agents/ folder as code, while installed skills and agents/openai.yaml stay off-limits (#3924). Captain docs say crew threads read CREW.md, not the Captain's AGENTS.md (#4296).
Added a preregistered test of whether /ship's review panel finds more planted bugs than two plain review reads plus its second-model reviewer, on Claude Opus 5.5 and GPT-6.2 Sol. Its plan is in docs/evals/ship-panel-plain-reads-prereg.md.
/plan-ceo-review explains its review-mode recommendation by what that mode does that the next-closest mode wouldn't. It used to justify the pick by the plan's category, for example "the plan fits no clear category", which tells you nothing about why that mode is the better choice. Now the reason names a fact from your plan and what the recommended mode does with it that the nearest other mode wouldn't. In 10 runs on the AskUserQuestion format eval, every recommendation passed the substance check, against 7 of 10 before.
gstack-pregate now reuses every green CI run at your exact code, not just the first one it checks. When a repository declares several run profiles (a Test run and an E2E run, say), each verified run at HEAD's tree counts, so files the second run already passed no longer run again on your machine; a red run, or one that tested other code, still counts for nothing. docs/pregate.md#ci-carry (GST-3381)
/ship on a branch stacked on another branch can now clear its remote test gate from a green CI run. gstack-pregate clear --run reads the run profiles of the base the record was made against instead of origin/HEAD's, and the CI reuse inside gstack-pregate --base <branch> clears the gate the same way; --base naming a different branch still refuses. docs/pregate.md#run-evidence (GST-3381)
The changed-constant check no longer floods on one- and two-digit numbers. When a constant such as
MAX_ITEMS = 10changes, a test that only mentions the constant's module counts as a consumer of the old10only when that line uses something the test imported from the module (or a variable it got from running it or from such a name), or names the constant. A comment that names the module beside an unrelated10no longer blocks the push; on gstack itself, changingRECEIPT_RUNS_KEPT(30) flagged 20 test files before and 4 now, and the most any two-digit constant flags fell from 29 files to 13 (#4312). Three-digit and longer values keep the old rule, and negative values such as-10follow the same rule as10./verifyand/shipfind the tests for two more kinds of source file. In a TypeScript repo that uses NodeNext imports (./x.jsforx.ts), the test selector now follows those imports to the.tsor.tsxfile, as TypeScript does, even when a compiled.jssits beside it (#4398). In a Rails repo,app/<path>.rbnow selectsspec/<path>_spec.rbandlib/<path>.rbselectsspec/lib/<path>_spec.rbwhen that spec exists, at the repo root or under an engine's own root (#4211). Request and system specs, which name no single source file, are not mapped.
/ship no longer accepts a test-gate record taken against a different base branch. A record cleared while a pull request was stacked on another branch used that branch's policy and CI run profiles, but it still verified after the pull request was retargeted at main with the same code. gstack-pregate verify --base <branch> now refuses a record whose base names another branch, /ship's finish step passes its base (so it reruns the gate against the real base), and gstack-ship-queue ready and gstack-ship-receipt write --base refuse such a record too. gstack-pregate clear also refuses a base that already contains the recorded head (BASE_CONTAINS_HEAD), on a branch or a detached checkout, before it reads that base's policy. (GST-3493)
gstack-ship-queue ready no longer goes silent for minutes on a long merge queue. Its trial merges against other open pull requests used to fetch each missing pull request head on its own, one after another, allowing 120 s per fetch, and printed nothing until the end (gbrain #10011). Ready now fetches every missing head in one git fetch, prints a progress line before it starts, and stops after 60 s (GSTACK_TRIAL_FETCH_TIMEOUT_MS changes the limit). When the limit runs out, ready refuses and names each refs/pull/<n>/head it was waiting on, instead of printing READY with that trial merge missing. (GST-3460)
gstack-ship-receipt write accepts a docs audit that ran before a base merge. When /ship's docs audit edited a docs file, the branch then merged in its base (bringing new docs files or a new review_exclude_paths pattern), and a re-audit at the merged head made no edits, write refused with RECEIPT_INVALID field=review_exclude and no documented way out. Write now skips files under the patterns that only the merged base changed, still checks the earlier audits a no-edit re-audit carries, and accepts the reviewed selection when only the base policy moved. A docs file the PR itself changes after the last audit still refuses. (GST-3260)
A clean recheck of granted fixes now counts even when its brief was written just before the review started. The review pass writes the recheck's brief, which records what the reviewer reads, and then takes the review's start token. /ship only accepted that record if it was written after the start, so a clean recheck didn't count and the pull request needed an owner's exception to finish. Taking the start now re-dates the record, but only while it still matches what the reviewer was given. The record also keeps approval ids (a-…) the fix list names, so a grant for ruled notes no longer records an empty fix list. (GST-3523)
/ship's review plan finishes on results repositories with large trial files. The scan that decides whether a changed data file is read by code ran git grep -o with every data file name, and git's -o retries every name after each match: on harness-evals #551 (304,000 files, 16 MB trials files naming about 80 data files) one file took 220 s and the plan ran out of time at 1,703 s even with a 30-minute limit. The scan now lists the files that can hold a name once per scan, finds the ones that do with git grep -l over a scratch index, and picks their matches itself the way -o does, so its results are byte-identical; on #551's tree the whole scan takes about 40 s on a 4-core machine instead of running past its 120 s deadline. docs/review-policy.md. (HARN-98)
A repository's own test for review_exclude_paths no longer pulls excluded files back into review. When a test file that names review_exclude_paths pins the pattern list as quoted array entries, a pattern that names one file (such as wiki/b2/sessions.jsonl) stays excluded. Example paths the test expects the patterns to match, code that reads the file, other tests that name it, a quoted path passed to a call, and any joined or prefixed form of the path still keep it in review (docs/ship-policy.md).
GSTACK_REVIEW_PLAN_TIMEOUT_MS now raises the review-plan limit everywhere /ship runs the plan, so large repositories can finish /ship. gstack-review-dispatch render and gstack-ship-preflight ran gstack-review-plan under a fixed 180-second limit while the plan itself and gstack-review-dispatch pass read the variable; all four now read it through one parser (a whole number of milliseconds; an empty, zero, negative or non-numeric value keeps 180 s), and render prints the same REVIEW_PLAN_STOPPED line as the pass when the plan runs out of time. On a 301,669-file repository the plan takes 255 to 316 seconds on a 2-core machine, so set the variable there: docs/troubleshooting.md#review-plan-stopped. (GST-3398)
Code review now checks frontend changes against the design checklist, and the second-model review reads your repo's own agents/ folder. For a frontend diff, /ship and /review pointed the design reviewer at review/specialists/design.md, a file that doesn't exist, so the design checklist was never read; it now reads review/design-checklist.md, and an unknown checklist name stops the render instead of pointing at a missing file (#4410, reported by @nfitzsimmons). The second-model review that /ship, /review, the plan reviews, /office-hours and /document-release send told the reviewer to skip any agents/ folder, so code in a repository's own agents/ folder went unreviewed; it now skips only installed skill folders (~/.claude/, ~/.agents/, .claude/skills/, .agents/) and any agents/openai.yaml, the same boundary #4686 gave /codex (#3924, reported by @kolla23).
A results PR whose pins.sha256 lists its data now gets review_exclude_paths, and large data PRs can raise the consumer-scan cap. On harness-evals #538 the exclusion kept all 2,140 matched receipts in review and /ship refused a 13.3 MB diff: the name scan ran git grep -o with 2,140 paths, which ran past its 120-second bound, and even a finished scan would have counted the hash manifest that lists them as code. The scan now lists matching files with git grep -l and reads each one (the #538 plan took 48 s instead of 163 s and left all 2,140 out), and a hash or pin manifest (every line a hex digest and a path) keeps nothing and no longer reads as money, auth or data for review depth; a manifest with any other line is read as before, and its lines still count for secrets. GSTACK_REVIEW_CONSUMER_SCAN_CAP raises the 2,000-file consumer-scan cap, and a tripped cap prints a CONSUMER_SCAN: line naming both remedies. docs/ship-policy.md#review-exclude-paths, docs/review-policy.md. (HARN-64)
Review can now leave out copied open-source files that gstack has verified. When a base branch declares both review_vendored and review_exclude_paths, a matched file that is byte-for-byte its upstream's file at the pinned commit leaves the reviewers' diff, and a re-pin's deleted files are checked at the old pin. Agent instructions, config, executables, credential lines and gate-tagged files stay in review, so a gate-tagged upstream test file is still read whole. gstack-review-plan prints what verified and what didn't, and the verified list is part of the selection the ship receipt binds (docs/vendored-code.md#what-review-leaves-out).
The second-model review in /ship and /review on Capy now defaults to GPT-6.2 Sol. When a Claude lane names no second-model reviewer, the review pass starts openai/gpt-6.2-sol at medium reasoning instead of openai/gpt-6.1-sol, so reviews run on the current Sol. A reviewer you name yourself is used as given, and its OUTSIDE_VOICE: line says whether it matches the default.
The secrets check now reads files whose names hold a space, an accent or another character git quotes. A key in src/clé.rs or src/my file.rs passed the check, because the file reached the scanner with no type and the rules for Rust and other languages skipped it; the push check also listed such a file as unknown. Both now read the name the way git writes it. (GST-3528)
The secrets check now reads Rust. A key written as let token = "<key>"; (or let mut, const or static, with or without a type) in a .rs file was never flagged; it now is, as env.kv.rust. Rust type annotations such as token: Option<&str>,, key: &RelationshipKey, and match arms such as Token::Char(c) => in a .rs file no longer read as secrets, so Rust projects can drop their allowlist entries for them. Other languages' files are checked exactly as before; a scan with no file path also reports the new binding form. (GST-3474)
/ship's bookkeeping holds up in three more cases. A shared harness pin counts as already reviewed after a main merge only when it is a regular file and both pinned files resolve, so a pin turned into a symlink needs a fresh review. gstack-ship-receipt claim now fails, and says not to start reviewers, when the run record could not save the claim, instead of reporting it claimed. gstack-ship-receipt write --pr keeps the PR's earlier /ship runs when Step 19 hands it a freshly written description, so later runs count the PR's review rounds correctly. The docs audit steps now say a re-audit carries an earlier audit that stopped before its post snapshot with --carry-stopped (GST-3463).
Published the results of the /ship conductor trial: run in the pull request's own thread, /ship showed no clear difference in cost or bugs caught from running it through its separate conductor subagent, over the review and fix phases the runs reached; the verdict depends on one scoring ruling made after seeing the data (docs/evals/ship-conductor-fold-results.md).
Published the test of /ship's review panel against two plain reads plus its second-model reviewer. On Claude Opus 5.5 and GPT-6.2 Sol, over 30 planted-bug cases, the plain substitute was not shown to be no worse, and it cost as much per run, so /ship keeps its panel on both Claude Code and Codex. Adding the second-model reviewer to two plain reads raised the catch rate on both models. Results: docs/evals/ship-panel-plain-reads-results.md.
gstack-ship-queue ready now checks a pull request against the branch it targets, not the repository's default branch. Without --base, it takes the base from the pull request --pr names, so a pull request into a branch like garrytan/v0.2-plan-wip is no longer refused with QUEUE_RECEIPT_BASE_MISMATCH when its /ship receipt names that branch. A receipt reviewed against any other branch is still refused, ready now refuses an explicit --base that isn't the pull request's base, and land still uses the default branch unless --base names another, so it keeps refusing a stacked pull request. (GST-3445)
A /ship run that stopped or died no longer blocks grants and the next /ship, and a live run past two hours no longer looks finished. The bare run marker in the checkout's git dir is now a run record with a state (open, stopped, finished, abandoned) that only gstack's commands change: preflight opens it, review starts and finishes, stub, stop and claim keep it fresh, gstack-ship-receipt stop marks it stopped, finish removes it, and gstack-skill-end marks it finished on any outcome. Preflight and the approval guards read that record instead of the 120-minute lease, which another run's touch could prune while the run was still working. A stopped run may record the fix-check grant for its own stop, once per run, and nothing else; rulings relayed with --owner-ref still record. A new gstack-ship-run command prints the record (status) and ends a run that stopped working (abandon --run <id> --by <who> --reason <line>), never within 60 minutes of its last beat; a bare marker from an older gstack, or an unreadable record (by its digest), can be abandoned at any age, and every refusal names the state, the age of the last beat, the earliest abandon time and the command. Also: gstack-ship-receipt stop binds the stop to the head its last reading row read, a fix-check or a second-model review included, instead of refusing with STOP_UNBOUND (#4591); the PR's round count no longer collapses runs that reused one run id at different heads (gstack-evals#406), and preflight refuses a run id the PR body or run record already shows ended. (GST-3260)
On Capy, /ship now runs in the thread that owns the pull request, with no separate helper agent. The thread follows ship/DRIVER.md one phase at a time and starts /ship's reviewers as its own subagents; the Capy skill, lane card, crew manual, lane brief template and /runaway-stopper no longer tell anyone to hand /ship to a subagent. gstack's trial of both ways (30 paired runs on fresh threads, covering the review and fix phases) found no clear difference in cost or in bugs caught; its verdict rested on one scoring ruling, and Garry chose to remove the helper agent. Threads that reach /ship with a large context were not measured. A /ship run that meters its own thread's counter keeps the 50M default token cap the helper agent had (BUDGET_DEFAULT_CAP:). The review plan, rounds, receipt and gates are unchanged. (GST-3466)
The prompt router recognizes more bug reports and names your bug-fix skill first. A prompt that describes a regression ("started with 0.19", "used to work"), a security hole, lost data or a "should X, but Y" now counts as a bug report; a reported defect goes to /review or /qa only when it asks for one in that skill's own trigger phrase ("review this PR for bugs", "find bugs on my site"); when your installed bug-fix skill is one of the two skills the hook names, it is named first; and a message from another Claude Code session or a background agent's hand-back is never routed (#4423). On the 46 first-draft synthetic bug reports the hook now names the bug-fix skill alone on 42, up from 32.
Skills that declare gbrain context queries now get them at start. /office-hours, /plan-ceo-review, /design-shotgun, /design-consultation and /retro load their declared brain context at skill start when gbrain is configured, as the docs said they did, and gstack-config set gbrain_context_load off turns it off (#4329). In a repo whose gbrain policy is read-only, skill start now says code isn't indexed there instead of telling you to run a /sync-gbrain --full that won't pin it, and a deny repo gets no gbrain hint or context (#4419). gstack-harness status reports unknown with the harness's error when its skill list command fails, instead of listing every skill as missing (#4412).
The stale-test-value check no longer flags tests of a different file with the same name. When two files share a name (two config.ts), a test now counts as using the changed file only if one of its imports or paths resolves to it, tsconfig path aliases included. JSON goldens count only where a value sits under the changed constant's name, and a one-item list that only gained items ("investigate" → "investigate verify") no longer flags tests that still use the kept item, while an assertion on the whole old value still fails.
The prompt-routing hook no longer names your bug-fix skill on bug reports, and gstack's CLAUDE.md bug line drops "a focused failing test first". In a preregistered test on 183 real Python bugs across Opus 5.5, GPT-6.2 Sol and particle-1 (gstack-evals#426), naming the bug-fix skill got its steps followed in 80% of sessions against 3%, but fixed no more bugs (-1.5 points, 95% interval -3.8 to +0.9). The hook still routes /review, /qa and /verify exactly as before, and an installed skill's other triggers still route; only a trigger that names nothing but a bug and fixing it ("fix this bug", "reproduce the bug in a test") no longer does. gstack-skill-route --explain --json no longer prints bug_report, and the routing log no longer writes bug_report=true. This supersedes the earlier entries that had the hook name the bug-fix skill first and keep feature requests away from it.
Every gstack pull request now gets a Test changes summary that lists deleted or skipped tests, loosened limits and edits to the files that run its own checks. The check runs main's copy of the scan on pull_request_target, reads the pull request's commits as data without checking them out, and a flag never fails it: it is a two-week flag-only trial. gstack-gate-diff gains --head <sha> to scan merge-base to a fetched commit without touching the working tree. docs/ship-policy.md#test-changes (GST-3386)
Removes the sentence the revert drill added to its own docs earlier the same day, so docs/ship-policy.md#revert-drill reads as it did before the drill.
Repos that copy open-source files unchanged can now prove it. List the upstream repositories in review_vendored on the base branch and pin each copied file in a manifest, and gstack-vendored-verify checks that every file is byte-for-byte that upstream's file at a commit on its default branch, a tag or a branch the base names. Run it as a required CI check. A file that doesn't match, can't be fetched, or comes from an unlisted repository, a fork or a merge-queue branch fails with a reason and a fix (docs/vendored-code.md).
Review now keeps a file in view when a branch replaces your own code, or drops a local patch, so the file matches an upstream copy byte for byte. A changed file counts as vendored only if it was already vendored and verified at the merge base, or is new on the branch. gstack-vendored-verify also caches the merge base's pins for the files a branch changes or deletes, so later offline steps can answer, and a failed fetch no longer wipes earlier good answers from the cache (docs/vendored-code.md).
/verify is now /build-check, so typing /verify opens Claude Code's own built-in /verify again (#4593). Claude Code ships a skill named verify that checks a change by running your app, and gstack's skill of the same name hid it. Since Claude Code 2.1.286 that name alone also told the model to run gstack's skill before every commit, loading its full instructions each time. Upgrading removes gstack's old verify entry (and gstack-verify on other hosts or with --prefix), but never a verify skill of your own. Use /build-check for gstack's build-and-check loop, and /build-check quick for the check-only pass. Nothing starts that pass before a commit on its own any more, so the verify_before_commit setting is retired. Setting it prints a note and changes nothing, and a config file that still has it keeps working. If you turned the skill off with gstack-config set disabled_skills verify, change that entry to build-check.
The nightly Windows test run no longer loses a shard to its 15-minute limit. Its plan packs files by their Windows-recorded time, uses a file's Linux time only when the Windows recording lacks it (instead of a 161-second guess), and adds shards beyond eight until no shard plans more than 12 minutes of work. docs/TESTING_INTERNALS.md (GST-3440)
[1.102.2.0] - 2026-11-21
Habits from nine teams, written into gstack. The agents' start card says never to write a file back from a read that came back cut off, and to write launch and env files with a file tool or a quoted heredoc. The factory page says a green fake or dry run isn't done until one run drives the real path, and that a check must see your change and count what its name says. The team manual (crew/docs/captain.md) says to change the design when review rounds keep finding the same kind of case, to narrow an over-catching safety guard only with a tested exemption, and to move a thread's waits, watches and automations with its work (the rotation handoff and successor brief now carry a Clocks table). docs/ship-policy.md says to land review exclusions and secrets allowlist entries in their own PR first. /eval-plan asks each plan to record how task machines were checked for answers the agent could read. docs/working-across-agent-systems.md treats a relayed approval as a claim and decides harness pins from a repro, not release notes.
Three more habits from teams that run evals. /eval-plan says a grader that runs git inside an agent's repo treats that repo as hostile: a sanitized copy of .git with no config, hooks, attributes, textconv or signature display, the original index timestamps, no API keys in its environment, and a test that plants each setting. The agents' start card says to find a drive copy in the drive's version history before deleting its source. docs/working-across-agent-systems.md says to take each result row's model from the requests the run captured, on every scored row, timeouts included.
The /ship conductor trial plan gives its real-problem judge one more attempt on fresh labels after it missed its agreement bar twice, and stops the trial incomplete if it misses again (GST-3003).
The /ship conductor trial plan now stops a trial only at the final remote-gate refusal, gives both arms the same note that the brief overrides team rules, and counts every report the no-gstack arm returns (GST-3003).
The /ship conductor trial plan now ends a trial at the remote gate when its case base isn't main, gives the no-gstack arm a test runner, and audits every trial for exposure to the plan (GST-3003).
The /ship conductor trial plan now runs an uncounted pilot in every arm before its counted trials and takes one planned look at half the cases (GST-3003).
gstack's own use on Capy can be counted, and is kept out of real-use numbers. Agent-driven sessions on Capy still send no telemetry by default. When the owner's preferences.yaml beside the Capy gstack skill holds telemetry_capy: anonymous, each skill run there sends one row at the anonymous tier (no device ID, even on a machine set to community), labelled source=capy, or source=gt with telemetry_capy_source: gt. Eval and CI labels still win on Capy, unattended sessions elsewhere are unchanged, the ingest function accepts both labels, and the public dashboard's views count only live rows. bin/gstack-telemetry-tier is the one place that reads these settings.
Free Tests shards finish closer together. The recorded per-file test times that Free Tests uses to split the suite were last refreshed on 11-09, and 67 test files added since then had no time at all. The planner counted each of those as a 54-second file, about an hour of work that doesn't exist, so some shards got far more real work than others. The times are now re-recorded for all 1,727 files, and six files that newly run past the 60-second limit are listed with a follow-up to split them. The runner-size trial input also accepts ubicloud-standard-16.
The weekly test-time recording can land again on its own. Free Tests splits the suite using recorded test times, and the weekly job that refreshes them had not landed a refresh since 11-09. Its Windows half ran four files at once on a four-core runner, so tests that pass in the nightly run failed under the load, and the recording had outgrown its 30-minute limit. Its seed pull request also waited on a maintainer whenever a new file ran past 60 seconds. The Windows recording now runs two files at a time with an hour's limit; a trial timed all 921 files cleanly in 38 minutes. The bot now lists each new slow file in the allowlist with a follow-up to split it, and drops files that are back under 60 seconds, so its pull request passes the seed check without a hand edit and its description names every file it listed.
The job-log tree.json step's recommended sleep is long enough for real runners. When a repository's artifact storage is full, gstack reads tree.json from one log line the named step prints. The docs recommended sleep 2 after that line, but runners stamp output up to a second or more after it is printed and the jobs API cuts step times to the second, so a Ubicloud run (44845717681) was refused as CI_CARRY_TREE_LOG_UNBOUND and the carry fell back to running tests locally. The docs, the troubleshooting fix and the refusal's fix line now say sleep 5 after the line, and a test binds the documented sleeps to every sub-second offset with up to 2.5 s of stamping delay (GST-3339).
Pull requests no longer wait on the Trunk flaky-test upload, and the quick tier's flaky passes now reach Trunk. The upload that sends Free Tests results to Trunk was a job inside Free Tests, so in about one pull request run in four it was the last job to finish: usually by a few seconds, but by about three minutes in the slowest twentieth of those runs and once by more than six. It now runs as its own workflow after Free Tests completes, outside the pull request's check list. The quick tier on the install-default Bun now keeps its JUnit reports too (bun run test:quick --junit-dir <dir> is new), and they go to Trunk as the bun-default variant, so a test that fails and then passes on its one retry there shows up in Trunk, not only in the flake ledger.
Windows Setup E2E finishes sooner on install changes. Its two long jobs ran every case one after another, so a pull request that touched an install file waited about 8 minutes for the slower one. The false-positive recovery and the two forced-CSO-failure cases now run on their own Windows runners beside the setup case, and the held-install journey splits into three jobs (clean and already-unmerged, dirty then trial and go-back, dirty then a later release), each building the same fixture from scripts/windows-held-install-fixture.sh. Every case still runs on every in-scope pull request, and each job checks that its own cases ran.
Skills no longer stop on Codex when they clean up temp files. Codex CLI refuses any shell command that runs rm with a force flag (-f, -rf, --force), including inside a trap, and with approvals off it rejects the whole command ("rm -f style commands are not permitted"). 67 of the 1,239 shell blocks in gstack's Codex skills did that, across 34 files, among them /office-hours, /review, /ship, the plan reviews, /spec and /gstack-upgrade. They now remove a file that is known to exist with plain rm, one that may already be gone with rm <file> 2>/dev/null || true, and folders with rm -r; /ship's leftover-worktree cleanup adds </dev/null so a terminal never stops to ask about a git checkout's read-only files. A new test renders the Codex skills and fails on any forced rm in a shell block or inline command (GST-3364).
/review on Codex with OpenAI models no longer holds back a review that ran its adversarial pass. For OpenAI models, Codex encrypts the message it sends a new subagent, so the end-of-session check never saw the adversarial brief's text and blocked the session, then logged a miss. On Codex, a started subagent named adversarial whose message is encrypted now counts; a plaintext message still has to carry the brief, a differently named or failed subagent still doesn't count, and Claude Code's check is unchanged. The /review checklist on Codex now asks for that name.
Crew threads on Capy now check in at 500M own tokens, standing threads rotate at 250M and any subagent past 50M gets a look, half the old lines, because Capy's token counts read about half what they did before 2026-11-15. gstack-runaway scan and the /ship subagent's default token cap (BUDGET_DEFAULT_CAP: 50M) use the new lines. The factory rules every Capy thread reads also gain three standing rules. Start a subagent only for throwaway parallel work, a fresh-eyes review or another model family, and name the result it returns. Relay a source's words unchanged and marked, with who wrote them, when and what you checked. Go forward instead of stopping to fix, setting a bad item aside while the rest keeps moving, with a red main getting its culprit reverted.
gstack no longer offers to add a ## Skill routing section to your project's CLAUDE.md. The prompt-routing hook, on by default, now gets the right skill started on its own: in a preregistered test on Claude Opus 5.5, it loaded the bug-fix skill in 45 of 60 and 48 of 60 unattended sessions, past the 39 of 60 that the CLAUDE.md section managed, while sessions without gstack loaded it in none (results). A section an older gstack added stays exactly as you left it and keeps working; gstack never edits it, and you can delete it. The routing_declined setting, which only answered that offer, is gone.
The README and docs no longer say gstack makes your agent fix more bugs. Our own test on 100 everyday GitHub bugs and features found no gain with gstack on Claude Opus 5.5 (58 fixed with it, 61 of 99 without), so the README now says so plainly, describes /review and /ship by what they check and record, and Why gstack credits Garry's productivity numbers to AI coding agents plus his workflow, and the LOC essay gets a dated note linking the test.
/eval-plan now writes eval plans that waste less money. gstack-eval-plan prereg --check refuses a plan frozen on or after 2026-11-21 unless it pilots every arm on at most a tenth of its budget (drawing every unit type, in a seeded order), checks its judge on each arm's outputs at a stated reasoning effort, carries a cost line, scores any "smaller change" arm with a regression-test bar, says how task machines were checked for readable answers, and, above $500 paid, preregisters one look at half the units with O'Brien-Fleming and futility bounds. judge --check reads agreement per arm. A small question gets a quick look (prereg --init --quick): at most $100, three lines, and no published number, which results --check enforces. New plans name GPT-6.2 Sol as the frontier Sol, and GPT-6.2 Sol and Astra are priced. Older frozen plans keep their rules and models.
/cso checks every folder above a source file before it looks at the file, so it never looks through a symlinked folder. A tracked file under a folder that was swapped for a symlink now fails closed with UNSAFE_PATH before anything is read or measured through the link, including the size count in the source-cap message. Also: on Capy, gstack-release-stamp open pushes the release branch and hands the release PR to the host's PR tool (a HOST_PUBLISH: line) instead of opening it through gh as the owner, and /ship's test-failure triage keeps the issue text in files instead of running gh issue create; REVIEW_DIFF_TOO_LARGE quotes a file or folder name holding a newline instead of printing it raw; and two size figures for harness-evals#494 are corrected (11.3 MB for the 25 transcripts, 12.26 MB for main's whole reader diff).
Plan reviews no longer read a /design-review audit summary as the branch's design doc. After a design review, /autoplan, /plan-ceo-review and /plan-eng-review could pick up the one-line …-design-audit-…md pointer, because gstack-design-doc-find matched it as a design doc. The finder now skips audit summaries the way it already skips decision memos, and still finds the real design doc, including on a branch whose name contains "design-audit". Reported by @robbiesierra in #4615.
Node's built-in test files now run with node --test in repos that use vitest or jest. In a repo whose root package.json declares vitest (a common pnpm monorepo setup), the pre-merge test check ran root .js, .mjs and .cjs files that load node:test under vitest, which found no suite in them and failed, so /ship stopped at its finish step on every PR that touched one. Those files now get their own node --test run, vitest and jest tests keep their runner, and bun repos are unchanged because bun runs node:test files itself. Reported by @eoin-obrien in #4586.
A quarantined test that the runner skipped now fails the run instead of passing it. gstack-flaky treats a skip on the attempt that decided the run as a quarantined failure, because a quarantined test still has to run; a test skipped first and passing on the retry still passes (#4550, fix found in #4551). Also: "Not now" on the upgrade prompt now sticks for git installs, because the snooze snippet takes the whole UPGRADE_AVAILABLE line and keys on the same field the update check reads (#4561); gstack-models resolve and list read a custom Codex provider's config.toml model the way gstack-codex-probe role-ready does, instead of always saying no model is set (#4491); and the /browse skill now says that $B eval reads files only from the temp directory or the daemon's working directory, and that the daemon belongs to the git root you run $B from (#4557, #4558).
- A flaky free test is fixed: the spawnSync overflow check no longer fails about once an hour on CI. Its child process wrote 200,000 bytes, just under Linux's 212,992-byte socket send buffer. When the write didn't fit, the child hit a broken pipe and exited 1 instead of 0. The child now writes 32 KiB, which is still far past the test's 1 KiB output limit. This changes tests only.
Free Tests runs its shards on 16-core runners. Each of the ten free-suite shards and the exclusive one now runs on ubicloud-standard-16 with eight sub-shards instead of ubicloud-standard-8 with four, so every sub-shard still gets two vCPUs. In two trial runs the slowest shard job dropped from 222–226 s to 155–158 s, now that no single test file sets the floor. It costs about $0.085 more per run.
- /office-hours asks for ground truth first. Every startup session opens with one question: has it produced one real outcome yet, a paying user or someone who used it this week unasked? Founders with no outcome yet, and anyone who picks the new Pivot goal, get a one-page decision memo instead of a design doc. The memo has an evidence ladder, a conversation quota with the math, a payment test and a pivot ceiling check. Memos are saved apart from design docs (
*-memo-*.md, repo copy indocs/memos/), so plan reviews never read one as a design. - Every startup session ends with a dated test. The assignment carries a date and a number, and the doc or memo carries a KILL/CONTINUE or SUCCESS line. The approved line is recorded, and the next session on that project opens with it once the date has passed (
gstack-developer-profile --kill-check <slug>). Customer names and prices stay in the private~/.gstackcopy; repo copies use roles or initials. Builder mode is unchanged.
/plan-tune's dream cycle now logs each send of your typed answers to Anthropic. gstack-distill-free-text was the one off-machine sender missing from gstack-egress list; it now writes its entry first, holding no answer text, and sends nothing if it can't. The off-machine send test also fails on any new model-provider call that skips the log. Reported by @robbiesierra in #4617.
Landing a ready PR no longer depends on a hand-copied gate decision, and the ready note, release PR and squash message say the right thing. gstack-ship-queue ready now writes the signed, applied, non-security gate decisions into the PR's ready note, and landing reads them from there, so a decision recorded on the /ship machine reaches the landing machine without a hand copy; --accept still decides what lands. The ready note shows the decision trail's flags from its trail-read row instead of a placeholder, and calls a PR from a fork an outside PR rather than a sibling it trial-merged. Reopening a release PR now rewrites its description. When /ship's finish step left no plan line, the ready note writes the plan's public form, without the plan record's row. A stacked PR's squash message no longer repeats its parent's trailers. docs/ship-budget.md now says how to restart the budget meter for a stopped run whose ledger closed.
/ship no longer asks for a fresh review because of a stacked parent that main already had. When a PR was reviewed after its parent had squash-merged into main, and then merged main again, /ship measured from the parent's old commits and refused over the parent's files. It now measures from the merge base, so an unchanged PR keeps its review, and context that main moved next to the PR's own lines gets one scoped review of just that file (yc-software/qm#3457). The patch comparison also always uses three lines of context, so a diff.context setting in your git config can't hide moved lines.
Results PRs with large captured agent sessions can be reviewed. When the gate scan tags a data file (a .jsonl transcript, a CSV, a log, or a results JSON) only because a captured session quotes a lint pragma, an env check or a --no-verify push on single lines, /ship's readers now get those tagged lines with context instead of the whole file, the same way files with a credential line already work. Code, declared-only files, anything under a test, CI, config or snapshot path, renamed files and files with a tag that spans lines still go to readers whole, and the gate review still runs. A diff that is still over the 2 MB review limit now names its largest files, and a gate-tagged file whose name holds a space is no longer dropped from review.
/ship no longer stalls on review notes a reviewer already cleared, counts review rounds the way the review policy reads them, and keeps security findings out of the PR body. When a reviewer reports no blocking findings, its summary bullets such as "noted P2 findings", "deferred P1" or "P0 or P1" become notes the lead lowers with a reason, instead of blockers with no way to clear them. A fix-check, the scoped re-read after the one fix round, no longer counts as a review round in the review loop, the PR history or the receipt. A round grant the owner gave in a message while a /ship run was stopped can be recorded with gstack-approvals round-grant --owner-ref <thread>:<message>, which marks it as relayed. The receipt's list of round grants now shows a security finding as its ruled public form, or as an opaque id when it has no ruling, with the grant's reason recorded privately in that case, so posting the PR body no longer stops on a finding the owner had already ruled not security class.
- /ship's review readers are now told never to stop processes they didn't start. Every brief a /ship review pass sends to a reader now says that other runs share the machine, so the reader must not run
pkill,killall, kill by name or pattern, or kill a process id its own command didn't start, whatever the rest of the brief asks. A red-team reader had runpkill -x sleepon a machine shared by several /ship runs and ended processes those runs had started. (GST-3360)
/ship's review no longer stops when Capy's own drive sync database grows past 100 MB. The per-stage fetch sweep now ignores that database (state.db and its SQLite side files under ~/.capy/drive-engine), so it crossing the download line mid-stage no longer quarantines the stage and blocks every later one. A real download of 100 MB or more anywhere else, ~/.capy/drive-engine and ~/.capy/work included, and an existing file a stage writes past the line, still count.
- /ship's preflight now honors your repository's time limit for rerunning CI-skipped tests, and tells you when a fresh worktree needs its packages installed. When preflight reuses a CI run and reruns the test files CI skipped, it now stops that rerun at the base branch's
ci_record_timeout_s(it used 600 s even when the repository set 900 s; accept already honored the setting), and prints the limit it used asCI_RECORD_TIMEOUT:. And when the checkout'spackage.jsondeclares packages but there is nonode_modules, as in a fresh worktree for a second /ship run on the same machine, preflight's test step stops withSTOP: DEPS_MISSINGand the exact install command for the lockfile (for examplebun install --frozen-lockfile) instead of running checks that can't find the repository's own tools. An installed Yarn Plug'n'Play checkout, which has nonode_modules, is not stopped. (GST-3360)
The slowest free test file is now six files. test/review-pass.test.ts took about 263 seconds on its own, and Free Tests can't split a file across workers, so one shard waited on it every run. Its cases now live in six files of 25 to 40 seconds each on CI (run 44875106601), sharing their fixtures through test/helpers/review-pass-harness.ts. No case changed. The duration seed lists the six files, and the slow-file allowlist no longer needs an entry for it.
Step 11.5 keeps a reviewed head current across base-only merges. When a merge lane merges main into a PR after its review, gstack-review-read now reads the review rows CURRENT if every commit since the review is a clean merge of the base and the branch's own patch is byte-identical, so a /ship run that stopped before its receipt finishes without another review round (harness-evals#515). An own edit, a conflict resolution, an edit inside a merge, base context moved beside the branch's hunks or an uncommitted change still reads STALE and says which.
On a Capy install, only the owner's opt-in sends telemetry. A shell that never sourced the launch file, such as a /ship reader subagent's or a Codex skill's that reaches gstack through a linked bin/, used to fall back to the machine's telemetry setting and send rows labelled live; it now sends nothing, as docs/privacy.md already says. Error runs now fill error_class from their exit reason (the same fixed list), and each onboarding step and outcome is sent at most once a day per install, so a loop that reruns ./setup no longer floods the counts. Test runs strip the launch file's preferences-file and loadout variables and the Claude plugin state root, and the ship test fixture drops every launch marker even when bun test runs outside the checkout, so a fixture can no longer read the owner's real approvals or preferences.
New page: working across agent systems. docs/working-across-agent-systems.md says how to run gstack work when more than one agent system touches a repository: one sender per boundary, answer on the pull request, let a filtered workflow ring the other side instead of polling, treat every message as a paid turn, pin the other harness's version and model, and keep runs cheap. It is self-contained, so any agent can be told to read it first.
[1.102.1.0] - 2026-11-20
Two /ship approval records stop needing workarounds. A run id like 507-7192673 in an approval for a follow-up review is no longer read as a phone number, either when it is recorded or when the Approvals table is posted to a private PR; the same digits anywhere else are still caught. And a team named "GStack …" (like GStack Minder (GSTA-36)) can record rulings, gate answers and test exceptions, while gstack's own names are still refused.
For contributors: the paid auto-decide check counts a start step that ran while the skill loaded. Since Claude Code skills started running their start step as they load, a /plan-ceo-review run that auto-decided its review mode left no start command in its tool calls, so the check that reads the session journal could never credit it. In the captured runs, one of the five passes was credited that way. The check now also reads the skill text Claude Code loaded and accepts the start output it finds there. It still requires exactly one start in the session, and refuses a failed or disabled load or a second start through Bash. The plan-mode and auto-decide paid cases now also run when the load-time helper changes.
The destructive-command check closes three ways past its disk-wipe and force-push blocks.
wipefs -ais now blocked on every target, image files included, and also when spelled\wipefsor with doubled quotes. A redirect into a disk is blocked when its path is quoted (>'/dev'/sdb) or goes through a folder that links to/dev, andmmcblkandrdiskdevices count.git push -fn --no-dry-runis read as a real force-push. Nothing that was asked about or blocked before is allowed now.
Every flaky pass in Free Tests is now recorded. A test that failed and then passed on its one retry in a dispatched Free Tests run (the runs lanes start on their own branches) was never sent to Trunk, and a retry in the quick tier on the install-default Bun wrote a ledger that was thrown away. Dispatch runs now upload to Trunk like pull requests and main pushes, and the quick tier uploads its ledger as flake-ledger-quick, so the run summary and test:health count it.
Free Tests on pull requests starts its test shards one round of small jobs sooner. The job that plans the shards now runs beside the reuse and docs-only checks instead of after them, so the shards no longer wait twice for a GitHub-hosted runner (that second wait was 21 seconds at the median and 6 minutes at p95 over the last two weeks). Every shard still waits for both checks, so a reused main push or a docs-only pull request still runs no shard, and the test-health and scorecard reports still leave reused main pushes out of their flake counts.
- A green CI run still counts when the repository's artifact storage is full. When GitHub refuses
upload-artifactwith "Artifact storage quota has been hit", the run had notree.jsonandaccept,record-ci,gstack-ci-carryand the tests stage refused it asartifact_missing. A run profile can now settree_log_stepto the step that printsGSTACK_TREE_JSON <artifact> <base64 of tree.json>, and gstack reads that one line from the job's log, only when the run has no artifact, only when the runner stamped it inside that step, a second or more clear of the steps before and after it, and with everytree.jsoncheck unchanged. A line printed anywhere else, a test's included, refuses withCI_CARRY_TREE_LOG_UNBOUND. A run carried this way saystree_source=job-logon itsCI_CARRY:,LANE:andSHIP_RECEIPT:lines and in the receipt. Profiles without the key behave exactly as before.
/cso now audits repositories that track symlinks. One symlink anywhere in the checkout, even CLAUDE.md -> AGENTS.md or gstack's own connect-chrome, used to stop gstack-cso start with UNSAFE_PATH. Each tracked or nonignored symlink is now listed in the report with its target string, or notes that the target was withheld when it matches a secret pattern and is never followed, so a link to /etc/passwd, one that escapes through .., a loop or a dangling link is reported and never read. FIFOs, sockets and devices are still refused, and --paths now limits that check to the audited directories, so a FIFO outside them no longer blocks the run. Thanks to @nathanshox for the report and first fix (#4540).
A doc-sync eval stops failing when the audit child drops one field from its result line. /ship's documentation step answers that with one free format repair (
gstack-docs-candidate repair-prompt, thenresult --repair-of), but the eval's fixture did not allow those two commands, so the parent correctly stopped andship-docsync-currentwent red. The fixture now allows exactly those commands, and the eval accepts a repaired line onceresult --repair-ofhas applied it.The browse daemon no longer picks port 10080, which Chromium refuses to open. The daemon and terminal agent draw a random port from 10000-49151, and 10080 is on Chromium's blocked list, so about one start in 39,000 left the browser unable to load the daemon's own pages (the welcome page failed with
net::ERR_UNSAFE_PORT). A draw on that port is now redrawn. One flaky free test is fixed too. The paid-shard retention check no longer fails when an unrelated short-lived process stops being readable and exits while it scans running processes.
Opted-in telemetry now says why a skill run ended, which coding agent and model family ran it, and whether an upgrade worked. Each skill run adds a few labels from fixed lists (agent, model family, how it started, why it ended, whether its checks passed, routing setup) and a random id for the agent session, so failures can be traced to the skills, agents and versions that cause them. Upgrades report success or why they failed. CI and eval runs label themselves, and an unmeasured duration is sent empty instead of 0. The opt-in prompt lists the new fields, and anonymous mode now says it sends no device ID but a random per-session id. Every field is listed in docs/privacy.md; nothing new carries code, paths, prompts or repo names.
Secret values written as
name=valueat the end of a path are now hidden. gstack's redactor only recognizedpassword=…,api_key=…ortoken=…at the start of a line, so the same thing after a slash (../password=…,cfg/api_key=…,https://host/cb/token=…) came back unredacted./csowas the visible case: its retained Git history kept such a value from a symlink target, a link that only exists in history, or ordinary file content, andgstack-cso historyprinted it. The same redactor covers review packets, telemetry and ship logs, so they now hide these values too. Paths and code that only mention these words, values that are placeholders or${VAR}references, and regex literals in code are left as they were.A preregistration with only its write-up and plain data now gets the write-up review: one reviewer, one round. A diff of a preregistration's markdown, text and data files (a directory or file named
preregorpreregistration, such as gstack-evals'wiki/plans/<id>-prereg/) plans as docs even when code reads its data; a scorer, judge, grader, guard or gate edit beside it keeps its full review, and CI is unchanged. Data rows (JSONL, NDJSON, CSV and TSV, and JSON in a docs, results or preregistration folder) no longer count as runtime lines: harness-evals#432's results planned 17,773 runtime lines, of which 147 were code. A fix after a granted review stop that changes only a data file is now read and gets its fix-check, where beforegstack-diff-scopecalled the range unmatched and the plan stopped with "no fix to read".When owner rulings don't clear a stopped review,
gstack-review-readnow says which findings are left. The unverified reason used to read onlymissing start capture or incomplete/nonconverged pass. It now adds each finding that still has no ruling, as<fingerprint> (<severity>, <action>), up to ten, or says the row lists fewer findings than it claims. A finding loggednotedat CRITICAL is on that list, because a note never closes a CRITICAL; rule it like the others and the review binds (harness-evals#498). A gate finding on that list also names thegate_idits gate disposition needs, since a ruling never closes one.The prompt-routing hook now names your installed bug-fix skill on bug reports, alone, and never puts /verify ahead of it. A prompt that reads as a bug report (a crash, a wrong result, a hang, an exception name, "expected behavior", "fix ...") goes to the installed skill whose triggers claim bug fixing, such as prove-it's "fix this bug". A fixer whose trigger names its own target, such as "fix lint errors", claims no bug reports, and a request that holds the whole phrase of one of /review's or /qa's triggers and asks for no fix keeps that skill. On B1's 60 in-sample bug-fix prompts the hook now names prove-it on all 46 bug reports; before, it named prove-it on 40 of the 60 and put /verify first on 7. Another installed skill's trigger now needs two content words, so one word such as "error" can no longer claim most bug reports, and the opt-in
GSTACK_SKILL_ROUTE_HINT=stepandcontractstyles quote only gstack's own skills.Owner rulings now close a stopped review whose findings were logged in a findings file. When /ship's final review was logged with
gstack-review-log --findings <file>, or the native reader's row listed no findings,gstack-review-readhad nothing to match the owner'sgstack-approvals rulerows against, so Step 11.5 stayed unverified even with every blocker ruled (harness-evals#515). It now reads the file's findings onto the row while the file still matches the counts the row recorded, and gives a native row with no findings the same pass's review findings, so the existing rulings bind both rows at the tree they read. A noted CRITICAL still needs its own ruling, an unruled blocker or a pass that didn't complete still refuses, and a row that claims issues but lists no findings now says so in its reason./ship can write a receipt after the owner accepts a stopped review's findings as open notes. When the final review or the native reader stopped on findings and the owner recorded each one with
gstack-approvals ruleat that head,gstack-review-readnow counts those rulings, so Step 11.5 binds both reviews at the tree they read instead of reading them unverified. A ruling for another branch, another head or another finding, or one gstack wrote for itself, still counts for nothing (harness-evals#498).
/ship no longer starts the full test suite on your machine when CI's earlier run can't be reused (GST-3277). A full gstack-ship-preflight now stops with SHIP_LANE_NOT_CARRIED whenever a mapped test lane has no verified CI run at this tree, whatever the reason (a base that moved after the run included), the same way --tests-only already did; --run-uncarried-here still runs the lane here, in either mode. When the lane's workflow has no workflow_dispatch trigger, or its run profile accepts no dispatched run, the stop no longer suggests a gh workflow run that would fail. It says to merge the base into the branch and push it, or to ask the pull request's author to. After a full preflight stops, it tells you to rerun with --tests-only, because rerunning the same full command would stop on its own open run.
The prompt-routing hook no longer acts on words inside backticks. A prompt that quotes a command, such as "Run mycli check now" or the line an orchestration tool types to wake a session, was told to run /verify on the trigger "run the checks", and "Run gh pr review 123" was told to run /review. A --fix flag or the word broken in a pasted log also made a prompt read as a bug report. Triggers and bug-report signs now read only the prose, leaving out inline code and fenced code blocks, on Claude Code and Codex. "run the checks", "review this pr" and bug reports in words route as before, also with code beside them, and an exception name in backticks such as KeyError still marks a bug report. Thanks to @vilano93, who found and first fixed it (#4564).
In Claude Code, a gstack skill's start step now runs when the skill loads, so the model can't skip it. The start command (
gstack-skill-start) and the shared preamble file used to be instructions at the top of each skill ("read this file, then run this command"), and models often skipped them: in our test runs, a loaded skill's steps were followed in only 45% to 62% of sessions, and /autoplan's start command never ran in 5 of 10. Now each skill uses Claude Code's!command lines, which Claude Code runs while it loads the skill, so the start output and the shared preamble are already in the skill text the model reads. A new helper,bin/gstack-skill-load, runs them: it stops the start after 15 seconds (GSTACK_SKILL_LOAD_TIMEOUTchanges that) and always succeeds, because a failing command would stop Claude Code from loading the skill at all. If something goes wrong, the skill gets one line saying so and the model runs the start command itself, as before. Each skill'sallowed-toolsnow names that helper, so it also runs in plan mode. /plan-eng-review and /plan-design-review still run their start command after their scope question, so only their shared preamble loads early.Other hosts: Codex, Factory, OpenCode, Cursor and every other host keep the old instruction text; only the Claude Code skills changed. If you run Claude Code with
disableSkillShellExecutionon, or read a gstack skill file outside Claude Code, the skill says nothing ran and the model runs the start command itself, as it did before.
gstack's telemetry backend only accepts writes through its own validated endpoint, and the community dashboard now counts real use. The public key can no longer read or write the telemetry tables, and a signed-in Supabase user is denied everything. Test runs never send telemetry, test traffic is filtered out of gstack-community-dashboard, and its weekly active count is now real installs instead of update checks. The ingest endpoint also keeps whether an event came from a test and stores prompt-injection detections, which it used to drop. Clients older than v0.11.16.0 (March 2026) no longer report usage.
- gstack now says what it's adding before it adds a background job or a browser extension. Before /sync-gbrain's guidance has your agent run
gbrain autopilot --install, the agent tells you in one line that it's addingcom.gbrain.autopilot, what it does, where you'll see it and thatgbrain autopilot --uninstallremoves it.gstack-extensionprints the same kind of line for the gstack browse Chrome extension before it opens chrome://extensions. A new test fails if a future install step in gstack lacks that line.
[1.102.0.0] - 2026-11-19
gstack-artifact validateno longer passes a run.json that gstack-autoplan never wrote. A session that skippedgstack-autoplan nextand built run.json with a script, copying the reference fixture, gotARTIFACT_VALID. The validator now also checks that the run came from gstack-autoplan: run.json must carryhost: gstack-autoplan,plan_inputand the other fields it writes on every run, and must agree with itsattempts.jsonljournal, its bound review outputs and its checkpoint. A run that fails saysARTIFACT_NOT_AUTOPLAN_RUNorARTIFACT_JOURNAL_MISMATCH, andgstack-artifact ackrefuses it too. Public copies (validate --public) are unchanged./ship's changed-number check no longer stops on tests that only share a word with the change (#4478). When an ordinary property such as
limit: 120changed to30, every test that used the word "limit" and held the number 120 was reported. A test now counts only when it also names the changed module, asdocs/pregate.mdalready said; tests that import the module are still reported. Thanks to @dtoelke for the report and first fix.On Capy, /ship no longer edits or comments on pull requests as you. On a Capy machine,
ghis signed in as the machine owner's own GitHub account, so when /ship recorded its review rounds in a PR body (gstack-ship-receipt stub,stop,claimandcarry) or posted a body, title, comment or new PR throughgstack-post, the change showed up under the owner's name, even on someone else's PR. UnderGSTACK_CAPY=1these commands now run every check they ran before, write the exact text they would have sent to a private file, and print aHOST_PUBLISH:line naming it and the repository (and host, when it isn't github.com) it was meant for, so the agent publishes it through Capy's own PR tool instead. Nothing changes outside Capy.The destructive-command check stops asking about scratch deletes and catches the real damage it used to miss. Deleting anything under
/tmp, amktempfolder, a cache or build output no longer asks; in a replay of 254,322 agent commands those were 95% of its false asks. It now also asks before deletes outside the session's folder (includingrsync --deleteandfind -delete), git commands that would throw away uncommitted work (only when the tree really has some), history rewrites, remote branch deletes, database resets and cloud deletes, and it reads every command in a chain on its own. A recursive delete of/, your home folder or a system folder, a force-push tomainor the default branch, and wiping a whole disk are now blocked however the command is written.DROP TABLEandTRUNCATEask only when a database client runs them, so the words in a grep or a test file no longer do. Agent SDK programs now get a warning instead of an ask, because the SDK refuses an ask outright when no permission callback answers it; an SDK app where a person does answer can setGSTACK_SESSION_KIND=interactiveto keep the ask, and other harnesses with nobody watching can setGSTACK_SESSION_KIND=unattended.The destructive-command check reads commands more carefully, closing gaps found after the last release. A force-push to
mainis blocked again when written withgit push --repo=origin +main, after acd, or with--allor--mirror. Acdinside a pipeline no longer makes a later delete look like scratch, andgit reset --hard "$REV"asks again. It now also asks for quietgit clean -q,--work-treeandGIT_DIRforms,find -L … -delete,rm dir -rfwith flags at the end,..paths, amktempvariable pointed somewhere else, a discard aftergit stash pop, and aterraform destroythat only had a dry run earlier on the line. It stops blockinggit push -nf(a dry run) andwipefson image files it names on the command line (anywipefs -afed byxargs, or aimed at/dev, stays blocked), and stops asking about a grep for SQL text or a folder namedpsql.GSTACK_SESSION_KIND=interactivenow keeps the ask even whenCI=1is set. Long commands are checked about three times faster on macOS's bash 3.2.The Codex readiness check and the second-model review now pick the same model for a custom Codex provider (GST-3089).
gstack-codex-probe role-readyrefused a custom provider even when its~/.codex/config.tomlnamedgpt-6-astra, whilegstack-outside-voice run --runner codex-cliran whatever that file named, so a session that trusted the check skipped a review that would have run. Both now use one selection. A custom provider's ownmodelcounts for plan review when it is exactly the selected tier's catalog ID, any other name is refused ascustom_provider_model_not_tier, and no name stayscustom_provider_requires_model. Each of these policy refusals prints aCODEX_MODEL_POLICY: <reason>line. For theautoplanandspecgates the runner now also follows the plan-review tier with the stock OpenAI provider, instead ofconfig.toml's model.gstack's Codex hooks work when your Codex folder's path has a
(,&or other shell character in it. An unquoted(made the hook command a shell syntax error, which Codex reads as "block", so every prompt and Bash call was blocked once you trusted the hooks; an&split the command in two. Both Claude Code and Codex hook commands now quote those paths. A path made only of letters, digits and_ @ % + = : , . / -keeps the command it had; any other path is quoted once, so Codex asks you to trust those hooks again.Uninstalling gstack keeps your own Codex hooks trusted. When your hook groups come after gstack's in
hooks.json, uninstall (and turning a hook off) now leaves an empty group where gstack's was, so your hooks keep the positions Codex trusts them by. If your handler sits inside gstack's group, gstack leaves the file alone and names the one handler to delete.Codex hook setup matches Codex more closely.
description: nullis accepted, MCP hook input with a null is refused,rollbackwon't restore a backup Codex would skip, a gstack hook already declared inconfig.tomlunder any matcher that covers Bash is caught (Rust's(?i),\Aand\zincluded), andgstack-doctorreads hook trust from the same key Codex uses whenCODEX_HOMEis a symlink.On Windows, setup copies the Claude Code hook code that gstack's Codex hooks import into Codex's gstack folder, so the hook scripts are complete. Native Windows Codex still starts hooks through
cmd.exe, which can't run these Bash scripts, so the hooks don't run there yet./review's checklist on Codex reads shell commands more carefully. A
;inside quotes no longer splits a command, a read that never ran or failed isn't counted, a read error that names another file no longer drops a good read, PowerShell's "Cannot find path" counts as an error, and a message with only an image starts a new turn.On Codex, gstack now suggests the right skill for a prompt and stops destructive commands before they run.
./setup --host codex(Codex 0.170 or newer) adds two hooks to~/.codex/hooks.json: one adds a line naming the gstack skill a prompt fits (review, QA, verify), and one runs /careful's check before every shell command. Codex can't ask you about a single command, so in an interactive session a force-push,git reset --hard,DROP TABLEor the like is blocked, and the model is told to ask you first; if you want it, type!and the command to run it yourself. Undercodex execit's a warning instead, and deleting/or your home folder stays blocked everywhere. Codex runs new hooks only after you trust them, so pick "Trust all and continue" the next time Codex starts (setup prints a reminder, andgstack-doctorshows whether they're trusted). Your own hooks in that file are kept as they are, the samegstack-config set skill_routing offandgstack-config set destructive_guard offswitches work on both hosts, andgstack-uninstallor./setup --no-teamremoves only gstack's entries. Setup also suggestscodex -c model_reasoning_effort=highfor gstack work and leaves yourconfig.tomlalone.On Codex, /review is now held once when it tries to finish without its adversarial pass or its report, as it already is on Claude Code.
./setup --host codexadds the skill-contract Stop hook to~/.codex/hooks.jsonnext to the routing hint and the destructive-command check, and Codex runs it once you trust it at its startup prompt or in/hooks. The hook reads Codex's rollout file (it tells a Codex rollout from a Claude Code transcript by what the file holds), counts a skill as loaded when Codex injects or the model reads agstack-*SKILL.md, and counts aspawn_agentcall that started an agent as a dispatch. /review's specialist-reviewer item is skipped on Codex, which doesn't run those reviewers yet.gstack-skill-contract checktakes a Codex rollout too. The sameskill_contractsswitch turns it off on both hosts. Details: docs/skill-routing-and-contracts.md#codex.On Codex, gstack's skill suggestion now names the skill the way Codex lists it. The routing hint used to say "gstack-review", a name Codex doesn't know, so mentioning it as
$gstack-reviewloaded nothing. It now reads each skill's name from its installedSKILL.md, so the hint saysreviewand$reviewloads the skill it suggests.On Codex, gstack's suggested prompts and docs now name skills the way Codex lists them. The picker prompts for nine skills (office-hours, review, ship, qa, autoplan, land-and-deploy, modernize, runaway-stopper and write-skill) said
$gstack-office-hoursand so on, which Codex doesn't recognize, so choosing one loaded nothing. They now say$office-hours,$reviewand so on, which load the skill. The README's Codex row and the Claude outside-voice note in docs/skills.md say the same./review on Codex with gpt-6.1-sol is no longer held back for a second-model pass it already ran. With Sol, Codex starts subagents through its
collaborationtools, whose result names the new agent bytask_nameinstead ofagent_id, so the end-of-session check missed the adversarial pass and blocked the session once. It now counts a started subagent either way; a spawn that failed still doesn't count.On Codex, office-hours, plan-design-review and gstack-upgrade work again when you name them.
./setup --host codexleft a second copy of each of these three skills inside gstack's own folder, so Codex listed them twice and loaded nothing when you asked for one ($office-hoursstarted without its instructions). On macOS and Linux, setup now links those files instead of copying them, so Codex lists each skill once; Windows setup still copies them, because it can't rely on symlinks there. Re-run./setup --host codex, or upgrade gstack, to fix an existing install.gstack knows when Codex is running unattended. A skill started under
codex exec(orcodex review) now reportsSESSION_KIND: headlessinstead ofinteractive, the same as an unattended Claude Code run, so it stops with a clear BLOCKED line instead of asking a question nobody will answer. The Codex TUI, and Codex inside Conductor, still count as interactive.Codex reviewers start with a clean context. The design reviewers, /autoplan's review phases and /context-restore's summary helper now start their Codex subagents with
fork_turns: "none", so they no longer inherit the parent's whole conversation (GST-3091).Docs no longer say Codex has no hook support. Codex CLI 0.170 runs hooks; gstack's routing, contract and destructive-command hooks just aren't ported to it yet.
A command whose output was cut off no longer counts as a finished read. Bun can report exit status 0 for a
spawnSyncchild whose output passed the read limit (ENOBUFS), handing back only part of the output. The credential pre-push hook, the pregate secret and literal scans, the sealed-output guard, the ship receipt, review scoping and the other gstack commands that read large git or gh output now treat that case as a failure, namedSPAWN_OUTPUT_INCOMPLETE, instead of judging part of a diff or file list. Before this, a push whose diff passed 64 MiB could carry a credential past the pre-push hook.A folder marked as published data can no longer hide source code or agent files from /ship's review. In a folder listed under
review_content_patterns, source code in any language and letter case (.java,.c,.ps1,Makefileand the like, binary or not) still gets reviewed, and so do agent instruction files, config, executables and any data file that kept code names by its full path. Before this, only nine source extensions were kept, a binaryAGENTS.mdwas left out, and a file named by a kept script could leave review. No base policy sets the key yet, so nothing was exposed. Details: docs/ship-policy.md#review-content-patterns.Correction to the on-by-default helper hooks entry: the hook still routes only to /review, /qa and /verify, so skills you've installed yourself aren't suggested yet. With gstack's skills it routes 14 of 60 real bug reports (was 17), and long prompts are no longer skipped. The OpenClaw and Hermes start hook stays off on upgrade whenever it was off, and the one-line "turn it on" hint prints only for an off saved before this release; an off set with
GSTACK_HARNESS_START_HOOKorharness_start_hookstays off without a hint. docs/skill-routing-and-contracts.md (an unreadable config turns all three hooks off; the host table lists the destructive-command check) and docs/hosts.md (only an explicit start-hook request exits 4) now match the code./sync-gbrain's read check now works when the first page in your code source is over 64 KB. The check read the whole page just to confirm its source and slug, and a large first page (a lockfile is the usual one) hit its 64 KiB output limit, so every run reported the read as
unknown. It now asks gbrain for a 4 KB window of the page (--body window --max-bytes 4096), which keeps the response small however big the page is. A gbrain from before body windows (0.60.231.0) gets the old whole-page read with the same limit, and output cut off at the limit still counts asunknown, neverready. Thanks to @nfitzsimmons for the report and the fix (#4396).Free-suite CI no longer fails before any test runs when Ubuntu's package mirror is slow. Playwright's system packages and the gate tools are cached per runner image and Playwright version, so a run on a known image installs them with dpkg instead of downloading about 38 MB from archive.ubuntu.com, and apt waits for a timed-out attempt's lock instead of failing the retry in seconds. On 2026-11-19, 27 free-suite and quick-tier jobs failed this way. Two flaky free tests are fixed too:
first-usenow lists several user drives in sorted order on every filesystem, and the gstack-lease lock test waits for the owner line instead of reading a file that was created but not yet written. Two eval checkers stop refusing correct reads. The read-only command grammar accepts\"inside double quotes, as bash and zsh do, and the coverage audit follows acdinto a subfolder followed bycd ..in the next call.Syncing a second repo no longer makes the first one ask for /sync-gbrain again. The GBrain read check looked only at the most recent code sync on the machine, so once you synced another repo, every earlier repo reported itself as unsynced at session start. It now falls back to the per-repo sync record
/sync-gbrainalready keeps. A repo that never synced still asks, and so does one whose record is missing, malformed or points at another folder, or whose own sync is the most recent on the machine and failed. Reported by @SatriaSuriaAriffin (#4499).gstack's helper hooks are now on by default in Claude Code, OpenClaw and Hermes, and the prompt-routing hook fires on real bug reports.
./setupnow registers the prompt-routing hook (one line naming the gstack skill a prompt fits), the skill-contract hook (holds /review once if it stops before its specialist reviewers ran), and a new destructive-command hook that runs /careful's check before every Bash and PowerShell command, sorm -rf,DROP TABLE, force-push and the like ask before they run even when nobody loaded /careful (inclaude -pand other sessions nobody is watching, it prints a warning instead of asking, so nothing waits on an answer). New OpenClaw and Hermes registrations get the start hook (a one-line note on each turn telling the agent to run a skill's start command). Why: on Opus 5.5, unattended, a hook line naming a skill got it loaded in 58 of 60 sessions, where a skill relying on its description loaded in 0 of 60. The routing hook used to skip any prompt over 8,000 characters and miss bug reports that never say "bug"; it now scores a long prompt's first 4,000 and last 1,000 characters, reads words like error, exception, traceback, crash and fails as a bug, and keeps paths such assite-packageswhole. On 60 real bug reports it now fires on 40 instead of 22, and on none of 60 plain prompts that are not bug reports, reviews, QA or checks.Upgrading: the first
./setupor/gstack-upgradeafter this release turns these hooks on once and prints what it turned on. An off you chose earlier (a./setup --no-...flag,gstack-config set <name> offor an environment variable) is kept. An OpenClaw or Hermes start hook that is off stays off on upgrade, and the setup output prints one line saying how to turn it on:gstack-harness register openclaw --start-hook(orhermes).Turning them off:
gstack-config set skill_routing off,gstack-config set skill_contracts offorgstack-config set destructive_guard off(each takes effect on the next prompt or command), or./setup --no-skill-routing,--no-skill-contracts,--no-destructive-guard. For OpenClaw or Hermes:gstack-harness register openclaw --no-start-hook(orhermes), orgstack-config set harness_start_hook offand./setup. Details: docs/skill-routing-and-contracts.md and docs/hosts.md#start-hook.gstack-pregate clear --receiptaccepts a remote gate run from before a merged release when the release only regenerated a declared release output. A PR that merged a release commit was refused because a generated file the policy lists inrelease_outputswas checked against thestamp_fileslist first, andclearnever reran the release tool the way the tree receipt does. Arelease_outputspath is now judged by the release-output rule, and with--allow-repo-commandsclearrerunsrelease_toolon the head and accepts an output it regenerates byte for byte. Without the flag the receipt is refused as before, and the refusal now says to pass it. A hand edit to the generated file, or any path outsiderelease_outputs, is still refused.
The second-model review now keeps the reviewer's own result, and reports a used-up budget as a budget stop. Two fixes to the Codex review that /autoplan, /review, /ship and the other skills run:
When the reviewer wrote its review to the result file it was asked for, Codex then replaced that file with its short closing message ("Done, I wrote the review"), so the review was thrown away and reported as missing its markers. Codex's closing message now goes to a separate
.last-messagefile, and gstack keeps whichever of the two carries the review.When the provider refuses the call with HTTP 402 Payment Required (usually a metering proxy that hit its allowance, or an account out of credits or quota), gstack used to record only "exit 1". It now reads the cause from Codex's JSON error events and reports "the provider refused the review with HTTP 402 (payment required)", and says to check the proxy's allowance, or the account's quota and credits. It has its own reason code,
budget_exhausted, in the run record and in docs/troubleshooting.md, and the skills' "authentication failed, runcodex login" rule no longer fires on it. A 401 or 403 is still a login problem, and its record now keeps Codex's status line instead of "exit 1".The pre-commit /verify check now fails a check that times out, and its checks share one time budget (GST-3201). A check that ran out of time used to be listed as "not run", so the commit still got
VERIFY PASS. Now it isVERIFY FAIL: <check> TIMEOUT.gstack-checks quick --timeout(540 seconds by default) is now one budget for the whole pass instead of a fresh allowance per check: each check gets the time that is left, and one that can't start in time is a TIMEOUT. The test stage starts with the time that is left, but its runner can still run past it, so a very slow test run can still outlast Claude Code's 10-minute command limit./ship's review collector no longer reads a reviewer's own scope list or list of passed checks as findings (GST-3201). A bullet such as "a HIGH finding still refused" in the list of what the tests cover, or "
missing_verdictcan't occur alongside P0 or P1 findings" in the list of checks that held, collected as a HIGH or P0 blocker even though the reviewer declaredREVIEW_VERDICT: blocking=0. When the reviewer declares no blockers, a plain bullet with no file:line, no Severity or Blocks field and no severity other than one naming findings as a kind keeps its label but is marked for the lead to lower with a written reason, so a bullet that really reports an open blocker still holds the merge until someone judges it.Merge-queue stack tests fail when git cannot list a PR's added test files (GST-3201). That failure used to read as "no new test files" and pass the slot.
/ship can now review results PRs that publish raw session data. A repo's ship policy can list folders under a new key,
review_content_patterns, next toreview_exclude_paths. A file both keys match counts as data whatever its name, so /ship's reviewers leave it out, the same way they already leave out JSON, CSV, logs and images. Source files in that folder (.ts,.py,.shand the like, in any letter case) still get reviewed. Before this, files such as.patchdiffs, aMANIFEST.sha256and licence texts with no extension always counted as code, so a folder of them could never be left out, and a PR like gstack-evals #352 (13.8 MB, of which 13.6 MB is published session data) could not get under /ship's 2 MB review limit. Nothing is guessed: only a pattern on the base branch counts, a content pattern on its own excludes nothing, and the secrets scan and the sealed-output guard still read every excluded file. Details: docs/ship-policy.md#review-content-patterns.Also fixed: when a
review_exclude_pathspattern kept too many files for the reviewers' read command (more than 24,000 bytes of file names), /ship quietly dropped the whole pattern and sent the folder to the reviewers anyway. It now stops before review withREVIEW_EXCLUDE_KEEP_TOO_LARGE, naming the pattern, how many files it keeps and why, and the fix (docs/troubleshooting.md#review-exclude-keep-too-large)./ship's review pass works when the checkout you ship isn't the project's default checkout. On Capy, review readers start in the thread's working directory, and /ship used to stop with
STOP: readers on the shared machine start in <dir>, not in <checkout>whenever that was a different checkout, for example a project whose default checkout is another repository. Every reader's brief already opens by telling it tocdinto the shipped checkout and report that checkout's tree on its first line, and a reply naming any other tree or path is still refused, so the pass now dispatches. It still stops before anything starts if readers can't reach the shipped checkout at all, or if they start in another worktree or clone of the same history, where a reader that skipped thecdwould quietly review the wrong diff. (GST-3145)A second review round no longer reports done when nothing was reviewed. After the first review pass, a fix that touched a gate-class path (CI, auth, merge checks) was planned as "the step applied no edits" unless another fix flag came with it, so /ship's round 2 printed done and no reviewer read the fix. That fix now gets its full review pass on the changed range. When the plan is told nothing was fixed but the branch has new commits since the reviewed head, it now refuses with
review_required_no_readersinstead of printing done.gstack-review-dispatchalso stops reading its own flags out of the review-plan flags after--, so a plan's--pass 1can no longer stand in for the pass id.The prompt-routing hook now suggests skills you install yourself, and no longer sends ordinary bug reports to /qa (GST-3123). Any installed skill that lists
triggers:in its own SKILL.md can now be named by the hook next to gstack's /review, /qa and /verify, so a bug-fix skill with a "fix this bug" trigger is suggested for bug reports. One line names at most two different skills, gstack's own skill wins a tie, and a skill whose name or trigger text holds anything but letters, digits, spaces and simple punctuation is skipped, so its text can't break out of the quoted trigger or add markup to the line. gstack's own generated skill copies count as gstack's even without an install marker, so they still never route. Separately, /qa no longer takes bug reports on everyday words ("cannot find" plus "fails", or "call site" and "tests" far apart), while "please test the site" and "find bugs on my site" still route to it.gstack-skill-route --explainand the routing log show where each suggested skill came from.gstack's script runner and merge-queue checks now also refuse cut-off output. The helper that runs gstack's own scripts and
bash -ccommands, and the merge queue's branch-ownership, stacked-test, release-version and merge-group record checks, now fail withSPAWN_OUTPUT_INCOMPLETEwhen Bun cuts a command's output off at its read limit, as the pre-push hook and the pre-merge scans already do. The earlier entry about cut-off output said every other gstack command that reads large git or gh output was covered; it was not, because these went straight to Node'sspawnSync. A new test now stops any gstack command from calling Node'sspawnSyncdirectly. The 68 files that still do so mostly run short commands or already check for this error. The rest (the co-author trailer helper's commit-log read, the CI health report and the release-stamp precondition) never decide a security check, a ship record or a merge check. The test lists them, and the list can only shrink. The browser's process-list read is still not covered.A failed second-model review reports the cause that actually stopped it, and the runner never deletes its own prompt. When Codex logged a 402 on an early attempt and then failed for good with a 401, gstack called it a used-up budget; the final failure now decides. A request id or a duration that happens to contain "402" no longer reads as a budget stop. Claude Code exiting 0 with
subtype: error_during_executionand a 402 is now a budget stop instead of a generic provider error, and a Claude Code usage limit is reported asbudget_exhaustedinstead of with Codex's usage-limit advice.gstack-outside-voice runrefuses a--promptthat is one of the files the run writes for--out(such as<out>.last-message) instead of deleting it. When the reviewer's own result file has no final verdict, or its first line names another plan snapshot, Codex's complete closing message is used instead.gstack-ship-queue readynow fills in the trial merges and the second-model trail read instead of printing lines to fill. It lists the open PRs that change a file this PR changes and prints each one'sgit merge-treeresult, and with--trail <decisions.tsv>it names the reader from the trail's newesttrail-readrow, under a train policy too; a gate, security, money, auth or data PR with no such row printsMISSING: cross-family trail read.Five small ship-tool fixes.
Plan: exempt:accepts bug-fix wording such as "bug fix with failing-first tests", and ready uses the Plan line/shipfinish resolved when the PR body has none.gstack-approvals round-grantrefuses only gstack's own names, so "gstack-evals Captain" can grant a round. The Capy PR hand-off followsGH_REPOthe way gh's own write does and refuses a PR URL that names another repository, and a pull request opened from a fork names its head asowner:branch. A targeted review read on a path with non-ASCII characters now carries across a later docs-only change.A ruling the owner gives while a
/shiprun is open can be relayed.gstack-approvals rule --owner-ref <thread>:<message>records the owner's words with the message they came from and marks the ruling relayed in the record, the receipt and the PR body; without it the refusal now saysAPPROVAL_RULING_RUN_OPEN.rule --not-securitylets the owner say a red-team finding is not a security finding, so its PR text shows the finding instead of "security finding, details recorded privately"; it is refused while a/shiprun is open./ship no longer kills a working test run as stalled when the test command starts its workers in their own session. The stall check read CPU time from the test command's process group only, so a quiet suite run through a launcher that starts its workers in a new session (pnpm 11's
pnpm execrunning Vitest) looked idle and was killed asPREGATE_STALLED. It now counts every process descended from the command, and a stall or timeout kill reaches those workers too. A truly hung run is still killed at the same stall timeout. Reported by @dtoelke in #4477./ship no longer stops a review because the state-machine reader started its reply the way its instructions say. Every /ship reader is told to open its reply with a
REVIEWED_TREE: <tree> <path>line and, for readers that can block, aREVIEW_VERDICT: blocking=<n>line under it. The state-machine check read those two lines as unexplained text and reported the review as incomplete (STATE_MATRIX_CHECK: incomplete gaps=2), which stopped /ship before the adversarial review step on any change that touches a proposal, hold or approval flow. The check now skips exactly those two lines at the top of the reply, using the same parsers /ship's collector uses, so the two can't drift apart. Any other line that isn't a matrix record or a finding, including a misplaced or malformed header line, is still reported as a gap.When Claude Code runs /verify right before a commit, it now gets a quick check instead of the full fix loop (GST-3150). Claude Code 2.1.286 and later tell the model to run any skill named
verifybefore every commit that isn't docs-only or tests-only, so gstack's /verify was starting its whole build-and-fix workflow, first-run notices included, on ordinary commits. Now that call runs one command,gstack-checks quick: the repo's existing checks (typecheck, lint) and the tests /ship would pick for the change, with no code edits, no new tests and no questions, ending in one line:VERIFY PASS,VERIFY FAIL, orVERIFY skipped: <reason>. A repo with nooriginremote, check commands you haven't approved yet (type /verify once in that repo to review and approve them), or nothing to run is skipped and the commit goes ahead; a failure makes the model stop and ask you before committing. Typing /verify yourself still runs the full skill. To turn the pre-commit check off, rungstack-config set verify_before_commit off; to stop Claude Code from asking for it at all, install with./setup --prefix, which names the skill /gstack-verify.
[1.101.0.0] - 2026-11-18
A test, or a scratch repository in the temp directory, can no longer write approval rows into your real Capy Drive (GST-3027). On Capy,
gstack-approvalsmirrors every row to a Drive folder. When it runs underbun test, or its state root or repository sits in the temp directory, the mirror now has to resolve, links followed, inside that temp directory; otherwise the write fails withAPPROVAL_RECORD_WRITE_FAILED, names the path it refused, keeps the local row and reads no rows from that Drive. A review probe on 2026-11-09 had written three QA rows into a real project-user Drive this way.An unattended /autoplan run on Claude Code no longer says the publication guard is off while it is on.
gstack-skill-startprintedautoplan guard: not enforced by this host ... (GUARD_NOT_INSTALLED)for every unattended session, but Claude Code runs /autoplan's phase hook whatever the session kind, so runs were blocked by a guard their own record said was off. The line now follows the host. On Claude Code with the hook installed it reads... (GUARD_ENFORCED), elsewhere it keepsGUARD_NOT_INSTALLED, andgstack-artifact validateaccepts either in an unattended run's record.A phase report written only in reasoning now gets a denial that says so and names the fix. When a
true autoplan-published <phase>message carries no visible text, the guard denies with the newpublication_not_visiblecode instead of the genericpublication_missing, and every publication denial names the exact command (for exampletrue autoplan-published dx) and says reasoning does not count. A saved report file still does not count as publication.gstack-autoplan reviseno longer refuses a plan that the firstnextaccepted. A plan with no## Implementation planor## Review recordheading is reviewed whole bynext, but once the owner added one of those headings while editing (for example a## Review recordnoting the accepted changes),revisestopped withPLAN_SECTIONS_INVALIDafter a full paid review round, and its fix pointed at a--scaffoldflag the firstnextnever asked for.revisenow adds the missing heading to its own copy of the plan and printsSCAFFOLDED:, the waynext --scaffolddoes; the owner's file is never edited. A run whose first plan already had both headings still refuses a revision that drops one, and now says why.revise --planwith a different file now says the run follows that file. It printsPLAN_INPUT: <old> -> <new>and records the move, so drift checks no longer switch to another file silently.A second-model plan review in
/autoplanis no longer reported as unavailable when it actually ran (GST-3051).gstack-outside-voice runjudged autoplan's reviews by/review's rule, which wants aRecommendation: ... because ...line autoplan never asks for, so a finished review printedVERDICT: unavailable(missing_markers) and sessions paid to re-run it or dropped it. A prompt that carries autoplan's result format is now checked against that format (itsINPUT:line andgstack-findingsfence;--gate autoplanasks for it explicitly), and a reply without them, or an empty one, is still unavailable.gstack-outside-voice --helpalso no longer prints a line that starts withOUTSIDE_STATUS:, which logs and models read as a real consent refusal.
The /ship conductor trial plan now lets case reverts that conflict with later code be resolved by hand in docs, tests and the planted file, so large pull requests can be cases (GST-3003).
A locked plan for a trial of /ship without its separate conductor subagent (GST-3003).
docs/evals/ship-conductor-fold-prereg.mdfixes, before any paid run, the bars, arms (today's /ship, the folded /ship and a no-gstack review), cases, scoring and stop rules for testing whether a pull request's own thread can run /ship's phases and start its reviewers itself, at no extra cost and with nothing missed that today's /ship catches.A driven /ship now runs each phase as one command, counts its calls, and stops itself at 100 minutes.
gstack-ship-phase runruns a ship/DRIVER.md phase's commands in order, prints only their result lines, returns after 200 s while slow work keeps running, and on a rerun skips what already finished; on Capy,gstack-ship-phase programserves a checked-in program that also runs the review pass or the closing budget note in the same call.gstack-ship-budget noterecords the calls since the previous note, andgstack-ship-receipt write --budget-record <rec>puts the run's total in the receipt, soSHIP_RECEIPT:showscalls=(older receipts without it still validate and carry). Past 100 minutes, the note or the phase runner printsSTOP: past 100 minutesand writes the head, review passes and next act tostop.json;gstack-ship-budget resumerestarts the clock. The driver also prices waits by length. It keeps a 200 s keep-alive under about 80 minutes, uses one wait for anything longer, and never polls every 10-15 minutes. Measured conductors made 121 to 308 calls against the driver's 9 to 12 and 10 of 12 ran past the 100-minute line while these limits were prose.
/ship stops asking owners to clear two kinds of bookkeeping noise: base-side merge text and a reviewer's confirmation prose.
Fixed
A base merge that only touched base-side text no longer stops
/shipfinish for an owner's grant. After a main merge, finish counted two base-side differences as "behavior, tests or build inputs changed since review": the shared-preamble hash id in every regenerated skill file the branch also touched (#4383, 94 files), and an expected-value list where main's new entry was spliced next to the branch's own (ghome#16). The path comparison now reads both sides with the shared-preamble ids masked (a file whose only branch change is that id compares as unchanged), and a line that is the base's new line plus exactly the tokens the branch added to the reviewed line counts as base context, so it goes to the one scoped reader instead. A resolution that drops, invents or rewrites anything on the branch's own lines still stops as a behavior change.A reviewer's confirmation prose no longer becomes a Critical finding that only an owner can clear. The collector read prose that named a file and line while confirming code, such as "a High or Critical challenge…", as an anchored Critical finding that judgment could not lower, even when the reply's own
REVIEW_VERDICTsaidblocking=0or it saidNO FINDINGS, so each one cost an owner ruling and a stopped/ship(twice on #4431). A file:line in prose, or a list item or the native voice's FIXABLE tag in a reply that saysNO FINDINGS, no longer anchors a finding, so under ablocking=0verdict such a row is a summary candidate the lead can lower with a reason. It still blocks until then, so prose that names a real blocker ("no Critical issues except the token leak in log.ts:3") is never dropped. Structured findings (JSON, a lead severity label, a label heading, a numbered finding heading, aSeverityorBlocks: yesfield, or the native voice's FIXABLE/INVESTIGATE tag) still collect as anchored and still disagree with the verdict, and a reply whose verdict declares a blocker is read as before.A CI run that passed only after its failed jobs were re-run is now marked wherever gstack reuses it. When a run's
tree.jsonlistsrerun_filesandattempts(gbrain writes these since gbrain#9690), theCI_CARRY:line, theSHIP_RECEIPT:line'sci_carried=field, and the receipt linegstack-ship-queue readyandlandprint now addrerun=<files> attempts=<list>, so a pass on a re-run reads as flaky instead of as a clean first-attempt pass. The run is still accepted. Atree.jsonwithout those fields prints exactly as before, and a malformedrerun_filesorattemptsrefuses that run withCI_CARRY_RERUN_MALFORMED./ship reuses CI's passing test run when merging the base changed no file, and stops instead of quietly starting hour-long test runs or reviewing an empty diff (GST-3019). When git reads a commit's file tree as identical to an earlier commit's, a passed CI run of the earlier commit now counts for it, under the same workflow, command and freshness rules, and the output names the commit and run it used.
gstack-ship-preflight --tests-onlynow stops withSHIP_LANE_NOT_CARRIEDand the CI command to run when a mapped test suite has no passing CI run to reuse, instead of running it on this machine (--run-uncarried-herestill runs it).--audit --base <commit sha>now diffs against that commit, and a base that names no commit stops withSHIP_BASE_UNKNOWNinstead of reporting zero changed files./ship on Codex no longer stops at the test coverage audit. The Codex version of /ship told Codex to start its audit with Claude Code's Agent tool,
subagent_typeandrun_in_background, which Codex doesn't have, so the run stopped before it could finish (#4476). Codex skills now start every audit and reviewer subagent with Codex's ownspawn_agentand wait onwait_agentfor its final result: /ship's coverage, plan and docs audits, the native review voices in /review, /office-hours and the design reviews, the plan-CEO spec review, /autoplan's phases and /context-restore. Turn onmulti_agent = trueunder[features]in~/.codex/config.toml; without it the dispatch fails and the step takes its failure path. The plan reviews' timed fallback reviewer needs a read-only subagent type Codex doesn't offer, so on Codex it reports the second-model review as unavailable instead of starting one. Claude Code's and every other host's instructions are unchanged.A cold first-use check before an app build reaches its owner (GST-3025). New
gstack-first-usefreezes the first five day-one actions from the plan and the exact build, has an agent from another model family play that build on the same kind of device with a screenshot or video for each action, checks every link within 15 minutes of sending, and prints the "try this build" message only when all of it passes. The owner's score and words are kept beside the checker's predicted score in the owner's private drive. Seedocs/first-use-check.md.skill_prefix=truenow survives updates when gbrain is installed. Every Claude re-render (the brain-aware render in./setup,gstack-config gbrain-refresh, and the pinned-overlay render) applies your saved prefix before it goes live, so skills stay/gstack-retro,/gstack-reviewand so on instead of reverting to short names after each update (#4413). Thanks @fliaron for the report.The OpenClaw docs no longer send you to ClawHub, which held only April 2026 builds of office-hours, ceo-review and retro and no longer has gstack skills (the docs also said four skills while listing three).
docs/hosts.mdanddocs/OPENCLAW.mdnow point to native registration (./setup --host openclaw), which already serves the current version of each, and tell you to remove the ClawHub copies if you installed them (#4421). Thanks @exGeni for the report.gstack-issue-linksno longer reads other repositories' issues as gstack's. A parenthesis that cites several repositories, such as(founderstar #837, harness-evals #393), now gives each its own cross-repo reference instead ofRefs #837andRefs #393on this repository, andowner/repo#Nnaming the current repository counts as its own issue, soFixes garrytan/gstack#Ncloses it./ship's pre-gate finds the tests of a monorepo app that imports through its own
@/alias. The import graph readpathsandbaseUrlfrom the repository root's tsconfig only, so in an app likeapps/mobilewhosetsconfig.jsonmaps@/*to./src/*, every touched source file failed withPREGATE_NO_LANEeven with a test right beside it. Each file now takes its aliases from the nearest tsconfig.json or jsconfig.json above it that declarespathsorbaseUrl; a nested config that declares neither defers to the next one up, the root config governs the rest, and anextendsoutside the repository is still never followed. Thanks to @dtoelke for the report and the original fix (#4462)./office-hours explains why it recommends a mode. The first question (what's your goal?) now recommends a mode by quoting your own words and saying what another mode would skip, instead of restating the mode's name.
/office-hours keeps its 34 founder videos and essays out of the skill file. The list now lives in
lib/founder-resources.ts, and the closing runs the newgstack-founder-resourcescommand, which prints the ones a user hasn't been shown yet. The resources, the dedup and the opt-out work as before; the skill's own text is about 8.6 KB smaller.Two
gstack-owner-answers addruns for the same answer no longer collide. When two processes recorded the same owner answer at once, about one pair in ten failed: one could read the other's row while it was still empty and report a conflict, or see the record's folder appear between two checks and refuse it as "a link that cannot be resolved". The second add now waits up to 2 seconds for the first to finish writing, and the folder check looks for the folder before resolving it. Three tests that failed intermittently under load also got fixes. The sealed-guard streaming test now treats Bun's buffer-overflow error as a failure even when git exits 0, and the twogstack-ship-receipttest files use the same 30-second limit as CI.A Captain can check an ask against the owner's earlier answers before sending it.
gstack-owner-answerskeeps the owner's answers and standing yeses in one record, outside every repository: on Capy it is the owner's private Drive folder, which every thread the owner runs can read.screen --ask-filereads a Captain's draft ask and proposes leaving out only the lines that a verified, current standing yes in the owner's own words covers exactly. Every other line stays in, with any related answers shown beside it. That includes autoplan gate items, untyped or compound lines, and anything that always needs a fresh ask (product decisions, spend over a cap, access, publishing, thresholds, closing a contribution, destructive steps). A damaged, conflicting or unreadable record keeps every ask. Rows are one file each, written once; a row needs a second actor to verify its words before it can be taken, and the recorder can't verify its own. The file format and the two-week pilot are in docs/owner-answers.md.gstack-poststops reading /ship's own receipt identifiers as phone numbers, so posting a /ship PR body no longer needs a confirm. The receipt's session run id (<pid>-<epoch>-<8 hex>, read as an E.164 number when the pid has seven digits, #4480) and all-digit 12-character commit prefixes in itspregateandrequires_remotevalues used to stopgstack-post pr-bodywith a MEDIUMpii.phone.e164finding. The same went for theSHIP_RECEIPT:andCI_CARRY:lines /ship prints (heads=,carried_from=,base_red=,ci_carried=<lane>:<run>/<attempt>). Only those exact values are exempt, in a receipt block the receipt writer rendered and on lines outside code blocks that open withSHIP_RECEIPT:,CI_CARRY:,PREGATE:orREADY_RECEIPT:. A phone number in prose, in any other code block or field (a receipt line pasted inside one included), or in a hand-written receipt block still needs a confirm.GitHub release notes now list every change in plain words, with a link to its pull request. Releases v1.99.1.0 to v1.99.4.0 said only "see CHANGELOG.md", because the release cut took one headline per version and found none in entries written as bullets. Each release page now lists every change the release ships under What's new, Fixes and Changes for maintainers, one line each, with the pull request that made it, then the compare link. A release whose CHANGELOG has no entry for its version, or an entry with nothing in it, now stops with
NOTES_MISSINGinstead of publishing an empty page, and notes too long for GitHub keep the changes that fit and say how many more are in the full changelog (docs/releases.md#release-notes).gstack's router no longer gives bug reports a special rule, so the model fixes a bug the way it would without gstack. The rule said to check the cause once and write a failing test first when the cause was unclear. On 26 real gbrain bugs that plain Opus 5.5 had failed once, gstack with the rule fixed 3 and plain Opus fixed 2: +3.8 points, with a 95% interval of -11.5 to +19.2, so no clear gain. The router's description no longer lists debugging either, so a bug report doesn't load it. Planning, review, /verify, /qa and /ship are unchanged, and the bug line gstack offers for your CLAUDE.md is unchanged too. The two paid evals of the removed rule are retired with it.
/ship's review plan now sorts Swift and Xcode files by risk instead of sending every iOS PR to the full review panel (GST-3041).
gstack-diff-scopehad no rule for.swift, so an all-Swift diff printedSCOPE_ERROR=unmatchedand the planner failed closed to five readers plus a coverage audit; a 55-line SwiftUI copy change got the whole panel. Swift source now reads as UI and app code (like Dart), as do storyboards, XIBs, string catalogs and asset catalogs.Info.plist, entitlements and the privacy manifest read as permissions (auth), andPackage.swift,Package.resolved,Podfile(.lock),project.pbxproj,.xcconfigand schemes read as config, never as UI. Swift networking code (URLSession,URLRequest,NWConnection, Alamofire) still raises the review to full depth, the same asfetchin TypeScript. A file type no rule knows, such as a Metal shader, still fails closed. Reported from the GHome iOS app's PR review./ship's review plan now sends Swift code that touches private user data to the full review panel (GST-3052). Once
.swiftstopped failing closed, an iOS change that asked for microphone or speech permission, read HealthKit or calendar data, or wrote and deleted users' files on the device planned the light review. Swift lines that request a privacy permission (speech, microphone, HealthKit, calendars, location, camera, photos, tracking) now count as security, and lines that read HealthKit, EventKit or contacts, write, delete or protect files on the device, use an app group container, exclude files from backup, or declare how long data is kept count as user data. Plain SwiftUI views, UserDefaults settings and file reads stay light. Reported from the GHome iOS app's PR review.A round grant at /ship's review round cap now buys the fix round it names, in the same run or the next (GST-2968). When a review stops at the cap, /ship records the stop in the PR body (
gstack-ship-receipt stop), and agstack-approvals round-grant --kind fix-checknaming that stop's head, run and findings buys one scoped fix-check of the fix instead of another read-only full review. Before, the read-only review had already counted as the extra round, so the grant bought nothing, and a grant recorded between /ship runs was ignored, so the next run paid for another full review. A grant is spent by the one run that claims it (gstack-ship-receipt claim), and an extra-round grant recorded before review keeps its fix round, also across preflight's base merge.The secrets check stops flagging three kinds of ordinary code as a secret, and catches two misses. TypeScript types with spaced generic arguments, Python keyword arguments that read a settings constant (
aws_secret_access_key=settings.S3_SECRET_KEY,), and camelCase dotted field paths ("form.section.fieldName") no longer stop a push. A secret built with+from short pieces, or written in a trailing or whole-line comment, is now reported. A secret in any of those positions still fails the check. Template keys, arrays of names and string-literal generic types still report and are documented as known limits. (#4289)A security finding's location and reason no longer go into a PR body. When an owner ruled a security review finding a note, or a review deferred one in code the PR did not change, the PR body, its receipt block and the
Ruled note:,Gate disposition:and deferred-findings lines named the file, line and reason, which on a public repository points at a live exposure. Findings whose category issecurity,auth,secretorred-teamnow print an opaque id and "security finding, details recorded privately"; the details stay in the private approval record (gstack-approvals list) and the local review files.gstack-ship-receipt writeandgstack-postalso refuse text that names a rawpath:line:securityfingerprint. Other findings print exactly as before.The token-capped /ship child on Claude Code now starts its prompt with the typed
/shipcommand, so the skill actually loads. When /ship hands its remaining steps to a fresh child (gstack-ship-budget launch), the child's prompt used to open with "Load gstack. … Run /ship --continue ". Claude Code expands a skill only when the prompt starts with the typed command, so the child got plain text and had to find /ship on its own, which unattended Opus 5.5 did in 0 of 60 sessions in gstack-evals#366. The prompt now opens with/ship --continue <brief>(/gstack-shipwhenskill_prefixis on). docs/unattended.md gains the rule for any parent that starts a child agent, and the Capy skill's Claude Code line now says the same.A /ship receipt now counts the second-model review's blocking findings, and refuses to be written while one is still open. When /ship stopped after Step 11 because the second-model review (or the native adversarial pass) raised a
Blocks: yesfinding, no review-log row recorded it, so the receipt saidblocking_found=0and the PR looked clean toreadyand the merge step. Step 11's own row now carriesvia: shipand its findings,gstack-review-scope summarycounts them (they are never a pass or a round), andgstack-ship-receipt writerefuses withRECEIPT_BLOCKER_OPENwhile any blocker's newest action is stillopenand no owner ruling closes it. A finding below the floor still counts only as a note.A
/shipwith a token cap on Claude Code no longer stops at its first handoff. When the budget handed steps to a fresh child,gstack-ship-budget launchstartedclaude -pwith--allowedTools <list>right before the prompt. Claude Code reads every argument after that option as one more tool name, so the child got no prompt, exited with "Input must be provided either through stdin or as a prompt argument", and the run stopped. The launch now ends the options with--before the prompt, which Claude Code 2.1.292 and 2.1.326 both read as the prompt. Thanks to @exGeni for the report and diagnosis (#4448)./ship's push step now always ends with one line that says whether it pushed (GST-3053).
gstack-ship-release push(Step 17) finishes with exactly one ofPUSH: pushed remote=origin ref=<branch> head=<full sha>,PUSH: already_pushed remote=origin ref=<branch> head=<full sha>orPUSH: failed reason=PUSH_REFUSED|PUSH_REJECTED|PUSH_GIT_FAILED, so a script or eval grader can tell that /ship pushed by matching that line instead of looking for agit pushcall. Exit status is unchanged. Each reason code has a troubleshooting entry, and the format is documented in docs/unattended.md#push-line. An eval had graded 48 real /ship pushes as "no push" because it searched for the git command. The line's shape changed. The oldPUSH: ALREADY_PUSHED <short sha>andPUSH: pushed <short sha> to origin/<branch>lines are gone, so update anything that matched them.A PR's review-round count can no longer be overwritten by the body
/shipposts. When/shipposted a PR body whose Agent notes held their owngstack-receipt-runsblocks, gstack removed only the first one, so a second block placed before the receipt became the historygstack-ship-receipt historycounted (one round where there were three). A post now drops every runs block it brings and keeps exactly one. That one is the live body's history, placed right after the posted receipt, or none when the PR had no earlier runs. A post whose notes hold no receipt yet keeps the live started stubs in place of the runs block it brings. See docs/review-policy.md#rounds-per-pull-request.One queued record with a malformed path no longer stops artifacts sync for every project. A skill started where the project slug was empty (for example from
/) queuedprojects//timeline.jsonl; git staged it under another spelling, the drain refused the whole batch, and every later record waited until the queue was dropped by hand.gstack-brain-enqueuenow refuses a path with an empty,.or..component, and the drain drops such a record, syncs the rest, and reports it (#4445).A failed artifacts push stays reported until a push succeeds. A later drain with nothing new to commit used to write
idleoverpush_failedwhile the commits were still unpushed, and /sync-gbrain printed "curated artifacts pushed" becausegstack-brain-syncexits 0 on a failed push. The status now stayspush_failed, and the brain-sync row reads the drain's status. It says "pushed" only after a push, "nothing new to push" when there was nothing to send, andERR artifacts not pushed (...)otherwise (#4418).The /sync-gbrain memory row no longer says OK when pages failed to import. It read only the ingest's exit code, which stays 0 for per-page failures, so it printed
OK ... 126 failed. The row now reads the ingest's counts:WARNwhen some pages failed,ERRwhen pages failed and none imported, with the failed count and the first cause. A transcript that cannot be parsed is listed as a note and leaves the rowOK(#4417).
Tests
A policy-floor test no longer fails once gstack's own version reaches the minor after the newest policy key; it now checks a floor above both, so the v1.101.0.0 release can pass CI.
CI now uploads free-suite test results to Trunk with analytics-uploader v2.1.8 and analytics-cli 0.17.0, up from v2.1.6 and 0.16.2.
Packing a checkout for a Ubicloud run no longer fails when git beside it is rewriting a ref.
ubi-runner.sh packasked git's upload-pack for every ref, and upload-pack advertises a ref it cannot read (a loose ref file caught mid-write or mid-delete) with a null id, so the snapshot failed with "not our ref 0000…". Pack now reads the refs once withgit for-each-ref, which skips an unreadable ref, and fetches those exact objects. Seen twice in Free Tests on 2026-11-17 (runs 44063454800 and 44050883970); an empty loose ref file reproduces it every time.The /plan-ceo-review HOLD SCOPE eval no longer fails a review because its follow-up question didn't repeat the mode name. The check required the decision's "Project/branch/task" line to say "HOLD SCOPE", which the skill never asks for; the decision is already tied to the HOLD answer by session and order. A line naming another mode, or past or hypothetical work, still fails.
Unattended /autoplan now records the owner's relayed gate reply instead of refusing it.
autoplan/SKILL.mdtold an unattended session to end at the final gate and never approve, whileautoplan/DRIVER.mdtold it to record a relayed owner reply withgstack-autoplan answer --by agent:<id> --owner-reply, so whether a run reachedcompletedepended on which file the model followed. Both now render one rule fromscripts/resolvers/autoplan-driver.ts: never approve on your own judgment, stop atgate_pendingwhen there is no owner reply, and record the owner's own relayed words with--owner-reply-file, never handing the command back to the owner.gstack-skill-start's unattended block names the same exception for /autoplan.Unattended /autoplan now runs the second-model review you turned on, and waits for it instead of ending the session. With
codex_reviews: enabledin the config, Opus 5.5 still skipped the second reviewer in 2 of 3 unattended--fullruns, saying the owner had not agreed to send the plan off the machine; in the third it started the review in the background and ended its turn, which ends a headless session.gstack-autoplan nextnow printsOUTSIDE_CONSENT: given by codex_reviews=enabledbeside the outside attempt, and autoplan/DRIVER.md says that an explicitenabledis the owner's standing consent, that the review runs in the foreground with a 9-minute limit, and that a timeout or failure is recorded with the standard failure line while the run carries on.disabledis still enforced by the runner, and an unsetcodex_reviewsis handled as before.Two /autoplan runs started in the same second no longer share a run id. Run ids were the run directory's name plus a time stamp to the second, so two runs whose directories were both named
autoplangot the same id and the same checkpoint folder. Each id now carries six random letters before the stamp.
[1.100.0.0] - 2026-11-17
/autoplan's approval page no longer hides a reviewer's product objection behind "keep your direction". A plan can now quote its owner under
### Owner's words, and only those quotes count as the plan's direction. When a reviewer recommends changing anything else the plan says (its scope, build order, direction, cost or packaging), at any severity and even from one reviewer, the approval page shows it as a lettered choice that recommends the reviewer's change, and the cost line says what taking it actually does. A plan with no Owner's words section keeps today's default and gets one question asking the owner to confirm the direction is theirs. A challenge raised in an earlier review round stays on the page until the owner answers it or a later round marks it fixed. App plans with a### Day onetable (the owner's first actions, how often, the feature, the way in from the first screen, the first build that has it, and how it's checked) show it first on the approval page, turn each guessed row into a question for the owner, and letter every cut that drops a day-one row or a quoted owner line; an app plan without the table gets one item asking for it. Declining a reviewer's change on a High or Critical finding keeps the plan as written and carries the finding into the build as a blocking task. Quoted owner words, including ones a later revision removed, are redacted from public exports.Every skill that loads the shared preamble, on every host, now says to ask a question once and to check a file before handing it over. The Ground Rules section in the shared preamble gains two lines: ask each question once, after checking what you can yourself, and until it is answered list it as one waiting line in later updates instead of asking again; and open every file you hand over and remove placeholders first (TODO,
<fill in>, lorem ipsum, broken links and images). The ask-once rule used to live only in the Capy wrapper's "how we work" page, which now points at the shared rule.The Captain manuals now name the
Failed or skipped:andAlso changed:lines that READY and lane reports carry. A controller asks for a missing one in a follow-up and never refuses or stales a READY over it, the same as a missingUnverified:(GST-1455).gstack's shell locks hold again on Ubuntu 26.04, where
mkdirreports success when another process won the race (GST-2247). Ubuntu 26.04, and GitHub'subuntu-latestfrom 2026-11-09, ships Rust coreutils (uutils) 0.8.0 asmkdir. It exits 0 even when the directory already existed because a racing process just made it, so everymkdir "$LOCK"lock in gstack could admit two holders: two updates moving one checkout at once, or twogstack-config setcalls where one dropped the other's key (a test with eight parallel writers under a uutils-stylemkdirlost six of the eight keys). Every lock now goes through one helper,gstack_lock_takeinbin/gstack-lock.sh:mkdironly makes the directory, and the holder is whoever creates the lock's pid or owner file with the shell's noclobber redirect, which bash, zsh and dash openO_CREAT|O_EXCL, so the kernel admits exactly one. Noflock(macOS has none). This covers the session-start updater,gstack-upgrade, the Capy session pin switch,gstack-ff-update(inlined, pinned to the helper by a test, because it must run standalone), setup's dependency-migration and Chromium-install locks,gstack-browser-ensure,gstack-config, the install registry, the Claude render lock, the developer profile and its takeover lock,gstack-memorable, the settings.json hook, the brain-sync drain lock, the Codex model-probe lock and its breaker, the lease directory lock, freeze's state lock and /setup-gbrain's concurrent-run lock. The Claude Code wrapper's copied runtime (CLAUDE_CODE_RUNTIME_FILES) andbin/gstack-render-claude.shnow carry or source the helper themselves, so a copied runtime and every script that sources the render library still take the lock. Each caller keeps its own waiting, stale-lock recovery, timeout and release. If the owner file is created but can't be fully written (disk full, a quota or a file-size limit), the helper removes it and the directory again and returns 3, so a failed write never leaves a lock that nobody holds. A lock directory that already exists is still never taken, even with no owner file in it, so a lock left by a killed holder waits for the caller's existing stale rule, as before.test/gstack-lock-race.test.tsruns the old pattern and the helper against a PATH shim that behaves like uutils 0.8.0mkdir, so it runs on any runner image: the old pattern lets two of four racers win, the helper admits exactly one in each of 60 races and never overlaps across take, hold and release loops, and parallelgstack-configwriters keep every key.test/mkdir-lock-guard.test.tsfails when shipped shell, a template, a workflow, a Markdown bash fence or TypeScript that embeds shell decides anything on a non--pmkdir's exit status; it found 26 such sites before this change, 12 more than the first report listed. The /setup-gbrain lock test now expectsmkdir:on stderr only when the parent cannot be created, because the helper never runsmkdiron a path that already exists; no other assertion, threshold or timeout changed.Windows Setup E2E now runs when
bin/gstack-lock.shchanges../setupsources the lock helper on every install, but the workflow's path filter and itswindows-scopelist left it out, so a pull request that changed only the helper skipped the Windows install check. Both lists now name it.Claude Code's skill list now says when to use each gstack skill, so Opus loads /review and /plan-eng-review when a request fits. gstack cut every Claude Code description to its first sentence, which says what a skill is but usually not when to load it. In a test with Opus 5.5 in Claude Code, "Review my changes before I land them" loaded /review 0 of 3 times (its line read "Use when you review this PR's diff."), and "plan this feature" loaded no gstack skill in 9 tries. Almost every Claude Code description now keeps a short when-to-use clause after its first sentence. The clause is the skill's own trigger phrases ("Use for: review my changes, look over my diff, review this pr."), or its "Use when" sentence when it has no trigger list; /design-consultation and /eval-plan keep only their first sentence. /review's line no longer assumes a PR exists (local changes and a branch count), /plan-eng-review says it plans a feature before you build it, and the
gstackrouter's line says what it does instead of "Router for the gstack skill suite." The skill list Claude Code loads every session grows by about 840 tokens. The clause is added only to Claude Code's trimmed list, so--catalog-mode=fulland the other hosts don't get it.A pull request's merge head can no longer keep its
/shipreceipt without a full review. Three gaps let a receipt through on less than the full review R51 asks for. A head whose own added lines match the reviewed ones but whose removed lines changed with the base (the base tookSAVE_VERSION := 83under a branch reviewed as82to84) used to carry after one scoped reader; it's now a product change, so carry refuses and/shipreviews the head in full. A receipt an older gstack carried through a scoped re-check no longer carries on through a later base merge or stamp, andgstack-ship-queuewon't bind it (QUEUE_RECEIPT_STALE), until a fresh full review replaces it. And a/shipbody post keeps the PR body'sgstack-receipt-runsblock, sogstack-ship-receipt historycounts every run instead of only the last. The read-only review'sPR_ROUND_CAPstop no longer offers a round grant it can't honor, and thestamp-only-carryno-stop class is gone: a refused carry already runs Steps 2-16 without a stop, so a receipt that still lists that class is invalid and its PR runs/shipagain. See docs/review-policy.md#rounds-per-pull-request./shipnow counts review rounds per pull request, and the head that merges always gets a full review. gstack's two-round review cap (R51) was counted inside each/shiprun, so a PR shipped five times could be reviewed ten times./shipStep 1 now reads the PR body's receipt history (gstack-ship-receipt history), printsPR_REVIEW_HISTORY:andPR_REVIEW_ROUTE:, and passes the earlier rounds togstack-review-plan(--prior-rounds, and--prior-fullfor the full rounds the cap counts). A new head whose own lines changed gets a fresh full review, the PR's last before merge; a PR already at two full rounds gets one read-only full review with no fix round, whose blocker goes to the lane's Captain. A scoped re-check of only what changed is now advice only:carryprintsRECHECK: advisoryand refuses--recheck, because in the replay a diff-only re-check caught none of 8 real faults that full rounds had caught (docs/evals/pr-round-count-results.md). A run that stops before its receipt still counts (gstack-ship-receipt stub), and the lane or Captain can buy one more round withgstack-approvals round-grant --kind extra-round; gstack cannot grant itself one. See docs/review-policy.md#rounds-per-pull-request./ship's documentation audit no longer accepts a passing result when an earlier line from the same audit said "blocked". A blocked result line followed by an unfenced "current" JSON line for the same audit as the very last line was accepted as current, and a last "current" line whose only fault was its format could be repaired back to current. Now a last line that drops an earlier blocked status or blocker is never accepted. It gets the free one-way re-ask, whose reply must stay blocked and keep those blockers. This corrects the previous entry's claim. A later JSON line, fenced or not, and a re-ask reply can no longer turn a blocked audit into a passing one. A blocker written only in prose after a passing line still depends on the re-ask counting it, which the parser can't check (GST-2349).
/ship's documentation audit no longer spends an attempt when the audit child writes text after its result. Step 14.5 reads the child's last nonempty line. A child that ended with its JSON result and then restated the section in prose (founderstar #837 and harness-evals #393, both "docs current, no edits") had its result treated as unreadable content, which skipped the free format re-ask. Each rejection spent one of the two attempts, and after both, /ship stopped for an owner risk grant. Text after a JSON line that carries the audit id is now a format slip, provided every such line is free of content problems:
FORMAT_REPAIR:re-asks once for the whole result line without spending an attempt. The re-ask only works one way. If any such line said blocked or listed a blocker, the reply must stay blocked and keep those blockers, so a later correction or a fenced "current" example can never turn a blocked audit into a passing one. A content problem on such a line (a missing status, "current" with edits) still spends an attempt. The re-ask and the retry note now tell the child to put the section inside the JSON as a string and write nothing after the line (GST-2349).The README lists the two new guides, and the install doc counts its hooks right. The README's docs table links the guides for landing a fix in someone else's repository and for running a human playtest.
docs/install.mdno longer says setup registers "up to three hook families" before naming a fourth, and it now mentions the two hooks that stay off until you turn them on, skill routing and skill contracts. The manual uninstall steps indocs/uninstall.mdnow name those two hooks too.docs/releases.md now says the stable release cut treats a failed commit status as red and a pending one as still going, as it has since #4257. The docs' definition of a green commit only mentioned check runs.
/ship's
finish --docs-requestednow accepts a docs fix when the audit named the file with a line number. An audit that wrotechangelog.d/engine-parity-decisions.md:8: wordingor...md:8:12 wordingin its blockers or decisions was refused with "is not named in the audit result's blockers or decisions", even though...md: line 8worked. The path may now be followed by:<line>or:<line>:<column>. A different file whose name starts with the same path still doesn't match.Document the
.gstack/approval-classes.jsonschema,gstack-approval-classesCLI commands, and owner approval citation format indocs/ship-policy.md#approval-classes./eval-plannow runs four result checks instead of leaving them to judgment.prereg --checkrequires a## Decisionssection (what each possible result changes, at least two different actions) and a## Scoringsection (a judge from another model family than every arm, checked against at least 40 hand labels at kappa 0.6 or better, and paired results with a 95% interval and the smallest detectable difference stated before the run). The newjudge --check --labelsscores the judge against hand labels, andresults --checkholds back a judged result without passing labels, a zero from a counter never shown to find a planted case, and a failures column with no answer-only column beside it. Preregistrations frozen before 2026-11-15 keep their rules.The /review coverage-audit eval no longer fails a run that really read the source file when zsh stops a command line at an
echo ====separator. zsh treats an unquoted word that starts with=as a command lookup, socat -n src/billing.ts; echo ====; cat -n test/billing.test.tsprints the source, then(eval):1: === not found, and runs nothing after it. The read check now credits the files printed before that error when the error is the last line of the output and everything before it matches the usual read rules; files after the separator still count only when they are read again (gate census 43575953190).
Sixteen in-repo documentation links reach their section again. docs/skills.md linked 12 skills to #anchors with no section (13 links); those rows now open each skill's own SKILL.md. docs/review-policy.md's three links to #targeted-only-read-after-the-loop lost their target when the heading gained (GST-1598); the heading now carries that anchor. Contributed by @Davmunrey.
/autoplan's approval page closes three gaps left by the last change. When both reviewers challenge the plan and one calls it a build-order change while the other calls it a scope change, the page now treats it as a scope change, so taking it sends the plan back for review instead of settling it without one. A plan with no Owner's words section now gets the "confirm the direction is yours" question when both reviewers challenge it and the page recommends keeping the plan, as it already did for a challenge from one reviewer. And a quote is checked only against this repository's approvals record, so another repository's record for a branch with the same name can no longer verify it.
gstack agents now open every status report with what failed, what they didn't verify and what else they changed. The shared closing rule used to ask for "a few short lines". Now a report stays under 250 words and opens with three lines,
Failed or skipped:,Unverified:andAlso changed:, each naming every item or saying none. Lists longer than 10 get the top 10 and a count of the rest. Capy crews follow the same shape (factory.md point 10, the lane report and READY templates). On a 40-task dev split with Claude Opus 5.5, this wording raised the share of key facts disclosed in a report's first 250 words from 0.442 to 0.520 against the old closer, and in Capy lane reports from 0.552 to 0.604. Those are dev numbers, and the sealed held-out read is still to come (GST-1455).Two new short guides.
docs/howto-land-a-fix-in-someone-elses-repo.mdcovers reading the other project's rules, searching for the same fix first, running every guard their CI runs before you open, keeping the change small, and answering each review point in a new commit with the proof rerun.docs/howto-run-human-playtests.mdcovers asking about moments and where people would stop, and why a back-to-back pick between two builds measures the order they were played in, not the builds.A skill you wrote whose contract still lists
check_after_last_editkeeps the rest of its contract. This corrects the entry in this release that says such a contract is now invalid and none of its items are checked. The optional Stop hook now skips only that item and keeps checking the skill's other items. Until you delete the item, the hook prints aSKILL_CONTRACT_SKIPPEDline naming the file and the item. A contract whose only items use the removed kind is still invalid, so the hook checks nothing for that skill.The ship policy guide now explains how to merge any pull request with
gstack-ship-queue land, even in a repository with one maintainer. It names the two policy keys land needs before it will run, lists what land already checks, gives a pinnedgh pr mergefallback for repositories that can't use land yet, and covers four common traps. CONTRIBUTING.md links to it./ship's test step runs a large unit suite on Linux. A lane with thousands of unit files used to stop with
PREGATE: incompleteandE2BIG: argument list too longbefore any test ran, because every file went into one command argument and Linux caps a single argument at 128 KiB. gstack now splits a big file list into runner processes of about 96 KB each, run one after another and counted as one run, so the result is the same as before: any failing chunk fails the lane. AnE2BIGlaunch failure is now reported as its own cause (arg-limit) instead of telling you to install a missing tool. (#4424)Every skill that loads the shared preamble, on every host, now says never to print a whole environment, git config or process table. The rule used to load only in the Capy wrapper, and its list missed
git config --list, which can print a proxy's login header, process or container listings that show arguments or environment (ps aux,ps -ef,ps -o args,docker top ... args,docker inspect), where run tokens ride, andset -xor anexport $(...)that expands to a bareexport. A new Ground Rules section in the shared preamble lists these commands and the safe forms, which are to read one value by name (git config --get <name>), check a variable is set without printing it, and list processes by name or pid. It also says to wait on CI with onegstack-pr-waitcall instead of a poll loop orgh pr checks --watch, which spends the shared GitHub GraphQL quota. The section is pinned, so no model loadout drops it.Pull requests from /ship now open with at most three plain lines, and every merge lands as one commit titled with the PR title. /ship writes
##sections andgstack-postfolds each into a collapsed section when it posts, so a reader sees what changed, why, and what they have to do, with the rest one click away and the Agent notes section last.gstack-post fold --body-file Fshows the folded body without posting it. In a repository with.gstack/plain-titles.json,gstack-postand the Plain title check refuse a body that shows more than three lines (or 600 characters) before its first fold, or uses a listed in-house word above the Agent notes section (PLAIN_BODY_REFUSED); gstack now ships a default word list (outside voice, pregate, receipt, carry, stamp, train, lane, soak and more), which a policy extends or replaces withreplace_default_terms, andbody_sincekeeps PRs opened before that date to warnings. Everygstack-ship-queue landform now passes the subject<title> (#n)and a body of the PR's opening lines plus the branch'sCo-authored-by:and other trailers, so GitHub no longer writes its commit list;--dry-runprints it and--body-filereplaces the opening. Release PRs list one plain line per change with its PR. Two new policy settings:history: no-rewrite(squash landings, never a rebased or force-pushed branch) andland.merge_commit_paths(keep a merge commit for PRs that change those paths, such as eval results). See docs/writing-prs.md.gstack-pr-wait,gstack-ci-gateand the release cut no longer call a commit green while a check on it failed. They read CI from GitHub's rollup or its default check-runs list, which hold only each check suite's latest attempt, so when a rerun attempt created no jobs the failed run before it disappeared, and a workflow run that failed before creating any job never appeared at all. That is the false green the merge queue had on gstack-evals#303 (#4235). All three now also read CI at the commit through the merge queue's own helper, which reads every attempt and every workflow run, and keep the worse answer per check. Sogstack-pr-wait --until greenblocks withcheck failed: checksandcheck failed: sealed (run <id>, no jobs), the land gate saysVERDICT FAIL, and the release cut skips the commit. The release cut now also counts a failed commit status as red, as the merge queue does. A rerun that passed still reads green, and an unreadable read is an error, never a pass (GST-2252).gstack-runawaynow says what a thread's cold and empty wakes cost, not just how many there were (GST-2770). Each wake it reads is marked cold when it started more than 5 minutes after the thread's last activity, so the prompt cache had lapsed, and is priced in warm model calls, with a cold call at 19.4 (measured on Opus 5.5: $2.42 against $0.125 per million counted tokens; a call after a tool that ran past 5 minutes is cold too). The RUNAWAY line addswakes,cold_wakes,empty_wakes,cold_extra_spendandempty_spend, the empty-wake warning gives the empty wakes' share of spend, andscan --wakesprints one WAKE line per wake. A message sent to another thread now counts as action even when its state is "working", and more than 5 minutes idle inside a turn (not counting a tool's own run time) starts a new wake. On four coordinating threads over 4.7 days the meter's cold and empty shares came within 1.3 points of a hand count; before this, sends were counted as empty and the empty share read 4 to 12 points high. /runaway-stopper's fetch program now keeps each message's target and each call's run time.The optional Stop hook no longer checks for a test run after the last edit, and /verify asks for it in plain words instead. With /verify loaded, Opus 5.5 and GPT-6.1 Sol already ran a test after their last edit in 96% and 89% of runs, and the hook's check added between -0.5 and +2 points, inside the noise on both models. The hook's other checks (report labels, specialist dispatches, the adversarial pass) are unchanged. If you wrote your own skill whose contract lists
check_after_last_edit, that contract is now invalid. The hook then checks none of that skill's items and prints one line naming the file until you delete the item. /verify now says to run the full check after your last edit. It also no longer says it never edits CHANGELOG, because a changelog entry the repo expects with a change is part of the change; /ship still folds branch entries into the release entry./ship's test step says when it ran out of time, and you can set its budget.
gstack-ship-preflightused to stop gstack-pregate after a fixed hour and printPREGATE: unreadable (exit 143), which hid the cause. The whole step's budget is now--step-timeout <s>(default 3600 s), and a stop at that limit printsPREGATE: time limit hitwith the way out: push and let CI's full run carry the tests, or give the step a larger budget.The remote test command no longer puts every file on one command line. On a small machine with a remote
test_backend, the command pregate prints for gstack's Ubicloud runner used to carry every selected test file in one argument, which Linux refuses past 128 KiB (E2BIG). The files now go to the VM in a setup script, so the command stays short however many files are selected. docs/troubleshooting.md has a newarg-limitentry for this kind of failure.The stable release no longer waits on the nightly Windows tests (GST-2815). The nightly Windows free suite never blocks a pull request, but the daily stable cut still treated its red or unfinished results as a reason to skip a commit, so stable stopped moving while one Windows shard kept timing out. The cut now sets that workflow's check runs aside, matched by workflow file, the same way it ignores its own job. Every other check, the required
free-testscheck and the release-gate evidence still block exactly as before.Ubicloud fan-outs can no longer overshoot the vCPU limit, and owners no longer delete each other's VMs.
ubi-runner.sh upnow reads the project's vCPU usage and books its new VM under one lock per machine, so shards started together see each other's bookings instead of all passing on the same reading. A newubi-runner.sh room [-s SIZE]command prints how many more VMs fit now, so a fan-out can size each batch to the room left. When usage can't be read andUBI_QUOTA_VCPUSis set, the create is refused (UBI_QUOTA_UNREADABLE) instead of going ahead. VM names now carry the whole owner id (up to 31 characters; longer is refused withUBI_OWNER_TOO_LONG) instead of its first 12, so two owners sharing a prefix no longer reap each other's expired VMs (#3748); a VM an older runner copy named under the old cut form is still reaped by the long owner on the machine whose VM record lists it, andrecoveraccepts the longer owner ids. Merge checks and canaries set noUBI_QUOTA_VCPUSand behave as before.
hono is pinned to 4.13.16, which fixes five advisories the weekly OSV scan found in 4.13.13 (gstack#4406). The 2026-11-16 scan (run 43825448246) flagged GHSA-3gg2-335m-rxc6 (CVSS 3.4, the css helper) and GHSA-46wx-v44x-9hh2, GHSA-4h7h-rv7c-7m2v, GHSA-4m76-xfj5-7975 and GHSA-h7mg-cq63-vhpq (CVSS 5.3 each: csrf(), validator('form'), mount() and RegExpRouter wildcard middleware). hono reaches gstack only through the dev and test toolchain (@anthropic-ai/claude-agent-sdk pulls in @modelcontextprotocol/sdk), gstack's own code never imports it or starts a hono server, and none of the affected helpers is used, so no advisory was reachable. Contributor checkouts get the patched version on their next bun install.
package.jsonoverrides:honomoves from 4.13.13 to 4.13.16, the release that fixes all five.bun.lockholds the one copy.test/dependency-security.test.ts: the lockfile floor check now covershono >= 4.13.16. It fails on main.The nightly Windows test run finishes again. Since 2026-11-06 one of its six shards ran past the 15-minute job limit almost every night, because 95 newer test files had no recorded Windows duration and the planner packed them blind, so one shard got 26 minutes of work while another got 12. The Windows durations are refreshed to a recording that covers all 902 files, and the run now uses eight shards of about 12 minutes each, so the suite fits with room to grow. No test was dropped and the time limit is unchanged.
A short write-up checklist in ETHOS.md. Explain the Number now ends with three checks before a post or write-up goes out: its words match the page it links, every number, "green" and "ready" names its source and is read at the current head, and a fresh model reads it cold once. The READY template in
captain/templates/READY.mdpoints to the second check. Anything carried over from an earlier head goes underUnverified:until it is re-read.
[1.99.5.0] - 2026-11-15
CONTRIBUTING.md now says plainly how outside reports and PRs land. It explains that AI agents working for the maintainer triage, rebuild and land outside patches with the author credited, which is why commits read as the maintainer's. It lists the three paths a PR can take (a docs-only PR for people can merge as it is after its links, commands and install steps are checked; a plainly correct fix of about 40 lines is taken even when small; everything else is rebuilt on main when it has proof, a real consequence and matters to most users), the 48-hour first-reply goal, and the narrowed open-PR limit, which never applies to anyone with a PR taken in the last 90 days. The stale wave process, which merged outside PRs on a collector branch, is gone.
crew/docs/captain.md, the Captain's CREW template and/captainmatch.gstack-redactnow says that input over 16 MiB is always refused:--helpand bothtoo largeerrors name the limit, say--max-bytescan't raise it, and suggest splitting the input. Reported by @exGeni (#4351), first fixed by @ElNeMeR70 (#4352)./plan-eng-reviewis back as its own command (GST-2726). Many people ran it on its own, and cutting it in GST-1698 took that away../setupinstalls/plan-eng-reviewagain on every host that had it before: Claude Code, Codex and the other external hosts, and OpenClaw's default skill list. If an earlier upgrade removed it, your next./setupor upgrade puts it back. The router sends "review the architecture" and "engineering review" requests to it again, and the office-hours handoff, the CEO, design and devex review chaining,/ship's review dashboard and its over-200-lines hint name it again./autoplanis unchanged: its eng phase still reads the same methodology, which external hosts still ship besidegstack-autoplan/SKILL.mdasplan-eng-review.md, so/autoplankeeps working if you disable the standalone command. Its description no longer claims architecture-review requests, so those route to/plan-eng-review.
[1.99.4.0] - 2026-11-14
/healthand every check that picks gbrain's health probe now look for gbrain's config underGBRAIN_HOME, and gstack trimsGBRAIN_HOMEexactly as gbrain does. The health selection inlib/checks.tsread only~/.gbrain/config.json, so on a machine whereGBRAIN_HOMEnames the brain (gbrain's usual unattended setup) it judged a different brain's config: it could skip the gbrain check for the brain gbrain actually uses, or run it because of an unrelated~/.gbrain. It now uses the same rule as gbrain's ownconfigDir():GBRAIN_HOMEtrimmed with JavaScripttrim(), with.gbrainappended, else~/.gbrain; aGBRAIN_HOMEgbrain would refuse (relative, or with a..segment) selects nothing instead of falling back to~/.gbrain. gstack's TypeScript gbrain helpers (gbrainConfigDir(), which seeds gbrain's database URL for every gbrain call gstack makes) now trim and refuse the same way, and the shell helperbin/gstack-gbrain-home.shnow treats aGBRAIN_HOMEmade only of Unicode spaces such as a no-break space or a byte-order mark as blank, as gbrain does, instead of refusing it. Nothing changes whenGBRAIN_HOMEis unset.The gbrain source wireup and skill start now find gbrain's config under
GBRAIN_HOME, so the wireup no longer writes to the wrong brain. Both helpers read only~/.gbrain/config.json(#4325). On a machine with two brains, whereGBRAIN_HOMEnames one and~/.gbrainholds another, a wireup run with no database URL in its environment (the/setup-gbrainpath,gstack-brain-restore, the daily advance) locked the~/.gbrainbrain'sdatabase_urland sentsources addandsyncthere, and skill start never printed its/sync-gbrainhint when the only config was underGBRAIN_HOME. Both now resolve the path the way gbrain does, through one shared helper (bin/gstack-gbrain-home.sh):GBRAIN_HOMEtrimmed, with.gbrainappended, else~/.gbrain; aGBRAIN_HOMEgbrain would refuse (relative, or with a..segment) locks nothing instead of falling back to~/.gbrain. To learn whether an earlier run could have hit the wrong brain, rungstack-gbrain-source-wireup --check-targetwith the same environment your wrapper sets. It printsTARGET: MATCHorTARGET: MISMATCH, reads the two configs only, and never prints a database URL.When OpenAI refuses /ship's outside voice under its cyber-security policy, Capy's /ship now retries it instead of losing the second read. A refusal that says
cyber_policyis its own outcome now (cyber_policy_refused, docs/troubleshooting.md#outside-review-cyber-policy) instead of a generic failure. On Capy, the review pass sends the brief once more to GPT-6 Astra reworded as a read-only correctness review (no attacker role-play, no exploit code or reproductions, each defect as file:line, the wrong-answer condition and the smallest fix), and if Astra refuses too, once to Gemini 4 Carbon with the brief unchanged. If every attempt is refused, the Step 11 record says the second-family read is missing, the native review still runs, and the PR body lists the gap as missing coverage, not a pass. The first brief every outside voice gets is unchanged, other failures (auth, timeout, empty replies) are handled as before, and nothing else retries. The Codex CLI and api runners report the new reason but do not retry by themselves./ship's second-model review can be rendered on its own for a PR whose diff is over 2 MB again. Since the cyber_policy retry change (#4350), the 2 MB review-size ceiling exempts the outside voice by its role, but
gstack-review-dispatch renderbuilt its reader without one, sorender --role outside-voiceon a large PR stopped atREVIEW_DIFF_TOO_LARGEinstead of writing its brief with a sliced diff. The standalone render now passes the role it was asked for. The ceiling's size, which readers it exempts and the pass manifest's own stages are unchanged, and every other reader on the standalone path is still refused over the ceiling./ship's test lane now runs test files under hidden folders such as
.github/scripts/instead of failing on them. The lane passed each selected test tobun testas a bare relative path. Bun 1.4 reads a bare path as a name filter, and that search skips hidden folders, sobun test .github/scripts/x.test.mjsfound nothing, exited 1, and the pregate reportedPREGATE_LANE_FAILEDon a green test. That blocked /ship on any gbrain PR touching.github/scripts/. Every relative path now reachesbun testas an explicit path (./added unless it already starts with./,../or/): the local lane, the small-machine remote gate command, the docs-only reader tests and /ship's base-red check all share one helper with the CI carry's per-file command, which already did this. A failing test in a hidden folder still fails the lane.A data file with a config-style name, such as a results
manifest.json, now leaves /ship's review diff when the base branch'sreview_exclude_pathsnames it by file name. Files named like tool config (manifest.json,package.json,tsconfig*.json, files underconfig/, dotfiles) were always kept in review as config, even under a pattern written for them, so a large eval results PR whose base policy listeddocs/benchmarks/*/results*/**/manifest.jsonstill handed every reader its 1.42 MB manifest and stopped atREVIEW_DIFF_TOO_LARGE. The kept manifest also counted as code that names files, so every receipt it listed by full path stayed in review asnamed-by-code. Now a matched JSON, CSV, TSV or image file is treated as data when the pattern that matches it ends in its exact file name with no glob character. Such a file is excluded, and its list no longer keeps other files. A config file under a broader pattern (data/**,**/*.json) is still kept asconfig, config files no pattern matches are unchanged, and every other keep rule (gate paths, executables, secret lines, gate tags,.gstack/and.github/) still applies first. The policy is still read only from the base branch./ship's reviewers now state how many findings block in one machine-readable line, and gstack checks that count instead of guessing from their prose. Every blocking reader's brief asks for
REVIEW_VERDICT: blocking=<n>(with optionalat=<path>:<line>locations). When the count is higher than the findings gstack parsed, collect adds a CRITICAL row for each missing blocker, so a blocker written in a form the parser misses can no longer vanish. When it is lower, nothing is lowered automatically. Rows that block only because a sentence used the word CRITICAL or P0, or because the native adversarial voice wrote FIXABLE in plain prose (FOUN-298's 'all FIXABLE, nothing blocks'), become summary candidates the lead may lower with a written reason. A missing or malformed line changes nothing. Ledgers written before this change replay exactly as before. See docs/review-policy.md#verdict-line.
[1.99.3.0] - 2026-11-13
/ship's documentation audit no longer refuses Next.js and SvelteKit route files. When the Step 14.5 docs audit listed a reviewed or updated file whose path has square brackets, such as
app/api/items/[id]/route.ts,[...slug]or[[...opt]], the result check read the brackets as a glob, refused the result withDOCS_RESULT_INVALIDon both attempts, and stopped an unattended /ship at Blocked recovery even though the audit found nothing wrong (#4313). A listed path that holds*,?,[or]now counts as a file when that exact file exists from the repository root, so file-routed projects ship normally. A pattern such asdocs/*.mdordocs/[ab].md, or a bracketed path that names no file, is still refused as a glob.The transcript-scope brain-sync tests no longer time out on a bare local
bun test(2026-11-12 daily flaky pass, GST-2555). Each of the file's four cases spawnsgstack-brain-sync,gstack-configand git several times, and the two push-retry cases take 3.4 to 5.6 seconds on a 4-core machine with nothing else running. Under bun's 5-second default they timed out in 3 of 8 runs there, while CI and the pregate runner already allow 30 seconds per test. The file now sets that same 30-second default, so a local focused run agrees with CI (12 of 12 cases passed in three bare runs). No assertion, threshold, trial count or retry changed.A change that only edits tests now gets one reviewer in /ship. A pull request whose diff touched only test files (for example, a test switched to a scripted clock) made
gstack-review-planprint a plan with zero readers, so the only review was the author's own core checklist read, and /ship carried on as if the change had been reviewed. Review policy (R51) gives tests one reviewer and one round. Now a tests-only diff plans one batched reader on the Testing checklist (DISPATCH: specialist batched effort=medium checklists=testing), which leaves any docs in the diff out of what it reads, and a clean pass or below-floor fixes still end the loop after that one round. A change that only touches registered generated outputs gets one batched reader on the code checklists too. A docs-only diff still plans no reader, and the plans for code, gate-class and security changes are unchanged.
[1.99.2.0] - 2026-11-12
Browser skills and question preferences work again from Codex, Cursor and the other non-Claude hosts' gstack folders. Setup gives each of those hosts its own gstack folder (
~/.codex/skills/gstackand the like) with nopackage.jsonornode_modules, and records the gstack checkout it came from in.source-path.gstack-browser-ensure, which every browser skill runs first, looked for Playwright only in that folder, so it reportedBROWSER_UNAVAILABLE playwright is not installedeven when the checkout had it. It now uses the checkout's dependencies, but only when the folder has nopackage.jsonof its own and.source-pathis a regular file naming an absolute path whose real directory holds gstack's ownpackage.jsonandbin/gstack-browser-ensure, neither one a link. An empty, stale, relative or linked pointer, or a directory that isn't gstack, is ignored as before, and--checkstill never writes. Setup also now putsscripts/one-way-doors.tsandscripts/psychographic-signals.tsin those folders. The question-preference helper loads them at run time, so its--checkand--signal-keysstopped withCannot find module './scripts/one-way-doors.ts'. Thanks to @SatriaSuriaAriffin, who found and reported both (#4290).A repo can keep its tier-only test trees out of /ship's local lane. A pull request touching tests that only run under a separate tier (alphaclaw's
tests/live/**andtests/container/**, which its test runner skips unless a tier flag is set) made the pregate pick those tests, and the files that import their helpers, and run them locally; the runner found no test files, the lane failed, and /ship wrote no receipt. Declaring[]for such a glob in.gstack/pregate.jsonused to do nothing for test files, because a test always selects itself. Now a[]on a folder inside a test directory (tests/live/**; the directory istest/,tests/,spec/or__tests__/) keeps the selected tests under it out of the local lane, and pregate prints onedeclared test treeline per glob with the count it left out, recorded with the rest of the lanes result. Nothing changes without such a declaration. Tests outside the glob still run, a[]on any other glob, the wholetest/**included, never skips a test, and as before a new[]counts only once it is on the base branch (or in your own user policy), never from a branch's bootstrap policy. With one, a test.gstack/always-run.jsonnames still runs, and whenever the remote gate, the test backend or a platform lane is owed, it still covers every selected test, because only the local run leaves them out.An unattended /ship can now finish a PR that carries an owner-approved gate change, and the lander has to accept each one before it merges. When the review finds a loosened gate (a test threshold raised, a check skipped), an unattended run logs it as an open gate finding, because nobody is there to answer the gate question, and until now nothing could close it, so the run stopped for good. That blocked founderstar#906, whose gate change Garry had approved. The owner's answer can now be recorded from outside the run with
gstack-approvals gate --finding <fingerprint> --gate-id <gate_id> --head <stop head> --reason '<the gate change>' --words '<the owner's exact words>' --by '<who recorded>'. It closes only that finding, only on a review whose range holds that head, and the review reader then shows it as kept so the rest of /ship carries on. It is refused while a /ship run is open on that branch in any worktree, without the owner's words, for a literalundefinedgate id, or when--bynames gstack. A row that is missing a field the writer writes, or was edited after it was written, is ignored. The lane runs as the same user, so it could still write a row that looks right. That's why the lander decides:gstack-ship-queue land --pinworks the dispositions out again from the approval store at the pin, prints each one, and merges only with--accept-gate-disposition <approval id>for every one. It also refuses when the receipt or the PR body leaves one out or invents one.gstack-ship-queue verify --pr <n> --pin <sha>runs the same check without merging, for a lander that merges another way, andgstack-ship-receipt writeno longer skips the disclosure check when--bodyis left off. Gate findings are logged exactly as before, and a ruling or anything the lane writes on its own review row still closes nothing. A disposition recorded at a commit that a later rewrite removed from the clone just stops applying instead of blocking the branch, and a shallow landing clone is told to deepen itself.The sealed-output guard now reads pull requests of any size. The pre-push hook and
gstack-pregate sealedread every published commit's patch throughgit diff-tree, and held all of git's output in memory under a 256 MiB limit. A pull request with about 4 million lines of generated fixtures produced 352 MB for the text check and 515 MB for the already-landed check, so the guard always refused it withSEALED_OUTPUT_REFUSEDand an emptygit diff-tree -p failed:. Both reads now write git's output to a private temporary file and check it one line at a time, so memory stays flat whatever the patch size. Findings, skipped commits and refusal codes are unchanged, and a test runs the old and new code on the same commits and gets the same answer. A git failure still refuses, and the message now names the exit code, the signal or the timeout, for examplegit diff-tree -p failed (exit 128): fatal: ...or(killed by SIGKILL). The temporary file needs free disk space about the size of the patch. docs/troubleshooting.md#sealed-output-refused.The stable release no longer blocks itself on its own check run. The daily cut runs on main's newest commit, so its own "Cut the release" job showed up as a check run on the very commit it might release. While the cut ran, that commit looked unfinished and was skipped; when a cut failed, its red check run kept that commit out of every later cut. On 2026-11-11 this held v1.99.1.0 back after the release gate had passed it. The cut now sets aside check runs that belong to its own workflow (
.github/workflows/weekly-release.yml, matched through the GitHub Actions run that produced them, not by job name) and judges every other check run exactly as before: a red or running check from any other workflow, a missing or runningfree-tests, a missing gate, a RED release record and a freeze still refuse. The workflow now also needsactions: readto look up its own runs; if that lookup fails, nothing is set aside and the cut behaves as it did before.
[1.99.1.0] - 2026-11-11
/ship now accepts a granted follow-up review that starts after a docs-only commit. When the docs commit /ship writes after its review landed before the owner granted one more scoped review of a fix, that review's range started at the docs commit, and
gstack-ship-release finishrefused it withFIX_CHECK: not counted (range_base <sha> does not hold the reviewed tree), so the reviewed fix counted as unreviewed code. finish now accepts the range when every commit between the reviewed commit and the range start changes only docs or release metadata, and prints aFIX_CHECK_DOCS_BRIDGE:line naming those commits. The docs still get their usual recheck. A code or test commit in between, a merge, a range that starts before the reviewed commit, and a range that starts on another branch still refuse.Brain sync now scans binary files and catches an auth value added under an existing key. Git shows a file with a NUL byte (or UTF-16 text) as "Binary files differ" instead of its contents, so the push-time secret scan never saw it and an AWS key inside such a note was pushed. The scan now diffs every file as text and also reads lines and edited blocks that hold NUL bytes as UTF-16 and with the NULs removed; if git still reports a file as binary instead of showing its bytes, the file is held as
binary-not-scanned. A Bearer value added on the line under an unchanged"authorization":key also slipped through, because the diff's+marker broke the match; each edited block is now also scanned as the new file text, in UTF-16 files too, and a second reading of the diff always shows three unchanged lines around each edit so adiff.contextsetting of 0 cannot hide the key. The diff git normally shows, with yourdiff.contextand any textconv driver, is still scanned too, so nothing the old scan held is lost. The pre-commit hook thatgstack-artifacts-initandgstack-brain-restoreinstall gets the same fix; rerungstack-artifacts-init(orgstack-brain-restoreon a machine you restored) to refresh it. docs/gbrain-sync.md now says plainly that a secret already committed in~/.gstackstays held after you delete it, and only--skip-fileclears it.A secret split across two lines of UTF-16 text is now caught, and deleting a large binary no longer blocks a push. The secret check and the pre-push hook read a file git calls binary three ways (as bytes and as little- and big-endian UTF-16), but they kept all three readings on one line. So in a UTF-16 file, an AWS secret key on the line under its
aws_secret_access_key:key passed both guards, because the keyword line ended with another reading. Each reading is now scanned as its own text with the file's line numbers, so that pair fails in UTF-16LE and UTF-16BE as it does in plain text. The pre-push hook also leaves deleted files out of the diff it scans (--irreversible-delete). A delete cannot add a secret, and the old bytes of a deleted 70 MiB binary used to fill the hook's 64 MiB buffer and block the push withgit diff failed (status=killed/overflow). Adding a binary that large still blocks, and a replaced binary's old bytes still count toward the limit.The free test suite is green on main again. Two
gstack-ship-queue readytests still wrote a pre-merge check record with a single check, whichreadyhas refused since the pre-merge check started requiring every registered check (GST-2194). Their fixtures now record every check, so the tests exercise what they were written for. No product behavior changed (GST-2282).Under a merge-train policy,
gstack-ship-queue readyno longer reports READY when its note never reached origin.land --pinreads the READY note from origin'srefs/notes/gstack-trains, butreadyexited 0 even when it couldn't push that note, so a lane sent READY and the land was refused withQUEUE_NOT_READY(#4245 lost a land round this way). After pushing,readynow fetches origin's notes ref back and printsnotes pushedonly when origin holds the note. If three tries fail, or the push exits 0 and origin still lacks the note, it refuses withQUEUE_READY_NOTE_UNPUSHEDand keeps the local receipt, so rerunning the samereadycommand once the push works records it (GST-2242).The CI carry now accepts a run where only an unrelated job was rerun. Rerunning one job of a green run (a flaky
public-export, say) made GitHub number the run's newest attempt 2 while the checks job, which wasn't rerun, still carried its attempt-1tree.json, soacceptrefused withartifact_mismatch; rerunning the checks job too left two same-named artifacts and refused withartifact_missing. Run verification now works out which attempt each profile job actually ran in (GitHub relists a job it didn't rerun with its old start and finish times) and checkstree.jsonagainst that attempt, and with one artifact per attempt it reads the one from the uploading job's newest attempt. Every other field (head, merge commit, tree, event, job conclusion) is still compared exactly, and an older attempt's artifact is never read in place of the newest. The 24-hour freshness check now dates a run by its own test jobs, so rerunning an unrelated job never makes days-old results look fresh. When the pregate's skipped-tests command fails because the checkout has no installed dependencies, the refusal now says so (GST-2284, harness-evals HARN-56).The QM edition no longer includes
gstack-review. QM's default gstack skills are now justgstack-plan. A benchmark of the edition inside QM found thatgstack-reviewflagged too many problems without making the reviewed work any better, so it was cut. To update a QM deployment, delete itssandbox/skills/gstack-review/folder and runqm up. gstack's own/reviewskill is unchanged.Brain sync now catches secrets hidden behind JSON escapes, and its pre-commit hook checks every family the sync does. A hand-written learnings or timeline row could slip a Stripe key past the push-time scan by writing it with
\uescapes, or slip an auth header past it inside an escaped JSON string. The scan now decodes each added line's JSON strings and scans them as well as the raw diff, so both are held. The pre-commit hook thatgstack-artifacts-initandgstack-brain-restoreinstall, which catches a manualgit commitin~/.gstack, checked only the original six families; it now runs the same scanner as brain sync (bin/gstack-brain-secret-scan.py), so it also refuses Stripe live keys, Slack and npm tokens and database URLs with a password. Rerungstack-artifacts-initto refresh a hook written by an older gstack.Six test and eval checks that misread correct work, or raced their own fixtures, now read it right (2026-11-10 daily flaky pass, GST-2338). ship-docsync-store's fixture interface now declares the
gstack-docs-candidate attempt <child output> --state <private .json>call that /ship's documentation step has asked for since #4192, so a model that follows the step is no longer stopped by the fixture (census 42748129558). tpa-absent-darwin no longer counts a gstack-browser option as an Aside drive just because it says Aside isn't available. tpa-present's defer check counts a "the step stays blocked on you" status line only when the option puts the step off ("later", "not yet", "not now"), so a status line after another instruction no longer passes as a defer offer. scrape-prototype-path also credits$B goto <fixture URL> >/dev/null && $B htmlwhen the call proves the goto exited 0. Two free tests stop racing themselves: the CSO lease contender publishes its result file by rename, so the test never reads it empty, and the registry-socket deadline test sets a deadline that expires after the watchdog's startup handshake instead of inside it. No threshold, trial count, case kind or retry changed.The doctor floor-row test no longer fails every release that adds no policy key (GST-2441). test/policy-floor-stable.test.ts now expects a lagging checkout to read policies as the newest policy key gstack knows, computed from the same key table validatePolicy reads, instead of the repo's own VERSION. Before this, any release stamp past the newest key (v1.99.1.0 in #4291) turned free-tests red. Test-only change; no product code moved.
/review and /ship start again on Windows under Codex, Cursor and the other non-Claude hosts. On Windows, setup copies gstack's
bin/andlib/into each host's runtime folder instead of linking them, and it left out threescripts/files those commands import. The review planner that /review and /ship run first stopped withCannot find module '../scripts/resolvers/fix-check', and the commands behind /retro and /write-skill had the same gap. Setup now copiesscripts/resolvers/fix-check.ts,scripts/discover-skills.tsandscripts/lib/ci-history.tstoo, and a test follows the static imports of the commands each host's skills run, so a new static import outside the runtime folder fails CI. Thanks to @SatriaSuriaAriffin, who found and reported the fix-check gap (#4275).An owner's ruling now clears the new blockers a granted fix-check found, so /ship can finish with them listed as open notes. When a granted fix-check finds a new CRITICAL, it logs the finding
openand stops for the owner. The owner can rule it a disclosed note withgstack-approvals rule, butgstack-ship-release finishrejected the fix-check as unfinished before it looked at any ruling. It also ignored rulings onopenfindings, so the stop could only end with another fix-check (harness-evals#361, GST-2251). Now, once an approved ruling covers every finding that still holds it open, the fix-check counts at the tree it read, and each ruling is printed and listed in the PR body and receipt. A fix-check with a finding still unruled printsFIX_CHECK_OPEN:, which names every finding that still holds it open, including below-floor ones, and the fullgstack-approvals rulecommand to run. A finding the lane only marks as accepted in its own review-log row still stays open, and so does a ruling at a head outside the fix-check's range. Edits made after the fix-check still route as post-review changes.gstack-pregate verifyno longer passes a record from a partial run. A--only <check>or--stage preflight|testsrun used to replace.gstack/tmp/pregate.jsonwith only the checks it ran, andverify(so alsogstack-ship-queue readyandgstack-ship-receipt write) accepted it as a full pass. So following pregate's own "rerun--stage tests" hint after a red full run could clear a secrets failure while the token was still in HEAD, and--only straysalone verified as green. Nowverifyrefuses withPREGATE_INCOMPLETEunless the record holds every registered check, and it names what is missing. The PREGATE line printschecks=N of M. A staged or--onlyrerun at the same head, tree, base and policy keeps the checks it skipped from the record it replaces (it printsPREGATE_MERGED: kept …), so rerunning one stage keeps an earlier failure and an earlier pass. Any other partial run needs a fullgstack-pregate --allow-repo-commandsat that tree (GST-2194).gstack-ship-queue readyno longer refuses a good receipt because the lane's copy of the base was old.readyreadorigin/<base>as the clone last fetched it, so a lane a few landings behind measured the PR from an older merge base, counted files from PRs that had already landed, and refused with a falseRECEIPT_INVALID field=review_exclude(gbrain #8991).readynow fetches the base before it reads the policy or checks any receipt field, and refuses with the newQUEUE_BASE_UNFETCHEDwhen the fetch fails; the stamp path oflandrefuses the same way instead of carrying on with the old ref. The selection itself was already measured from the merge base (the PR's own files), and a new test pins that (GST-2232).gstack-uninstallno longer deletes a worktree nested inside another checkout, a locked worktree, a.gstack/that is its own git repo, or a worktree you edit while it asks to continue. Since #4241 a plain uninstall stops when a.gstack-worktrees/checkout holds unsaved work, but it only looked at the top-level checkouts, so a worktree created inside a lane (as gstack does when it runs from inside one) was deleted with its uncommitted edits and exit 0. Now every checkout on disk is checked, nested ones included; a submodule inside a clean lane goes with it only when every commit it holds is on a remote-tracking branch, and otherwise stops the uninstall. A locked worktree (git worktree lock) stops the uninstall even with--force-worktrees, and the fix line says togit worktree unlockit. A.gstack/that is its own git repository, and that the project tracks nothing in, is kept with a message saying why, where before it was deleted with any commits it held. The worktree check now runs a second time after you confirm, before anything is removed, so work saved while the confirmation prompt waited is kept. Uninstall exits 2 and removes nothing, even when run from inside the gstack install. Agit worktree listthat fails stops the uninstall instead of letting--force-worktreesdelete blind. The manual steps in docs/uninstall.md no longer tell you torm -rf .gstack .gstack-worktrees; they remove only what git ignores and only worktrees that pass the same checks (GST-2268).gstack-uninstallnow checks every folder it deletes for unsaved git work, not only the repo you run it from. Each host's install (global and project-local), the gstack-made Claude per-skill folders and~/.gstackare searched for git checkouts before anything is removed. One with uncommitted changes, commits no remote-tracking branch holds, or a locked worktree stops the uninstall with exit 2, naming the checkout. Before, an unpushed.gstackrepo inside~/.claude/skills/gstack, an edited project-local install or a notes repo under.agents/skills/gstack-*was deleted without a check (GST-2303).--keep-stateno longer deletes the state it keeps. Run from inside the gstack checkout,--keep-stateskipped the worktree check and then deleted the whole install, taking the kept.gstack-worktreeslanes and tracked.gstackfiles with it. An install that holds kept state is now refused instead (GST-2303).A locked worktree whose path contains a newline is kept under
--force --force-worktrees. The worktree list is now read NUL-separated, so the lock check sees the real path. A clean submodule nested inside another submodule of a clean lane no longer stops the uninstall as unregistered (GST-2303).gstack-ship-queue readyandlandnow say when a red check counted as green only because a run from another check suite replaced it. A lane that dispatchesfree-tests.ymlon its branch after a redpull_requestrun gets a green verdict from the branch-only run, which never tested the merge with main. Both commands now printCI_SUPERSEDED: <check> red run <id> replaced by <id> (suite <a> → <b>)for each such run. It is a warning only and changes no verdict; a rerun in the same suite prints nothing (GST-2205).Without a train policy,
gstack-ship-queue readyno longer reports READY when its note never reached origin. Underchangelog_fragmentsit exited 0 even when the READY note push failed, soland --pinthen refusedQUEUE_NOT_READYbecause origin had no note. It now refuses withQUEUE_READY_NOTE_UNPUSHED, as the train path does, and rerunning the samereadycommand once the push works records it (GST-2205).gstack-ship-queue readynow fetches the base before it picks the train or plain path. It read the base policy first and fetched only inside plainready, so a clone with noorigin/mainref, or a stale one, ran plainreadyunder a train policy and skipped the train-only screen, conflict and READY-receipt steps. It now fetches first, and refusesQUEUE_BASE_UNFETCHEDwhen it can't (GST-2205).
[1.99.0.0] - 2026-11-09
The pre-archive check no longer passes a thread whose PR state it can't read.
gstack-archive-checktreated any PR state other thanOPENas closed, so an empty or unknown state fromgh pr viewlet a thread with a possibly open PR archive clean. It now accepts onlyOPEN,CLOSEDandMERGEDand exits 3 withARCHIVE_PR_STATE_UNKNOWNon anything else, on boththreadandlanded. An issue row cut short (no assignee, title or age) is now unreadable instead of a complete row. A failed CI read shows asci=unknown (CI read failed: <reason>)on the ORPHAN line, and the open PR still refuses.landedwith a missing, invalid or empty.gstack/plain-titles.jsonnow exits 3 withARCHIVE_POLICY_UNREADABLEinstead of treating every code-shaped ref as an issue to close (R91, GST-2241).The /autoplan docs now say what each kind of run actually gives its reviewers. README.md, docs/skills.md, docs/unattended.md, autoplan/DRIVER.md, crew/docs/captain.md, the skill's description and the
gstack-autoplan --helptext described a full-depth, two-voice review for every run. That is true only of an interactive session, where the model reads each review skill's own method. The lean run (the Capy default) is one engineering reviewer whose prompt holds the eng brief and short CEO, eng, design and DX checklists (28 to 37 lines each), never those skills' methods, with no outside voice. A--fullrun has a reviewer pair per phase, each with a short brief, plus the checklist for the native one. docs/skills.md has a new "What each run loads" section. No runner behavior, prompt, mode or default changed (GEVA-412, GST-1985)./autoplan's final approval gate renders again, and replies to its plan-approval item are accepted. The skill told the agent to name that gate item
planand to read replies such asplanaandplanc, butgstack-gateonly accepts an id made of a lowercase label and a number, sogstack-gate renderrefused the whole gate and those replies never parsed (#4181). The skill now names itp1, with repliesp1a,p1c,p1dandp1e, the id gstack's own gate builder and docs/unattended.md already use. A test now builds the gate exactly as the skill describes it and runs it throughgstack-gate renderandparse. Reported by @exGeni in #4181; fixes proposed by @ElNeMeR70 (#4189) and @szsunyuan (#4191).Dependency and CI action patch bumps.
@types/bun1.4.3 → 1.4.4,@huggingface/transformers4.3.1 → 4.3.2 andmarked18.1.1 → 18.1.3 inpackage.jsonandbun.lock, plusdocker/login-action4.6.0 → 4.7.0 (seven steps in six workflows) andgithub/codeql-action/upload-sarif4.39.0 → 4.39.1 (scorecard), each still pinned to the full commit SHA of its upstream tag. None of the new package versions adds an install script. Carries Dependabot's #3488, #3489 and #3890 onto current main./autoplan no longer stops after a phase with
publication_missingwhen Claude Code saves the phase report as a summary that opens with another sentence. Claude Code can save the prose between tool calls as a paraphrased summary. When the report started with a check sentence, the summary read "I checked the packet... Phase 1 is complete with 9 native issues and no outside review, so the work moves on to Phase 2." The guard only counted a phase declaration at the start of a line, so the run died after Phase 1. It now also counts one that starts a sentence in plain prose. A declaration inside quotes or inline code, one after an example or template introduction on the same line, a negated or future one, a list item, a heading and another phase's number still don't count. A "with" result may now mention "no outside review" after its counts; one that opens with "no" still doesn't count. Thanks to @mstormo for finding the cause in #4155.gstack's browser now tells you how to fix a Linux host that blocks Chromium's sandbox, and /design-review --build checks the browser really starts. On stock Ubuntu 23.10+ (AppArmor) and in non-root Docker, Chromium can't create the user namespaces its sandbox needs and aborts with "No usable sandbox!". browse used to exit with a wall of Playwright log after
Server failed to start:. Now it prints one error that names both ways out. You can allow user namespaces (the Ubuntu AppArmor setting), or setGSTACK_CHROMIUM_NO_SANDBOX=1, which is only for pages you trust. Chromium's own line stays below it. gstack still never turns the sandbox off by itself, except that Docker's/.dockerenvnow counts as a container, the same asCONTAINER.gstack-design-build preflightused to sayPREFLIGHT: okwithout starting the browser, so the run died later; it now opens and closes one tab first and stops withcode=BROWSER_SANDBOXand the same error when the launch fails. (GST-1906)gstack-ci-carryandgstack-pregate --from-runcan verify a GitHub Actions run again after it has been rerun. Reading a rerun attempt's job list 100 jobs at a time could take GitHub about 11 seconds for a large workflow (86 jobs in gbrain's Test runs), and a proxy that cuts requests off at about 10 seconds answered 502. So any run whose newest attempt was a rerun failed withapi_error, and /ship fell back to running the whole suite locally, even after a green rerun of a known flake. The job list is now read 50 per page, every page, and a server error (5xx) reads the whole list once more at 25 per page. A page that still fails leaves the run unverified (api_error), as before: a partial job list never counts. (GST-2215)/ship no longer stops when the docs checker's reply has a small mistake in it. Before shipping, /ship asks a helper to check the docs and reply with a short summary line. When that helper typed a field name with a stray space and left the docs summary as a stand-in like "x", /ship treated the whole check as blocked and an unattended run stopped. Now
gstack-docs-candidate resultreads that last line strictly. It forgives spaces around field names, still refuses anything else that's wrong (a missing or extra field, the wrong audit id, an empty or stand-in summary), names each problem, and hands the one retry a note saying exactly which fields to fix. A reply that passes is saved with its summary for the PR. The docs test fixture accepts the new command, and odd audit ids or field names can no longer write outside the record folder or fake a line in the output. (GST-1843)Seven test and eval checks that misread correct work, or raced their neighbours, now read it right (2026-11-09 daily flaky pass, GST-2131). tpa-present's consent check now accepts the defer option in any words when the option says the step will be marked or left as blocked or waiting on you (gate 42431616220: "D) Do it later. I'll mark this step as waiting on you."), and still rejects every refusal of it, such as "I will not mark this step as blocked on you" or "I won't mark this step as waiting on you". Three weekly-census reds were harness misreads. scrape-prototype-path now credits browse's own "Navigated to (2xx)" line when the model navigated through
$PWD; codex-review's skill excerpt now points every helper path,bin/andlib/alike, at the checkout instead of an install the fixture never seeds; and ship-coverage-value resolves afile:linegap inside refundPayment instead of requiring the word "refund". The handoff integration test takes its X display from the race-safespawnFreeXvfb(), the AUQ capture fixture turns off git's detached auto-maintenance that left a directory behind after cleanup, and the Windows curated lane skips test/ship-finish-fixed-links.test.ts, which spawns shebang bins like its excluded siblings. No threshold, trial count, case kind or retry changed.Flaky pass 2026-11-07: the two marathon census reds on 297f50c7 are repaired, and two free tests stop failing at random. Eval children now run gh with
GH_TELEMETRY=0, because gh 2.103 records a telemetry device-id under$HOME/.local/state/gh, andautoplan-ceo-onlycounted that file as a stray write in its fixture HOME (marathon 42371706491). The office-hours completion check accepts the next skills the handoff menu offers now that/autoplanis the default recommendation (#4108), and it rejects the retired/plan-eng-review. The ruled-notes chain test names both shas afterreview_loop_grant, so a short sha made only of digits no longer reads as a phone number to the approval scanner (Free Tests 42345572767). The two slowest release-cut cases get the free suite's 30-second per-test timeout, so a bare localbun teststops timing out at 5 seconds. No threshold, trial count, case kind or model budget changed.
The plan check works on public repos (GST-1774). A repo that commits no .gstack/ can turn the check on per machine with gstack-config set plan_record warn|require|off. The mode order is a tracked plan_record of warn or require, then GSTACK_PLAN_RECORD, then this key, then warn in a Capy session. A typo is rejected, and PLAN: names the file. With no tracked policy the key gates gstack-ship-queue ready and /ship finish, not land. On a public or unknown-visibility repo, gstack-approvals render --plan now writes Plan: approved (record r-<id>) in place of the autoplan run id. That id is an opaque hash of the approval row, so the run id, the row id and the ask stay out of the PR body, its edit history and the READY note pushed to origin. ready resolves the id to the same row and applies the same rules as before. Render refuses with no output when an approved line does not resolve, instead of printing a misleading Plan: required.
The opt-in /autoplan gate now makes each phase publish in order, right after its own report (GST-1814). In GEVA-2's E2 eval (3 told Opus 5.5 sessions, 1 exposed) every failure was in the report step: one session used all 3 Stop blocks on missing=ceo before doing any work and then published every phase with no report, one published Eng's report first and back-filled CEO and DX, and one published everything with no reports and back-filled one report per block. With autoplan_gate on, true autoplan-published <phase> is now refused before it runs unless that phase is the next one due and its report was sent since the previous publish; the refusal starts Next due: the Phase N (<name>) report. A publish with no report or out of order never counts at Stop either, so a later report can't rescue it. Stop blocks now count against the step they name (3 per step, reset as the run advances), blocks before the run's first phase report don't count, and 12 blocks end any run; once a run is released or exhausted, its publishes are no longer refused. Setup registers one more hook for the gate (PreToolUse on Bash; its shim starts bun only for the publish command). Still off by default, and nothing changes with the switch off. Docs: docs/skill-gates.md#the-autoplan-gate.
/ship's review gate no longer blocks on a Low finding just because the native reviewer wrote it as a numbered item with a nested list. When the native reviewer wrote
1. **FIXABLE. …**, then a sub-list, then a closing paragraph withSeverity: Low. Blocks: no., the collector split that paragraph into a second record. The numbered item was left with no fields, so its FIXABLE label counted as CRITICAL and stopped /ship until an owner ruled on it (6 findings collected as 9 in one alphaclaw run). The collector now keeps that first closing paragraph on its finding. The join stays narrow so it can't hide a real blocker. It applies only to the native reviewer's items, ends after the first closing paragraph, never takes in a bold-led paragraph, a verdict line, a list item, a heading or a file:line, and never lowers an item that names CRITICAL or P0./autoplan's
recandallreplies now apply every recommended plan change, asgstack-gatealready did. The skill's reply table sentall(and leftrecunmapped) straight to "approve as written", whilegstack-gate parseresolves both to every item's recommendation, plan changes included, so decisions.jsonl and the approved plan could disagree.recis now the one-word default that takes those changes through the affected-phase rerun before the gate comes back;as-isstays the plan as first written. The plan-approval item now recommendsb(take the recommended changes) whenever a recommended option changes the plan. A barep1awith a user challenge unanswered no longer approves anything: the gate waits for the owner's own answer to thatucitem and re-parses their whole reply. Everyuc/doption in a hand-written gate now setschanges_plan, and an explicit override of an option with no flag still counts as a plan change, asgstack-autoplan answeralready treats it. A test reads the skill's reply table and checks it against whatgstack-gate parsereturns forall,rec,p1aand an override.Missing-browser errors stop telling Linux and Windows hosts to open the Aside app.
NO_BROWSER_HELP, used by/make-pdfand the renderer's no-browser error, now offers the Aside remedy only on macOS, where Aside ships, and keeps the./setupandGSTACK_BROWSE_BINremedies on every platform. The docs/skills.md/design-htmlrefinement loop also stops naming GPT-4o and describes the configured vision model, matching the template. (#3735, #3375; contributed by @szsunyuan in #4122)The office-hours section-loading eval's preservation judge uses the shared judge token budget. The case passed
max_tokens: 2048, a local raise from the old 1024 default, and that now sat below llm-judge's 8,192 default for frontier judges. claude-fable-5-1 spent the 2,048 tokens before writing any verdict, so the case failed with a truncated judge response instead of a score (marathon 42371706491 follow-up, #4125). The threshold, trial count and rubric are unchanged./ship now writes pull request titles, commit messages, branch names and changelog entries that say in everyday words what changed for someone using the project. An issue code may follow at the end, as in "Stop gstack from hitting GitHub's rate limit while it waits on PRs (GST-1713)", but the front of a title stays plain: no
type(scope):prefix, no tracker codes and none of the repository's own coined terms. The newgstack-plain-titlecommand checks titles, branch names, PR openings and changelog entries against a word list a repository keeps in.gstack/plain-titles.json; a repository without that file gets warnings, never a refusal. /ship andgstack-postrefuse to post a title that fails, and a "Plain title" check on every new pull request does the same for PRs opened any other way. Pull requests opened before the rule started are exempt.PR bodies now open with one or two plain sentences and end with one collapsed "Agent notes" section. The ship receipt, approval and plan lines, issue codes and review bookkeeping that gstack's merge tools read now live in that section instead of a JSON block at the top of the body. The merge tools read it there and still accept the older layout, so open pull requests keep working. When gstack merges a pull request, main's commit title is the pull request's checked title.
The README now lists what gstack is for, and /ship's PR opening names the goal a change serves.
gstack now waits for the "Plain title" check to pass before it lands a pull request. The check reads the pull request's description from the event file GitHub hands the workflow, so a very long description no longer breaks it. A pull request that has never had the check run gets one when its title or description is edited, or when new commits are pushed.
A ship receipt posted on its own now goes into the pull request's Agent notes section and keeps the opening paragraph where it was. The new receipt replaces the one in that section, so it is the one gstack reads.
An older receipt at the very top of a pull request description is still read after an Agent notes section without a receipt is added below it. Receipt examples quoted in the readable part of a description stay where they are.
Correction to the earlier entry about plain titles: a repository without
.gstack/plain-titles.jsongets no title checks at all, not warnings.gstack-ship-queue land --pinand the firstreadyon a head no longer spend 15 s re-reading the queue notes. Rebuilding local queue state fromrefs/notes/gstack-trainsran onegit cat-file blobprocess per note, so every land and first READY took 14 to 15 s on the live 1,442 notes and grew about 8 s a week, on course to pass the 120 s command timeout in about three months, where a killed land leaves the land lock held. All the notes are now read by onegit cat-file --batchprocess, which takes about 120 ms per rebuild on the same notes and restores byte-identical records. Malformed, empty and wrong-schema notes are still skipped. If that one read fails, the rebuild now says the notes were not read, soland --repairand the freeze lock refuse instead of trusting an empty queue (GST-2198).The merge queue no longer lands a stacked child's parent commits under the child's receipt (GST-2153). A child PR shipped against its parent branch (#3570) has a receipt that covers only the child's own change. If that child was retargeted to main while the parent was still open,
gstack-ship-queue ready,land --pinand train build used to accept the receipt, so the parent's commits could land without their own review, READY or merged checks. They now refuse it withQUEUE_RECEIPT_BASE_MISMATCHuntil the parent lands, the base is merged into the child, andgstack-ship-receipt carry --base <base>moves the receipt to the base. Receipts written against the base, including stacked children reviewed against main (GST-1199), are unaffected.Trunk Dynamic CI now also watches the Windows checks, the quality gate and the eval jobs on pull requests, still in learning mode, and it still can't skip anything. Trunk answers only for jobs in the workflow that asks, so
windows-smoke.yml,windows-scoped-tests.yml,windows-setup-e2e.yml,quality-gate.ymlandevals.ymleach get the same learning-onlytrunk-dynamic-cijob thatfree-tests.ymlalready has. Trunk records whether it would have run or skippedwindows-smoke,windows-scoped-shard,windows-setup,held-install-journey,quality,build-imageandeval-slices. No job reads the answer, so every check still runs with its own name and result. Each observer runs one pinned action, checks out no code, holds no GitHub token scopes, skips fork pull requests, skips its step when the token is missing, and never fails the run.test/trunk-dynamic-ci-observers.test.tsholds every observer to that shape.A Captain can no longer archive a thread that still holds an open PR, and a landed PR's issue closes in the same step. The new
gstack-archive-check threadruns right before a Captain archives a crew thread. The Captain hands it the thread and issue lists it read from Capy, and it re-reads every PR the thread holds from GitHub. It refuses while any of those PRs is open (a successor does not change that) or while an issue in a working state is still assigned to the thread. It also refuses when a read is stale, truncated, unparsable or failed. Every run prints a handoff stub (each open PR's branch, head commit and CI state at that head, plus the open issues) for the next thread's brief.gstack-archive-check landed --pr <n>runs aftergstack-ship-queue landand names the tracker code in the merged PR's title, so the Captain closes that issue in the same program, but only when the issue links this PR, no other open PR and no open sub-issues. crew/docs/captain.md (No orphaned work, Direct land), the gstack factory page, /captain and the /runaway-stopper rotation steps now say a thread with an open PR stays until that PR merges or closes./ship's finish now counts a chain of follow-up reviews after a granted follow-up review found a blocker. A granted follow-up review that finds issues has to be logged
converged:false, and finish refused every chain holding such a link, so a later clean follow-up review that read the fix could not count and only a fresh /ship review recovered the receipt, past the two-round cap. An earlier link that found issues now links when it finished its read on its own commit, its findings account for its counts, and every open or blocking finding names a file it read (a leading./on a finding's path names the same file). It counts no path itself, a path its findings name counts only through a clean follow-up review after it, and theFIX_CHECK:line marks it(found issues). The chain must still be contiguous, every link still needs its own grant, and the newest link must still be a clean read; a gap, a range that starts mid-link, a newest link with findings, an unfinished read, and findings with no file all still refuse. A finding an earlier link logged on a file that no later clean follow-up review's range touched, even a file the branch never changed, now refuses the chain too, where before it dropped out and the chain counted.Crew threads keep their PR to the end, and a repo with more than 10 finished PRs waiting gets no new fix thread. gstack's rules pages (factory.md, the lane start card, the Captain manual and /runaway-stopper) no longer tell a crew thread to hand off mid-PR on a token count: it keeps its PR until it merges or closes, and checks in with its Captain once when its own tokens pass 1 billion (about $330). Standing threads that wake on every event (merge lanes, watchers, an automation's standing thread) still rotate at 500M own tokens or 3 days, and subagent limits are unchanged. A Captain now starts no new fix thread in a repository while more than 10 green, reviewed PRs sit waiting only to merge; security, data-loss, red-main and broken-install hotfixes are exempt. Wording only:
gstack-runaway scanstill flags every non-Captain thread past 500M./captainis now installed only on Capy machines. gstack's crew tools for Capy (the Captain skill, and later the merge queue, receipts and spend caps) are being gathered undercrew/, which./setupandgstack-relinkload only whereCAPY_MACHINE_CONFIGis set or~/.capy/systemexists, the test the Capy installer already used. Everywhere else/captaingets no entry on any host, and an entry an earlier install made is removed on the next setup or upgrade; a skill of your own namedcaptainis left alone. Every other skill, the install size and the install time are unchanged. The README has a short "gstack on Capy" section, and crew/README.md says what Capy users get./design-review --build <preview url>is a new opt-in loop for UI you are still building. It skips the audit's clean-tree stop and never commits, stashes or asks. It lists the states your change can show, lints each one withgstack-design-lint --scope appat 1440 and 375 wide, takes a screenshot of each, checks seven spacing and hit-area items, and fixes what fails for up to three rounds. Then it runs one more pass that changes nothing and prints a singleDESIGN_BUILD:line. The lane card, the CLAUDE.md routing block, docs/skills.md and /design-html's last step recommend it for UI work, but it is not required before a pull request is ready.New
gstack-design-builddecides that line in code, not in skill prose. The result is clean, waived, open, incomplete, unrendered or stale. It reads the lint's JSON verdict, never its exit status. A skipped render, a state measured at only some sizes, a state with no screenshot, an API call the preview could not answer, evidence older than the final pass, or a tree edited after the final pass can never print clean. Preflight checks the browser first. It refuses a target that is not on this machine unless someone granted that host, and it turns a refused design-review start intocode=INSTALL. It lets the loop click through changes only when the preview itself answers at every local page; any other page, or a redirect, means the loop leaves changed actions alone. The receipt is a private JSON file tied to a hash of the exact files it measured, andgstack-design-build checkreports it stale after any later edit.New preview template (
design-review/templates/preview-fixtures.mjs) serves an app on 127.0.0.1 with canned API answers, one scenario per state (?as=<scenario>). It uses the app's own Vite and config, or--staticfor plain files. It never installs Vite. A small script it adds to every page carries the scenario to the app's own API calls. Any API request without a matching fixture gets a 501 that names the route and the file to edit, and never reaches a real backend. The log is private and hides tokens, the port is never silently moved, andstopshuts it down cleanly. See docs/howto-preview-a-frontend.md.Design lint URLs are now redacted even when they do not parse (a port out of range, for example) and when a token value holds punctuation such as
). Before, such tokens could show up in text, JSON, stderr and trace files./ship's docs check no longer burns its one retry on a badly shaped reply. Before shipping, /ship asks a helper to audit the docs and end with one summary line in a fixed format. When that line had the right findings but the wrong shape (a missing field, or a misnamed field holding "x"), /ship counted it as a failed audit and spent its only re-audit, and an unattended run could stop with sound docs. Now
gstack-docs-candidate resulttells a shape-only mistake apart from a real one. For a shape-only mistake it printsFORMAT_REPAIR:, and /ship asks a fresh helper with no tools once, using no attempt, to restate just that line:gstack-docs-candidate repair-promptbuilds the request from the format and the helper's own output. The reply is accepted only if every value the first line already got right is unchanged, so a repair can fill in a field but never change the outcome. A missing or wrong audit id, a missing or unknown status, either one given twice, a malformed list of edited files or blockers, a status that contradicts the file lists, or a last line that isn't JSON at all still counts as a failed attempt, and each audit gets one repair.A pull request that only changes human-facing docs now skips the test suites. It runs the docs lane instead: links on the lines it added resolve, generated pages stay fresh, the credential scan passes, and the few tests that read docs by directory run. Required checks still report success, so branch protection doesn't hang, and pushes to main keep the full suites. Most Markdown in gstack is agent instructions, so the class is a short allowlist (root README.md, docs/**/.md, changelog.d/.md) with a denylist on top. SKILL.md, templates, sections, policy docs, captain and crew files, pinned results, preregistrations, generated pages, and any doc a script or test names all still run full CI. One classifier (
gstack-docs-only) decides the class for CI, pregate, CI carry, /ship's lanes and land. A crashed classifier, an unknown ref, or a push to main always means the full suites run. Garry, 2026-11-08: "For docs changes pls stop doing full CI and merge without tests. If there are really only docs." (GST-1951)Crew docs now say how a factory keeps work from being orphaned, and how outside PRs land. These are lessons from gbrain's merge queue, which reached 220 open PRs in November 2026. crew/docs/captain.md has a new "No orphaned work" section. A Captain archives or rotates a thread only once a live successor owns its open PRs and issues. Successor triggers sit on an issue, never only in notes. Sweeps re-own open PRs whose owning thread is archived. A crew PR closes only as landed, superseded or dropped, and anything else is salvaged onto current main. Before archiving a thread, the Captain re-assigns its issues instead of closing them or moving them to Backlog. The wave guidance adds one open queue PR per lane, follow-ups riding that PR or the next wave, waves cut after a day or once full, and when to move from direct landing to waves. Outside PRs are now bug reports. Each gets a verdict within 7 days, and real bugs are rewritten from main with credit, so no contributor commit enters the tree. CONTRIBUTING.md, captain/templates/CREW.md rule 18 and docs/review-policy.md say the same, including how to pass a contributor's commits to gstack-coauthor-trailers for credit. The report and brief templates carry an "Open work" line. Docs only; no tool behavior changed (GST-2077).
Findings and results write-ups now open with two or three plain takeaways, what works first. ETHOS.md's Explain the Number says every findings file, investigation write-up and results README opens with "We learned X. You should do X." bullets: what works first, then what didn't, stated plainly with its number, and a null turned into the lesson its data supports. Internal mechanics go last, every experiment names the public lesson it is after, cost appears only when it is part of the lesson, and a repo, dataset or tool is opened only with a stated reason. No number is rounded in our favour and no caveat is dropped. /eval-plan's preregistration asks for a
lesson:line under Bars, its results step points to the rule, and docs/TESTING_INTERNALS.md says the same beside its results guidance.browse scroll <selector>brings the element into view again when--waitis absent. The flag parser treated the first argument as the--waitvalue and dropped it, soscroll footerandscroll footer --times 2scrolled to the page bottom and replied "Scrolled to bottom".gstack's renderer no longer mistakes Debian and Ubuntu's
/usr/bin/browse, a link to xdg-open, for gstack's own browser. Abrowseon PATH whose real file has another name is now skipped, so you get the clear "no browser" message instead of a desktop opener launching.The browse daemon no longer files every project's domain skills in one shared "unknown" bucket on installs without
~/.claude(Codex, repo-local and other hosts). It now tries the checkout's owngstack-slug, then the Claude install, then the git remote rule, so skills saved in one repository stop showing up in another. Skills saved before this change stay in~/.gstack/projects/unknown/learnings.jsonland no longer appear in a project's list; copy the lines you want into that project'slearnings.jsonl.A question marker with a malformed signal hint, such as
<gstack-qid:ship-x;signal=scope_appetite>, keeps its question id in the never-ask hook and the question log. Only the bad hint is dropped, so a never-ask preference still applies and the question log no longer records it as unmarked.The never-ask preference hook reads the question id lowercased, as the log hook and stored preferences already do, so a marker written with capitals no longer asks a question you silenced.
/autoplan no longer gets stuck between phases after Claude Code 2.1.317 compacts a long session. On 2.1.317 a compaction's boundary names a parent record that is never written to the session file, so the guard's journal reader dropped every record after the compaction and refused each later phase entry on every retry. The boundary now continues from the last record the compaction kept in place (
compactMetadata.preservedSegment.tailUuid). Boundaries from 2.1.300 and earlier, a tail that is not flushed yet, and lists that name no record of this session read exactly as before. Reported and fixed by @vilano93 in #4200.The Capy install docs now agree on what a
behind=trailer means, and the unattended rules say a moved base is merged in, never rebased. The Capy skill said both "run the fix" and "behind=alone is informational" for the same trailer, and most lanes took the second reading and kept working on an old gstack. Nowbehind=1or more means run the trailer's fix before the next workflow, everywhere the rule is written. A pin with a recorded reason still holds, and so does an install that was refused. docs/unattended.md no longer names a slot call as a reason to rebase; it points at docs/ship-policy.md, which says to merge the base into a reviewed branch. (GST-2136)A daemon launched with
BROWSE_TUNNEL=1no longer opens a second ngrok tunnel when/tunnel/startarrives during its own start. The earlier fix made overlapping/tunnel/startcalls share one start, but the daemon's own startup tunnel skipped that lock. A/tunnel/startthat arrived while the startup tunnel was still opening saw the tunnel off and opened its own ngrok session, and the daemon kept only one of the two. The other stayed public on your ngrok account until the daemon exited, and closing the tunnel didn't reach it. Now every tunnel start, from the route or from startup, goes through one shared lock and gets the same URL, so there is only ever one session.Two quick
/tunnel/startcalls no longer leave a public ngrok tunnel you can't close. When two callers asked the browse daemon to start its tunnel at the same moment, both saw it off and each opened its own ngrok session. The daemon kept only the second, so the first stayed public on your ngrok account until the daemon exited, and closing the tunnel didn't reach it. Now a start that arrives while another is running waits for it and gets the same URL, so there is only ever one session. Also, when a start failed after ngrok had opened (for example, the state file write failed), the daemon cleaned up the session but still believed a tunnel was live, so it never shut down on idle; it now resets its tunnel state on that failure too.Two machines that each log a decision between pushes no longer stop one of them from syncing. The second machine's push was rejected, its fetch-and-merge retry conflicted on
projects/<slug>/decisions.active.json, andgstack-brain-syncaborted the merge and wrotepush_failedon every later drain until someone repaired the clone by hand (#4174). The snapshot is derived fromdecisions.jsonl, so when a merge's only conflicts are decision snapshots whose logs merged cleanly, brain-sync now rebuilds each snapshot from the merged log with the newgstack-decision-log --rebuild-snapshot <project-slug>, commits the merge and pushes; it never merges the JSON array itself. This needs no.gitattributeschange, so a clone already stuck this way publishes on its next drain that has records to sync. A conflict in any other file still aborts the merge as before, and so does a log that lost lines on either side, as--compactdoes to a redacted decision, since rebuilding from the union of both logs would bring that decision back. New artifacts repositories also getprojects/*/decisions.active.json merge=binaryin.gitattributes, so a merge run by hand leaves no conflict markers in the snapshot.The pregate secrets check no longer stops /ship on Django's
session = self.client.session. env.kv read any assignment to a name ending insession,tokenorkeyas a credential when the value looked random enough, so a Python test that grabbed the test client's session failed a check nobody can downgrade, and the only way past it was a hand-edited allowlist (#4209). In Python and Dart source, an unquoted dotted name such asself.client.sessionorrequest.auth, alone on the right of=, now reads as an attribute. A quoted value, a random-looking dotted token, the same line inside a"""string, anything after it on the line, and every .env, YAML, config and TypeScript file still report. Reported by @dgrant in #4209../setupno longer refuses healthy hooks when Bun crashes while checking them. The hook parse check bundles each TypeScript hook with one Bun process; when that process was killed by a signal (a Bun segfault, seen in Free Tests 42327570347), every hook it hadn't reported was listed as "does not parse" and setup exited 1 with a "this is a gstack bug" message. Now the results Bun printed before the crash still count and the shell checks still run, so a hook that really fails is still refused, and only a hook Bun never reached is registered unchecked. The check reports itself unavailable (exit 3, the same as a missing Bun) only when a hook went unreported and nothing else failed; setup then warns that hooks were registered unchecked, and the auto-updater holds the update as it does for any unavailable check. A Bun that exits normally without a report still fails every hook it left out.Two flaky tests are fixed. The gbrain prune test no longer sees another test's
gbrain autopilotprocess, and the plan-review floor actor now answers its own cropped "overwrite" permission for the working plan instead of waiting it out.gstack-uninstallno longer deletes your repo's committed.gstack/files or unsaved work in.gstack-worktrees/. Run from inside a repo, uninstall used to delete the whole.gstack/folder and every.gstack-worktrees/checkout, even with--keep-state, so a committed.gstack/ship-policy.jsonshowed up as deleted ingit statusand a worktree's uncommitted files were gone. Now--keep-statekeeps both folders. A plain uninstall still clears gstack's own ignored browse state, but keeps every git-tracked file under.gstack/(and says so), and it stops with exit 2 before removing anything when a checkout there has uncommitted changes (even withstatus.showUntrackedFiles=no), holds commits no branch or tag contains, or isn't a worktree this repo registered (as after moving the repo, or a separate clone put there, which uninstall never opens with git), naming the worktree and the fix: commit to a branch or stash, re-run with--keep-state, or pass the new--force-worktreesto delete them anyway. A symlinked.gstack-worktreesis only unlinked, as before, and never followed, so the checkouts it points at are kept. A worktree nested inside another checkout under.gstack-worktrees/is not checked yet and is still deleted with its parent, as before. The checkouts it removes also leavegit worktree list; the registrations of your other worktrees are never touched, even when their folder is missing for now (GSTA-461, GST-2197).Free Tests no longer fails every PR's plan when the test-duration seed goes stale. Test files missing from
scripts/free-test-durations.jsonare still packed at the seed's 99th percentile, but when that estimate would push a CI shard's job past the 90-minute cap,--ci-plan --job-setup-secondsnow cuts the shard's prediction back to the cap instead of throwingFREE_JOB_TIMEOUT_OVER_CAP. Recorded durations are never cut, so a shard whose seeded files alone need more than 90 minutes still fails the plan, and plans under the cap are unchanged. The seed is refreshed from a new recording (196 files had no recorded time), and a weekly seed PR that is closed without merging now opens a blocker issue, which closes when a seed PR from the recorder merges.New design note: what a lighter gate for crew-only pull requests would save, and how crew steps will switch off outside Capy. docs/designs/GSTACK_ON_CAPY.md measures, for free from recorded CI runs, what the 54 crew-only pull requests merged 2026-10-24 to 2026-11-07 spent on paid evals and review (about $735–855 a lighter gate would have saved, close to $0 under today's direct landing), with every caveat. It also specifies the one switch Phase 2 will use so
/ship,/reviewand/autoplanrun crew steps only on a Capy machine. Nothing in gstack's behavior changes.gstack-ship-release acceptno longer reruns a CI carry's local remainder that Step 5 already ran at the same tree. /ship's Step 5 and accept both callgstack-evidence record-ci, which ran the lane'sper_fileremainder (the inventory files CI skipped entirely) each time, so on harness-evals #315 a remainder file of about 7 minutes ran twice and accept's record-ci hit the 600 sci_record_timeout_s. After verifying the run live, record-ci now reuses the label's newest ledger row when it is the CI row it would write again: same commit, clean tree, command, run id and attempt, profiles, jobs, base policy, covered count and remainder files, FRESH, no test-lane exception, and each remainder file's newest local run at this tree written before that row and a pass under this runtime. It printsCI_RECORD_REUSED: label=<lane> runs=<id>/<attempt> tree=<tree12> policy=<policy>, and accept's lane line ends(reused the CI record at tree <tree12>). Any mismatch, a newer row for the label, or a run that is no longer green records afresh or refuses as before. No timeout or coverage change. See docs/pregate.md#record-ci-reuse. (GST-1795)A clean Codex outside review that signs off with a sentence about its checks now reads
VERDICT: clean. Since #3304 only a review's last sentence (or its Recommendation because-clause) can conclude it, so a reply such as "No actionable regressions were identified in the diff. Tests, lint, and build all pass." readVERDICT: unverified/REASON: untagged_review, and /ship and /review reported missing outside coverage for a review that ran and found nothing. Closing sentences that only report passing checks are now skipped when the conclusion is read, and "The changes introduce no definite, actionable regressions." counts as a no-findings statement held to the whole-change scope rule. It stays fail-closed: a check sentence that quotes code, fails, is cut off, continues a wrapped line or follows a colon is never skipped, skipping one never makes a scoped claim the reply's only sentence, a clause joined after the whole-change scope by a comma, dash, slash, bracket or a word such as "and", "so" or "while" ("No issues in the diff, while the change disables auth.") is never a conclusion, and a review with findings is never read as clean. See docs/troubleshooting.md#outside-review-verdict. (#3469, GST-1803; design and tests from #3641 by @vilano93)An outside review's no-findings conclusion must now be one complete sentence, so a review that reports a problem after its no-findings statement can no longer read as clean. Until now a few reply shapes read
VERDICT: cleanon a merge gate while saying something was wrong: a Recommendation-only reply ("Recommendation: Ship because no issues in the diff, so the change disables auth."), an exception after the scope ("No issues in the diff with the exception of the auth change."), a question ("No issues in the diff?"), and a colon or symbol after the scope ("No issues in the diff: the fallback path now swallows ENOENT.", also with&,+,->,|and similar). The parser now reads the conclusion as a closed sentence. It may hold an optional lead, the no-findings statement, an optional "were found", an optional scope that names the whole change ("in the diff", "in the changes on this branch", "in the diff against main"), then at most one.,!or;. Anything else isVERDICT: unverified/REASON: untagged_review, so the rule no longer depends on lists of exception words and joiners. This fails closed in a few clean-looking shapes too: a scope that names part of the change ("No issues in the parser.", "in changed.ts") and a colon explanation ("No findings: the cap is enforced.") now readunverifiedeven as the reply's only sentence. No captured fixture reply moves toward clean. Whole-change scopes that #4130 left fail-closed after other prose now readclean: "in the change as a whole", "in the committed and uncommitted changes" and "in the staged / unstaged changes". See docs/troubleshooting.md#outside-review-verdict. Also, test/outside-voice-preflight.test.ts no longer writes the machine's real ~/.gstack/config.yaml through an inherited state root. (GST-1808, GST-1809)An autoplan
rec_hashnow names its run, so two unrelated gates no longer print the same one. The hash a gate render prints, andgstack-autoplan answer --rec-hashchecks, covered only the gate revision and the recommended letters, so any two runs with the same decision shape shared it (GST-1749's and GST-1811's gates both printedf94689f795a5), and arecrelayed for one run passed the check on the other. It now also covers the run id, the reviewed plan's sha256 and each item's title and option keys, and a hash from another run's gate is refused asGATE_REC_STALE. Gates written before this keep working. Agate.jsonwithout the newrec_hash_vmarker still accepts the hash it printed then, and the answer records that hash. That old hash is not bound to its run, so re-render a gate still pending from before this change and answer with the new hash its render prints. Recorded approvals are untouched, sincegstack-approvals import --autoplanand the plan record bind by run id and gate revision, never byrec_hash. See docs/troubleshooting.md#gate-rec-stale. (GST-1819)The design lint can now check one section of a running app screen for crowded rows, help text jammed under a list, notes as loud as names, and small tap targets. It is render-only and opt-in:
--url <url>(one state each) or--state-file <states.json>, a required--within <selector>matched through open shadow roots,--viewport WxH(1440x900 and 375x812 by default),--wait-for,--waivers <file>and--verbose. Five new rules at ask report only under--scope app:row-crowding,copy-flush-under-list,note-in-row-weight,small-hit-areaandsection-overflow, each finding with its state, viewport, a shadow-piercing locator, the measured px and the threshold. On gstack's replica of the qm#3186 Sharing panel it reports the four defect rules; on the fixed copy, the negative controls and a 12-page false-positive corpus it reports none. ALINT_APP: verdict=<clean|open|incomplete> code=…line followsLINT_SUMMARY, and the exit is 0 clean, 1 open, 4 incomplete (no browser, unreachable, timeout, not ready, state mismatch, no match, closed shadow root, probe error, missing stylesheet), 3 usage. URLs are redacted in every output and probe failures write a private trace file. See docs/design-lint.md "App profile (--scope app)".Behavior change for every caller:
gstack-design-lint --urlwith no browser now exits 4. It printsgstack-design-lint: RENDER_UNAVAILABLE: nothing was measured at <url> (<reason>) | fix: gstack-browser-ensure, then rerunon stderr instead of passing with exit 0.--renderover files without a browser is unchanged.--within,--viewport,--wait-for,--waiversand--state-filewithout--scope appexit 3, and the usage text gains the app line. Page and component output and exit codes are otherwise byte-identical (test/design-lint-scope-guard.test.ts)./ship no longer files deferred review findings as issues. A blocking finding in code the PR did not change (
review_scope: frozen) now stays on the PR:gstack-review-scope deferrecords it for the PR body's## Deferred findingssection and never callsgh, so it opens no GitHub issue and needs no marker search. The--pr,--repo,--branchand--dry-runoptions are gone, and a deferred record no longer carriesissue,urlorreason. When the reviewer stated its own severity or Blocks field, the deferred line in the PR body shows it next to the label, as the issue body used to. /ship's Step 9.4, docs/review-policy.md, docs/ship-policy.md, the READY template, crew/docs/captain.md and the Capy factory page now say the same thing: deferred findings stay on the PR, and follow-up work someone will actually do gets one issue with a named owner. The pre-existing test failure option in /ship that assigns an issue to the person who broke the test is unchanged, since that issue has an owner.gstack-approvals renderkeeps local paths out of the approvals table in a PR body, and--redactedprints the public form on any repository. On a private repository the full table printed each row's Covers text as recorded, so a spend-cap row carried its ledger path (/home/<user>/.capy/drive/…) into the PR body, where gstack-post flagged it asinternal.user_pathand the PR's edit history kept it after the repository went public (gstack-evals#289). The table now shows each local path in the Asked, Covers and Still pending columns as…/<file name>, and a bare home directory as~: absolute and home paths (~/,~user/,$HOME/,/home/…,/Users/…), Windows-drive, UNC andfile://paths, and Drive-relative ones (.capy/drive/…). Exact words stays as the owner wrote it, andgstack-approvals liststill shows the full record.render --redactedprints the same bytes a public repository gets, for a private repository that may go public, and--redactedwith--fullrefuses with a usage error instead of letting one win. The redacted line now ends "The full approval record stays private." without naming a reason, so it stays true when--redactedis used on a private repository.A data file whose name git quotes no longer slips past the secret-line keep rule in
review_exclude_paths. git still C-quotes patch headers for names holding a double quote, a backslash, a tab or another control byte, even withcore.quotePath=false, so the review collector stored their added lines under the quoted header text and the keep rule read no lines for the real path: a file such asr/q"x.jsonholding a credential value was excluded from every reader's diff. The collector now decodes quoted headers (octal escapes,\",\\,\tand the rest) and pins thea/andb/prefixes, and the exclusion fails closed: a matched text file with changed lines that the collector holds no lines for is kept as unread instead of excluded.The factory page says one open PR per lane and never archive a thread that still owns work. Point 2 of capy/skill/gstack/factory.md, the page every Capy session reads, now says each lane keeps one open PR and follow-ups ride it. Point 12 says a Captain never archives a thread with an open PR or issue until a live successor holds it, and a PR closes only as landed, superseded or dropped. Both are lessons from gbrain's merge queue, which reached 220 open PRs in November 2026. The page's byte budget moves from 3,475 to 3,650 for these two rules. Docs only (GST-2077).
gstack's Capy-only tooling now lives under
crew/. The merge-train and wave code, the release gate, the release cut and its daily check, version-gate trains, lane ownership and the paid-eval CI steps only Capy crews run moved fromlib/,scripts/andbin/intocrew/lib/,crew/scripts/andcrew/bin/(gstack-release-gate,gstack-coauthor-trailers), with their tests increw/test/. The Captain manuals moved tocrew/docs/captain.mdandcrew/docs/recommended-harness.md, with short pointers left at the old paths. Workflows, imports and docs point at the new paths; behavior is unchanged. Setup copiescrew/lib/into each host's install folder besidebin/andlib/, so Windows installs, which copy files instead of linking them, still startgstack-ship-receipt,gstack-pregateand the other commands that use it. On Capy the session launch file putscrew/bin/on PATH, so the commands keep their names; nothing else does, so other installs never see them.gstack-flakyand the factory scorecard stay where they are because outside users run them. A Mac or other paired device running Capy now always counts as a Capy machine for/captain: any~/.capyentry counts, not only~/.capy/system, so an unclear case installs the skill instead of dropping it.Correction to the earlier entry "An outside review's no-findings conclusion must now be one complete sentence". That entry said a review that reports a problem after its no-findings statement "can no longer read as clean". That held only for a problem in the same sentence, after the statement. A problem written before the statement ("The fallback swallows ENOENT; no issues in the diff."), or in a later sentence after a clean Recommendation, still read clean, and so did scopes that name only part of a branch ("in the latest commit", "in the staged changes"). The verdict-line change above retires all of these rules. Now gstack no longer reads a no-findings sentence at all, and a review counts as clean only when the reviewer itself ends with
VERDICT: CLEAN. A problem the reviewer describes without a severity tag above that line is still the reviewer's call.An outside review now counts as clean only when the reviewer's last line is exactly
VERDICT: CLEANorVERDICT: FINDINGS. Every outside-review prompt (in /ship, /review, /codex, /claude-code, /autoplan, the plan reviews, /office-hours, /design-review and /document-release) now asks for that line, and gstack no longer reads prose such as "No issues found in the diff." as a pass. Every earlier rule for reading a no-findings sentence let some reply that named a problem pass the merge check, for example "The fallback swallows ENOENT; no issues in the diff.", a clean Recommendation followed by a listed problem, "No issues found in the latest commit." on a whole-branch review, and "Recommendation: fix the auth bypass because no issues in the diff." A reply without the line now readsVERDICT: unverified/REASON: missing_verdict: missing coverage, never a pass. A P0 or P1 finding (or a Critical or High label) and a lastVerdict: not readystill block whatever the line says, and advisory P2 or P3 findings still pass. Codex's structured outside review in /ship and /review, and the default/codex review, now run throughcodex execwith gstack's prompt instead ofcodex review --base, which takes no prompt and so could never give the line. The diff they review is the same (git diff $(git merge-base <base> HEAD): the branch commits plus uncommitted tracked edits). Skills rendered before this change still read unverified until./setupre-renders them. A reply that ends withVERDICT: CLEANbut lists numbered items with no severity tag now readsVERDICT: unverified/REASON: untagged_reviewin /ship and /review, and a/codexconsult or challenge answer with numbered items and either aVerdict:line or a lastVERDICT: CLEANnow printsFINDINGS: unspecified./codex reviewnow stops before calling Codex when it cannot write the diff into the prompt. See docs/troubleshooting.md#outside-review-missing-verdict.Crew threads now stay quiet between READYs, and busy Captains can hand PR and CI watching to one merge thread. gstack's factory page tells crew threads to message their Captain only for a READY, a blocker, a decision the Captain or owner must make, or done, and to end every other turn with end_turn, because each message wakes the Captain cold. The Captain guide (
crew/docs/captain.md, Roles) and the Capy skill'scaptain.mddescribe the merge thread: one crew thread holds the PR watches so check, review and merge events stop waking the Captain, while every other crew thread keeps owning its own PR's checks and review until READY.A base merge that only moves the lines around a reviewed change no longer forces a second full /ship. On founderstar#802, a base merge changed the context lines around the PR's 22 reviewed and unchanged hunks in
scripts/core/game.gd(+66/-11 at both the old receipt head and the new one). The scoped-review packet counted those context lines and the hunk headers toward its 200-line section limit, so the section came to about 205 lines andgstack-ship-receipt carryrefused withRECEIPT_CARRY_PRODUCT_CHANGED, which meant a full /ship on every mechanical retake. 1.94.39.0 (GST-1226) had stopped counting the base's +/- lines, but not the context lines inside the branch's hunks or in the base's change. Now only the branch's own +/- lines count, in carry and ingstack-ship-release finish; context lines, hunk headers and the base's change are still shown to the reader. A section whose branch +/- lines pass 200 still takes the full loop, and a base change over 2,000 lines in one file still counts in full. (GST-2229)A main merge inside the review fix range no longer makes main's files count as the PR's fix. On harness-evals#354, the PR's own change since the last targeted read was a changelog fragment, one docs line and one manifest line, but
gstack-review-planmeasured the fix range as--range-baseto HEAD, so the 68-line bootstrap script and the.gstack/pregate.jsonedit a main merge brought in made the range gate class. With the owner's grant it printednext=voicesand re-reviewed code main had already shipped, instead of the one targeted-only read. The fix range, and the check for gate-class edits after the last fix-check, now read only the PR's own change since the range base, the same change the receipt already reads (GST-1593). A gate-class edit in the PR's own change still escalates. (GST-2229)An agent's own words no longer settle a user challenge at the /autoplan gate.
gstack-autoplan answer --words-by agent:<id>let a Captain choose aucitem (a user challenge both reviewers raised, or a round-cap approval) on its own authority, though only the owner may settle one. Such a reply, whetherrec,as-isor auctoken, is now refused withOWNER_REPLY_REQUIRED, naming the item and asking for the owner's words, and the gate stays open. The agent can still answer theditems in its own words and leave theucitems to the owner. The rule that agent words are never the owner's now lives in one place, shared by the answer path, carry-forward and plan-sha citations.A repository can name its own human-docs folders, so prose there skips the test suites too. Docs that live outside
docs/(gstack-evals keeps posts inwiki/board/) used to run every suite, and /ship ran them again locally. Add"docs_only": { "allow": ["wiki/board/**.md"], "tests": ["tests/wiki.test.ts"] }to.gstack/ship-policy.jsonon the base branch. gstack reads it only from the base, so a pull request can't add itself, and a pull request that edits the policy always runs full CI. Patterns must be narrow Markdown globs:**,*,*.mdand anything aimed at agent files are refused with an example of a good one. gstack's own deny list (agent instructions, templates, prompts, preferences, tool configuration, pinned results, generated pages) always wins. A script that reads an allowed folder keeps the class off unless one of the listed tests covers it, and those tests run in the docs check. A listed test missing from the branch keeps the class off too, and land keeps its checks when the base gained a reader of the folder. Unknown keys insidedocs_onlyandlandare now warnings instead of errors.land.docs_only_skipnames its own release, sogstack-ship-policy validatesays whichmin_gstack_versionturns it on. (GST-1974)Free Tests now reports every free-suite result to Trunk Flaky Tests, for detection only. Each shard keeps bun's JUnit report from every child, the flaky retry included (
--junit-dir), and a newtrunk-flaky-testsjob uploads them to Trunk's "gstack free suite" collection on same-repository pull requests and main pushes, so Trunk can flag tests that fail and then pass on the same code. Nothing is quarantined or skipped, no job depends on the upload, and an upload failure never turns a check red. A test child that times out or crashes writes no report, so Trunk sees none of that child's results; it also skips the flaky retry, so the flake ledger has no entry for it and the red shard result is the only record. The token lives only in that job, which checks out and runs nothing from the pull request. The flake ledger and the daily flaky pass are unchanged.Big results PRs now fit under /ship's review ceiling when their transcripts only name a credential. Under
review_exclude_paths, a data file used to stay in review for any line that named a credential, so captured model prompts that mention${OPENAI_API_KEY},$AGENT_API_TOKENor a keychain kept every such file (harness-evals#333: 2,610 files). That many kept files pushed the pattern past the 24,000-byte keep-command limit, so it wasn't applied at all, and readers got over 5 MB against the 2 MB ceiling. A line now keeps its file only when it names a credential and carries a value, meaning the credential scan finds a secret on it or a base64 or token run of 20+ characters follows the name. A key name given a value, such asOPENAI_API_KEY=sk-…or"GH_TOKEN": "…", now keeps its file too. Files kept only for a secret line are excerpted, so they no longer count toward the keep-command limit, gstack reads them in git calls under that limit, andDIFF_KEEP:leaves them out. On harness-evals#333 the reader's diff drops from 5,458,045 bytes to 1,061,721./ship no longer stalls planning review on a branch that merged in thousands of data files, and
gstack-review-scope classifyreads a branch diff of any size.gstack-review-planchecked each changed data or docs file for a leading#!with its own git call, so a fix range that took in another run's 11,749 trial files spent about 200 s per read of that range on a Capy machine (harness-evals #320 waited 25 to 58 minutes); it now finds those files in a few batched git calls. A plan run by itself now stops at the same 180 s limitgstack-review-dispatch passgives it (GSTACK_REVIEW_PLAN_TIMEOUT_MSsets it), printingREVIEW_PLAN_STOPPEDand no plan, and an unreadable fix range lists its first five problems and a count instead of every file.classifyfailed with an empty reason once the branch diff passed 64 MB; it now reads git's diff from a file, and a failure names git's error or the timeout.Fewer false privacy holds when posting PR descriptions and running the pre-merge checks. Three kinds of machine-written numbers no longer read as personal data. GitHub Actions run numbers in the JSON summary /ship writes into a PR description (
ci_carried[].run,flaky_exception[].runs,issues.flakes[].run) no longer count as phone numbers, so a post with reused CI no longer asks for--confirmonce per run; only a block exactly as /ship's writer renders it qualifies, and the same number in prose, next to the block, under any other key, in one of those fields holding anything but an 11-to-20-digit run number, or inside a hand-written or broken block still needs confirmation. A four-part version written to or read from aVERSIONfile, or set right beside a three-part version (path.join(dir, "VERSION"), "1.98.0.0\n",v1.97.2 to 1.98.0.0), and aVERSIONfile holding only the version, no longer count as public IP addresses; a public IP with no version beside it still reports.gstack-approvals importrecords plans whose autoplan run id looks like a phone or card number. A run id such asHARN-64-20261109177601ends in a 14-digit time stamp, and the scanner could read it, alone or with the digits before it, as a phone or card number, so import refused the approval. Import now skips those two findings only in the time stamp (and the thread number right before it) where it places the run id itself, and only for an id of the minted<name>-<14 digits>shape. A phone number in the rest of the run id's name, in the same approval's words or plan title, or the same id typed intogstack-approvals add, still refuses.Home-directory paths and other low-severity findings stay notes in both
gstack-postand the pre-merge checks, now pinned by tests, and keys still refuse everywhere, inside /ship's summary block included.gstack-runaway scanno longer tells a Captain to rotate a crew thread that holds an open PR. The scan now matches the rule the docs already carried: only a thread the Captain marks standing (a merge lane, a watcher, an automation's standing thread) getsFLAG: ROTATE, at 500M own tokens or 3 active days, and never while it holds an open PR; that case printsDEFER: holds an open PR; rotate after every PR merges or closes (R91)instead. Every other thread is a crew thread, which gets oneFLAG: CHECK_INpast 1 billion own tokens and no rotate or own-token warn line. A thread file whosepull_requestslist is missing or partial counts as holding a PR, so old or truncated input never leads to a rotation. /runaway-stopper's fetch program gains astandinglist, its line table gains theCHECK_INrow, andSWEEP:gains acheck_in=count.The secret check and the pre-push hook now read files git calls binary. A GitHub token in a file with a NUL byte, in UTF-16 text, or in a file a
.gitattributesline marks-diff(which the same branch can add) used to pass both guards, because git printed "Binary files differ" instead of the added lines. Both now diff with--textand read each line of such a file three ways. They read it as little- and big-endian UTF-16 text without its NUL bytes, even when most of it is Cyrillic or CJK, and as bytes where each run of control or non-UTF-8 bytes reads as a space, so a token is found in whichever reading keeps it whole. That catches a token on one line of UTF-16 text. A keyword and its value split across two lines of UTF-16 text, such as an AWS secret key on the line under its YAML key, are not caught yet. UTF-32 text and compressed containers such as zip, docx and PDF files are not read. Only credential findings count in such a file, so a run of digits in a compressed image is not reported as a phone number; this repo's own PNG, JPEG, GIF and ICNS files add no finding. A very large binary is not read in pieces, so it fails closed instead of passing. A file whose scanned text is over the scanner's 16 MiB limit fails thesecretscheck, and a push whose diff is over 64 MiB is blocked; keep such files in Git LFS, whose small pointer files scan as text. The pregatesecretscheck also stops treating a merge-base diff git did not finish (an error, a kill or a full buffer) as complete: it is nowPREGATE_ENVIRONMENT, never a pass. Its pass line names how many files it read, for example12 added lines clean in 3 files (1 binary).The merge queue no longer calls a head green while a check on it failed.
gstack-ship-queue ready,land, train land, wave and the post-merge watch all read CI through one helper, and it missed two kinds of failed run. GitHub lists only the newest attempt of each workflow run by default, so when a rerun attempt created no jobs, the failed run before it vanished from the list; gstack-evals#303 went READY withpassed=1 failed=0while itschecksjob was red. The helper now also reads every attempt. A check suite whose latest attempt ran jobs is judged by that attempt alone, so a rerun that dropped a failed matrix job clears it, and a suite whose latest attempt had no jobs is judged by its earlier attempts and its workflow run's result, so a passing first attempt no longer hides a rerun that failed without starting. A workflow run that ended without creating any job (a startup failure, or a run that failed before scheduling one) never appears as a check run at all; it now counts as a failed check named<workflow> (run <id>, no jobs)unless a later run of the same workflow at that head replaced it; a replacing run counts only once it has jobs or has finished, and a run cancelled before any job (a concurrency group dropping a pending run for a newer SHA, as the main backstop does) never ran, so it does not count. A green head, a pending or skipped check and a rerun that passed read the same as before (GST-2167)./shipno longer asks for a money review of files your review policy leaves out. When a repo'sreview_exclude_pathsskipped a file such as a committed SQLite ledger,gstack-review-plancorrectly said no targeted review was needed, butgstack-ship-receipt writeat the same commit still refused withREVIEW_TARGETED: required=money, so the run could not finish (GST-1900). The receipt write, the receipt carry, the merge queue's check and the plan now all leave excluded files out of that check the same way. A money-looking file the patterns don't cover still needs the money review, and an exclusion that isn't active (no policy key, a pattern only the branch adds, or a gate scan the receipt doesn't bind) still excludes nothing./shipno longer keeps a whole results file in review because a model reply says "fit (". The gate scan's focused-or-skipped-test check (RH-1) read every non-prose file, so English like "don't fit (the gap never drops below one space)" in a committedturns.jsonltagged the file and kept it in the reviewers' diff even underreview_exclude_paths. On harness-evals#333 that put the reader's diff back at 5,120,181 bytes against the 2 MB ceiling and/shipstopped withREVIEW_DIFF_TOO_LARGE(GST-2006). RH-1 now skips only data and logs, which no test runner executes: JSON, JSONL, NDJSON, CSV, TSV,.logand.outfiles no longer carry RH-1 unless they were renamed from another kind of file. Every other file keeps RH-1, in a test folder or not, and every other gate tag still reads data files, and code under an excluded path withfit(,fdescribe(,it.only(ordescribe.skip(is still tagged and kept.QA captures on macOS no longer record a finished command as incomplete. After a command exited, the cleanup kill of its process group could get
EPERMfrom macOS while the group was being torn down, andgstack-qa-evidence capturethen recordedstatus: incomplete,exitCode: 2. On macOS, anEPERMnow makes the capture check the group directly and count it as gone only when every remaining member is a zombie or is exiting (psstate starting withZor carrying theEflag); a live member, or a check that cannot run, still fails closed, andEPERMon other platforms fails closed as before. The macOS teardown state is inferred from XNU andps, not measured. Reported with measurements by @vilano93 (#4166).pregate's
strayscheck no longer flags real files whose names only start withtmporscratch. It treatedtmpandscratchas name prefixes, so a real module such aslib/server/disk-space/tmp-watch.jsfailed withPREGATE_STRAYS, andtmpfs-mount.jsorscratchpad.tswould have too. A branch can't allowlist its own strays, so nothing on the branch could clear it.tmpandscratchnow count only as the whole name stem, optionally numbered:tmp,tmp.js,tmp2.js,tmp_1.txt,TMP.js,scratch.mdandscratch2.tsare still flagged, and so is everyzz-*name and editor leftover. The tradeoff: a stem followed by a word, such astmp-repro.tsorscratch_notes.md, is no longer caught either, so name a scratch filezz-*to keep it flagged.A reader's clean reply, or a sentence denying a severity, no longer stops /ship. The review collector took a severity word anywhere in a reader's reply as a finding at that label. #4208's pass-2 red team returned
NO FINDINGSbut quotedCRITICAL (the reviewer wrote …)in a coverage note, and an alphaclaw fix-check wrote "No fix introduced a CRITICAL defect". Both collected as CRITICAL, judge may not drop a collected finding, andgstack-review-planprintedNEXT: stop(GST-2122). Now a reply that saysNO FINDINGSkeeps only its structured findings, which still collect at their label. Those are JSON objects (malformed ones included), lead labels, label headings, numbered headings,Severityfields,Blocks: yes, the native FIXABLE or INVESTIGATE tag, and anything naming a file:line. Its other prose collects nothing. A denial that a change introduced a severity is a no-defect clause, including after a bold lead such as**1. Coverage:**. Other prose keeps its label as before, so a real prose blocker such as "Neither fix clears the P0." still blocks.The preflight secrets check no longer fails a branch for code that reads an environment variable, or for a self-describing fixture label in a test file.
env.kvalready letprocess.env.Xthrough, buttoken = opts?.env?.AGENT_API_TOKEN;,ctx.env.X;,import.meta.env.X;,process.env["X"];andSystem.getenv("X");read as credential values and failedgstack-pregate(yc-software/qm, GST-1894). Anenvmember of any object read by an ALL-CAPS name, and an indexed or call read whose argument is a quoted ALL-CAPS name, are now code, but only when the line ends the expression with;,,or)and holds no fallback or default (??,||,or, a ternary:, or a second argument). Any other line, including one whose fallback follows a comment, a blank line or a line break, gets no new exemption. In*.test.*,*.spec.*,test_*.pyand*_test.*files only, a value made only of lowercase words with a credential word among them ("personal-secret","staging-api-key") is a fixture label. A literal fallback, the same label outside a test file, and every known key prefix still fail. A quoted name that isn't ALL-CAPS in an indexed or call read now fails where it used to pass: a lowercase name such asos.environ["db_password"], and a literal used as the name such asos.environ["<secret>"], which passed because the check skipped the quote the match had taken.Learnings, timeline events and brain sync no longer store or push Stripe live keys, Slack tokens, npm tokens or database URLs with a real password.
gstack-learnings-logandgstack-timeline-lognow refuse any row whose keys or string values hold a HIGH-tier secret bylib/redact-engine, the same gategstack-decision-logalready applied: the writer exits 1, names the rule (for exampledb.url_with_password) but never the value, and writes nothing. Before,gstack-learnings-logstoredDATABASE_URL=postgres://app:<password>@…and exited 0, andgstack-timeline-loghad no secret check at all. Brain sync's push-time scanner, which only knew six families, now also holds a file with a Stripe live or restricted key, a Slack token, an npm token or a database URL with a password, using redact-engine's placeholder rules sopostgres://app:${DB_PASSWORD}@…,PASSWORDplaceholders and the localpostgres:postgres@localhostdefault still sync. Ordinary rows that mention tokens or passwords in prose still write and sync.
[1.98.0.0] - 2026-11-07
New installs follow the stable channel; Capy crews stay on main. A fresh
git clone … && ./setupnow recordsupdate_channel: stablethe first time it runs on a machine and printsUpdate channel: stable (new install)with the command that switches, so a new user gets the twice-weekly tested release instead of every merge to main (the clone starts at main's tip and joins releases at the next cut that passes it). A gstack contributor's checkout (bin/dev-setup's marker, another branch, local commits, CI) still follows main, and every install set up before this change keeps following main: nothing switches under anyone. Capy crew machines stay on main:bin/gstack-capy-sessionpinsGSTACK_UPDATE_CHANNEL=mainunless the variable names a channel, a fresh Capy machine records main, and the Capy skill bootstrapper (wrapper 5) no longer follows a machine's own channel. The README install section says which channel you get and how to switch. (GST-1642)Capy threads run gstack's latest main at least daily. When the oldest origin commit a Capy checkout lacks is more than 24 hours old, the session check's trailer says
stale=<h>hand the skill runs the install before the next workflow. A pin (GSTACK_CAPY_SELF_UPGRADE=off,GSTACK_CAPY_AUTO_UPGRADE=0, a detached HEAD or another branch) holds past that only with a recorded reason (GSTACK_PIN_REASON,git config gstack.pinReason, an explicit--revision); an unreasoned one is overridden at the workflow boundary and reported (PIN_UNREASONED). The upgrade never runs under a live workflow lease or eval run, never switches a checkout another session holds or onto diverged work, and a failed fetch with none successful in 24 hours is reported. (R75, GST-1642)A /ship run handed to a successor thread keeps one budget.
gstack-ship-budget resume --meter-source <jam id> --reading <n> --credits <c>(andresume --rebuild-from-recordwith the same flags) opens a new meter epoch at the successor's own counter when the named source differs from the run's, instead of refusing its readings withBUDGET_READING_REJECTED. Tokens and credits already spent carry, soused,credits, admission and the observe hard stop count every epoch; a reading below the last one of the same epoch is still refused. A successor resume is refused while a handoff child or a reader dispatch still spends on the previous thread's counter, so that spend is settled first instead of dropping out of the budget.start --meter-sourcerecords the run's source. See docs/ship-budget.md#successor-handoff (GST-1655).The update-channel tests can no longer write your real gstack config.
test/update-channel.test.ts'sgstack-configcase wroteupdate_channelinto whateverGSTACK_STATE_ROOTthe shell exported whenever the run skipped this repository'sbunfig.tomlpreload (a run from another directory, orbun --config=/dev/null test), which could flip a developer's or crew machine's update channel. TherunBinhelper'sgstackHomeoption now points all three state-root variables at the test's directory, every spawn in that file starts from an environment with the state-root chain removed and HOME in a temp dir, and a new guard (test/state-root-isolation.test.ts) runs both update-channel test files withGSTACK_STATE_ROOT,GSTACK_HOME,GSTACK_STATE_DIR, a liveCLAUDE_PLUGIN_DATAand HOME exported to sentinel directories and fails if any of them changes. The install fixture also stops treating a worktree'snode_modulessymlink as source, soupdate-channel-setup.test.tsand the other real-setup tests run from a worktree that shares its main checkout's dependencies. (GST-1659)
An opt-in /autoplan gate that holds the session until the pipeline finishes (GST-1666). In GEVA-2's G admission eval, Opus 5.5 told to run /autoplan with no human cost about 20 times a plain session and showed none of autoplan's phases in 23 sessions: nothing kept a session going until every phase was done, so it could stop after any one. With ./setup --autoplan-gate (or GSTACK_AUTOPLAN_GATE=on, or gstack-config set autoplan_gate on), a session that loaded /autoplan can't end its final turn until Phase 0 ran scope, every applicable phase published its report (the Phase N complete text, then true autoplan-published <phase>), and the Final Approval Gate is written. A --ceo-only run needs Phase 1 and its GSTACK_RESULT end line. The block names the next step. A stop that asks you a question, a stop waiting on a native reviewer still running, and a run driven through the gstack-autoplan runner are never held, and after 3 blocks the next stop goes through with an exhausted marker. Each decision is a GSTACK_GATE autoplan-gate marker, and the session record keeps the run's applicable and published phases, so an eval can read phase exposure from the record instead of the model's wording; gstack-skill-gates report --expect armed confirms the gate engaged, and gstack-skill-gates settings --autoplan arms it in headless runs. Off by default; autoplan's text and un-gated runs are unchanged. Docs: docs/skill-gates.md#the-autoplan-gate.
A post-review fix-check chain counts its first link, and the planner plans the next link. In the post-review flow each granted fix-check's stop head is the commit it reads, so link 1's grant names link 1's own commit, which is also link 2's range_base. finish only accepted an earlier link's grant at a stop head before its commit, so link 1 never counted once link 2 existed and the whole chain routed as behavior (founderstar#634:
FIX_CHECK: not counted (… link 1 of 2)). A link's grant may now name its own commit; grants are still assigned newest link first, one link per grant, so a lone grant at the boundary covers the newer link only and the older link stays ungranted.gstack-review-plan --post-review --last fix-check --range-base <last fix-check's commit> --grant <new grant>now plans the next chained fix-check instead of a stop that asked for the grant it then ignored, and refuses the last link's own grant, so lanes no longer hand-render the dispatch. (GST-1676)A Capy install run inside an open /ship or review no longer upgrades gstack under it. During a /ship on gstack-evals #252, the docs audit's session check ran
install.sh --for <skill>and moved gstack from 1.96.0.0 to 1.97.0.0 mid-run: the workflow lease that was meant to stop it only counts for 120 minutes, and a long /ship outlives it. The Capy session now also looks for a run that is still open on this machine's state root: a /ship budget ledger with noclosed_atthat was written in the last 6 hours, or a review start thatgstack-review-log --finishhas not consumed and that is under 120 minutes old. While one is open the session keeps the installed gstack, printsSELF_UPGRADE: deferred (...)naming the run, and still endsgstack: ok <installed version>; once the ledger closes, the next install upgrades as before. Below the supported minimum nothing changes, and the floor still refuses or fast-forwards. (GST-1677)Smaller fixes on the same upgrade path. The eval-lock probe now works without the
flockbinary (python3 or perl stand in, as on macOS). When an unreasoned pin is overridden, the session takes the setup lock before it switches branches and hands it togstack-upgrade, so no other updater sees the checkout between the switch and the fast-forward; an oldergstack-upgradeon the local default branch, which cannot take the lock over, gets it released and takes it itself, so it still upgrades. A default branch the override creates now tracks origin. A failed restore after a refused fast-forward sayspin not restoredwith the command that puts HEAD back, instead of claiming the pin was kept. The no-fetch stale check reads file times withstatinstead of GNU-onlydate -r. A pin reason can no longer add its ownfix:note to the trailer, and a reason with nothing pinned is not reported as a pin. The no-fetch fix note names the install command even when the bootstrapper's path is unknown. (GST-1658)A Captain-granted fix round after a fix-check is planned, not hand-run. After round 2's fix-check and one granted fix-check, an owner who granted one more round at the last fix-check's stop head got
NEXT: stopfromgstack-review-plan, because in the loop a fix-check never earned another. The lane ran the fix-check by hand on a fix-range token, and finish printedFIX_CHECK: not counted (fix-range pass; only a later full pass can clear review)(gstack-evals#254). A new recorded grant naming the last fix-check's commit (--range-base) now plans one more scoped fix-check, the next link of the fix-check chain finish already counts; the previous link's grant (one recorded before a later logged fix-check) is refused and a grant at any other commit still stops, so one grant buys one link. (GST-1681)A cleared remote gate now satisfies a /ship lane whose inventory refuses its own tree. gbrain's lane inventory refuses, on purpose, any tree that changes its CI-reuse files, so
gstack-ship-release acceptstopped withCI_CARRY: none label=unit (inventory_failed: …)even aftergstack-pregate --remotehad cleared the identical tree, and every such PR needed--no-lanes-approvedplus a manual approval (GBRA-345). Now, when the carry refuses asinventory_failedand.gstack/tmp/pregate.jsonverifies for HEAD's exact tree with the remote gate's own report for that tree (tests above 0, not a stamp-only substitution), that receipt satisfies the lane: accept printsCI_CARRY: remote_gate label=<lane> receipt=…naming the substitution and records the lane assource=remote_gatein the evidence ledger. A gate cleared for any other tree, or a receipt naming another tree, still stops, with aCARRY_DIAGNOSIS:line saying why. A CI run whosetree.jsonlists no files (a rerun of only the failed jobs) now says to dispatch a fresh full run instead of a bareno_tests. (GST-1688)A restamp plus a plain docs edit after the targeted read no longer forces a third review round.
gstack-ship-receipt writeandgstack-review-plannow decide "the product changed after the read" with one classifier: a path whose change is a release stamp under the base policy's stamp rule (stamp_files,stamp_paths,stamp_patterns, the version file, manifests, lockfiles and the CHANGELOG re-heading or fragment fold) always carries the targeted record, and docs and CHANGELOG edits carry under the existing plain-docs rule, which still refuses a numeric, money, security or other claim. Before, /ship's restamp plus its docs audit made write refuse the record while the plan printedNEXT: done, so only--post-review(adversarial plus the outside voice) could finish (GBRA-345, gbrain #8727). A code change after the read still drops the record, and a docs claim beside a restamp now gets the one targeted reader instead of a dead end. (GST-1689)A test run's fixture repositories no longer quarantine a /ship review pass. /ship's fetch sweep counted any new git repository with a network remote under the temp dir as a reader's fetch, so a lane's background
bun test, or a reader's own run that hit Bun's 5 s timeout before its cleanup, left fixtures such as/tmp/ship-bin-*(originhttps://github.com/fx/fx.git) that quarantined the stage and then stopped its rerun withFETCH_RERUN_BLOCKED; three /ship passes were lost that way on 11-06 and 11-07. Everybun testprocess now puts its temp paths under one root carrying a.gstack-test-fixturemarker (TMPDIRpoints there, so children spawned with the test's environment follow; aBun.spawnchild given noenvkeeps the original temp dir) and removes it after the last file, even after a timeout. Under the free and paid shard runners the shard's own sandbox carries the marker instead, so a shard'sTMPDIRstays exactly as the runner set it. The sweep skips a marked root below a sweep root and a repository whose remotes resolve to a local path throughurl.<base>.insteadOf, and prints aFETCH_IGNORED:line for each; an unmarked clone with a real network remote still quarantines the stage and blocks its rerun. (GST-1695)/plan-eng-reviewis cut;/autoplankeeps its eng phase (GST-1698). Two evals found no gain from the standalone skill. In the seeded-flaw panel, plain Opus 5.5 with no gstack found the planted engineering flaws in 15 of 16 reviews. In the wave 1 outcome test, it built 22 of 22 planned features correctly, and a session told to use the skill cost 7.1 times a plain one (GST-1218, gstack-evals#253)../setupno longer installs/plan-eng-reviewon any host, and the next./setupor upgrade removes an existing gstack-ownedplan-eng-review/gstack-plan-eng-reviewentry. A skill you wrote yourself under that name is left alone. The entry is retired through thedisabled_skillspath and can't be re-enabled. Its methodology stays inplan-eng-review/as/autoplan's Phase 3, byte for byte. On Codex, Kiro and the other external hosts, that methodology now ships besidegstack-autoplan/SKILL.mdasplan-eng-review.md, because those hosts register every nestedSKILL.md. To review a plan's architecture and tests, run/autoplan; its description now names architecture and engineering-review requests, so they route there. The router, the office-hours handoff and the CEO, design and devex review chaining now point there and no longer call eng review a "required gate"./autoplanalso skips that chaining step inside its own run./shipstill acceptsreviewor autoplan'splan-eng-reviewlog row for Eng Review, and its over-200-lines hint now names only/autoplan.The dots and generic harness targets no longer register the retired /plan-eng-review.
gstack-harness register --target dots|genericlisted every committed skill exceptgstack, so after #4108 it still putplan-eng-reviewin its router and, inallmode, gave it a folder. It now skips every skill inRETIRED_SKILLS;plan-eng-review/stays in the source tree as /autoplan's Phase 3 methodology. The paid cases written for the standalone skill each have a recorded fate indocs/TEST_PORTFOLIO.md: four that check Phase 3 methodology or its required outputs stay (plan-eng-review,plan-eng-coverage-audit,plan-eng-review-artifact,journey-plan-eng), six that checked only the standalone interactive entry are deleted along with their rows in the AUQ matrix and the plan-mode no-op file, andplan-eng-multi-finding-batchingleaves the weekly lane throughPERIODIC_CI_EXCLUDEuntil its counter helpers are removed. (GST-1698)gstack-ship-receipt writenow says why a targeted record from a rewritten commit is refused. When the commit the targeted reader read is not an ancestor of HEAD (usually after a rebase or a redone merge resolution), the RECEIPT_INVALID message now names that commit, says it is not an ancestor of HEAD, and says the record carries only from HEAD or an ancestor of it, even when the product patch is unchanged, so the targeted reader must run on HEAD. Before, it said the product changed after the read while printing two equal product patch ids, and lanes went looking for a product change that wasn't there (qm#2952). What passes and fails is unchanged. (GST-1700)
The /plan-ceo-review gate no longer judges a transcript Claude Code hasn't finished writing (GST-1701). Claude Code can fire Stop about 200 ms before it flushes the turn's last transcript lines. The CEO review gate read the transcript once, so a finished review written outside the repository (a plan under ~/.claude/plans) could be held because its Write wasn't on disk yet, and a run whose load hadn't landed could stop without being checked. The gate now waits, like the /autoplan gate, until the transcript holds the stop's final message (at most 2 seconds or half its deadline). Both gates share one helper, settledTranscript in lib/skill-gates.ts.
- Release stamps and a docs-audit edit after the last fix-check no longer stop /ship for an owner grant.
gstack-review-plan --post-review --last fix-checknow reads the edits since the fix-check's commit with the receipt's classifier (docsChangeSince): lines the base policy'sstamp_filesandstamp_patternscover (VERSION,package.json,.claude-plugin/plugin.json, asince: 'TBD'row moved to the version) and docs edits are no gate-class edit, so the plan printsNEXT: done, orNEXT: targetedwhen a docs claim on a money, gate, auth or secret diff needs the targeted read. Before, any such edit plannedNEXT: stop("the fix-check edited a gate-class path"), and GBRA-341 (gbrain #8705) needed a second grant and a fix-check on a 39-line stamp delta. A stamp match is line-exact, so any other line in a stamp file still stops, as do any code edit, an executable or symlink file with a docs name, and a commit whose message the gate scan tags as a CI skip marker. (GST-1702)
The skill contract Stop hook no longer judges a transcript Claude Code hasn't finished writing (GST-1703). Claude Code can fire Stop about 200 ms before it flushes the turn's last transcript lines. The contract hook read the transcript once, so a finished /investigate run could be blocked for a missing repro because its final test rerun wasn't on disk yet, and a run whose skill load hadn't landed could stop unchecked. The hook now re-reads the transcript, up to 2 seconds, until it holds the stop's final message. It uses the same loop as the /autoplan and /plan-ceo-review gates (readSettledTranscript in lib/skill-gates.ts).
gstack stops draining the shared GitHub GraphQL quota.
gstack-pr-waitread the pull request through a GraphQL query andgh pr checksevery 20 seconds (as often as every 5), about 360 GraphQL calls an hour per watcher, and the Capy app installation's 7,700-point hourly budget ran out right after each reset, stalling merges across crews. It now reads the PR state, base head and head-commit checks from REST, and makes its one GraphQL read (comments, reviews and review-thread resolution) only when the PR changed, every 10 minutes, or once green under--until ready. Every gstack wait between GitHub reads now goes throughlib/gh-poll.ts, which puts a 60-second floor plus up to 15 seconds of jitter under it:gstack-pr-wait(was 20 s),gstack-ci-gate --waitand its registration re-poll (were 30 s and 10 s),gstack-ci-carry wait(was 20 s),gstack-ship-release accept(was 15 s),gstack-greptile-early wait(was 30 s, and its head read moved to REST), the merge-train and land waits (were 30 s, and 3 s for land's merge readback) and eval-bg's run follow (was 10 to 30 s). A gh call that fails with a rate-limit message is no longer retried at once. The gh runners readgh api rate_limit, sleep until that budget resets (at least 60 s) and retry at most twice. The one exception isgh pr merge, which runs under the land lock and still fails at once.test/gh-poll-tripwire.test.tsfails on any new wait in a GitHub-reading module that skips the floor. (GST-1713)/investigateis cut (GST-1717). A preregistered eval found no gain: on 18 real bug-fix tasks that plain Opus 5.5 solves about half the time, 20 trials each, Opus told to use/investigatepassed 50.0% of trials against 47.2% with no skill (+2.8 points, 95% CI -5.8 to +11.4, below the 10-point lift the run could detect), and a passing fix cost about 43% more (GEVA-380 R3c)../setupno longer installs it on any host, and the next./setup, relink or upgrade removes an existing gstack-ownedinvestigate/gstack-investigateentry, even though its source is gone. A skill you wrote yourself under that name is left alone, and the entry is retired through thedisabled_skillspath so config can't re-enable it. Because the source is gone, gstack can't tell its own unedited copy from one you edited, so a real-fileSKILL.mdleft in such an entry is moved to the backup root instead of deleted. Relink does this for the Claude skills folder, and setup does it for every copiedgstack-investigateentry on another host, in a separate backup folder per host, and lists each one in its "Moved N customized SKILL.md file(s)" line. Your own files in that directory stay. The opt-in /investigate gate goes with it:./setupremoves its four Claude Code hooks from settings,gstack-config,gstack-skill-gatesandgstack-skill-routedrop its switch, and./setupnow rejects--investigate-gateand--no-investigate-gateas unknown options, so drop them from install scripts. If setup can't remove those hooks, it now prints a warning with the command to rerun. The shared contract stop hook and gate machinery stay, because/review, the/plan-ceo-reviewgate and the/autoplangate use them. Bug reports now get fixed directly. That means one read-only check of the cause, and when it is still unclear, a focused test that fails on the bug before any edit, then the root-cause fix and a rerun. The router, the CLAUDE.md routing block gstack offers,/ship's test-failure triage,/ios-fix,/learn,/verifyand the docs say so and no longer name/investigate. One line still does:/review's checklist routes timing flakes to/investigateuntil its no-loss replay and repin land (GST-1744), because that checklist is pinned to replay-tested bytes./ship now notices a screen written as a Lit or htm template inside a .ts or .js file.
gstack-diff-scopecounted only CSS, .tsx, views and similar files as frontend, so a pull request that rendered its UI from taggedhtml`` templates in plain TypeScript readSCOPE_FRONTEND=false, and /ship skipped its design-lite check and the design reviewer without saying so. qm#3186 shipped three visible spacing problems that way. A changed non-test .ts/.js file that holds a taggedhtml,cssorsvgtemplate now counts as frontend when a changed line sits inside one of those templates (a CSS declaration or a${}binding counts) or carries markup. Logic-only edits, comments and TypeScript generics don't count. SCOPE_BACKEND is unchanged, so those files still get the backend reviewers. Replayed on the last 100 merged gstack PRs and the last 100 merged qm PRs, no scope flag was lost, and only SCOPE_FRONTEND gained (qm only). On a rendered-UI diff the ship receipt now recordsdesign: { mode: static, reason: no preview declared }`, and the PR body's Design Review line says the same: no rendered /design-review runs inside /ship yet. (GST-1718)The Capy installer reads project pins with an isolated Bun.
bin/gstack-capy-installrunsbin/gstack-runtime-pins.tsfrom the caller's project directory to read its Bun and Node pins. Those three calls now pass--no-env-file --config="${GSTACK_BUN_CONFIG:-/dev/null}"like every other Bun gstack starts, so a project'sbunfig.tomland.envno longer load into the installer.test/bun-entry-isolation.test.tsnow also checks Bun runners held in a variable ("$RUNNER" x.ts, and any variable whose name says Bun running-eor a script) in shipped shell files. (GST-1747)make-pdf reads local images only from the markdown's own directory, and only image files. An image reference that resolves outside the input markdown's directory (a
../path, an absolute path, afile:URL or a symlink pointing out) is no longer read: it renders as a visible[image blocked (outside the document directory): …]placeholder with a warning, and--strictstill fails the run. A local file that is not a png, jpeg, gif, webp or svg image renders as an[image blocked (not an image): …]placeholder instead of being inlined, and fails the run under--strict. The make-pdf skill and docs/howto-diagrams-and-formats.md describe the new defaults. (GST-1747)Tunnel-paired browse agents stay on web URLs: they can't read local files, can't choose a path on the daemon's disk, and can't make the daemon save screenshot or snapshot images. Over the
/pair-agenttunnel,gotoandnewtabnow accept only http(s) URLs,screenshotrequires--base64(it returns the image) and refuses an output path,snapshotrefuses-a,-Hand-o, andeval, which runs a file from the daemon's disk, leaves the tunnel allowlist (now 25 commands). The tunnel's 403 hint names these limits. Local CLI, skill and extension clients behave exactly as before. (GST-1747)
Crew PRs now show whether they had their plan step, and a repo can require it (GST-1751). In qm, a Captain's brief replaced /autoplan with "light plan … no gate to Garry" for a new UI feature (qm#3186), and nothing noticed. A PR now carries its brief's Plan: line under ## Approvals (gstack-approvals render --plan "<line>"): approved: <autoplan run id or approval row id>, exempt: <reason> from docs/captain.md's list, or required. /ship's finish step (gstack-ship-release finish --plan "<line>") and gstack-ship-queue ready resolve it against every branch's approval rows and print PLAN:; ready writes the result into the READY note, and land (direct, stamp and train) checks the note still matches the PR body. A gate the lane answered in its own words, a newer gate revision that isn't approved, and a ruling or grant row never count as the owner's plan approval; imports now record words_by for that. gstack never guesses from the diff or the title whether a change is a feature. No line reads as required, and a diff of changelog fragments only needs none. The new plan_record ship-policy key is off by default; Capy crew sessions warn, and require (policy or GSTACK_PLAN_RECORD=require) refuses with one of six codes, each with a fix. gstack-approvals plan-check --plan "<line>" checks a line by hand. Replayed on the last 60 merged gstack PRs with each PR's brief line, 57 pass and 3 would be refused: two features Garry approved where no approval row was ever written (#4100, #4055), and one whose gate the lane answered in its own words (#4049).
/setup-gbrain's source wireup step no longer puts the gbrain database URL on the command line. The step now runs
gstack-gbrain-source-wireup --strictwithout--database-url, withGBRAIN_DATABASE_URLandDATABASE_URLcleared for the call, so the helper reads~/.gbrain/config.jsononce at startup and pins that URL for everygbraincall it makes, as the flag did before; aDATABASE_URLin the user's shell can't redirect it. The URL holds the database password, and command-line arguments are visible to other local users inps. A new test keeps every setup-gbrain doc from passing the URL to the helper again. (GST-1747)The redaction gate blocks more credential formats.
lib/redact-patterns.tsadds HIGH patterns for OpenRouter keys (sk-or-v1-), GitHub App user-to-server and refresh tokens (ghu_,ghr_), Stripe live restricted keys (rk_live_), Supabase secret keys (sb_secret_) and personal access tokens (sbp_), andaws.access_keynow also matches temporaryASIAkey IDs.gstack-redact, the pre-push hook and every skill that scans through the redaction engine pick them up. (GST-1747)The design board daemon and the iOS QA daemon now serve only local clients that address them directly. The design daemon keeps a per-daemon secret in its private (0600) state file and serves every route except
/healthunder that secret, so board URLs from$D compare --servenow look likehttp://127.0.0.1:N/<secret>/boards/<id>/. The board page, feedback, progress polling andBOARD_URL-based reloads keep working unchanged, and$D daemon stopreads the secret from the state file. Both daemons answer 403 to requests whose Host is not a loopback address for their port, to requests with no Host header, and to requests whose Origin is another site. The iOS QA loopback also answers 403 to browser requests thatSec-Fetch-Sitemarks as cross-site or same-site; local agent clients send no such header and work as before. A board link opened from before a design daemon restart now shows a "Board expired" page instead of a bare 401, and the board page's progress polling stops at the first error response instead of reading it as progress. The iOS QA tailnet listener is unchanged. (GST-1747)A native finding led by
Finding 1 (FIXABLE)keeps its own Severity and Blocks lines. The review collector treated only**1. …**as a numbered finding heading, so when the native adversarial reader opened a finding with**Finding 1 (FIXABLE): …**and put numbered steps or more paragraphs before itsSeverity: MediumandBlocks: nolines, those lines split off onto a phantom second record and the finding itself collected CRITICAL from its FIXABLE tag. The judge then refused the downgrade, and gstack-evals #248's /ship blocked until a review-loop exception was granted by hand. A "Finding N" lead is now a numbered heading, so the fields land on their finding and it collects at the Severity the reader wrote (GST-1031 ruling A). A line right under a numbered heading that carries its Severity and Blocks fields, with no other label and no file:line, now joins the heading too, at the stronger label, so the ledger stops counting aBlocks: nofinding as a blocker and lead judgment may lower it with a reason. A located line there stays a finding of its own, and a heading that names CRITICAL or P0 itself keeps its blocker. Checked against 586 captured reader outputs: only four outputs of this shape changed, and no CRITICAL a reader rated as blocking was lost. (GST-1657)/autoplan now sees Lit and htm template UI, and a lean run no longer calls a skipped Design phase merged. /autoplan's UI classifier counted a rendered file only by extension or directory, so a plan naming
plugins/web-ui/src/personas.ts(Lithtmltemplates in a.tsfile) got no Design phase, and rows, pickers and menus were not UI words. A named non-test.ts/.jsfile under the repo root that holds a taggedhtml,cssorsvgtemplate now counts as a rendered file, using /ship's template rule frombin/gstack-diff-scope(one regex, pinned byte for byte by a test), and row, list, picker, menu and section join the UI terms (near a visual noun they add Design; alone they only keep the UI checklist sections loaded). In a lean--kind featurerun, a phase the one reviewer does not apply as a lens is now labelled with its real reason, such asno UI scope detected (lean), instead oflean run: merged into the one eng reviewer. (GST-1750)Three /ship tooling bugs from gbrain#8730 are fixed. When Step 16 stage 2.1's post-review Step 9 plans
NEXT: voiceson a gate-class diff,gstack-review-dispatch pass --voicesnow renders the voices that plan lists instead of printingPASS: none, so plan and dispatch agree. A same-tree pregate clear now survives a--stage testsrun without--base, which keeps the base of the record at its head instead of takingorigin/HEAD(when that names another branch, the run says so), and it survives a base branch that moved between runs, because the carry compares the policy's source and the gate command, not the base commit its label names (a receipt a stamp-only substitution accepted still needs the same base commit).gstack-pregate clear --receiptalso accepts a stage run's own log, where the gate'sPREGATE_REMOTE:line sits underlanes:, but only when that run's lanes check readsrequires-remote, so the log of a run whose gate exited non-zero is refused.gstack-review-scope summaryno longer reads a fix-check ledger in ap<N>directory as an unbound pass N. It counts as the fix-check it is. (GST-1775)
[1.97.0.0] - 2026-11-06
- Every reviewer reads the same trimmed diff, however its brief was rendered. A brief rendered on its own with
gstack-review-dispatch render(the Red Team rendered before the specialists finished, or rendered again after a failed dispatch) now gets the base policy'sreview_exclude_pathsselection, the readers policy'sforbid_paths, the kept files, the secret-line excerpts and the disclosure line, the same as the pass's readers. Before, it built its diff from its own flags alone, so harness-evals #269's Red Team refused at the unexcluded 30.3 MB while the other readers read 2 MB. The plan, the pass manifest and the standalone render now share one selection helper (lib/review-selection.ts), and the selection is read from the checkout root, so an outside voice rendered from a subdirectory no longer drops the changes outside that directory. (GST-1476)
Fixed
gstack-brain-syncno longer reports a rejected push as an auth error when the remote's URL or path happens to containauth,permission,401,403orforbidden. It searched git's whole error text, including theTo <url>line and the quoted URL, so a remote such asgithub.com/author/notesor a path under/tmp/x403yskipped the fetch-and-merge retry, and the sync stayedpush_faileduntil someone pushed by hand. The check now ignores the URL. A real auth refusal (for exampleThe requested URL returned error: 403) is still reported as one. In CI, the free shard's temporary folder name turned eight brain-sync tests red at once (Free Tests 41847262176).The browse daemon picks its port after Chromium has launched, right before it binds. It used to check a random port first and bind it only after the browser launch, which takes seconds. Under load another process could take the port in that time, and the daemon failed with "Failed to start server. Is port … in use?" (Free Tests 41951644962).
test/gate-reuse.test.ts: the fixture's bare origin turns off auto-maintenance, as the pregate fixture already does. Each push started a detachedgit maintenance run --autothat could remove an object folder while a later push was writing into it (Free Tests 41980850843).Paid evals: the ship doc-sync interface now says how to create the private folder it allows (one
mkdiras its own call), after twoship-docsync-storeruns each joined a no-op mkdir stand-in to a read line (41850017482, 41987975678). The coverage-audit prompt asks for the two file reads after the skill files, so the skill's dedicated-read step is seen before the files are read (plan-eng-coverage-audit, 41932813292). The QA-only cleanup names the terminal record, port file, daemon and daemon-log state when it can't confirm the terminal's identity (qa-only-no-fix, 41962523474)./ship's finish stops flagging main's edits after a stacked parent squash-merges. A child PR reviewed against its parent branch saves the parent's head as its reviewed base. Once the parent squash-merged and the child merged main,
gstack-ship-release finishrefused that head as not on main, and the old merge base it fell back to counted the parent's and main's later edits as changes since review, so #4008 paid two review exceptions and a split for files it never changed. finish now takes a landed stack parent as--reviewed-base: a commit the branch contains whose change a main commit holds, found at the squash even when main edited those lines afterwards (REVIEWED_BASE: stack parent <sha> landed on origin/main at <sha>). The route, the granted fix-check's credit, the scoped-review packet and the docs carry then compare the child's own patch, and a file the child no longer changes counts as base only when main already holds the reviewed change to it. A child edit after review, a revert to main's content, a parent main never received (including apackage.jsonscript the child's version bump later touched, or a logic edit to astamp_pathsfile) and any other commit off main still stop. A post-review edit on this path never takes the one-reader bounded route; it stops for a full re-review. The receipt carry's landed-parent search finds the squash the same way. (GST-1399)Receipt carry survives a base policy change that excludes none of the PR's files.
gstack-ship-receipt carryrefused withreview_exclude changedwhenever main'sreview_exclude_pathsdigest moved, even when no file the PR changed fell under any pattern, so harness-evals #263 paid a full five-reader re-review of an unchanged product. Carry now also carries when neither the receipt's recorded selection nor HEAD's holds a file the PR changed (a pattern gained, added, removed or reverted), and the carried receipt records HEAD's digest so the queue binds it. A pattern change that selects a PR file, excluded or kept, and an unreadable or malformed base policy still refuse. (GST-1415)On Capy, agents comment and request reviews only through Capy's PR tools, never
gh. docs/triage.md, CONTRIBUTING.md, docs/captain.md, docs/recommended-harness.md and /modernize now say that comments and tags go only throughtools.pr.commentand review requests only throughtools.pr.edit, both acting ascapy-ai[bot].gh pr comment,gh issue comment,gh apiandgstack-postare never used for them, becauseghon Capy runs as the maintainer's own account. An unattended /modernize run pushes, closes and posts nothing. (GST-1417)A docs audit after the review no longer forces another review. /ship's Step 14.5 docs audit runs after the review, so when it added, edited or removed a file under
review_exclude_paths,gstack-ship-receipt writerefused the digest the reviewers read and the run had to review again. Write now takes the audit's post snapshot (--docs-post <audit-id>-post.json) and its Prepare snapshot (--docs-pre), and binds the reviewed digest when the audit's own files are the only change to the selection. It printsREVIEW_EXCLUDE_DOCS_AUDIT:when it does. Docs the review read while they were still uncommitted stay as they are, and files that git converts on checkout (autocrlf, filters) compare as committed. Any other change still refuses. The ship driver's Step 19 write now passes--review-exclude, and a refusal says when the flag was left out. (GST-1429)readybinds a receipt with an older review_exclude digest when the policy change touches none of the PR's files. After areview_exclude_pathsedit landed on main,gstack-ship-queue readyrefused every receipt that had recorded the old digest, even when no file the PR changed fell under any pattern (harness-evals #274 and #276 after policy PR #278). The queue now uses carry's rule. When neither the receipt's recorded selection nor HEAD's holds a file the PR changed, the receipt binds. A selection that holds a PR file, excluded or kept, and an unreadable base policy still refuse. (GST-1434)The review_exclude name scan no longer times out on large results repos. The scan that keeps a file a program names by full path ran one
git grepover the whole tree, so on harness-evals #269 it searched 30 MB of receipts for 4,354 candidate paths, ran 278 s past its 120 s limit and kept every file. It now greps only the code and test files that can name a candidate, so its cost follows the code, not the data the PR adds. A git failure or timeout still keeps every candidate. (GST-1435)/ship's docs audit runs on your model preference. Step 14.5's docs audit was told to run on Sonnet 5.5 at low effort no matter what model you prefer, so crews set to Opus in
preferences.yamlstill audited on Sonnet.gstack-review-dispatch pass --audit-onlynow gives a docs reader with no model youragent_modelat low effort and prints the pick asAUDIT_MODEL:. With no preference it stays on Sonnet 5.5 at low effort,hostuses the lane's own model, and a model named in the extras still wins. (GST-1439)A policy edit that changes nothing about a PR's files no longer forces another review. After main's
review_exclude_pathsgained patterns that match none of a PR's files,gstack-ship-receipt writerefused the digest the reviewers read, and ready, carry, train build and land bound it only when both selections were empty (harness-evals #222: its reviewers read 7cf39a7e1150, which excludes 1,260 of its files, and write refused after #278 added six globs that match none of them). The shared check now binds when the recorded selection and HEAD's give the PR's files the same applied patterns, excluded files and kept files. Write gets only the digest, so it rebuilds the recorded selection from the policies the base held and printsREVIEW_EXCLUDE_POLICY_MOVED:. A selection that differs, a digest no base policy gives, an omitted--review-excludeand an unreadable base policy still refuse. (GST-1446)
Fixed
Results PRs that capture model requests no longer stop at the review ceiling just because their captured prompts mention credentials. A file under
review_exclude_pathsstays in review when a changed line reads a credential, and until now every such file went to each reader whole. On harness-evals #269, 75 captured requests whose system prompts name${…_API_KEY}variables and keychain commands added 12.9 MB, and/shiprefused withREVIEW_DIFF_TOO_LARGEagainst the 2 MB limit. When the secret line is the only reason a file is kept,gstack-review-dispatch passnow gives readers an excerpt instead. The excerpt holds every changed line the secret-line rule matches or the credential scanner finds a secret-shaped value on, with up to 3 lines of context, the path and the match counts. Only the excerpt counts toward the limit. A file kept for any other reason (a program names it, it is outside the applied patterns, the gate or name scan could not run) is still shown whole, and so is any file whose excerpt cannot be built. See secret-line excerpts./ship's coverage and plan audits run on your model preference too. Steps 7 and 8 were still told to run on Sonnet 5.5 at low effort after the Step 14.5 docs audit moved to your
agent_model. A reviewer pass now gives any audit reader with no model youragent_modelat low effort and prints the pick asAUDIT_MODEL:, the same way--audit-onlydoes. With no preference they stay on Sonnet 5.5 at low effort, a model named in the extras still wins, and the Step 11 outside voice keeps its other-family model. (GST-1449)
Fixed
gstack-redactno longer reports a property read in code as an internal hostname (#3987). Theinternal.hostnamerule matches any name ending in.local,.prod,.staging,.internal,.corpor.lan, soserver.local('/x'),if (config.prod)andif settings.internal:were reported as leaked hosts. The pregate secrets stage listed each one as a warning, and /ship then asked for a confirm. In gstack's own source files, 57 of the 239 findings this rule made were property reads like these. Now, in a TypeScript (.ts,.mts,.cts), Dart or Python file, a name is treated as code when it sits outside every string and comment on its line and has code on both sides of it: an operator, bracket or expression keyword before it, and a bracket, operator, method call or the line end after it. A quoted host, a host in a comment, a host and port (db.internal:5432), a host and path (proxy.corp/api), prose, a host inside a TypeScript template literal or block comment, every host in a.tsx,.jsx, config, dotenv or Markdown file, and a scan without a file path still report. The check reads at most 1,000 characters back on a line and reads each line once. A 4 MB file of ordinary source scans in the same time as before; a buffer packed with these names on every line takes up to about 40% longer. Thanks to @nazarli-shabnam (#4026) for the approach.
An opt-in /plan-ceo-review gate that holds "rank the top risks before you finish" (GST-1461). With ./setup --ceo-review-gate (or GSTACK_CEO_REVIEW_GATE=on, or gstack-config set ceo_review_gate on), a session or review subagent that loaded /plan-ceo-review can't end its final turn until the review's output file, changed after the skill loaded, has a Findings or Top risks heading followed by a numbered list of real risks starting at 1. The gate looks at GSTACK_CEO_REVIEW_OUTPUT, the files the run wrote, changed or untracked markdown in the repository (so a review written through a Bash heredoc counts) and the project's ceo-plans directory. A stop that asks you a question is never blocked, an unrelated subagent is never touched, and after 3 blocks the next stop goes through with an exhausted marker. Decisions are GSTACK_GATE ceo-review-gate markers (fired, blocked via=stop, released file=…, exhausted, error) in the session record, hooks/ceo-review-gate.log and the transcript; errors fail open. gstack-skill-gates settings --ceo-review (alone or with --investigate) prints a --settings JSON for headless runs, and the headless smoke now plays a CEO review too. Off by default; the /plan-ceo-review skill text is unchanged. The /investigate gate's rollback is also tighter: a fix committed on a branch behind the baseline is undone to that branch's own tip; a restored file gets its own bytes back (two files that differ only in line endings no longer share a backup), keeps its permissions and gets its index entry back, so a rejected edit that was git added isn't left staged and a change you had only staged survives an edit to that file being put back; linguist-generated exemptions come from the baseline commit, so a new .gitattributes can't exempt source; and gstack-skill-gates settings quotes hook paths, so a checkout whose path has a space still runs its hooks. Docs: docs/skill-gates.md.
An opt-in /investigate gate that holds "no fix before a root cause", through Bash too (GST-1461). On Opus 5.5 the skill text alone gets that step followed 0 of 46 times, and GST-938's Edit/Write-only gate held in just 13 of 28 sessions because Opus edits through the shell. With ./setup --investigate-gate (or GSTACK_INVESTIGATE_GATE=on, or gstack-config set investigate_gate on), a session that loaded /investigate can't change tracked source until it writes a Root cause: <what is wrong> line: Edit, Write, MultiEdit and NotebookEdit are denied, and any Bash command that changes a tracked source file (sed -i, redirects, tee, python, perl, node, git apply, a commit) is caught by comparing the tree with a baseline, put back and reported. Tests, docs, lockfiles and new untracked files are never blocked. Every decision is a GSTACK_GATE marker (fired, blocked, released, observed, skipped, error) counted in $GSTACK_STATE_ROOT/skill-gates/<session>/record.json, traced in hooks/investigate-gate.log and recorded in the transcript; a hook error fails open with an error code=… marker. gstack-skill-gates settings --investigate prints a --settings JSON for headless claude -p runs and gstack-skill-gates report --expect armed checks a session engaged. Off by default; the /investigate skill text is unchanged. Docs: docs/skill-gates.md.
A finding the owner rules a disclosed note no longer keeps a granted fix-check from counting, and every ruling is listed. On qm#3122 at 532cc5c the owner ruled two CRITICALs notes, not fixes. The runner logged them as
skipped,finishcounted a skipped CRITICAL as open, so the granted fix-check row (its own findings all below the floor) never read CURRENT andfinishstopped with "behavior changed since review". The owner now records each ruling withgstack-approvals rule --finding <fingerprint> --head <stop head> --reason <why> --words <exact words> --by <who ruled>: an approved approval row with the ruler, the head, the reason and the time.rulerefuses a head that is not a commit, a multi-line reason, a--bynaming gstack and any ruling inside the checkout's open /ship run, andaddrefuses the ruling scope.finishreads rulings from the approval record only (aruledfield oraction: "ruled"on the lane's own review-log row is ignored), treats a ruled finding as closed when the ruling's head lies inside the fix-check's range, whichever came first, and prints each asRULED_NOTE:; a ruling at an earlier head is listed as not applied. A skipped CRITICAL with no ruling stays open.gstack-approvals rulingsprints theRuled note: …lines for the Pre-Landing Review and the PR body; the receipt records them asruled_notes,gstack-ship-receipt write --bodyrefuses a body missing one, and the READY block prints each. See docs/ship-policy.md#ruled-notes. (GST-1537)/ship's finish routes a declared version or rules-number retake after a base merge as mechanical, with no review round. founderstar#563 merged its base after two full passes and retook its rules number 80 → 81: one line in
scripts/core/game.gd,save_versionin 8 save fixtures and one golden. finish routed all 10 paths as behavior and said to insert Steps 5–11.5, whilegstack-review-planat the round cap saiddone, so the only exit was a fresh /ship. A base policy can now declare the constant undermechanical_retake(its file and one-line template, the fixture fields that carry the value, and the.gstack/generated.jsonentries that rebuild its goldens). finish proves each changed path from the diff. It needs one literal on the constant's line, a value above the reviewed one and the base's, the same new value in every changed field, goldens that regenerate byte-identically, and nothing else changed. It printsMECHANICAL:per path andmechanical=<n>onROUTE:. Any other edit in those files, a value that doesn't match or a golden that doesn't regenerate keeps its old route with aROUTE_MECHANICAL_REFUSED:reason. The receipt lists the paths asMechanical retake: …lines, and receipt write refuses a PR body missing one. finish's behavior STOP now namesgstack-review-plan --post-review, which plans that Step 9 as a fix to a gate-class path: a pass on the range below the round cap, and a stop for the owner's grant of one scoped fix-check at the cap, neverdone. Prior art: #3966 (GSTA-167'scarry_mechanical). (GST-1560)A receipt carry with both a changed path and a moved-context path gets one scoped re-check instead of deadlocking. founderstar#563 merged a base that took
SAVE_VERSION := 83under the branch's reviewed:= 84and also moved a block next to a reviewed hunk. Carry called the constant file changed, J1's re-check refused because context had moved, and the scoped review opened only when nothing had changed, so every rules-number PR needed a fresh /ship. Now a hunk whose added lines are byte-identical and whose removed lines differ only by the base's edit of the lines the branch replaces counts as a context path, so carry and finish put it in the scoped-review packet for one reader and never carry it silently. When real changed paths and context paths come together, carry writes one packet: the range-diff, the changed paths' diff, then the context hunks. The existing 400-line and 64 KB caps count the whole packet,range_diff_sha256binds all of it, and the reader's record namesrange_base, which the carry reason logs. Past the caps, carry refuses as before. A changed path alone, or context paths alone, keep their routes with unchanged output, and a branch-side change to an added line still needs review. (GST-1561)
Changed
Captain docs: a lane sleeps while /ship runs.
docs/captain.md(the lane's /ship sequence),captain/templates/brief.mdand the Capy gstack skill's "Sleep while /ship runs" bullet now say that after dispatching /ship, the lane ends its turn and wakes only when /ship completes, holding no pull request watch meanwhile; that one wake relays READY, and after READY the lane handles pull request events as before. Each READY duty has a named owner sotrain buildnever refuses a pin withQUEUE_NOT_READYfor a step nobody ran: /ship owns the ship receipt and the pregate record behind thePREGATE:line; the lane ownsgstack-ship-queue ready --screen|--no-screenand its notes, the decision-trail audit and theAttentionsection. The tradeoff is that a red check that lands while /ship runs waits for /ship to finish instead of being fixed in parallel.A /ship helper on Capy can count its own calls. Every helper reported
CALLS: unavailablebecause a subagent can't read its own transcript. On Capy, the gstack-ship-* commands and the review pass loader now add one row each to<state root>/ship-calls.jsonlwhen they exit, andgstack-ship-budget calls --record <rec>turns those rows into aCALLS: source=logline: phase programs, review-pass polls, section reads, an estimate of the keep-alive waits between them, how far past 200 s each poll rerun starts, and gaps over the 300 s cache. Counting adds no call. A run window with no rows printsCALLS: unavailableinstead of zeros, and a background lane orfinishno longer hides the calls made while it runs. (GST-1585)A main merge after the targeted read no longer voids the record.
gstack-ship-receipt write --review-targetedrefused with "the product changed after the read" whenever main brought in money- or secret-tagged files, though the PR's product patch was unchanged, because the classes changed since the read were computed across the merge commit (harness-evals #293, #292, #225). Write now computes those classes, and the plain-docs carry, over the PR's own change, meaning the paths whose part of the PR's diff against its merge base differs between the read and HEAD. A branch-side edit to money, secret, auth or gate code after the read, or a merge resolution that changes the PR's own hunks, still refuses. (GST-1593)/shipaccept gates under a branch's own pregate policy when it only adds test lanes, says why a carried lane's test file is missing from CI's JUnit tree, and takes an owner-granted test-lane exception. On gstack-evals #240 a PR that added a runtime file and its own lane line passed preflight under--policy-from head, thengstack-ship-release acceptreran the pregate under the base policy and refused withPREGATE_NO_LANE.accept, andfinishwhen it reruns the whole pregate, now pass--policy-from headwhen the branch's.gstack/pregate.jsondiffers from the copy it forked from in nothing but added test lanes and.gstack/generated.jsonis unchanged, printingPOLICY: head …; a removed or shrunk lane, or any other changed key, keeps the base policy withPOLICY: base … (the branch's copy <what differs> …). The same PR then stopped oninventory_uncovered: bun registers an imported test file's tests under the importer, so its JUnit suite never appears. The refusal now addsCARRY_DIAGNOSIS: bun registers <imported> under <importer>; its JUnit suite won't appear, and the owner can recordgstack-approvals lane-exception --head <pushed head> --files <the uncovered files> --reason … --words … --by …(refused inside the lane's open /ship run, by gstack, or throughadd).gstack-evidence record-cibinds it only at that head for exactly those files, after a local preflight of them with the lane'sper_filerunner passes;acceptprintsTEST_LANE_EXCEPTION:, the receipt'sci_carriedentry records the grant and the preflight, andgstack-ship-receipt write --bodyrefuses a body without theTest-lane exception: …line. See docs/pregate.md#accept-head-policy and docs/ship-policy.md#test-lane-exceptions. (GST-1595)/ship's finish routes a Godot 4 UID sidecar added after review with no reader, and a base policy can declare its own test files under
test_code. founderstar#611 (FOUN-32) committedtests/cutscene_check.gd.uid, the one-lineuid://…file Godot writes beside a script, after the owner's granted fix-check, for a test script the PR added before review. No route took it, so a random id cost another fix-check or a fresh /ship. finish now proves each.uidthat would route as behavior. The branch must add it after review, its sibling script is one the reviewed range added or modified or the review-loop exception accepted, it is a regular non-executable file whose whole content is one canonicaluid://<id>line exactly as Godot 4 writes it (base 34 over a–y and 0–8, at most 2^63−1, optional trailing newline), neither file matches the base'sreview_exclude_pathsorreaders.forbid_paths, and no other file in the tree declares the same UID (another.uid, a[gd_scene]or[gd_resource]header, or an.importfile'suid=line; a scene that only references the script by it is fine). A proven sidecar printsUID_SIDECAR:and counts assidecar=<n>onROUTE:. Any other.uidkeeps its old route with aROUTE_SIDECAR_REFUSED:reason, and.importfiles are never candidates. The receipt lists each sidecar as aGodot UID sidecar: …line, and receipt write refuses a PR body missing one. GDScript checks (tests/*_check.gd) match none of the built-in test globs, so the new base-onlytest_codepolicy key adds globs that finish routes as test code (one scoped reader) instead of behavior. A declared glob never matches a file under.gstack/or.github/, and a head-only declaration changes nothing. (GST-1604)/shipaccept'srecord-cibound comes from the base ship policy, and accept says when its final pregate ran the tests here. accept stopped everygstack-evidence record-ciat a fixed 600 s, so on harness-evals #271, whose record-ci needed about 745 s, the lane ran record-ci and the rest of accept by hand. The newci_record_timeout_skey in.gstack/ship-policy.jsonsets the bound (default 600, at least 60, clamped to 3600). accept reads it from the base branch only and printsCI_RECORD_TIMEOUT: <n>s (…). The same run's final pregate found no run profile for this OS and ran 3,666 tests locally with no reason given. When the tests stage gets no CI carry, accept now printsCI_CARRY: none (<reason>); the final pregate's tests stage ran here instead: tests <verdict> in <n>s. A profile withoutoscarriesship_lanes_fromlanes but not the tests stage. See docs/ship-policy.md#ci-record-timeout and docs/pregate.md#accept-local-tests. (GST-1606)/shipfinish'sFIX_CHECK:line names the grant that covered the fix-check. When a branch held two approvedreview_loop_grantrows whose stop heads both fell inside the fix-check'srange_base..commit, finish named the first one recorded. On gstack-evals#244 the line credited fix-check fc4 to the earlier fix-check's grant, so the trail misattributed the owner's approval. finish now names the grant whose stop head is newest in the range, which is the stop the fix-check answered. Whether the fix-check counts is unchanged. (GST-1610)
Fixed
test/ship-queue-land-direct.test.tsandtest/ubicloud-runner-recovery.test.tspass in one bun process. The land file's merged-checks case calledrunMergedChecks(lib/land-merged-checks.ts) inside the test runner. On Linux that call setsPR_SET_CHILD_SUBREAPERand clearsPR_SET_DUMPABLEon its caller and never undoes them, so the runner adopted every later orphan and never reaped it. The fake VM's detached phases and the sink pusher'ssleepstayed zombies thattail --pidandkill -0count as alive, so recovery's run cases hung at the 90 s timeout (Free Tests 42207455885, shard 10). The case now runsrunMergedChecksin a child Bun. The fake VM fails at once with a named error when the runner is a subreaper, recovery fails on any zombie child it leaves, and a new regression runs the pair in one process. (GST-1613)A /ship run that audits its docs twice keeps the review it already has. When Step 14.5 ran again after a base merge and restamp,
gstack-ship-receipt writereset only the last audit's files, so a file the first audit edited and committed stayed in thereview_exclude_pathsselection and write refused the reviewed digest (gbrain #8678); the only way out was HEAD's digest, which skips review of the delta. Each docs snapshot now names its /ship run (--run), each post snapshot records the files its audit edited (--pre <Prepare snapshot>), and a re-audit's post snapshot carries the earlier audit (--carry). Write resets every file this run's audits edited to its content before them and binds the reviewed digest. A file no audit edited, an edit after an audit, and a carried audit from another run still refuse. (GST-1616)finish counts every granted fix-check in a chain, and accept keeps clears made at the same tree. A second granted fix-check (a merge resolution, say) logs its range from the first fix-check's commit.
gstack-ship-release finishread only the newestreview-fix-checkrow and refused any range that didn't start at the reviewed tree, so the later fix-check unbound the earlier one and lanes logged a synthetic combined row (#4063). finish now chains each row to the earlier row whose commit is itsrange_base, back to the reviewed tree, and counts the chain when every link is clean and has its own owner grant (one grant counts for one link); a gap or an ungranted link still refuses. Separately, accept's finalgstack-pregaterewrote pregate.json and dropped themacos-named-regressionsandwindows-smokeclears the lane had made at the same tree, so accept never exited 0. A rerun at the same head, tree, policy and base branch now keeps each earlier receipt for the same obligation and printsPREGATE_CLEAR_KEPT:; another head or tree, or a rerun with a failed or unfinished check, keeps nothing. (GST-1627)The R56 inventory records L1's verdicts on gstack's untold routing and /investigate's told record (GST-1629). GEVA-2's L1 run (gstack-evals#247; Opus 5.5 on the claude_code preset, 80 SWE-rebench tasks, a no-gstack arm, pins 82db89ab to 699a41cb) is now in
docs/inventory/evidence.jsonand the regenerateddocs/inventory.md: the untold routing package (route hook, contracts and the description rewrite) helps, B1 +21.3 points [+12.5, +30.0], KEEP, and needs routing or contracts on; the description rewrite alone had no effect (0 of 80); told record completeness is untested, B3 +10.0 [0, +20], FIX-METHOD because probe I failed its blind audit; pass rate O5 +5.0 at a 65% control, MDD 18.7, is descriptive only. /investigate keeps its no-effect status and CUT-CANDIDATE, which measured something else./investigate's check-after-last-edit item sees fixes written through Bash. A Bash command that writes a file inside the session directory (a heredoc into python or cat,
sed -i,tee, a>or>>redirect,patch,git apply) now counts as an edit, so a run that tests, then fixes the code through the shell and never tests again readsmissinginstead ofmet. Before, only Edit, Write, MultiEdit and NotebookEdit counted, and 5 of 7 probe-I fixes in GEVA-2's L1 run were heredoc writes. The parser (lib/shell-writes.ts) is conservative: reads, output to stdout,2>&1, and writes under/tmp,~, another directory or a variable path do not count. (GST-1633)The browse audit origin and network log no longer keep URL query values or credentials, and short digit pieces leave audit error text. The
originfield of.gstack/browse-audit.jsonlstored the full page URL, so after a GET form was submitted the next line held what the user typed, such as?user=a&password=hunter2pw, andbrowse-network.logstored request URLs with their token query values. In those two places a URL now keeps its scheme, host, path and query parameter names; every query value is written as[REDACTED], a query piece with no value (such as a bare token) is written as[REDACTED]whole, and any username, password or#fragmentis dropped. The audit error scrub now also removes 2- and 3-character pieces of a redacted value that contain a digit, such as a CVV or an expiry month, matched as whole tokens; shorter word pieces likeaorisstay so the error text is readable. Still recorded as typed: navigation command arguments such as agotoURL with its query, URL paths, and the text inbrowse-console.log. Lines written before this release still hold the old values; delete.gstack/browse-audit.jsonland.gstack/browse-network.logto clear them. (GST-1635)mechanical_retakeandtest_codenow name 1.97.0.0 as the gstack release that introduced them. Their key constants said 1.96.1.0, a version the next release skips: its fragments carrybump: minor, sogstack-release-stamp openstamps 1.96.0.0 -> 1.97.0.0. A policy that declares either key, orci_record_timeout_s, setsmin_gstack_versionto 1.97.0.0.A ship-policy floor above the newest stable gstack release is refused by name, and the doctor stops sending sessions into a fix that cannot work.
gstack-ship-policy validate, and the new pregatepolicy-floorcheck on a branch that changes.gstack/ship-policy.json, refuse amin_gstack_versionabove the newest stable gstack release (POLICY_FLOOR_ABOVE_STABLE, naming the floor and the release), because every stable-channel lane would refuse that policy and no upgrade could clear it. The release is the highestv<version>tag at origin'sstablecommit (a tag a half-way cut left above stable does not count), else the VERSION at the local stable ref; a vendored copy with no.gitof its own never reads the enclosing project's tags; when none resolves, both warn (STABLE_RELEASE_UNKNOWN) and say the floor was not compared. The doctor'sfloorrow now compares the version the checkout reads policies as (runningGstackVersion, asvalidatePolicydoes), so an unstamped main checkout that already reads the floor's keys passes instead of warning forever, and when no stable release meets the floor it saysno release meets this floor yetand offers no fast-forward; the trailer note becomesfloor=<f> (<file>; no release meets this floor yet)with nofix:. The gstack skill now runs a floor fix once and reports a floor no release meets instead of rerunning the install before every workflow. (GST-1637)
Important fixes reach stable within a day, and stable is never more than a week stale. The Stable release workflow now runs every day at 14:00 UTC as a daily check (R74).
Added
- A changelog fragment can mark its change important with
important: security|regression|data-loss|blockerin its front matter. The daily check cuts stable once it is 24 hours old when a gated change stable lacks carries the field. - The daily check also forces a cut when stable is 7 days old and main has gated changes. Monday and Thursday stay the regular cuts with the 72-hour floor. On a day with nothing to do it changes nothing and logs why.
- A due cut that finds no release PR reports
NO_RELEASE_PR: important change waiting, no release PRand goes red. A week-old stable whose main has nothing newer gated reportsSTABLE_STALE. - docs/releases.md documents the daily check, when the Captain stamps a release PR, the exit codes, and the exact commands to roll stable back.
Security
Security fix: gstack's bundled browser no longer trusts the compromised eMudhra intermediates (#3338). gstack now pins Playwright 1.65.0, which bundles Chromium 158.0.8127.18. Chrome removed emSign ECC Root CA - G3, the root over the eight eMudhra intermediate CAs whose keys were compromised, from the Chrome Root Store, but Playwright 1.64.1's Chromium 156 still carried it. gstack's default headless browser gets no CRLSet updates, so it accepted certificates those intermediates issued, and anyone holding the weak keys could impersonate a site to it. With 1.65.0,
$B goto https://dv-g3b-emudhra.we-have-a-problem.com/fails withERR_CERT_AUTHORITY_INVALIDin both the headless shell and the full Chromium; on 1.64.1 it loaded the page. Run./setupafter upgrading to download the new Chromium./setup-browser-cookiesdrops its warning about this gap, and BROWSER.md says the gap is closed. The Windows windowsHide patch is re-cut for 1.65.0, and its backport of Playwright's TcpPortRandomizationWin fix is gone because 1.65.0 ships that fix itself. New free tests fail if the bundled Chromium is older than 158.0.8115.0 or still carries the root.The free-CI shard-overrun warning now works on split shards.
--ci-verifycompared a shard's wall time with its serial seed prediction, so at the CI default of 4 sub-shards per shard it only warned after about a 6x slowdown. The prediction is now divided by the shard's job count, and the warning says how many parallel jobs it ran across. Thanks to @indraoverflow (#4051, #3851).Land closes its own environment to merged checks on Linux. A scrubbed environment didn't stop a
land.merged_checkscommand from reading land's own through/proc/$PPID/environor a/procscan, GitHub token included. Land now makes itself non-dumpable before the first check, and becomes the subreaper of everything the checks start and kills whatever a check leaves running — even a process that left its group withsetsidor a double fork — before thegitandghprocesses it starts next could be read. When it can't set either, the checks don't run and land refuses. docs/ship-policy.md names what is still open: on macOSps -Eshows land's starting environment, and a check can still read anything else the user can, so pass--allow-repo-commandsonly for policies and PRs you trust. (GST-1421)Narrow paid screens no longer run every gate case when a PR edits
setup.setupwas listed as an input every paid case consumes, so any PR touching it (#4045, #4047) screened all 113 gate cases for about $37. No paid CI run executes./setup, and the touchfile map already names the cases that test it, so a narrow screen now treats it like any other file, and those two diffs select their 5 cases.pull_requestruns, broad screens and--profile fullkeep the full gate for it.modules/loadouts.jsonis now placed through its reader,scripts/modules.ts, instead of restoring the full gate as an unknown file. That reader reaches every gate case, so a narrow screen leaves a loadouts-only edit to the train gate's full census. (GST-1575)The Ubicloud runner no longer reads an API error as success. A create Ubicloud refuses (a 409 name collision, any 4xx) now disarms teardown, so
upandrunnever destroy a VM someone else holds under that name. A create goes out only after the name answers 404 to a check, so a name another VM holds, or a check with no answer, is refused before any request. A 5xx or unanswered create is looked up by name before anything is decided: a VM that landed anyway is adopted, and one nobody can confirm either way keeps its record and recovery bundle and exitsUBI_CREATE_UNKNOWN.downcounts a VM as gone only on a readable answer, so a failed or garbled VM list exits non-zero and keeps the bundle.pullexits non-zero when ssh fails, andrunfails when one of its pulls does.gcexits non-zero when a stale VM could not be destroyed, a run record whose VM the API cannot check refuses withUBI_ATTACH_UNKNOWNinstead of starting a second VM, and the API key reaches curl as a header on a pipe, out ofps. (GST-1441)The review plan finishes in about 35 seconds on a 195,000-file results tree, and the pass says so when the plan runs out of time. The
review_exclude_pathsname scan now writes the code and test files into a scratch index and runs onegit grepper tree, and the binary check reads small blobs through onegit cat-file --batchper 64 MB instead of one git call per file. The number of git calls no longer grows with the size of the tree or the PR. On harness-evals #269 the plan went from 2 min 38 s and 432 git calls to 32 s and 76 calls; on #279 it went from 206 s to 35 s, with the same output. Whengstack-review-planstill runs past the pass's 180-second limit (GSTACK_REVIEW_PLAN_TIMEOUT_MSchanges it),gstack-review-dispatch passnow prints aREVIEW_PLAN_STOPPEDline naming the step, the reason and the limit instead of exiting with no output. (GST-1442)/runaway-stopperno longer flags lanes that follow the warm-wait rule.gstack-runaway scancounted each 240-second warm-wait check-in as an empty wake, so a compliant lane waiting on CI could cross the 25% empty-wake warning. A turn whose only call re-issues the wait on the same operation, or a 240-second timer on that operation or none, within 30 minutes of the wait that started the run is now left out of the rate, including when/runaway-stopperfetches the thread itself. A re-wait past 30 minutes, a wait on other operations, or a turn that also reads status still counts, and a status read does not restart the 30 minutes. (GST-1597)A docs claim added after the review no longer leaves /ship stuck. When the review loop had finished and a later commit added only docs with a money, security or numeric claim (such as a changelog line with dollar figures),
gstack-review-planprintedNEXT: done, so nothing ran the targeted reader the receipt then asked for. Given--range-base <the commit the targeted reader read>and--targeted-ran <its patch id>, the plan now printsNEXT: targeted, aTARGETED_DELTA:line and one targeted reader on HEAD. It is not a review round. A code change, plain docs, a range base the reader did not read, or uncommitted edits keepdoneand print the reason. A main merge that only edits lines next to a reviewed hunk does not count as a branch change.--force targetednow refuses and names this route. (GST-1598)A granted fix round no longer needs a second grant to refresh the targeted read. When the owner grants a fix round past the review-loop cap, that fix changes the product patch the targeted record names, so the receipt asks for a new targeted read. The plan used to print
doneonce the granted fix-check came back clean, which left the lane needing another manual grant.gstack-review-plannow takes the same--grant(checked as before) and plansNEXT: targeted: one targeted reader on the head for its targeted classes. Without a grant, a code change still plansdone. The Capy pass program now runs a targeted manifest's voices stage too, so that reader actually runs there. A granted fix that edits a gate-class path still stops for the owner. (GST-1607)The /investigate and /plan-ceo-review gates no longer pass a slow scan unchecked. Their hooks were registered with a 10 second timeout while
GSTACK_SKILL_GATE_DEADLINE_MScould set a longer gate deadline, and Claude Code kills a hook at its timeout and lets the stop through with no marker.gstack-skill-gates settingsand./setupnow register a timeout derived from the longest deadline plus a margin (25 seconds), and a deadline above 20 seconds is clamped to 20. A killed hook still cannot fail closed; docs/skill-gates.md#hook-timeout says why. Re-run./setupto update an existing registration. (GST-1615)A reader's closing sentence that rates nothing CRITICAL no longer counts as a blocker. The review collector read "None of these rises to CRITICAL." (gstack-evals#247) and "Nothing reaches the CRITICAL floor." (#4055) as CRITICAL findings, because its denial grammar knew only "is", so
blocking_foundcarried a phantom that lead judgment was not allowed to lower. A rating verb (rises to, reaches, meets, qualifies as, would rise to) now denies the way "is" does: such a closing sentence collects at INFORMATIONAL, and on a line that also names a file:line it is a summary candidate that lead judgment may lower with a reason. Every other label is unchanged, checked against 296 captured reader outputs. (GST-1628)The browse audit log no longer stores typed secrets.
.gstack/browse-audit.jsonlwrote each command's arguments verbatim, so a password passed tofill, text sent withtype, ajsexpression, adialog-acceptanswer, acookie,headerorstorage setvalue, and askill run --argvalue all reached disk in plain text, and an error that echoed the value stored a second copy. Each of those values, including insidetab-eachandchain, is now written as[REDACTED]before the line is truncated, with the selector, cookie or header name, storage key, arg key and--outpath kept, and the error text is scrubbed of the same values. Navigation and click lines are unchanged.browse-dialog.logno longer stores the prompt answer either. Lines written before this release still hold the old values; delete.gstack/browse-audit.jsonland.gstack/browse-dialog.logto clear them. Reported in #4057 by @derHaken. (GST-1631)The GST-1631 audit redaction covers typed command values, not every secret. The page URL in
originand very short values echoed in error text are not yet redacted (GST-1635).The Ubicloud runner no longer destroys a VM another caller took under the same name. With an explicit
-nname, a second caller could take the name in the second between our name check and our create. If our create's 409 answer was lost,upfound that caller's VM by name, adopted it, and its teardown destroyed it. Now a VM found after an unanswered or 5xx create is adopted with teardown off. Teardown turns on only once this call's own ssh key opens the VM; keys from the ssh agent or ssh config don't count. If the key never does (withinUBI_SSH_WAITseconds, default 300),upkeeps the record and recovery bundle, exitsUBI_CREATE_UNKNOWN, and leaves the VM to its TTL.runreportsleft=unknownfor it instead ofleft=0. (GST-1463)gstack for QM: three skills QM loads on demand.
qm/sandbox/skills/holdsgstack-investigate,gstack-reviewandgstack-planin QM's skill format, generated from gstack's own investigate, review and plan-eng-review templates byscripts/gen-qm-edition.ts(spec inhosts/qm.ts). Install them as a QM deployment layer with no install step. Each file fits QM's whole-file read (under 15,000 characters), each first step is a command QM's sandbox has, andtest/qm-edition.test.tsfails on a stale edition, an oversized file or a command QM can't run.qm/edition.jsonnames each skill's first command for evals. (GST-1492)
Changed
Crew lanes keep their context cheap, and docs/captain.md says how. A new "Lane context" section covers four habits. A lane that expects a wait under about 30 minutes checks in every 240 seconds, for about 30 minutes at most, so its prompt cache stays warm; a cold restart after five idle minutes costs about eight times as much as a warm step. Longer waits still sleep, the controller never warm-waits, and a lane still sleeps while /ship runs. Independent reads go in one parallel program, each call returns 4k characters or less, and long output goes to files. A lane past twice the crew's median lane spend writes
handoffs/<code>/next.md, and the controller decides whether it continues, rotates or parks, below the crew's hard spend stop. The brief template gains aRead:line and aContext:line that say the same, and docs/unattended.md notes the warm-wait exception.The gstack Capy skill has a lane start card.
capy/skill/gstack/lane-card.md(about 1,100 tokens) is what a crew lane reads once its install check passes, instead of the rest of the skill's SKILL.md. It points to the SKILL.md /ship sections, which lanes still read before shipping. SKILL.md stays inside its 5,315-token context budget. Owners copy the skill folder as usual to pick it up.AGENTS.md lists skills by name only. The catalog tables, about 9.8 KB that every agent reading AGENTS.md loaded each session, are now a names-only index of about 2.7 KB that points to docs/skills.md for what each skill does. Validation discipline, build commands, platform support and key conventions are unchanged. The /cso runtime and scanner catalog details that lived only in AGENTS.md moved to docs/skills.md.
gstack's own policy turns on
land.merged_checks. When main has moved past a PR's merge base,land --pinnow runs typecheck, the generated-docs freshness check, and the size and budget guards plus the core oftest:quick(through the strict free runner, so a test that exits early fails the check) on the PR merged onto main's tip, and lands only when all three pass. This catches the stale-base break from #3886, which pushedship/DRIVER.mdpast its 12 KB cap on main.min_gstack_versionmoves to 1.96.0.0, the release that added the key. (GST-1332)gstack's own policy turns on the release gate.
.gstack/ship-policy.jsonnow declaresrelease_gate, so one full paid gate runs on main every 8 hours instead of a gate on every push, and a red gate holds the stable release rather than freezing the queue. The per-push main backstop stands down.land --pinnow only warns about a backstop freeze written before the switch, andrelease-cutlets that freeze go once a green release gate runs on a later commit. The bisect after a red gate counts the red case's rerun againstbisect_spend_cap_usd(now $80), follows the policy's current cap, and resumes when the cap is raised again. (GST-1133)gstack's own CI carry now runs the test files CI skipped entirely. Free Tests records
skipped_files(the planned files whose every test skipped on the runner) in itstested-treerecord, so a /ship carry runs those files here through thebun run testlane'sper_filerunner instead of counting them as run (GST-1190). A file that skips here too is not owed (GST-1314), so the carry no longer falls back to the full lane.
Tests
test/ci-tree-reuse.test.ts: only a file whose every test skipped is listed, a partly skipped file stays covered, and a run without complete per-file counts records no list.The tree receipt accepts a release output its release tool regenerates. A
release_toolthat renders content (harness-evals foldstodos.d/into TODOS.md) writes more than version rewrites, sogstack-tree-receiptcalled the stampchangedand a stamped train refused it. With--allow-repo-commands, and intrain build --allow-repo-commands, arelease_outputsfile is now a stamp when the tool, rerun on the current head at its version, writes it byte for byte, the same rule the release PR and the Version Gate apply. Without the flag the tool never runs and the file stayschanged. (GST-1176)Flaky pass 2026-11-06: four flaky tests now report why they failed, and one paid case is scored instead of killed. The QA-only cleanup diagnostic reads
browse-daemon.log, the file a CLI-spawned browse daemon writes, so a missing terminal record now shows the daemon's terminal-agent lines instead of "none". The router failure-routing cases give their session a deadline 10 seconds inside the test's own timeout, so a session that runs long is scored on the routing it already did rather than lost to Bun's kill (paid census 42103721891: routed to /investigate after two reads, then a 300-second stress command ran out the clock). The bootstrap retention test prints the paid shard's outcome and log lines when its status is wrong, and the Xvfb welcome test prints the daemon log when the page is not the welcome page. No threshold, trial count, case kind or model budget changed. (GST-1632)
[1.96.0.0] - 2026-11-05
- A reviewer's "I found nothing CRITICAL" no longer counts as a CRITICAL finding. /ship's review collect step used to turn a reader's own closing sentence into a blocking finding when the sentence only denied a severity ("I found nothing CRITICAL.", "I found no defect that is CRITICAL.", "Neither finding is CRITICAL."), so the review loop counted blockers that named no defect and a Captain had to grant an exception. A sentence that is wholly a denial, a count of findings or "nothing blocks", with no file, line, exception clause or field on its line, now collects nothing at the label it denies; when the same line also holds other prose, that line stays on record as an INFORMATIONAL note instead of a blocker. Every real blocker still collects: a file:line, an exception clause ("except the token leak in log.ts:3"), "nothing else" or "no other", a defect named in the same sentence, another labelled sentence, a list item or a Severity or Blocks field keeps the line at its label. (GST-435)
Fixed
- The secret scanner no longer reads the sha in an owner's
review_loop_grantas a phone number, or a git sha that starts withbc1as a Bitcoin address. Both made free tests flaky. About one 12-character sha in 300 is all digits, andpii.phone.e164flagged it, sogstack-approvals addrefused the owner'sreview_loop_grant <sha>grant with APPROVAL_RECORD_SECRET (exit 3). A digits-only span right afterreview_loop_grantorreview_loop_exceptionis now a sha. A phone number with a+, spaces or dashes, or the same digits anywhere else (an all-digit sha in other wording included), still reports (Free Tests 41667825418, 41766865679, 41680498938, 41843093520). A sha that starts withbc1was redacted as<REDACTED-pii.wallet>in CSO's history range. Abc1address now has to use the bech32 alphabet and carry a valid bech32 or bech32m checksum, which every real address has. An address with a mistyped character no longer reports (Free Tests 41715139988). Both rules have true-positive controls intest/redact-context-exemptions.test.ts. test/plan-reality-receipts.test.ts: the commit-sha case writes its receipt up to the sha's first hex letter. A bare all-digit prefix is not a receipt by design, and about one 10-character prefix in 110 is all digits (Free Tests 41669379416, 41790613651).test/helpers/pregate-fixture.ts: the fixture's bare origin turns off auto-maintenance, astest/helpers/restamp-fixture.tsalready does. Git's local transport drops the free runner's maintenance-off setting, so each push into the origin started a detachedgit maintenance run --autothat could changeorigin.git/objectswhile the template was being copied (ENOENT, Free Tests 41760556132). A new test traces a push and checks that no maintenance starts.
Claude Code and Cursor no longer start /land-and-deploy or /modernize on their own. Type /land-and-deploy or /modernize to run them; a request in plain words like "land it" now gets a pointer to the command instead of a mistaken merge or rewrite of an old branch. Both skills already stopped for your approval before merging or pushing, so this removes surprise rather than a missing safeguard. /ship, /careful, /freeze, /guard and /unfreeze still start from plain words like "ship it". gstack's router and the CLAUDE.md routing block now tell the model to point you to these two commands instead of invoking them. Under the hood, a new manual_only: true template flag maps to disable-model-invocation: true on the Claude and Cursor hosts, and host conditionalFields now work in denylist mode too.
The release gate fails closed. A gate run that concluded success but left no report-verdict artifact was recorded GREEN; it is now INCOMPLETE and re-dispatched once like any other incomplete gate. A release-gate run that failed before it had a commit to gate (a refused policy, unreadable notes, an unresolved branch) left the workflow job green with no check run anywhere; that job now fails. (GST-1263)
/ship's carry route now says to push before it carries, and the docs give the real fix-loop cap.
gstack-ship-preflight's carryNEXT:line went straight from the pregate tocarry, which refuses a head that isn't pushed. It now says to commit, push withgstack-ship-release push --early(the secrets scan runs first), wait for CI withgstack-ci-carry wait, run the pregate and then carry. docs/ship-policy.md and docs/unattended.md give the same order. docs/review-policy.md, docs/ship-policy.md and docs/unattended.md now sayreview_scope: diff-plus-blockingstops at Step 9.4's third fix cycle, because the two-round review-plan cap runs only underfrozen. (GST-1346)/ship's workflow now matches what its tools do, so main's backstop judge can pass. The
ship/SKILL.md workflowjudge still failed on main at 622e8b1f (run 41884510834) because the prose and the code disagreed in five places. Step 11's Codex passes and everyCODEX_MODEbranch now follow the review plan'sDISPATCH:lines, as /ship's driver does; they no longer say the native pass always runs. The review policy now gives one fix-loop cap. It is two rounds underreview_scope: frozen(the review plan's stop) and Step 9.4's third fix cycle under the other scopes. Step 16 saysfinishruns stages 1–4, diffs the reviewed tree and checks each lane's receipt itself, what to pass when no reviewed tree was saved, and that a stage 5 commit of regenerated outputs is content-preserving. A Step 1 carry now says to push with the secrets scan and wait for CI before the pregate, and that it ends the run with its own result line. The ship, review and unattended docs now saydiff-plus-blockingstops at Step 9.4's third fix cycle, as the workflow runs it, and give the same carry order. The Step 5 CI-carry push asks no consent, and Step 6.5's Greptile question says it cannot undo that push. No behavior changes. Reviewer briefs are byte-identical; the adversarial section's pin is updated under GST-1346's brief-identity check. (GST-1346)/ship's workflow now gives one answer where it used to give two, so main's backstop gate can pass again. The
ship/SKILL.md workflowjudge failed twice on main at b244e6d (run 41817566885) because its readers kept finding the same conflicts. Steps 12 and 16 now say their item and stage commands serve only aSTOP:, apart from stage 1's builds, which go to the onegstack-ship-release finishcall as--build. Stage 5 saysfinishalready made the release commit and only regenerated outputs are left to commit. The CI-carry early push names its full draft-PR command, says Step 6.5's question covers only Greptile, and runsacceptafter Step 17's push. A PR thatghfailed to create (Step 19 exit 3) now ends Step 22 withstatus=refusedinstead of a result line that needs a PR number. The ship skill is 70 bytes smaller. (GST-1346)
Fixed
Under
merge: direct, a red main backstop no longer freezes the queue for good. The backstop wrote a freeze thatland --pinandrelease-cutrefused under, but the only code that cleared a freeze was a repair train's verify, andtrain build --repairis off when trains are off. A later green backstop didn't clear it either, so the freeze from run 41817566885 (#3992) blocked every land and the release cut. Nowgstack-ship-queue land --pr <n> --pin <sha> --repairlands exactly one repair PR while frozen: it runs every normal pin check, records the repair on the freeze under the land lock, and leaves the freeze active. The main backstop clears the freeze only when its gate is green on a main at or after the freeze's main that contains that repair's merge, and it writescleared_by: "repair #<n>; backstop <run> green on <sha>". A red gate keeps the freeze and rewrites its reason; when that main contains the repair, the slot opens for the next repair. A land without--repairstays refused while frozen, and nothing clears a freeze without a green gate.The evidence ledger records /review as helps, with its three caveats beside the status. R2 at the after pin (gstack-evals #207, superseded by #211) measured /review with the contract Stop hook on Opus 5.5 at gstack 699a41cb: blocking recall 26.2% against 3.6% for plain Opus 5.5 with no gstack, +22.6 points (95% CI +11.0 to +33.7). The
reviewrow indocs/inventory/evidence.jsonnow says helps, with its sources, scope and R48 KEEP. A newcaveatsfield, allowed only on helps, no-effect and hurts rows, holds the result's limits, anddocs/inventory.mdandgstack-skill-billprint them beside the status: /review and the hook count as one unit (42 of 66 sessions ran the readers only after the hook blocked), 41 of the suite's 42 bugs came from gstack-family reviews, and stacks-r1 is a development suite, so the result makes no release claim. The earlier review results stay underprior.The AI scorer that graded skill instructions for clarity is gone, so main's backstop no longer goes red on a model's opinion of /ship's prose. The
ship/SKILL.md workflowjudge failed main's full run twice (runs 41817566885 and 41884510834), freezing merges. Garry's call: the evals that check real outcomes are the real eval. The 21 cases that had an LLM score a skill's instruction text for clarity, completeness and actionability are removed, along with their input builders, response cache, calibration configurations, the cookie-workflow manual-review approval and the control-bundle script. The three remaining judges intest/skill-llm-eval.test.ts(QA anti-refusal, cross-skill greptile consistency, voice directive) keep their thresholds and samples, and the judge file's supervision wall shrinks from 3,170 to 480 seconds to match. The paid report now rejects any manual-review claim. (GST-1371)The last two AI checks that guessed at agent behavior are gone, and the Greptile consistency check is now free.
qa/SKILL.md anti-refusal(a model predicted from /qa's text whether an agent would refuse to open the browser) andvoice directive tone(a model judged whether the voice directive covered its topics) are removed, with their prompt builders, schemas, calibration configurations and corpora, budgets and durations.cross-skill greptile consistencyis replaced bytest/review-bot-history-facts.test.ts, which compares the actual history facts in /review, /ship, /retro,review/greptile-triage.md,gstack-retro-metricsandgstack-review-bots(paths, row columns, record types, categories, legacy rows) againstlib/review-bots.tswith no model call, and fails on any of ten planted disagreements.test/skill-llm-eval.test.tshad no cases left and is deleted; no other paid case changes. (GST-1403)Agents comment on GitHub only under a bot identity. CONTRIBUTING.md (issue triage, the wave process and porting step 5), docs/triage.md, docs/captain.md, docs/recommended-harness.md and /modernize let an agent post the close note, the thank-you, the ask for missing information, tags and review requests, under its bot identity (
capy-ai[bot]on Capy) and never the maintainer's own account; an agent with no bot identity drafts the note for the maintainer instead. Email, chat, DMs and social posts to people, and reading the maintainer's inbox, stay off limits for agents. (GST-1417)The land stamp no longer rewrites other projects' versions. A PR that wrote
QM v0.1.15into a README listed instamp_fileslanded asQM v0.0.115, because the stamper read anyvXnewer than the branch's fork point on a line the PR added as the PR's own tentative stamp, and the tree receipt called the rewrite stamp-only. Built-invX,since: Xand(was X)mentions above the version being stamped now move only when the branch itself recorded that version, so a third-party version above it survives byte for byte and a rewrite of one reads as a product change. A declaredstamp_patternsslot keeps the old bound but moves only inside the slot. (GST-1245, reported by HARN-7)landrestamps after a stamp is reset. When a PR branch was reset to its reviewed pin after land stamped it, the rerun resumed the old journal and refused withQUEUE_TRAIN_MOVEDuntil the journal was deleted by hand. Land now discards that journal, says so on aJOURNAL:line, and restamps the pin. (GST-1245)A Codex outside review that puts its recommendation under a
## Recommendationheading now counts as finished. The outside-review parser accepted only an inlineRecommendation: <action> because <reason>line. When the model wrote the recommendation as a Markdown heading with the sentence on the next line, /ship and /codex reported the finished review as unavailable (missing_markers). A heading followed by a sentence with abecausereason now reads the same as the inline line. A heading with nothing under it, a sentence with nobecause, a bullet or quote line under the heading, or a heading inside a code fence still reports the recommendation as missing. Severity labels andVerdict:lines under the heading are read exactly as before, so a blocking review still blocks. (#3980, thanks @nfitzsimmons)/sync-gbrain's GBrain Search Guidance block now tells agents to search past plans, retros and learnings with--source gstack-artifacts-<user>, the source named after the repogstack-artifacts-initcreates. It still saidgstack-brain-<user>, the name from before the v1.27.0.0 rename, so every agent following the block gotunknown_source, and a hand fix to CLAUDE.md reverted on the next/sync-gbrain. This repo's own CLAUDE.md copy and the write-surfaces checklist are fixed too.test/regression-3799-sync-gbrain-artifacts-source.test.tspins the block to the namegstack-artifacts-inituses. Reported in #3799 by @extremenelson.Pregate no longer crashes on large diffs. When many touched files each reach many tests, the lanes check stopped with
lanes: threw: Maximum call stack size exceeded, so PREGATE was incomplete and /ship was blocked before any test ran (seen on a 335-file gbrain diff). The lanes check now records every provenance row without hitting the runtime's argument limit, and the secrets check does the same for scanner findings on a very large set of added lines. (GST-1334)land --pinno longer leaves the land lock stuck inmergingwhen GitHub applies a lock push and still answers HTTP 502. On 2026-11-04, during GitHub 502s, the first land of #3990 reported "the land lock push to origin failed and the lock there is unchanged" while origin'srefs/notes/gstack-landalready held #3990 inmerging. Its release then failed against the old lease, and two reruns refused the same way until--break-lock. Now a lock push that reports failure asks origin (git ls-remote) what the ref holds, and treats a push origin applied as written. When a lock fetch fails, the read takes origin's sha fromls-remoteif this clone already has that commit, so a rerun resumes its own lock instead of leasing a stale sha. When a phase change or release is rejected because origin holds a newer lock from this same run, land adopts that sha and retries once, so a refusal still releases the lock it wrote. A push that origin can't confirm either way now says so instead of claiming the lock is unchanged.Step 11's review voices no longer leave an unsent brief behind (GST-1368). When /ship ran Step 11 on its own output folder, which happens after a fix round moves the head,
gstack-review-dispatch passbuilt the manifest from the whole pass-1 plan and wrote the specialist brief into the ledger, but the voices program never sends it.gstack-review-dispatch verifythen failed the run withBRIEF specialist-batched NOT_SENT. Step 11 now asks forpass --voices, which keeps only the plan's voices, so nothing is rendered that no reader gets.--voicesrefuses--extras, and a reviewer pass refuses to resume a voices-only manifest. A ledger written before this fix still verifies dirty; rerun Step 11 with a fresh--outand--passto get a clean one.Trunk Dynamic CI now watches pull request CI in learning mode, and it can't skip anything. A new
trunk-dynamic-cijob infree-tests.ymlasks Trunk, on every pull request from a branch in this repository, whether it would run or skipfree-suiteandmacos-named-regressions. Trunk records the answer. No job reads the answer, so every test still runs, and every required check keeps its name and its result. The job runs one pinned action. It checks out no code, holds no GitHub token scopes, skips fork pull requests, skips its step when the token is missing, and never fails the run or a required check. The one exception is when the job itself can't start or finish, for example when GitHub can't fetch the pinned action. Then the job's own check shows red, and if a rerun doesn't clear it, the fix is to delete the job. Merge evidence (thefree-testsaggregate, CI carry, the pregate, the train gate, the backstop and the release gate) doesn't read Trunk. Review the results one week after this merges. The details are indocs/TESTING_INTERNALS.md.Adding
review_exclude_pathsto the base policy no longer stops every receipt written before it.gstack-ship-queue ready, train build and land refused each older receipt withfield=review_exclude expected=<digest> recorded=none, even when the PR touched none of the new patterns. On harness-evals one policy PR stopped 9 queued PRs, and the only fix was to rerun review on each unchanged head. The queue now accepts a receipt with no recorded digest when no file the PR changes matches any current pattern, since its reviewers read the same full diff. It still refuses a recorded digest that differs, a PR that touches a pattern (excluded or kept), and a base policy it can't read. Carry still compares digests, so an affected PR that merges main still needs /ship once. (GST-1408)
Fixed
- A design-token file is no longer a secret path by its name alone, so a copy edit to one gets the review depth its content earns. The review planner treated any path with a
tokenortokenssegment as a secret path and a gate path, so founderstar'sscripts/ui/token.gd(Godot UI design tokens) pushed a copy-only PR to the full panel with 11 readers. A token-named style or engine file (.gd,.css,.scss,.sass,.less,.styl) now counts as a secret path only when its added or removed lines hold a value the credential scanner behind pregate's secrets check reads as a secret, or have no text to read. Every other token file still counts by name. That covers code such aslib/token.ts, where auth tokens are minted and checked, and alsotoken.json,tokens.yamland binary token stores. Secrets, credentials and keychain names still count by name alone, and so do dotenv files (.env,.env.production, but not.env.example), SSH private keys (id_rsa,id_ed25519) and key-store files (.pem,.key,.p12,.pfx,.jks,.keystore,.ppk), which the planner didn't flag before.
The two red cases in the 2026-11-01 Codex census (#3784) are fixed: one was a test fixture and one was unclear wording in /pair-agent. Run 41279336076 (main @ 482ffd1) went red on the codex-astra arm.
Fixed
- /pair-agent says the instruction block includes its first and last
=====lines. The skill said the command "prints everything between its=====divider lines", so Codex copied every line but those two outer dividers, andsafety-pair-agent-blockfailed. The rule's pinned hash intest/helpers/safety-rules.tsmoves with the new wording. With the new wording, the rule arm passed on gpt-6-astra and on Claude, and the removed-rule arm still failed on Claude. cso-diff-mode's fixture now has a page that reads the paid plan. The forged payment webhook wrote to a map that nothing read. /cso daily reports leave out a candidate whose impact needs code outside the snapshot, so Codex correctly left out the forgery finding. The fixture now serves a premium report only to accounts marked paid, which makes the forgery an in-snapshot entitlement bypass. The assertions are unchanged.
The rule-removed control for safety-rule evals now really removes the rule on the Codex host (GST-840). The Codex host installs every gstack skill under ~/.codex/skills as a link into the checkout. A removed-arm run therefore still had the rule in the installed skill, and in GSTA-211's safety-pair-agent-block run the model read it there and passed the control.
Fixed
test/helpers/codex-host-runner.ts: underGSTACK_SAFETY_ARM=removed, each installed skill whose markdown carries a registered safety-rule paragraph gets a private copy of every linked directory on the way to that file (the skill directory itself or a linked directory inside it), and the file is rewritten with that paragraph deleted. Files are replaced, never written in place, so the checkout is never touched. Therulearm is unchanged.test/codex-host-safety-arm.test.tschecks both arms on a linked install like the one./setup --host codexmakes, including a rule file under a linked directory inside a real skill directory, with no model and no setup run.
A remote pregate killed by a machine restart is rerun, not destroyed (GST-1028 b). When a lane's machine restarted, its background pregate died but its Ubicloud VM kept running, and the line the pregate printed at create time told lanes to destroy it. Lanes did, and paid for a fresh VM, even though rerunning the same command reattaches to the live VM and finishes the run.
Changed
- The create-time line says to rerun first.
pregate-remote.shnow prints "rerun the same command to reattach; if the rerun does not reattach to it, or you give up, destroy it with: …". docs/pregate.mdexplains reattach. It lists what the run key covers (the tree, the planned files, the commitorigin/HEADpoints at,UBI_LOCATION, size, environment, and the runner script and setup it uploads), so a lane knows when a rerun will find the old VM. It also says to destroy the old VM when the rerun creates a new one instead.- The /ship driver says it too.
ship/DRIVER.mdtells a lane to rerun the same command after a restart, and stays under its 12,288-byte cap.
Tests
test/ubicloud-pregate-remote.test.tspins the new create-time line, andtest/ship-driver.test.tspins the driver's restart line.
A full gstack-ship-preflight no longer merges the base under an open /ship run's reviews (GST-1204). Running the full preflight again in the middle of /ship merged the base into the working tree (Step 3) while review readers were diffing that tree, which voided a review pass (gbrain-evals #317, a Capy lane).
Fixed
gstack-ship-preflight:--run <id>records the /ship run once Steps 1-3 pass: a marker in the checkout's git dir, and an open run on the checkout's own lease, so the Capy driver needs no workflow lease. A later full preflight on that checkout stops with exit 3, before any fetch or merge, untilgstack-ship-release finishclears the marker or the run is 120 minutes old (GST-1205's rule) or its holder is gone. The STOP names the run and the marker and says what to do: rerun Step 5 with--tests-only, let the /ship finish, or remove the marker of a run that stopped.--tests-onlyand--auditare never stopped. /ship's own first preflight, and a rerun after a Step 3 STOP, still work. A new--runid from the open run's own holder (the Claude Code session, or Capy'scapy-server) replaces a run that stopped before finish; the same id, no--run, or another live session's run still stops. A--runthe lease can't record (its lock held by a live process) stops before the fetch instead of going on unprotected. A--runvalue that isn't a plain id is a usage error (2).gstack-ship-release finish: clears the run's marker once Steps 15-16 pass.gstack-lease open --run <id> [--pid <p> | --from <pid>]: exits 0 while that run is open on a live holder and 1 otherwise, using the same released, 120-minute and dead or reused-pid rules aslive.- /ship Step 1 passes
--run <SESSION_ID>, andship/DRIVER.mdPhase 2 passes--run <run dir name>. - Docs:
docs/troubleshooting.md#ship-preflight-run-openexplains the new STOP;docs/capy-install.mdlistsgstack-lease open.
Tests
test/ship-preflight.test.ts: a full rerun with the run open stops before the fetch and leaves HEAD,origin/mainand the tree untouched, with or without--run; the driver's Phase 2 sequence refuses a mid-run full preflight while--auditand--tests-onlygo on; a finished or aged-out run doesn't block; after a stopped run andgstack-skill-end's real release, a new id from the same holder goes on while another live holder's run is still refused; an unrecordable--runstops before the fetch; /ship's first preflight and its rerun after a conflict STOP work; a bad--runis usage.test/gstack-lease.test.ts:openfor an open, released, aged-out, reused-pid, dead and unrecorded run, with--pid,--fromor neither, plus usage errors.
Three /ship tooling fixes from the gbrain-evals F1 rollout (GST-1204). Version strings quoted in lane reports no longer trip the secret scan, gstack-pr-shots renders on a fresh Capy machine, and gstack-models explains why it has no outside-voice role.
Fixed
- Secret scan (
pii.ip_public): a four-part version that gstack names right before it, shaped like a gstack release (major 0 to 2), is not read as a public IPv4 address. That coversgstack 1.94.4.0,upgraded gstack from 1.93.14.0, and the install check's trailersgstack: ok 1.94.4.0 for=shipandgstack: fail claude,codex (1.93.37.0). It also covers the far end of a range whose first end is a declared version with the same major (gstack 1.94.4.0 to 1.94.8.0). Before this, every push and PR-body post that quoted those lines stopped on a MEDIUM finding. Real addresses still report:gstack 8.8.8.8,gstack talks to 8.8.8.8,gstack-proxy 1.128.1.0,my-gstack 1.94.4.0,landed in 1.94.4.0,gstack 1.94.4.0 - 8.8.8.8, and a range with no declared first end. gstack-pr-shotsand every renderer that uses gstack's own browser: when Playwright's Chromium isn't installed (the Capy install defers it to first use), the renderer now runs the checkout'sbin/gstack-browser-ensureonce and retries. Before, it stopped withbrowse newtab failed: [browse] Starting server..., which hid the cause. When the install fails, the error names the launch failure and the installer's last line instead of the daemon's banner.gstack-models resolve --role outside-voice: it still exits as a usage error, but now says the outside voice follows the harness, not the model policy, and points to docs/model-policy.md.
Tests
test/redact-context-exemptions.test.ts: six gstack-named version shapes stay clean; twelve address controls still report MEDIUM.test/aside-render.test.ts: a missing Chromium runs gstack-browser-ensure once and the render proceeds; the install time doesn't count against the render deadline; a failed install names the launch error; the existing newtab cases are unchanged.test/model-policy-cli.test.ts: the outside-voice hint.Three /ship papercuts from gstack-evals#191 are fixed (GST-1219).
gstack-review-dispatch judgeno longer crashes when every reader came back clean: an emptymerged.jsonlwith nojudged.jsonlnow writes an empty judged set and printsJUDGMENT: ok nothing to judge, while a merge with findings and no judged file is refused with the finding count.gstack-review-dispatch pass --passreads its id as lowercase, so--pass P1runs passp1; an id with any character other than letters, digits and dashes gets its own error naming that rule instead of the missing-flag message.gstack-docs-candidate snapshot --docstakes a comma-separated list as well as repeated flags; a value that names an existing path is kept whole, and a space-separated list or an empty value is refused with a pointer to commas or repeated flags.
A Ubicloud run survives a dead controller (GST-1220). When the machine that ran ubi-runner.sh up died, its VM kept running but its ssh key and state lived only on that machine, so no other machine could pull the results or destroy the VM before its TTL. Paid runs were lost with the controller.
Added
- Encrypted recovery bundles and
recover. WithUBI_RECOVERY_DIRset,upwrites each VM's key, state and tags to<dir>/<owner>/<vm>.bundle(mode 600). The bundle is AES-256 throughopenssl encunder keys stretched with PBKDF2 fromUBI_RECOVERY_KEY, orUBICLOUD_API_KEYwhen that is unset. An HMAC-SHA256 is checked before anything is decrypted, and a bundle renamed or moved to another VM or owner is refused.recover [--owner OLD]on another machine rebuilds the state, sopull,sshanddownwork there, and printsRECOVERED,RECOVER_GONEorRECOVER_FAILEDfor each VM. A confirmeddowndeletes the bundle. Runrecoveronly after the creating machine is dead, because it can't tell a paused controller from a dead one. --countedruns require a bundle.up,runandverifytake--counted(orUBI_COUNTED=1) and refuse before any create withUBI_RECOVERY_REQUIREDorUBI_RECOVERY_UNAVAILABLEwhen no bundle can be written.--tag key=valueis kept in the VM's state and bundle, andrecoverprints it, so a shard map can be rebuilt from the bundles.- A results sink on the VM, off by default.
up --sink https-put:<presigned URL> --sink-path PATHstarts a pusher on the VM that uploadsheartbeat.jsonand the PATH entries asresults.tgzeveryUBI_SINK_INTERVALseconds (300 by default), so results still arrive when every controller is gone. No account credential goes to the VM. The URL is written to a 600 curl config file over ssh, never into a command line or a log, and the run record never keeps it (pass it asUBI_SINK). Snapshots skip~/.ubirun-*, and one overUBI_SINK_MAX_MBis never uploaded, so the last good one stays.downstops the pusher and makes one last push, and a failed one printsSINK_FLUSH_FAILEDand turns a passingrunorverifyof that VM into exit 1. A counted rerun refuses to reattach to a VM whose bundle is missing or doesn't open. No bucket exists yet, so nothing uses the sink until a run names one.
Changed
--pass NAMEforwards only what you exported. The value is the one your environment held when the runner started, and the runner refusesUBICLOUD_*,UBI_RECOVERY_KEY,UBI_SINKand every variable it sets itself, so a variable inside the runner can't stand in for yours or carry its recovery secret or sink URL to a VM.
Tests
test/ubicloud-runner-recovery.test.ts(new, offline on the fake VM) covers a controller dying afterupwhile the sink keeps pushing, recovery on a second controller followed bypullanddown, wrong-secret, tampered, renamed and moved bundles, an API outage and a gone VM, the counted refusals, the sink-spec rules, a failed final push, an oversized snapshot, and a reaped VM's failed push not failing an unrelated run. It checks every output stream and the ssh log for key bytes and the presigned URL.
gstack-post pr-body keeps a PR's opening paragraph and Capy badge, and a GitHub Actions run list no longer reads as a phone number (GST-1227). Reported from truther#1174 on /ship 1.94.15.
Fixed
- A /ship post keeps the text above the PR's first heading. Since GST-412, a body file with a receipt above its first
##section dropped everything above the PR's first heading, so a /ship run on a Capy-opened PR deleted the opening paragraph and the<!-- capy-badge:start -->…<!-- capy-badge:end -->badge. That text is now kept byte for byte and the new receipt goes right under it, so the next /ship post doesn't read it as a stale note under the receipt. Opening lines the file brings of its own still replace it, and a stale note between the receipt and the first heading is still dropped and named on stderr. - A Capy badge at the end of the body stays there. A
<!-- capy-badge:start -->…<!-- capy-badge:end -->block that ends the body after its first receipt or heading is now a piece of its own, so rewriting the section above it no longer deletes it, new sections go above it, and a badge only the file brings goes last, once, so reposting the same file gives the same bytes. Every other marker block, a badge with text after it and an unclosed marker stay inside their section, as before. - Every run id in a
runs=<id>/<attempt>,<id>/<attempt>list is exempt frompii.phone.e164. Only the id right afterruns=was exempt (and only at 11 digits), so the CI carry and run clear receiptslib/run-evidence.tsprints needed--confirmfrom their second run on. The scanner now exempts each 11- or 12-digit id of that list (run=too) and an id after anactions/runs/path with no leading/when it starts the line or follows whitespace,(,[,<or a quote. Each id needs its/<attempt>, soruns=4155550123,runs=4155550123/1,sales-actions/runs/4155550123and+1 415 555 0123on the same line still report. See docs/troubleshooting.md#redact-run-id-as-phone.
Tests
test/gstack-post.test.ts: "a full post keeps the opening text and a badge block above the first heading or at the end of the body byte for byte" and "run ids in a runs= list or an actions/runs/ path are not phone numbers; a phone number beside them still is" both fail on main. Four GST-412 tests that expected the opening text to be dropped now expect it kept.test/gstack-post.test.ts: "a marker block that is not a trailing Capy badge stays inside its section", "a trailing badge the file brings lands at the end once and reposts byte for byte", "a fenced heading inside a marker block and an unclosed badge marker change nothing about the sections" and "two marker blocks with the same name merge by their sections" pin the main-branch handling of every other marker block.test/redact-context-exemptions.test.ts: run ids in aruns=list or anactions/runs/path stay clean (5 cases, all failing on main), and 10 controls,call +1 415 555 0123andsales-actions/runs/4155550123among them, still report.
Design exits ease out, never ease in (GST-1240). /design-consultation wrote exit(ease-in) into every DESIGN.md it made, and /design-review checked against the same rule, so an exit that lags was both generated and never flagged. Ease-in starts slow at the moment the user is watching, so a dismissal, menu close or toast exit reads as lag. Rewrite of #3900 by @nfitzsimmons.
Fixed
/design-reviewmotion checklist: ease-out to enter and exit, ease-in-out to move, and flag plain ease-in. The new line is one byte longer than the old one, so /design-review stays inside its size cap./design-consultationDESIGN.md template:exit(ease-in)becomesexit(ease-out).- gstack's own
DESIGN.md: the motion easing matches,exit(ease-out).
gstack-autoplan export --public no longer carries the owner's own words (GST-1243). GEVA's public bundle (GEVA-225, gstack 1.93.34.0) kept all 38 owner_reply fields in decisions.jsonl, and a sealed reviewer file (ceo-native.a5.bound.md) quoted an owner reply word for word. GEVA redacted both by hand. Garry's rule: nothing a person wrote leaves without their click.
Fixed
- Whose words. Every owner reply the private run ever recorded counts: decision rows,
run.json's gate and the journal (attempts.jsonlkeeps a reply a later answer at the same gate replaced), the words a carried gate reused, and a reason a human gave forclose --deferred --by human. Replies that parsed as gate grammar are the decision code. An agent's own words (answer_words) and an agent's deferral reason stay. - Dropped fields. The public copy drops
owner_replyeverywhere and a carry record'swords, and replaces a human deferral'sreasonwith[owner words redacted]. The decision itself stays:chosen, the gate-grammarreply,owner_modeandowner_reply_parsed. - gstack's renderings. A human's deferral reason is replaced where gstack writes it into fixed text (voice
detail, consensus head, gate title, a blocker'swhy, the run log), and carried words in theCARRIED:line. Each rendering is matched with its delimiters on both sides, so a one-word reason never rewrites a longer one that starts with it. - Redacted quotes. Every exported file, sealed
*.bound.mdreviewer results included, is scanned. Before matching, the text is normalized: JSON string escapes and HTML entities decoded (an accented letter such aséreads as its letter), format characters dropped by Unicode category (\p{Cf}, variation selectors, the combining grapheme joiner), HTML tags read as spaces (in the rendered view the whole tag, attributes included) and hyphen-newline wraps joined. It is read both as rendered (comments, footnote markers, reference definitions and link targets and titles dropped, link text kept) and as written, so markup can neither split a quote nor hide one. Replies are indexed in both views too, so a link target an owner gave is found. Quotes are redacted on the original bytes and again after recorded roots are rewritten, so a path in a reply neither hides a quote nor makes the export refuse. Contractions split ("can't" and "cannot" read "can not", "it's" "it is", "I'd" "I would", and -n't, -'re, -'ve, -'ll, -'d). A word is a run of letters and digits, and any other character separates words. A reply of 3 or more words is a quote wherever it appears whole; from 8 words, any 8 consecutive words of it are a quote too. Replies of 1 or 2 words ("yes", "do it") are not scanned for. A quote extends over neighboring words of the same reply, and the marker replaces the original characters from its first word to its last. - Echoes stay. Words the owner repeated from text recorded before his reply that he didn't write (the plan at an earlier gate, that gate's items, reviewer results bound before it) stay; only the new words around them are redacted. Every run of 3 or more words a reply adds between echoes is matched on its own (and by any 8 of its words from 8), so those words are redacted even where they are quoted without the echo.
- Refusal. A quote or rendering inside plan.md code (fenced, or inline with any number of backticks), which export never rewrites, stops the export with
ARTIFACT_OWNER_WORDS, file:line and exit 3, and nothing is written.gstack-artifact validate --public <dir> --private <run.json>runs the same check. The error never prints the words. Each changed file gets anOWNER_WORDS: <file> dropped=<n> redacted=<m>line.
Tests
test/autoplan-public-owner-words.test.ts: a GEVA-shaped bundle (3owner_replyrows, a carried gate, one reviewer quoting a reply on one line and one reflowing a reply across blockquote lines, a control file with no owner words) exports with every owner field dropped and both quotes redacted, while the control and the round-1 reviewer files stay byte-identical. Also: a quote in plan.md code refuses; validate catches a quote or rendering added later; a human's deferral reason leaves gate.json'swhyand every other rendering, an agent's stays; a one-word human reason leaves an agent's longer one alone; a reply replaced at the same gate is still redacted; a rendering never rewrites plan.md code and an exact one there refuses; echoed plan and finding text stays; a 4-word reply is redacted; a short quote split by a tag or a reference link is redacted and validates; the new words a reply added to an echoed plan line are redacted when quoted alone, and plan.md stays byte-identical.test/autoplan-owner-words.test.ts: the matching rule (1-2 word and grammar replies, whole phrases, the 8-word window, eleven kinds of glue, fifteen kinds of markup and invisible characters (tags, comments, reference links, footnotes, link titles, literal JSON escapes, zero-width and soft-hyphen entities, direction marks and isolates, the combining grapheme joiner, a variation selector), redaction offsets over markup and escapes, contractions, new words added to an echo, extension, echoes, kept code spans, bounded renderings) and a ratchet on every template that renders a deferral reason.
Fixed
- A required edit after review binds no longer forces a third review round (GST-1276, GST-1311). Four instances in two days each cost a Captain grant (#3970, #3985, gstack-evals#203, gbrain#8523 and #8525). Now
gstack-ship-release finishproves a post-review edit's kind from the diff and sends it to the one scoped reader that test-code edits already take, which isn't a review round (Garry, 2026-11-04). The kinds are: a docs-audit fix todocs/*.md,AGENTS.mdorCLAUDE.mdwhose bytes are the ones the post-audit snapshot recorded; a.gstack/pregate.jsonchange that only adds lanes (pregate's ownheadPolicyDiff, with every other top-level key unchanged); and a file matching the newbookkeepingship-policy key. Each needs--reviewed-base, at most 20 changed lines, readable text and no gate-scan tag.ROUTE:printsbounded=<n>. The packet carries the targeted brief for every class, and the reader's clean record must carry the packet'spacket_sha256. A candidate that fails a proof stays behavior and printsROUTE_BOUNDED_REFUSED: <path> <reason> (fix: …). Gate-path prose (review/specialists/targeted.md, skill templates) never qualifies. - A test literal changed after review takes the scoped reader, not behavior (GST-1276, #3984). This covers a removed line swapped one for one with a line that differs only inside quoted strings and has no assertion or test call, such as a fixture value the secrets scan flagged. A changed expected value or a deleted assertion still stops.
gstack-diff-scopereads a.gstack/-only diff as config instead ofSCOPE_ERROR=unmatched, and.gstack/always-run.jsonis now a gate path, so its review depth stays full.
Added
bookkeepingship-policy key: root-anchored globs of.tsv,.csvor.txttables, never under.gstack/or.github/, read from the base only. It needsmin_gstack_version. See docs/ship-policy.md#bookkeeping.
Changed
Finish's scoped-review STOP now says "one scoped reader (not a review round) reads", and its record template includes
packet_sha256. See docs/review-policy.md#bounded-post-review-edits and docs/troubleshooting.md#route-bounded-refused./ship now enforces the reviewer fetch rule: a review stage that downloads another repository is thrown out and rerun once. Before each review stage starts, /ship lists the git repositories and files of 100 MB or more under the workspace, home and the temp dir, and lists them again when the stage's last reader is done. A new repository with a network remote, or a new big file, quarantines every reader of that stage. Their replies move under
<out>/quarantine/, their findings never reach the Red Team, the judge or PR text, andgstack-review-dispatch verifyrefuses withFETCH_VIOLATION. Each reader reruns once as<reader>#2(not a review round), and a second fetch stops the pass withFETCH_RERUN_SPENT; running it again starts no later stage. The rerun starts only after every path the first attempt found is gone. While one is still there, no reader of any stage starts, Step 11's voices included, and the pass stops withFETCH_RERUN_BLOCKED, so no reader can read what the first attempt downloaded. Nothing is deleted for you, and no delete command is printed. Each path it finds is listed for you to inspect and leave alone, and a remote URL is shown without itsuser:token@part or query (or as<redacted>when it doesn't parse as a URL). Capy doesn't tell a pass which reader did what, so blame lands on the whole stage, not one reader. The sweep only sees repositories that keep a network remote and files of 100 MB or more; an extracted archive, a smaller download, or a clone nested in another repository or deleted before the stage ends is not caught yet. (GST-1322)/ship's reviewers no longer clone other repositories on their own, and a repository can declare what they must never reach. On gbrain-evals #362 a reader cloned a full public repository (4.2 GB) that holds that project's sealed held-out eval conversations. Every reader brief now ends with a fetch rule that says to review only this checkout and its local git history, and never to clone, fetch or download another repository, dataset or archive. A repository can add a
readerskey to.gstack/ship-policy.jsonon its base branch:forbid_fetchhosts or repositories (web page reads included),forbid_pathsglobs that are cut out of every reader's diff, and a one-linebrief_noteevery brief carries. A pull request can addforbid_fetchentries but never remove one, andforbid_pathsand the note always come from the base branch.gstack-review-dispatch audit-fetchscans a reader's own tool calls against the rule and records the result in the pass manifest as a note; enforcement follows in a second PR. (GST-1322)
Fixed
- Lead judgment can lower a native adversarial finding to the Severity its reader stated beside
Blocks: no(GST-1406). When the native reader wrote itsSeverityandBlocks: noafter prose (… so the docs are wrong. Severity: Medium. Blocks: no.), collect kept the heading's FIXABLE as CRITICAL. Judge refused any lowering, so the native record never resolved and /ship's Step 11.5 couldn't bind. Collect still can't tell those fields from another subject's written under the same heading, so it keeps the label. Nowgstack-review-dispatch judgelets lead judgment lower such a finding to its stated Severity, never below, with a reason. It's recorded asdismissed. The ledger's blocker count already left such a finding out (GST-1031) and still does, andverifynow also checks each merged row's reader against the output it came from, so a row relabelled as native fails replay. Other readers, a finding that statesBlocks: yes, noBlocksor a Severity that isn't a severity (such asSeverity: FIXABLE), and a lowering below the stated Severity or with no reason are still refused as downgrades. See docs/review-policy.md.
Fixed
docs/review-policy.md now says
verifychecks each merged row's reader. Since GST-1406,gstack-review-dispatch verifychecks every merged row's reader, label and raw text against the output collect parsed. The policy text named only the label and raw text. This is the documentation debt #4017 shipped with.Test impact: tracer and reuse keys (GST-167, part 2). New
scripts/test-impact.tstraces a free test file under strace and computes a key over everything it read, its import graph,bun.lock, tsconfig, pregate dependencies, the runner and key code, and the runtime.explainshows each input and why a file can or can't be reused. Network, real HOME, shared /tmp and.gitreads, missing or week-old traces, always-run tests, import chains past 12 hops, and any change to the key code make a file ineligible. Nothing in CI changes yet. See docs/test-impact.md.Pregate keeps main's always-run entries (GST-233). The
lanesselection now unions.gstack/always-run.jsonfrom the merge base with the branch's copy, so a branch can't drop a whole-tree test by deleting its glob.
gstack-ubi sync and pack work on a subdirectory of a git checkout (GST-935). Packing any folder that sat inside a checkout but was not its root died with "does not appear to be a git repository", after the VM was already up, because pack fetched the checkout's refs from the subdirectory and git only fetches from a repository's root. The gstack-evals launcher syncs quick/laneb/runner, so every launch from a git checkout failed at its first sync.
Fixed
- A subdirectory packs its own files. Pack ships the files git lists under that folder (tracked, edited and untracked, not ignored) with no
.git. A whole-repository.gitwould show the VM every file outside the folder as deleted. Packing a checkout's root and packing a non-git folder work as before. - A subdirectory git lists no files under is refused. When the checkout ignores the folder, pack exits with "pack: git lists no files under
" instead of uploading an empty folder, which a run could otherwise pass on.
Tests
test/ubicloud-runner.test.ts: packing a subdirectory of a checkout and of a linked worktree ships its tracked, edited and untracked files without a.gitand leaves out ignored ones, and an ignored subdirectory is refused. This test fails on 1.92.58.0.
/ship now gives full review to edits of the code that hides files from reviewers or picks the diff base, and real review to harness pin edits (GST-972 follow-up). Both were slipping through with less review than they need.
Fixed
- Gate paths:
lib/review-exclude.tsdecides which files reviewers never see, andlib/default-base.tspicks the base every diff is cut from. An edit to either was planned as plain code at light depth, with no gate class. Both are now gate paths, so an edit gets full depth, with the Red Team as its own reader plus Step 11's adversarial and outside voices.review_exclude_pathsalso can't hide them from reviewers anymore. - Harness pins: files under
scripts/harness-pins/repeat their harness file's path, so a pin likescripts/harness-pins/test/helpers/e2e-gate.ts.jsonmatched thetest/rule and planned as tests. Since the one-file-per-pin split (#3903), a harness helper edit with its pin got no reviewers at all, where the old sharedscripts/harness-version.jsonmade it code class. Pins outsidetest/were worse. No code names a pin file, so the unused-data rule planned them as docs. Pins now always classify as code, so the batched reader with the testing and security checklists and Step 11's adversarial pass run on them again.review_exclude_pathscan't hide pins from reviewers anymore either; they're kept like other config files.
Tests
test/review-depth.test.ts: both modules plan gate class at full depth; harness pins classify as code and never as data, while review pin fixtures stay tests; a helper edit with its pin plans the code-class reviewers. A new no-loss check (replay GST-972) runs the GST-967 history grid on the changed paths and their stand-ins, which reproduce main's plans byte for byte: the branch only raises class and depth and drops no reviewer.lib/review-depth.tsis repinned under that replay.
/ship loses less review credit to merges and docs commits, and an owner can accept an open finding after the second full pass (GST-1195, GST-1130).
Fixed
- A granted fix-check keeps its credit across a base merge that edits the same file.
gstack-ship-release finishnow credits a fix-checked path when its change against the base is the one the fix-check read, even if the base moved under it. Before, it compared file contents, so a merge that also touched the file printedFIX_CHECK: reviewed noneand sent the path back through review (#3916). The docs audit carries such a path too. An edit made after the merge still stops. - A recorded grant gets its fix-check when round 2 was itself a fix-check (GEVA-223).
gstack-review-plan --grant <id> --fix-checks 1now plans the one granted fix-check after a round-2 fix-check that found or fixed a blocker, instead ofNEXT: stop. A second granted fix-check is still refused. - A targeted reader's record carries across a plain docs commit made after the read (TRUT-26, truther#1168).
gstack-ship-receipt write --review-targetedrefused the record on any product change, so the Step 14 and 14.5 docs commits cost another reader run. A docs-only change now carries the record, unless it adds a numeric claim, touches a results, prereg or eval path, or mentions money, security, secrets or auth. Code changes still need the reader again.
Added
review_loop_exception.second_pass(TRUT-7, truther#1169). An owner who accepts an open finding after the second full pass records{ accepted_by, date, via, reason, second_pass: { head, deferred: [<finding id>] } }. It needs--review-loopwith at least two passes and one deferred finding, plus the printedReview-loop exception: …line in the body. A stop with no fix-check and fewer than two full passes is still refused.
/setup-gbrain no longer stops on a working brain because gbrain's skill checks failed on another agent's skills folder (#3790). gbrain doctor also grades whatever skills folder it finds on its own, such as ~/.openclaw/workspace. When one of those skill checks failed, Step 5 read the whole report as unhealthy and stopped, and the agent then offered to edit the other agent's workspace to get past it. gstack-gbrain-detect reported gbrain_doctor_ok: false for the same reason.
Fixed
- Step 5 and
gbrain_doctor_okjudge the brain from brain checks only (bin/gstack-gbrain-detect,setup-gbrain). A newgstack-gbrain-detect --doctorrunsgbrain doctor --json --scope=brain, ignores failed checks taggedcategory: "skill"from gbrain versions that still run them, and printsbrain_ok,brain_failuresandskill_failures. Step 5 proceeds onbrain_ok, notes any skill failures, and tells the agent never to edit another agent's workspace to make setup pass. A failed connection, schema_version or pgvector check still stops setup. - A fully healthy brain passes Step 5. gbrain reports
healthy,warningsorunhealthy; Step 5 used to accept onlyokorwarnings, so a brain with no warnings at all stopped too. - The doctor gate fails closed with a cause. No JSON, a crash, a timeout or a gbrain that can't start reports
brain_ok: falseand why, instead of crashing detect. A JSON-null~/.gbrain/config.jsonno longer breaks Step 1's detection. Doctor now runs through gbrain's spawn helper, so the Windowsgbrain.cmdshim works, and a large report reaches Step 5 whole.
Tests
test/setup-gbrain-doctor-gate.test.tsruns the real Step 5 block and detect against a stub gbrain: skill-only failures with and without--scope=brain, brain failures, a fully healthy brain, no JSON, empty output, a large report through a pipe and a JSON-null config. 10 of its first 14 cases failed on main 6bffa20.test/gbrain-spawn-windows-shell.test.tschecks that detect spawns doctor throughspawnGbrain.
Crews now write a postmortem when a merged PR has to be reverted, and every READY and lane report says what the lane didn't check itself. A revert records what was wrong with the code. It doesn't record why the lane and every reviewer passed it, so the same mistake comes back in another lane.
Added
- Postmortem template.
captain/templates/postmortem.mdcovers what broke, how it was found, impact, a timeline, and a root cause section that asks "why did the lane and every reviewer believe it was right?". That section is answered from the review outputs, receipts, decision trail and approvals, with one row per believer and a source for each. It ends with what caught the bug, what should have, and a table of rule changes with an owner, a status and an effectiveness check. - Postmortem step.
/captainanddocs/captain.mdtell the controller to start one after any revert or S1 fix of a merged crew PR, keep it atreports/postmortem-<n>.mdand link it from the fixing PR. The rule change it names ships as a gstack PR. - Unverified line.
captain/templates/READY.mdandcaptain/templates/report.mdcarry a requiredUnverified:line: every claim the lane didn't check itself (a local test that timed out, a skipped paid run, a number a model reported, a review finding set aside on an assumption nobody tested), ornone. The READY contract in/captain,docs/captain.mdand the Capy lane guide names it. A missing line is asked for in a follow-up message. It never holds a PR out of a train, and it doesn't make earlier READYs stale. No tool parses or enforces it.
For contributors
- A dispatched screen now builds its CI image from the commit it tests. evals.yml's
build-imagejob used to check out the dispatch ref (main) and key the image on main'sbun.lock, while the slices checked out the PR's merge commit. A PR that changed the lockfile was then tested against main's installed browsers. Screen run 41662815506 for #3947 failed eight cases withExecutable doesn't exist … chromium_headless_shell-1248because the image had only revision 1234.build-imagenow checks outscreen_merge_sha(orgithub.shafor every other run) before it hashes and builds, without persisting the token. It also waits for theroutejob: a refused dispatch (a fork or closed PR, for one) and a superseded screen build no image.
bump: micro
Fixed
ship/DRIVER.mdfits its 12 KB limit again. The restart line from #3886 pushed it to 12,329 bytes, past the 12,288-byte cap thattest/ship-driver.test.tsenforces, so the free tests failed on main. The fix trims wording in five places and keeps every instruction. The file is now 12,282 bytes.
bump: micro
Fixed
/runaway-stopperno longer reports a clean sweep when it was run from outside the crew. The skill tells big crews to run its scan from a fresh automation thread. That thread belongs to no crew, so its crew list came back empty and the scan checked only itself, then printed a cleanSWEEP:. The program now takes the Captain's code (captain) and writes the crew list tocrew.json.gstack-runaway scan --dirtreats an empty list asRUNAWAY_INPUTand exits 1.
bump: minor
New skill: /runaway-stopper finds runaway agent threads and subagents, stops them at a clean point, and sets the defaults that keep them from coming back (GST-1279). One Founderstar thread (FOUN-4) used 6.9B tokens in 13 days, about 4B of it its own context re-read on every step, many of them wakes that ended with nothing to say. One of its /ship subagents reached 485M because it was reused for five /ship runs, so each run re-read every earlier one.
Added
/runaway-stopper. Detect, stop, prevent. A Captain (or the org sweep) fetches its crew's thread data to files in one program and scans it. Own tokens past 500M or a thread active past 3 days means rotate, a subagent past 100M means stop, and empty wakes past 25% or review rounds past 2 per PR are warnings (org rule R70). Captains are reported, never rotated. Threads mid-/ship or mid-merge are deferred. Rotation uses a handoff file and a successor brief (runaway-stopper/templates/), and only the thread's own Captain archives it.gstack-runaway scan. The read-only detector behind the skill. It readstools.thread.get,tools.subagent.listand transcript data and printsRUNAWAY:,FLAG:,DEFER:andSWEEP:lines. It never acts. A thread file it can't read printsRUNAWAY_INPUT:, is never counted as OK, and makes the scan exit 1.
Changed
- A /ship subagent can meter its own cost exactly, and then gets a 100M cap by default. A subagent whose brief names its title (
GSTACK_SHIP_TASK_TITLE) reads its own row of the lane's task list and startsgstack-ship-budget start --reading-from task. In observe mode with no--token-cap, that run caps at 100M and printsBUDGET_DEFAULT_CAP: 100M(single-run /ship subagents measured 64M median, 92M p90 on Nov 3).--token-cap noneturns it off. Tree-metered subagents, root runs and admit mode are unchanged. The Capy lane guide now says to run each /ship in a fresh subagent titledship #<n> at <head7>.
Tests
test/runaway.test.ts: FOUN-4's real reading (rotate on own tokens and age, the 485M /ship subagent flagged), live-subagent stop deferred mid-/ship, active-by-recent-turn, a Captain reported but not rotated, the empty-wake rate, the subagent tree, the directory sweep and usage errors, unreadable files, the LOOK verdict, and the skill's call bound and rotation lines.test/ship-budget-meter-scope.test.ts: the default cap, its stop, and the cases that must not get it.A declared test runner only gets the files it can run. With
runner: "bun test {files}"in.gstack/pregate.json, pregate used to hand every selected test to bun,*_test.pyfiles included. If only Python files were selected, bun exited 1 and the lane failed (PREGATE_LANE_FAILED). If a TS test was selected too, bun skipped the Python files without saying so, and they were counted as run. Now the local lane gives a declared runner only the files its tool runs, judged by extension: JS/TS forbun test,node --test, vitest, jest and similar, and.pyfor pytest. A custom dispatcher such asnode scripts/run-tests.js {files}still gets every file. The lanes detail names each file it left out as not run and not counted as covered. When no runner is set, tests are still split by language as before. (GST-1331)A /ship receipt now names the gstack release that wrote it.
gstack_versionin the receipt used to record the version gstack reads policies as, which jumps to the newest policy key the checkout knows. On a 1.95.5.0 checkout that carries the unreleased 1.96.0.0 keys, every receipt said 1.96.0.0, a release that never ran. The receipt now records the checkout's VERSION file. Policy reading is unchanged, so a checkout that carries a new key still reads policies written for it. (GST-1366)
gstack-doctor finds the launch probe again on macOS's built-in bash (#3601). macOS ships bash 3.2 as /bin/bash. Bash 3.2 ends a $( ) at the ) of a case pattern that has no leading (. So bin/gstack-launch-probe.sh failed to parse there, and the doctor reported the probe as missing. Thanks to @bokeeeey, who reported it in #3601 and proposed the fix in #3602.
Fixed
bin/gstack-launch-probe.shwrites the pattern with its POSIX leading(, which every bash version accepts.- A new test scans every tracked shell script for a
casepattern without a leading(inside$( )or<( ), so Linux CI catches this before it reaches a Mac. The probe test also parses the file with/bin/bash, which catches it when the test runs on a Mac.
Fixed
- A docs or data PR no longer gets a money reader because a file name says "cost", and summing or printing a
cost_usdfield no longer counts as money code (GST-961, GST-962). On gstack-evals#138, a results write-up planned as docs at light depth still dispatched a second, targeted money reader, becausewiki/.../cost-gstack-full.tsvhas "cost" in its name. On gstack-evals#139, an analysis module that only sums and prints per-trialcost_usdraised the money class. Now a data file that no code reads, underdocs/,wiki/,results/orreports/, never counts as money for its name or for a reported cost. Aspend_capline or a paid-provider call in that file still counts. A_usdorUsdname is not money only when it is a reported cost (made of words like cost, total, per, trial or sum) on a line with no cap, limit, budget, price, charge, reservation or estimate word, no<,>or<>comparison and no number set on it. Reservations, estimates, amounts, refunds, spend guards and pricing tables all still count. Over the last 100 main commits, no commit's depth, class, risk classes or targeted classes changed.
Tests
test/review-targeted.test.ts: #138's file list plans no targeted reader, and the same file read by code still plans money. Acost_usdthat is only summed or printed names no money. Positive controls: caps, budgets, limits, optional-chain and wrapped comparisons,Math.min, charges and refunds, reservations and estimates fromlib/eval-plan.tsandlib/autoplan-run.ts, thetrial_reservation_usdvalidator, a pricing table outside a results tree, a spend cap in an unread results file, and a secret in an unread data file.test/review-risk-redos.test.ts:usdMoneyand its comparison patterns stay under 250 ms on 100,000-character lines.
CI carry no longer refuses a skipped file that skips here too (GST-1314). When CI skipped every test in a file, gstack-evidence record-ci reruns it here through the lane's per_file runner, and a file that skipped everything again ended the carry with skipped_zero_run, so the whole free suite reran. Free Tests run 41754278952 had six such files, all env-gated or tool-gated by design (0 pass, 20 skip on a Capy machine), so every gstack /ship carry would have fallen back to the full lane.
Fixed
gstack-evidence record-ci: runs the per_file remainder one file at a time. A file whose Bun summary registered tests and skipped every one here too is recorded as not owed (skipped_here.not_owedin the CI row,not_owed_here=<n>on theLANE:line) instead of refusing. A file that registers no test here still refuses withskipped_zero_run, even beside a file that ran, and so does a file whose log hit the 2 MB cap, since a cut log's last summary may not be the run's. A failing file'sskipped_failednames it.per_filepaths reach the runner anchored with./, because Bun reads a bare relative path as a substring filter (test/x.test.tsalso matchedbrowse/test/x.test.ts).- gstack's
bun run testlane declares"per_file": "bun --no-env-file test --timeout=30000 {files}", so the runner is on main before the Free Tests writer starts listing skipped files (#3979).--no-env-filekeeps a local.envfrom switching an env-gated file on. - Docs:
docs/pregate.md#skipped-filesdescribes the per-file runs, the not-owed case and the anchoring.
Tests
test/ship-ci-carry.test.ts: run 41754278952's six remainder files, each printing its own skip-only Bun summary, carry withnot_owed_here=6and reach the runner as./<path>; a remainder that mixes a file that ran with one that registers no test refuses withskipped_zero_runnaming that file; a remainder file that registers no test refuses; a remainder file whose log passed 2 MB after a nestedRan 5 testssummary refuses instead of counting as not owed.
gstack-ship-queue land --pin can test the merged tree when a PR's base moved after its CI (GST-1316). Under merge: direct, land checked the PR's own green checks, but those ran on the PR before newer commits reached main. #3886 was green on its own, landed onto a newer main, and pushed ship/DRIVER.md to 12,329 bytes against its 12,288-byte cap, so Free Tests on main went red.
Added
landpolicy key:land.merged_checkslists the commands land runs when the base moved past the pin's merge base. Land builds a throwaway commit of the pin merged onto main's tip, runs each command in a worktree of it, and merges only when every one passes. It printsMERGED_CHECKS: pass tree=… base=… pin=… checks: …. A failure, a timeout or a check that rewrites a tracked file refuses with the newQUEUE_LAND_MERGED_CHECKS, a conflict refuses withQUEUE_LAND_NOT_CLEAN, and nothing merges. No lane has to merge main, rerun CI and re-ship each time another PR lands first. Without the key, a stale base lands as before with aSTALE_BASE: warn … no land.merged_checks configuredline. The commands are repo commands (the merged tree'spackage.jsondecides what they run), so land runs them only with--allow-repo-commands(elseREPO_COMMANDS_NOT_ALLOWED), withPATHand the locale as the whole environment and a throwawayHOME(no sandbox: they can still write the checkout's.gitandnode_modules), runs git around them with hooks off, kills a command's whole process group when it ends or times out (so a passing check that leaves a child behind passes at once), and skips them under--dry-runwith aDRY-RUN: land.merged_checks not runline. A check that moves HEAD fails, land re-reads the base policy after its locked fetch, and a merged tree whose lockfile or dependencies differ from the checkout's is refused withQUEUE_NOT_READYbefore any check runs, since the linkednode_modulescan't vouch for it. gstack's own policy adopts the key after the release that carries it.
Fixed
gstack-ship-queue land --pin: land now checks that GitHub reports the PR clean before it runs any merged check, then takes the land lock and re-fetches main before it checks and merges, refreshes the lock right before the merge, and releases it afterward. A rerun takes over or releases a lock an earlier run of the same PR left, andland --pin --break-lockbreaks another lander's stale lock. A rerun after GitHub merged a stale base with noland.merged_checkschecks the tree only, with aSTALE_BASE: warnline, instead of reportingQUEUE_LAND_UNVERIFIED.gstack-ship-queue land --pin: after the merge, land checks that GitHub merged onto the base it checked or one the pin contains. If main moved in between, it rerunsland.merged_checkson the landed tree and reportsQUEUE_LAND_UNVERIFIEDwith no land note when they fail or the key is absent.- Docs:
docs/ship-policy.md#land-directdescribes the merged-tree check and thelandkey. The release section now says a release may not delete a release output, and that a rerun after GitHub merged a release fetches the pin, then reads its parent, with an unreadable parent refused asQUEUE_NOT_READY.docs/troubleshooting.mdand thedocs/captain.mdrefusal table cover the new code.
Tests
test/ship-queue-land-direct.test.ts: on a stale base, a pin whose merged tree breaks a stand-in budget check is refused withQUEUE_LAND_MERGED_CHECKSand main stays put. A pin that passes lands with main's tree equal to the checked merged tree, and a rerun checks again. A conflicting pin is refused withQUEUE_LAND_NOT_CLEAN, and with no key a stale base lands with the warn line. The checks see the merged commit as HEAD, and a timed-out check (even one exiting 0 on SIGTERM) or a tracked-file rewrite fails. Without--allow-repo-commandsthe checks are refused and never run, under--dry-runand on a PR GitHub doesn't report clean they never run, and when they run they see no token and a throwawayHOMEwhile land holds the land lock. A timed-out check's background child is killed with it, a passing check that leaves a child behind passes at once, and the checkout's post-checkout hook does not run when land builds the merged worktree. A check that ignores SIGTERM still stops at its timeout, a check that moves HEAD fails, a dependency change is refused before the checks, and aland.merged_checksthat main gains while land runs is applied. A no-key rerun lands with the tree check. A lock left by an interrupted run is taken over, another PR's lock refuses (and--break-lockbreaks only a stale one), a lock left after the merge is released by the rerun, and a rerun without--allow-repo-commandsthat must run the checks on the landed tree refuses. The key's validation is covered, and the mid-land race test still expectsQUEUE_LAND_UNVERIFIEDwith no land note on the first run.
A release gate can now gate main every 8 hours instead of on every push, and it feeds the stable release. It is off until main's .gstack/ship-policy.json declares a release_gate block, so this release changes nothing on its own. With the block, .github/workflows/release-gate.yml runs gstack-release-gate run every 8 hours. When main moved since the last gate, it runs the full paid gate on main's head once, records the verdict as a release note in refs/notes/gstack-trains, and publishes the main-backstop check run on that commit. A red gate bisects its red cases within bisect_spend_cap_usd and names the first bad commit. The per-push main backstop stands down while the block is set, so main is never gated twice. scripts/release-cut.ts is still the only thing that moves stable, and its 72-hour floor and exceptions are unchanged. It now reads a green release record as proof the commit was gated, and it refuses every cut while the newest release gate is red with no green gate on a later commit. That hold is the freeze. See docs/ship-policy.md#release-gate.
Added
release_gatepolicy key (lib/release-gate-policy.ts, which needsmin_gstack_versionat this release):cadence_hours(8 to 168),gate_workflow,branch,stable_ref,check_name,on_red: hold-releaseandbisect_spend_cap_usd, every field required.bin/gstack-release-gate(lib/release-gate.ts):run [--dry-run] [--sha] [--ignore-cadence],statusandbisect.--policy <file>reads the block from a file, for a dry run or a proof before adoption. Exit 0 means gated, skipped, inert or a dry run; 1 means held, failed or a refused policy; 2 is a usage error..github/workflows/release-gate.yml: an 8-hour schedule and a manual dispatch. The check run comes from a separate job that holdschecks: writeand runs no repository code.- Capy skill installer follows the update channel (
capy/skill/gstack/scripts/install.sh, wrapper revision 4). WithGSTACK_UPDATE_CHANNEL=stableor a stableupdate_channel, a fresh clone or a floor upgrade goes tostablewhen it meets the support floor, and to main otherwise.--revisionstill wins.
Changed
evals-main-backstop.ymlstands down (no gate, no freeze, no check run) when main's policy declaresrelease_gate.evals.ymlroutes a release gate bisect (release-gate/<id>refs) only under arelease_gateblock at the base revision, and that bisect publishes its prefix records asgstack-release-record.
Tests
test/release-gate.test.tsdrives run, bisect and status against a fakeghand a scratch remote.test/release-gate-workflow.test.tsruns the workflows' policy steps on scratch repositories and pins the cron to the cadence floor.test/release-cut.test.tsproves a red release record refuses the cut and a green one on a later commit releases it.test/train-gate.test.tscovers the bisect route, andtest/capy-skill-wrapper.test.tscovers the stable channel and its fallback to main.Versions at release under
merge: direct.gstack-release-stamp openstampsorigin/mainwith the newgstack-restamp --release, which folds everychangelog.dfragment under one new CHANGELOG heading, bumps VERSION andpackage.jsonby the highest fragment bump, reruns the release tool and moves tentative*_KEY_VERSIONconstants. It then pushesrelease/<version>and opens the release PR.gstack-ship-queue land --pinlands arelease/<version>head without a /ship receipt, but only when it is exactly that stamp (RELEASE_STAMP_INVALIDotherwise), and the Version Gate applies the same check. This lets the stable cut tag a new version again now that PRs land unstamped.The review summary leaves an abandoned review pass out of the receipt's counts (
gstack-review-scope summary, GST-1168). A pass whose dispatch ledger was never judged, that no review-log row names, and that a later judged or logged pass replaced is left out, and the summary names it on aREVIEW_SCOPE_VOIDED:line instead of counting its findings as found and unrecorded. A fix-check ledger and the last pass always count.
Five routine /ship and /autoplan stops no longer wait for a Captain: each is checked, recorded in the receipt's no_stop field, and the run keeps going (GSTA-258 L5, plan K1). GBrain-Evals pre-granted these after GBEV-30 stopped about seven times in one day on them. A case that doesn't qualify, and every other stop, still goes to the owner.
Added
gstack-no-stop record --class <class> --reason <text> --evidence <ref>(lib/no-stop.ts) checks a stop and appends{class, reason, evidence}to the branch's ledger, or printsNO_STOP: refusedand exits 3. The five classes:scoped-fix-check: one scoped fix-check past R51's two-round cap, when the round-2 fix is docs class only or only raises timeouts. The range must start at the commit the last review pass read. It records the standing grant in the approval record and printsGRANT:forgstack-review-plan --grant. One per branch.test-timeout-fix: a fix whose every changed line is in a test file and only raises a timeout value. A line with an assertion or a comparison never qualifies. Its gate finding takes a printedkeptreason instead ofopen.pregate-flake-rerun: one rerun of a failed pregate case at the same tree (rule 16). One per branch.stamp-only-carry: a refused carry where HEAD differs from the receipt head merged into the base only in a version stamp. /ship then takes the carry'sRECHECK:route instead of running Steps 2–16 again.autoplan-regate: see below.
gstack-no-stop importandlistadd an autoplan run's records to the branch and print the ledger. /ship's receipt write passes it as--no-stop @<file>.
Changed
- An autoplan plan edit made after the owner's answer carries their words when it only adds ELI5 lines. Every added line must sit in the plan's
## ELI5section and name no number, spend, budget, cap, limit, arm, model, judge or verdict. Such an edit carries asreason=no-stop autoplan-regate: …and is written to<run>/no-stop.json, and the run still exports the reviewed plan. A removed or reworded line, a line added anywhere else, or an edit to the reviewed plan itself still goes to the owner. The run keeps a copy of each plan file it hashes, so the edit is diffed against what the owner answered. - docs/review-policy.md#no-stop has the table. docs/ship-policy.md lists the receipt's
no_stopfield, and docs/unattended.md describes the carry-forward change.
Tests
test/no-stop.test.ts: each class's qualifying and refused cases, the ledger, the grant row, the receipt'sno_stopvalidation, stamp-only after a base merge, import, and the template wording.test/autoplan-carry.test.ts: an ELI5-only addition after the revise now carries and is recorded. A cap move still refuses.
Fixed
- An outside review that says it could not verify the change is no longer read as a pass (#3925).
lib/outside-review-result.tsprintedVERDICT: clean/FINDINGS: nonefor a Codex reply endingVerdict: Can't verify (one changed file excluded and four required suites blocked). Now the reply's lastVerdict:line has to approve the change (ready,LGTM,approve,ship it,pass,clean,good to go, or exactlyNO_FINDINGS) or saynot ready, which still blocks. Anything else, an approval with a question mark, or an approval that says something was excluded, blocked, skipped, not run, not executed or could not be verified, isVERDICT: unverifiedwith the newREASON: unverified_verdictand exit 4. Which lines count as a verdict is unchanged. It is still aVerdict:line read with inline code blanked, so a verdict written only in code reads as unverified. See docs/troubleshooting.md#outside-review-unverified-verdict. - A numbered finding without a P0-P3 tag is no longer dropped (#3925). A reply with
1. **Nonblocking — x**,Verdict: readyandEND OF REPORT: 1 findings (0 blocking)printedFINDINGS: none. In a reply with aVerdict:line that doesn't conclude it found nothing, every numbered item is now counted as a finding, and one with no readable severity makesFINDINGS:printunspecified, in the helper and ingstack-outside-voice run. The verdict is unchanged (cleanhere, since the reviewer approved). A consult answer with noVerdict:line, and a real clean reply, still readclean/none; a consult verdict that picks an option (Verdict: go with B) isunverified, since a consult isn't a pass/fail review.
Fixed
- The AskUserQuestion log hook no longer kills a slow first run on Windows, and its calls now share Claude Code's 5-second hook limit.
question-log-hookgave eachgstack-question-logcall a fixed 3-second timeout. On a cold Windows runner the first call takes just over 3 seconds (3,149 and 3,188 ms in windows-pregate runs 41605458462 and 41406459043), so the hook killed it and logged "exited null" even though Claude Code allows the hook 5 seconds. A fixed timeout per call also let several questions run well past those 5 seconds (six slow calls took 16 s). Now the calls share one budget: 5 seconds from when Bun starts the hook, less a 500 ms exit reserve. On Windows the hook finds Git Bash before it reads that budget, so the lookup comes out of the budget instead of adding to a call's time. When less than 250 ms is left, the hook skips the remaining questions and logs which ones; a killed call's log line names the signal and how long it ran. The budget doesn't cover the bash shim that starts Bun, and the first Git Bash lookup on a fresh install has no time limit of its own, so Claude Code can still stop the hook in those cases.
Fixed
- A tap or touch right after a page loads now lands where you aimed (GSTA-262).
$B goto <url> && $B tap 240 440on a phone-emulated tab could hit a different element.$B gotoreturns once the HTML is parsed, but before the page has drawn a frame with its mobile viewport, and Chromium places touch points using the last drawn frame. So the touch was scaled by 0.401 (393/980, the desktop default width) and landed at (96, 176), on the zoom area instead of the fire button. Everytap,swipe,pinchandtouch downnow waits for the page to draw a frame before the first touch (two animation frames; skipped for a hidden tab, and capped at one second, so a page that replacesrequestAnimationFrameor navigates mid-wait can't stall the gesture).$B touch cancelalso waits for a drawn frame before it returns, because Chromium delivers the touchcancel event with the next frame, so a check right after it could still see the old touch. This also fixes the flakytouch input > held fingers are cancelled on navigation and by touch canceltest (22 failures on 2026-11-03 and 12 more the next day, all in free shard 4). Under CPU load, a loop of navigate-then-touch missed 45 of 60 times before the fix and 0 of 60 after; the whole test file failed 1 of 20 runs before and 0 of 20 after. A touch-then-cancel loop under the same load saw the stale touch 2 of 60 times before the cancel wait and 0 of 300 after.
Fixed
- Two paid flaky cases now accept what their fixtures already allow, and a third prints the evidence it was missing. These come from main backstop run 41817566885 (main b244e6d1). Each case failed once and passed its rerun.
plan-design-with-ui-scope: in CI the image generator has no API key, so no mockup ever gets approved. The fixture's declared Voices menu still said "with the approved mockup as anchor". One run told the truth and wrote "(text-only this time, since mockups weren't available)" instead, and the picker refused it. The fixture now declares that one replacement. A free test replays the captured question; it fails on main and passes with the fix, and six variations that are not the declared replacement are still refused.ship-docsync-current: the docs interface says a private artifact can live "in a new directory you create there" under the fixture home, andgstack-docs-candidate snapshotdoes not create the folder for its--outpath. The parent ranmkdir -p <home>/ship2as its own call, and the detector refused it. The detector now accepts a plainmkdirormkdir -pof one new folder directly under the home, as its own call. A free test replays the whole captured run, which fails on main and passes now. The test also shows that 25 othermkdirforms are still refused: the repository, protected roots, nested paths,.., symlinks, globs, variables, options and joined lines.autoplan-guard-pty: the first guarded call got an unverified allow (journal_lag), because Claude Code didn't write its journal within the guard's 2-second window. The run had all four allows, so it never printed the journal, and cleanup deleted it. Now any run that falls short of four verified allows prints the journal and the time of each decision. The guard and its window are unchanged.
[1.95.5.0] - 2026-11-04
- gstack's own PRs now merge at their own green head. Its ship policy sets
merge: direct, so the Captain lands each READY PR withgstack-ship-queue land --pr <n> --pin <sha>instead of a train, and VERSION waits for the release stamp. The policy'smin_gstack_versionrises to 1.95.0.0, the release that introduced the key, so an older gstack refuses it by name (POLICY_GSTACK_TOO_OLD) and asks for an upgrade.
[1.95.4.0] - 2026-11-04
Fixed
- The lean
/autoplanreviewer sees the committed draft on a PR-branch checkout (GST-1241). Draft capture tookorigin/HEADas its base, and a Capy machine started on a PR branch pointsorigin/HEADat that branch, so the reviewer gotDRAFT: none (no code changes against origin/<branch>). It now resolves the base throughlib/default-base.ts, the same resolverbin/gstack-diff-scopeuses, which skips anorigin/HEADnaming the checked-out branch and falls back to the PR base, the remote's live HEAD, thenorigin/main.
[1.95.3.0] - 2026-11-04
A crew thread no longer creates threads itself. It asks its Captain, so every new thread joins a crew from the start (R68). docs/captain.md also warns that tools.capy.read returns a cut-down view of long files.
Changed
- docs/captain.md has a new section, "New threads join the crew". A crew thread asks its Captain for a new thread, and the Captain creates it in the crew. A thread the crew thread already made gets reported by code in that turn, so the Captain can add it with
crew.add. A thread in another project goes Captain to Captain, and the receiving Captain creates it in its own crew as work, briefs it and returns the result. Only a project with no Captain lets the crew thread create the thread itself, with the code recorded on the work's issue. A cross-project thread the crew thread already made goes to that project's Captain to adopt, with its code on the issue. The cause: GBRA-240 created GBEV-33 directly in another project, and that thread ran outside every crew. - docs/captain.md also has a new section, "Keep issues tidy" (Garry, 2026-11-03: "can we tell all the captains to audit their issues and clean them up. and have a standing rule that that is kept tiday"). Before archiving a thread, close or backlog its issues. On each wake, keep every touched issue accurate. Unassigned Todos nobody will start go to Backlog. A daily sweep closes, re-assigns or backlogs open issues untouched for 2 days whose assignee is archived, or idle with no open PR (R69). The sweep skips issues assigned to a person, and Waiting issues that name what they wait on while it is still open. The target is an In progress count close to working threads plus PRs waiting to merge.
- The Capy factory context (
factory.mdpoint 12) now has the short version and cites that section. Its byte budget intest/capy-skill-wrapper.test.tsgoes from 3,300 to 3,450: the page's new size rounded up to the next 25 bytes, and no other point was trimmed. - docs/captain.md, Drive layout says that
tools.capy.readreturns about the first 38,000 characters, with each line cut at 2,000. So a read, change andtools.capy.writeprogram saves a truncated file, Drive files included. Edit long files withtools.capy.edit, or read and write the whole file in bash or Python and check the line count.tools.drive.historyrestores a recent version. This is how the org knowledge base's rules.md lost 37 rules. It lives in the docs page rather than the Capy skill because the skill sits at its fixed 5,315-token context budget.
[1.95.2.0] - 2026-11-04
- Pushes from /ship now stop on leftover merge conflict markers. A new
conflict-markersguard reads every line the branch adds, in the commit being pushed and in the working tree, and refuses one that starts with<<<<<<<or>>>>>>>, or is exactly=======, even inside a template literal that still parses and passes its tests (GST-1190, seen on #3927). Markdown code blocks that show git output (an unlabeled,textordifffence) are skipped, while a conflict inside abashortsfence is still refused. A fixture that shows markers on purpose declaresgstack-conflict-markers: fixtureon a line of its own near the top.
Tests
test/conflict-markers.test.ts: a marker inside a template literal is refused (it failed before the guard existed); a Markdown code block that shows a marker passes while the same lines outside a fence or in a bash fence are refused; unchanged lines, declared fixtures, untracked files, quoted file names, git prefix settings and a committed conflict hidden by an unstaged repair are handled.
[1.95.1.0] - 2026-11-04
/ship's review depth now follows what the code does, not what a file is named (GST-1177). An executable file stays code wherever it sits and whatever its name, and code that seals eval custody or decides what reaches an outside model now gets full review. Over the last 200 commits on main, no commit's review depth went down. Six gained a risk class, and three of those went from light to full, including the secret-egress fix in #3921 that had been planned light.
Changed
- An executable is code whatever its name or folder. A file with the exec bit, a symlink, or a file whose first line is
#!counts as code. Examples arescripts/logs/prune, a runnable*.out, or an executable.txtor.jsonscript. It no longer counts as a run log, data, config or docs, and its changed lines are read for risk. If gstack can't read a file's mode or first bytes, it treats the file as executable. A deleted file is never counted as executable. - Sealed custody and outside-model egress are security risk. Paths naming seal, sealed, custody or egress now plan full depth (harness-evals#237, #3921). So do code lines that call a redaction function, import a redaction or outside-voice module, or set a
SECRETorCREDENTIALconstant to a regex. - The docs credential check reads every docs path, including docs-named executables, so a script that prints an
Authorization:header still plans full depth.
Fixed
- The outside voice's path-scoped slice no longer drops files with quoted or spaced names. Git prints a quoted header when a name has a tab or non-ASCII characters. Such a file was either glued onto the file before it or left out of a diff over 2 MB without being listed. Now each one is its own file, and the brief names it when it's left out.
gstack-review-plannever opens a tracked symlink to check for#!or to read an SVG drawing, so a link to a FIFO can't hang it.- docs/ship-policy.md describes the
reviewpolicy key and theriskandmodefields of the receipt'sreview_depthrecord.
[1.95.0.0] - 2026-11-03
Added
- Merge each PR at its own green head (
merge: direct).gstack-ship-queue land --pr <n> --pin <sha>merges one READY PR with--squash --match-head-commit, with no train, no stamp commit and no extra CI round. It refuses unless the /ship receipt and the READY note are bound to the pin, every check there is green with none pending, GitHub reports the PR mergeable and clean, and the PR leaves VERSION, thepackage.jsonversion and the CHANGELOG to the release. After the merge it checks that main's tree is the pin merged onto its parent and writes a land note. A new ship-policy key,merge: train | direct, turns it on, andtrain buildrefuses underdirect. gstack switches its own policy todirectin a follow-up once this release exists, somin_gstack_versionnames a version that was actually published. Each refusal has its own code and fix in docs/troubleshooting.md, and docs/captain.md has the new runbook.
[1.94.44.0] - 2026-11-03
Fixed
- A child's install for another workflow no longer drops /ship's install verdict on a shared machine (GST-1233). When a /ship docs child ran
install.sh --for document-releasewith a different Bun on PATH, or its install check failed, it replaced the shared install verdict, and the parent's finish pregate refused withINSTALL_UNVERIFIEDuntil someone reinstalled--for ship. Each workflow install now also writes that workflow's own verdict beside the shared one (<verdict>.for/<workflow>.json), and workflow admission and the pregate fall back to it with the same checks. A new HEAD or a failed./setupstill invalidates every record,--check --for shipkeeps ship's own recorded Bun, and the pregate skips a launch directory whosebunresolves to a Bun other than the one its admitting record certified. The shared launch file is a separate follow-up (GST-1239).
[1.94.43.0] - 2026-11-03
Fixed
gstack-evidence passedskips the tree hash when the ledger has nothing to match. Before pregate runs a guard, it asksgstack-evidence passedwhether that exact command already passed at this tree (#3929). Each check hashed the working tree (gstack-wtree) before it looked at the ledger. Usually the ledger has no row for the command at all, so that hash was wasted. Each check took 0.19 s idle and 0.74 to 0.94 s on a busy 4-core machine, once per guard. Now the ledger is read first, and the tree is hashed only when a local row names the command. The answer is the same. Only the no-row message drops its "at tree …" suffix.- Two local test cases no longer run out of time at Bun's default 5 s.
test/pregate-guards.test.ts's guard-timeout case ran two full pregates, each waiting out a real 1 s guard timeout. It is now two cases, one with several guards together and one with a lone timed-out guard. Its fixture also writes the manifest into the base commit instead of making a second commit. On a 4-core machine it went from 4.1 s to 2.0 s and 1.75 s idle. With every core busy (busy loops at nice 10), it went from 0 of 3 runs passing to 10 of 10.test/spec-quality-gate-secret-sink.test.tsrendered every host's skill docs inbeforeAllbut reads only the claude and codex output. It now renders just those two, which are byte-identical to the full render: 1.38 s down to 0.37 s. With 16 busy loops, that hook went from timing out in 3 of 3 runs to passing 3 of 3. That is the hook timeout the macOS named-regressions job hit on #3926.
[1.94.42.0] - 2026-11-03
Tests
- Three free tests that failed only on a busy remote test machine (remote pregate run 20261103T015240Z-11756-6ff6, PR #3892) now hold up under load:
test/review-army-budget.test.ts: the red-team retry fixture spent a real 80 ms sleep inside its 200 ms deadline, so a pause of more than 120 ms failed attempt 2. Attempt 1 now waits for the cancellation and then drains, and attempt 2 doesn't sleep. With random 150 ms pauses injected, 6 of 10 runs passed before and 20 of 20 pass now.test/helpers/docsync-fault-callbacks.ts: the docsync replay assumed fixture setup took less than 5 seconds, and setup takes 5 to 12 seconds on a busy machine. The replay now checks that the session timeout equals the budget minus 15 seconds minus the time already spent, which is how the code computes it. Under 16 busy loops on 4 cores, 0 of 4 runs passed before and 4 of 4 pass now.test/fixtures/plan-seed-cli.ts: the fake CLI drew its screen and its startup question in two separate writes, so a screen read between them saw an empty input and pasted the plan. It now draws both in one write. Under load, 31 of 36 runs passed before and 36 of 36 pass now.
[1.94.41.0] - 2026-11-03
/ship's receipt counts its review findings by id, keeps every run, and a small change after review gets one reader instead of a second /ship (GSTA-258 L4; GST-1136, GST-1168, GST-1179). The receipt's REVIEW_LOOP counts were wrong in a repeatable way: gbrain-evals#310's receipt said 3 blockers found and 2 fixed when 2 were found, 1 fixed and 1 deferred; gstack-evals#174 counted 16 blocking with 8 unrecorded against 9 found and 9 fixed; #3906 and #3911 showed fixed=0 after real fixes. The summary paired findings by path:line only, so a native finding with no path:line, a row logged after its fix moved the line, or a late defer re-logged under another fingerprint all broke the count, and rows it couldn't place were dropped without a word.
Changed
gstack-review-scope summarybinds by finding id. A row finding carriesledger_id(<pass dir>/<merged.jsonl id>), each fix commit names what it fixed in aReview-Finding: <id> reader=<role>trailer, rows that record their head dedupe by kind, pass, head and finding ids, and a late defer counts once. Rows and findings without an id keep the path:line pairing.- What can't bind is named, never a silent zero. A row with no start token or readable time, a
pNledger with no review row, aledger_idno ledger holds and a trailer naming nothing each printREVIEW_SCOPE_UNBOUND: <what>: <why>, and the line and receipt carryunbound=N. - The native reader's own verdict line no longer collects as a blocker. "There are three low-severity findings, all FIXABLE, and none blocks." (#3901) collected as CRITICAL beside the findings it summarized; it now collects at FIXABLE. A line that says something blocks, names a file:line or leads with FIXABLE still collects as CRITICAL. A finding's
Severity: Low. Blocks: noafter a closing quote (… its base." Severity: Low) now counts as its own field: on ggstack#71 that one quote made one of four identical findings CRITICAL. gstack-ship-receipt carryoffers a scoped re-check (J1). OnRECEIPT_CARRY_PRODUCT_CHANGEDwith linear history against the reviewed base and a range-diff (plus the diff of the changed product paths) of at most 400 lines, carry printsRECHECK: eligible … packet=<file>. One reader on the packet andcarry --recheck <record.json>rebind the receipt, unless HEAD needs a deeper review depth or another risk class. Rebased branches, retargeted stacks, receipts with no recorded review depth, more than 20 changed product paths, binary paths, moved base context and packets over 400 lines or 64 KB still need /ship.- Every /ship run's receipt is kept. When
writeorcarryreplaces a different receipt, the old one's identifiers and counters move to an append-onlygstack-receipt-runsblock in the PR body (newest 30). gstack-ship-queue readyprints the whole READY. It adds the receipt'sREVIEW_LOOP:line, aTRIAL_MERGES:line for the lane to fill and anAttention:stub that opens withreviewed by <model>on risk-class PRs andself-auditedon every other PR. docs/unattended.md now asks for the cross-family trail read only on risk-class PRs.- The
GSTACK_RESULT:line names the full head (status=complete head=<sha> run=<dir>), so a leftover line from an earlier ship can't pass for a new head (GST-1179).parseResultreads the optional token. - The receipt schema has
no_stop, one{class, reason, evidence}record per routine stop a run went on past (write --no-stop), for the five no-stop defaults that come next.
Tests
test/review-loop-binding.test.ts: the GBEV-3, GEVA-223, #3906, #3892/#3903/#3911 and #3911 duplicate-row cases. On main the GBEV-3 case reproduces its receipt exactly (3 found, 2 fixed) and GEVA-223's pattern (18 found, 9 unrecorded).test/review-ledger-verdict-line.test.ts: the captured #3901 output and ggstack#71's findings, with negative controls.test/ship-recheck.test.ts: every refusal that does and doesn't qualify, the record binding, and the carry end to end.test/ship-receipt-runs.test.ts,test/ship-receipt-result-head.test.ts: the runs block, the READY tail,no_stopvalidation and thehead=token.
[1.94.40.0] - 2026-11-03
- The macOS named regressions no longer fail when a test that spawns many processes runs past Bun's 5 s default on a slow runner (GST-1280). The
macos-named-regressionsjob in Free Tests now runsbun test --timeout=30000, the same per-test limit the Linux free suite and the pregate runner already use. On #3917's stamp commit (run 41719016775) the codex probe-model test, which runs nine probe scripts one after another, was killed at 5,022 ms in both attempts; in three green macOS runs (41720189541, 41716637247, 41720760241) it took 941 ms, 2,079 ms and 3,428 ms, and 505 to 580 ms on Linux. Train 107's first build (run 41712557655) lost two CSO Git fixture tests the same way. Tests that set their own timeout keep it, and the job's 20-minute limit is unchanged.
[1.94.39.0] - 2026-11-03
A base merge next to a reviewed hunk no longer forces a second full review because of the base's own lines. On founderstar#515, a base merge put 62 lines of another PR, already merged at base, next to the PR's 76 reviewed and unchanged lines in tests/ui_shots.gd. The scoped-review section went past its 200-line limit, so gstack-ship-release finish took the behavior route, which a review-loop exception can't accept, and asked for Steps 5 to 11.5 again. #3923 hit the same limit when only one trailing context line changed (GST-1226).
Fixed
- The scoped-review packet counts only the branch's own lines toward its 200-line section limit. The base's +/- lines, already merged at base, are still shown to the reader but no longer count, in finish and in the receipt carry. A base change over 2,000 lines in one file counts in full again, and a section the branch's own lines push past the limit still takes the full loop. Context-only drift is not carried silently: it still gets the scoped read.
Tests
test/ship-rereview-triggers.test.ts: 210 lines another PR merged at base next to the branch's 76 reviewed lines, and a changed trailing context line beside a 221-line base rewrite, both reach the scoped read (both took the behavior route on main). Negative controls: a section the branch's own 230 lines push past the limit, and a 2,100-line base insertion beside the hunk, still take the behavior route.
[1.94.38.0] - 2026-11-03
- A /ship receipt now survives a changelog-fragment conversion (GST-1210). When a PR moved to a
changelog.dfragment after review,VERSION,package.jsonandCHANGELOG.mdwent back to main's content, and if main had also changedpackage.jsonbeyond its version,gstack-ship-receipt carryread that as the branch's change and refused withRECEIPT_CARRY_PRODUCT_CHANGED(HARN-1, harness-evals#206). A stamp file the branch changes by no more than a stamp against each head's base now carries as release metadata. A non-stamppackage.jsonchange, a logic edit, or a stamp file whose entry can't be read still refuses.
[1.94.37.0] - 2026-11-03
- Pull requests reuse a green Free Tests run they can't control (
scripts/ci-tree-reuse.ts find --pull-request, docs/pregate.md#ci-reuse-pr). A pull request run skips the suite when a push or dispatch run on main, or a dispatch run on its own branch, already passed on the merge commit's exact tree, and the pull request leaves the workflow, the reuse script andlib/run-evidence.tsunchanged. A pull request run is never a source, so a pull request never certifies itself.
[1.94.36.0] - 2026-11-03
Fixes to the contract checker (GST-1242). An agent_dispatch item with a marker: used to count as met once the marker line was printed and any Agent call followed it, even an unrelated one. A contract that gives agent_dispatch a marker is now rejected as invalid until the checker can bind a marker to the dispatch it names, and the item is met only by an Agent dispatch that matches its match. No shipped contract used a marker there. The Stop hook's block message and gstack-skill-contract check now name the waive command by the full path of the installed gstack-skill-contract, because a standard install does not put the bare name on PATH and the old hint failed with exit 127. /review's calibration note now points at the preamble's Operational Self-Improvement rule, which carries the logging command, instead of a section a skill diet may remove.
[1.94.35.0] - 2026-11-03
/investigate's and /review's "Done means" list now runs the contract checker through gstack's own bin path (GST-1088 lane B follow-up). The list told the agent to run a bare gstack-skill-contract check, but a standard install doesn't put gstack's bin folder on PATH, so an agent that ran it, most importantly to record a waiver, got "command not found". It now names the same host-resolved path every other gstack command uses, for example ~/.claude/skills/gstack/bin/gstack-skill-contract check on Claude Code.
Fixed
- Done-means check and waive commands:
scripts/resolvers/contract-done-means.tsrenderscheckandwaivethrough each host's bin directory instead of the bare command name. The rest of the wording is unchanged.
Tests
test/skill-descriptions.test.ts: on every host, /investigate and /review render the checker through that host's bin path and never as a bare command, and the checked-in /review SKILL.md shows the Claude path. /review's skeleton and size pins rise by the measured 56 bytes (24 chars per non-Claude host render).
[1.94.34.0] - 2026-11-03
Fixed
- The autoplan-guard-pty eval no longer fails when its test actor mistypes a hash. The live guard test has a Haiku model act out an /autoplan phase boundary, and it had to copy each reviewer dispatch, including two 64-character hashes, into its Agent call. Every so often it got a hash wrong (in PR screen 41247097050 it made up a tail for the Design dispatch's hash), and the guard rightly refused the dispatch. Now the actor sends a short declared token,
DISPATCH ceoorDISPATCH design, and a loopback relay in the test driver puts that phase's exact dispatch in place of the token before Claude Code sees the tool call. The relay also puts the token back in the history the actor sees, because in the first panel's trial 1 the actor copied the substituted CEO dispatch for its Design call. The guard, the hash in the dispatch, the Haiku actor and every assertion are unchanged. The first preregistered panel stopped at that trial 1 failure. After the history fix, the second panel passed 3 of 3 (4 of 4 guarded allows in each trial, no permission cards). - The plan-design-with-ui-scope eval accepts both ways the skill writes the outside-voices menu. The question format says option descriptions use literal ✅/❌ bullets, and models read that two ways: earlier captures kept the bullets in the descriptions, while train gate 41470212877 moved them into the question text and dropped them from the descriptions, so the test's fixture user refused the menu. The fixture now declares both spellings, and the picker accepts exactly the declared description, or that description with every bullet removed. The red question is saved as a fixture. Restoring only some bullets, flipping one, swapping or rewording a description still fail. A focused paid run passed.
[1.94.33.0] - 2026-11-03
Follow-ups to the skill routing and contract hooks (GST-1088). gstack-ship-queue ready no longer misreads files a PR adds as deleted when the installed gstack is older than the checkout: the paid-case selector now derives dependencies from the checkout under review. Each of the two hook switches now has one default, SWITCH_DEFAULT in lib/skill-route.ts (both still off), which setup, both hooks, gstack-config get|list|defaults and the new gstack-skill-route --default <switch> all read, so changing a default is a one-line edit; gstack-config list and defaults now show both switches, an unrecognized value takes the default in the hooks as it already did in setup, and a config file that exists but cannot be read turns both hooks off in setup and in the hooks whatever the default. The contract checker no longer counts installs, builds or version probes (bun install, go build, node --version, make clean) as a test run after an edit, while option values (make -C web test, pnpm --filter app test) and node --test still count, and the Stop hook lets a final stop through while Agent dispatches are still running, recording the run as deferred, then checks the contract once the same agents have been running for 10 minutes; gstack-skill-contract report re-checks deferred runs.
[1.94.32.0] - 2026-11-03
Fixed
- A RED paid screen now names its rule cases.
gstack-ship-queue ready,verify --screenandtrain buildtook a screen's red cases only from its behavior and judge panels, so rule cases that failed twice under the flaky-rerun rule never showed up. #3947's screen run 41662815506 printedSCREEN_VERDICT: … RED flaky=ship-docsync-stale-afterwith nored=list, and the refusal said "RED on its gate binding". That made it look like the one flaky case had turned the run red, when seven rule cases had actually failed twice. The verdict line and theQUEUE_SCREEN_REDrefusal now list every case the report marks with ✗ (qa-quick, browse-basic and five more in that run). The verdict itself doesn't change. A case that passes on its one rerun is still green with a FLAKY line, and a case that fails twice is still red.
Tests
test/ship-queue-screen-verdict.test.tsreads the real gate binding and collector outcomes from run 41662815506. The seven twice-failed rule cases are named red, and the rerun-pass case stays only flaky. Negative control: with just the rerun-pass case left, the run reads GREEN with its FLAKY line. A red that never reran (INFRA, an unreported shard) is still named, and quarantined or passing split panel lines are not.
[1.94.31.0] - 2026-11-03
gstack's browser now runs Chromium 156, which fixes CVE-2026-106378, a macOS sandbox escape (#3907). Playwright 1.62.1 bundled Chromium 151, which predates the fix. Your next ./setup or /gstack-upgrade downloads the new browser.
Fixed
- Playwright 1.64.1 (Chromium 156.0.8078.4, revision 1248). Chromium's fix is commit
0c2f3e54b265("Disclaim TCC responsibility for GPU process", crbug.com/507596239). Its code is in the tagged source for 156.0.8078.4 and missing from 151.0.7922.34. We checked the source; nobody ran the exploit. A new test fails if the bundled Chromium ever drops below 155.0.8059.12, the first tag with the fix. browse handoffopens the browserGSTACK_CHROMIUM_PATHnames, as the headless and headed launches already did. Before, handoff always fell back to Playwright's bundled Chromium. It never probes or self-heals a custom browser, and it doesn't load the sidebar extension into a build that already bakes it in.
For contributors
patches/[email protected]keeps the launchwindowsHidehunk and theTcpPortRandomizationWinbackport. Playwright 1.64 passeswindowsHideon itstaskkillcall itself, so that hunk is gone; the installed-tree test still checks it..gstack/pregate.jsonmapspatches/**tobrowse/test/playwright-core-patch.test.ts, so the next Playwright bump gets a test lane without renaming anything.- Linux arm64 now downloads the Chrome for Testing build (
chrome-linux-arm64.zip).
[1.94.30.0] - 2026-11-03
/ship sends more diffs to full review: spend-binding code, eval scorers, a repo's own risk paths and docs that print secrets now count as risk, and a lane can declare a class the matchers miss (GSTA-258 build C). Today's reviewer panel stays the default. The one-reader shape for non-risk code ships as an opt-in (review.panel risk) because its no-loss replay didn't pass: with only the diff and no repository, the reader found 2 of 68 non-risk blockers, so the replay is being redone with readers working in a checkout. A repo with platform review on can skip /ship's readers on plain docs.
Added
- A
reviewkey in.gstack/ship-policy.json, read from the base branch only (needsmin_gstack_versionat the release that adds it):panel(allby default, today's panel;riskoroffopt in to one reader),reader_model(laneby default),platform(offby default) andrisk_paths(globs of code paths that count as risk classpolicy). gstack-review-planprintsREVIEW_MODE:and, underreview.platform on,PLATFORM_REVIEW:.DISPATCH:lines name the reader'smodel=andclasses=. New flags:--fix-checks <n>and--pr <n>.- The platform depth. Under
review.platform on, a docs or tests diff with no numeric, results or prereg claims, whose PR carries capy-ai[bot]'s review at the exact head, plansNEXT: platformwith a plannedSKIP:for every reader. Step 11.5 accepts it, andgstack-ship-receipt write --platform-review <id>recordsreview_depth: platformwith that review's id and head. It never applies to runtime code, and never where platform review is off. - New risk classes:
eval(scorer, judge and grader paths) andpolicy(review.risk_paths). A docs line that can print a credential (anAuthorization:header, a bearer value, a key-shaped literal,mcp get) is security risk (gbrain#8417). - The receipt records
review_depth.mode(lean, panel or platform). - Declared risk classes (GST-1129).
gstack-review-plan --declare-risk <classes>andgstack-ship-receipt write --declare-risk <classes>add classes the matchers missed. A declaration only raises the depth, the plan printsRISK_DECLARED:, and the receipt keepsreview_depth.declaredbesidereview_depth.detected. - Code that reserves, binds, leases or settles spend is money (GST-1129):
bindCheck(ledger, …),reserveSpendorbindCapin a code file now plans full depth. gstack-evals#170 got its full review only because an unrelatedUBICLOUD_API_KEYline was in the diff.
Changed
- Opt-in one-reader review (
review.panel risk): non-risk code gets one native adversarial reader at the lane's reasoning, carrying the code checklists and the Red Team checklist, and risk class keeps the full panel. One fix-check follows a fixed blocker. It isn't the default until its no-loss replay passes. - Fewer false risk triggers (harness-evals#231): committed
*.sqliteand other binary data files count as data, never code; JSON, YAML and other config files are judged by their path, so alease_usdvalue no longer means money; analysis scripts underdocs/,results/orbenchmarks/are judged by their path. - The outside voice reads its diff from a file the brief names with its sha256, instead of a diff pasted into the prompt. Past 2,000,000 bytes it reads a path-scoped slice whose brief lists the files it left out, instead of stopping the pass.
[1.94.29.0] - 2026-11-03
Every part of gstack now has to earn its place. Garry, 2026-11-02: "Also work this principle of only include it if it is beneficial and good into gstack". A new skill, step, instruction, check or default needs evidence that it helps on frontier models, or a reason, an owner and a dated plan to measure it. The first inventory reads untested almost everywhere: one part, /investigate, has a fair no-effect result (a CUT-CANDIDATE, measured on Opus 5.5 only), 3 have a fair test under way, 14 more have one proposed, and 5 safety guards stay on their stated reason.
Added
- ETHOS.md principle 9, Earn Its Place. A fair test is Claude Code's own
claude_codesystem prompt, frontier models (today Opus 5.5 and GPT-6.1 Sol) and a masked no-gstack arm. A part a fair test shows doesn't help gets one "Why null?" cycle, then is kept, fixed or cut. Measure the biggest parts first. The Capy factory page cites it in item 8, still under its 3,300-byte budget. docs/inventory/evidence.json, the evidence ledger, andbin/gstack-inventory. One row per part: every skill folder plus seven shared parts (preamble, catalog, the two Capy files, the /ship review panel and docs audit, the /autoplan phases), 71 keys in all. Each status has its own required fields (helps,no-effectandhurtsneed sources, frontier models, the preset prompt, a scope and a masked no-gstack arm, and the last two an R48 verdict; a newuntestedpart needs a reason, a concrete plan, an owner and ameasure_bydate;safetyneeds a reason). Rows present today are grandfathered, seeded from the gstack-evals evidence table with their sources, plans and earlier results that don't count yet; no part added later can claim that (test/fixtures/inventory-grandfathered.json).gstack-inventorywritesdocs/inventory.md(parts ranked by load per run, a "measure next" order, preamble tiers, paid dispatches per run for /ship and /autoplan quoted from their own docs);--checkvalidates the ledger;--jsonprints it. It works on the git repo you run it in and never writes into a gstack install.gstack-skill-billprintsEVIDENCE:, the skill's ledger row, and/write-skill's edit ladder step 2 is now the evidence rule, with anEvidence:commit line besideSkill-Size:./autoplan's CEO phase lists each part a plan adds to gstack with its evidence or owned, dated plan; a missing one is a finding.
Changed
- No-gstack arms must be masked.
gstack-eval-plan prereg --checknow also requiresmasking:,install:andaudit:in## No-gstack armand refuses a blank ornonevalue (PREREG_NO_GSTACK_ARM). On Capy, run agents inherit the instruction to load the user-drive gstack skill, so the arm hides the Capy drives and checks that no gstack is installed. An arm that read a gstack skill file is contaminated and gets zero credit (docs/TESTING_INTERNALS.md#no-gstack-arm).
For contributors
- CONTRIBUTING.md "Adding a new skill" adds the ledger row;
test/inventory.test.tsfails on a skill without a valid row.
[1.94.28.0] - 2026-11-03
gstack-ship-preflight --timeout reaches Step 5's pregate (GST-1196). Preflight ran gstack-pregate with no way to pass --timeout, so on a repo whose .gstack/pregate.json sets no timeout_s, a test group longer than 600 s always stopped with PREGATE_INCOMPLETE. The only workaround was a separate gstack-pregate --timeout 1800 before finish (gstack-evals #176 and #179).
Fixed
gstack-ship-preflight:--timeout <s>(whole seconds, 1 to 3600) is passed to Step 5's pregate as its--timeoutand overrides the policy'stimeout_s. When it isn't set,timeout_sapplies, and the default is 600 s, as the help now says. A bad value exits with usage (2).docs/pregate.md: thetimeout_srow says preflight now forwards--timeout.
Tests
test/ship-preflight.test.ts:--timeout 2bounds a 4 s test under a 600 s policy andPREGATE_DETAILnames--timeout; 0, 3601, 1.5 and x are usage errors.
[1.94.27.0] - 2026-11-03
- Housekeeping checks now run before every push instead of after a CI round (GST-1138, ship-90-90 plan).
gstack-pregate --stage guards --allow-repo-commandsruns only generated-file freshness (regen) and the repo'sguards, each only for the files the branch touched, and writes.gstack/tmp/pregate-guards.jsonso it never replaces the full run's record.gstack-ship-release pushruns it before every push, early or final, printsGUARDS:, and stops with the guard's fix when one fails, pushing nothing. A pass already recorded at HEAD's exact tree, by push itself or byfinish's preflight, is reused instead of rerun. See docs/pregate.md#prepush. - gstack declares its own guards in
.gstack/pregate.json: typecheck, the skill size guards, the parity suite, the context-budget ratchet, the module-size ratchet, the /ship goldens and the CLAUDE.md size cap. gbrain had 64 of 93 red heads from checks like these, and #3908 went red on the context-budget ratchet. Every gstack at or above this repo's version floor already reads theguardskey, so the floor does not move.
Tests
test/pregate-guards.test.ts:--stage guardsruns onlyregenandguards, writes its own record and refuses--onlyand--from-run; gstack's guard list validates, names test files that exist and fires only on its own inputs.test/ship-release.test.ts: a failing guard stops the push with its fix and pushes nothing; a pass at the same tree is reused, and a new commit runs the guards again.
On main, all five new tests fail.
[1.94.26.0] - 2026-11-03
- A lane whose command runs several
bun test --shard=i/Nprocesses now records the sum of the shards' counts, not the last shard's (GBEV-3, gbrain-evals#317: 3336 recorded against 6,095 run across 2 shards). The sum needs shards 1/N to N/N, in order, at the end of the log; any other set records the last summary as before, so a command that runs a suite twice, or reruns one shard, still reports its last run. The shard lines and count lines that scroll out of the 64 KiB output tail are kept for this, so a long shard run still sums (a real 2-shard, 2000-test bun run recorded 1000 before and 2000 after). - docs/pregate.md#dispatch-carry warns that a
workflow_dispatchrun reports under the same job names on the head commit, so without strict branch protection a green dispatch run can hide a red merge-commit check. It recommends strict protection or distinct job names for dispatch runs, and notes that gstack's own merge trains test the merged tree. - When a pull_request run tested a merge whose base moved after the run,
CI_CARRY: none (… tree_mismatch …)now says so and prints the one-command fix:gh workflow run <workflow> --ref <branch>, then gstack-ci-carry wait(TRUT-7). - docs/pregate.md#skipped-files names the order of record-ci's checks after a skipped-file remainder, including the final
tree_changedrecheck.
Tests
test/ship-ci-carry.test.ts: a pull_request run whose merge commit has another tree prints the base-moved reason andgh workflow run free.yml --ref feat, then gstack-ci-carry wait. It fails without the change.test/evidence.test.ts: two--shard=i/2processes in one log record 6095, two shards with more than 64 KiB of per-test lines record 4000, and an incomplete, repeated or rerun shard set records the last summary. The sum cases fail without the change (3336 and 2000).
[1.94.25.0] - 2026-11-03
- A lane label with a space or a colon, such as
pnpm lintordb:test, no longer goes MISSING right after it carries (TRUT-7, truther#1170).gstack-evidencewrites a label to the ledger with unsafe characters turned into_, butcheck, whichgstack-ship-release finishandacceptcall, looked it up under the raw label, so /ship stopped with "not FRESH at the pushed head".run,record-ciandchecknow share one label spelling. - A carry that doesn't reach FRESH no longer leaves a
ci_carriedentry in the ship receipt (TRUT-7: truther's receipt keptpnpm_lint:41603968341/1from the attempt that stopped).gstack-evidence carriednow lists a CI row only whencheck's own grading, at the 24-hour age /ship uses, calls it FRESH.
Tests
test/ship-ci-carry.test.ts:acceptwith the lanespnpm lintanddb:testcarries both and checks them FRESH, andgstack-evidence checkfinds both. It failed before the fix (EVIDENCE: MISSING label=pnpm lint).test/ship-ci-carry.test.ts: a carriedpnpm lintrow aged past 24 hours grades STALE and leavescarriedempty. It failed before the fix (the stale row was still listed).
[1.94.24.0] - 2026-11-03
Fixed
- The OpenClaw and Hermes start hook no longer breaks a fresh harness. When the harness has no config yet, gstack runs none of its commands:
openclaw config setandhermes plugins enablewould have created a config holding only gstack's plugin setting, with no model, provider or terminal settings. The hook reportswrittenwith the setup to run first (openclaw onboard,hermes setup), and the next./setuporgstack-harness refreshturns it on, changing only the plugin entry. Turning the hook off or unregistering in such a profile also leaves the config alone. If v1.92.23.0 or a later release before this fix already created a config holding only the plugin entry, move it aside, run the harness's own setup, thengstack-harness refresh. OPENCLAW_CONFIG_PATHnaming the profile's ownopenclaw.jsonkeeps the start hook on. gstack compares the path after resolving symlinks, so only a config outside the profile turns the hook off. WhenGSTACK_HARNESS_START_HOOKorharness_start_hookasked for the hook and it ends up off,gstack-harness registerand./setup --hostnow exit 4 with the reason and the fix instead of exiting 0.gstack-harness statusreads the hook from the harness's config when the harness CLI is not onPATH, as inside Hermes's or OpenClaw's own terminal tool. Hermes'sconfig.yamlsettles it (active,disabledorwritten); otherwise status saysunknowninstead of a wrongwritten.
[1.94.23.0] - 2026-11-03
Two gstack-pregate preflight false positives fixed (GST-1211). Both stopped /ship on real work in gbrain-evals.
Fixed
strays: the scratch-name check matched three prefixes the docs never listed (temp,debug-andprobe), so real files likeprobe.pyandtemporal-graph-shipped.test.tsfailed preflight. It now matches only the documented names:zz-*,tmp*,scratch*, plus editor leftovers (*.orig,*.rej,*.swp,*.swo,*.bak,*.tmp,*~,.DS_Store,Thumbs.db), which docs/pregate.md and docs/troubleshooting.md now list too.literals: a named literal the branch only adds, such aslimit: 300in a new object, was read as an existinglimit: 10elsewhere in the file changing to 300, and every test that mentioned 10 was flagged. The check now compares every value under a name, so an added literal isn't a change. Editing an existing value still fails, and so do two cases the old last-value check could miss: changing one of two equal values under the same name, and deleting one site while editing another.
Tests
test/pregate-selection.test.ts:probe.pyandtemporal-*.test.tspassstrayswhilezz-notes.md,tmp-x.ts,scratch.pyandutil.js.origstill fail; a new object literal besidelimit: 10passesliteralswhile editing that value still fails; the purechangedLiteralscase keeps an exported constant change.
[1.94.22.0] - 2026-11-03
/investigate, /review, /qa and /verify now say when to use them, and /investigate and /review declare what "done" means (GST-1088 lane B). Untold, Opus 5.5 never opened /investigate in 252 trials (Run D, gstack-evals#140). A when-to-use description raised GPT-6.1 Sol's open rate from 9.5% to 27.0% in the same run. Claude Code's catalog shows only a description's first sentence, so each of the four now opens with a "Use when ..." sentence. The routing hook and the contract check that read the new frontmatter landed in v1.94.6.0 (lane A, off by default; see docs/skill-routing-and-contracts.md), so the "Done means" list now also names gstack-skill-contract check and waive.
Changed
- Descriptions: the first sentence of each is now a when-clause, for example /investigate's "Use when a test fails, code errors or output is wrong: find the root cause, then fix it." Hosts that show the full description also get the longer list of situations. The catalog stays within its existing budget.
- Triggers: /investigate, /review and /verify list the prompts people actually type, such as "test fails", "look over my diff" and "make it green". /qa keeps its three triggers because its size cap had 9 bytes of room.
Added
contract:frontmatter (frozen v1 schema) on /investigate (the DEBUG REPORT labels, and a test or repro run after the last edit) and /review (one Agent dispatch per selected specialist, the adversarial pass, the Pre-Landing Review report).{{CONTRACT_DONE_MEANS}}(scripts/resolvers/contract-done-means.ts) renders each block as a short "Done means" list at the top of the skill, so the list and the block can't drift.
Tests
test/skill-descriptions.test.ts: each of the four opens with a when-clause within the catalog, lead and host caps; triggers are short and don't overlap; ten sample prompts match exactly the intended skill; every template's contract block passes the v1 schema and names markers the skill text actually prints; the renderer covers each item kind; and malformed blocks fail with the file and the fix.
[1.94.21.0] - 2026-11-03
- A stacked PR's /ship receipt now carries even when the child merged main before its receipt was written (GST-1214). After the parent squash-landed and main was merged in again,
gstack-ship-receipt carrycompared the range from the parent's head, which still held every file the child's first main merge brought in, and refused withRECEIPT_CARRY_PRODUCT_CHANGEDnaming those files. The carry now leaves out paths whose content at the reviewed head is main's, unless HEAD changed them. A real edit to one of those files still refuses.
[1.94.20.0] - 2026-11-03
Changed
- The review pins and the harness pins are one file per pin, so PRs that repin different files no longer conflict (GST-1084). The reviewer-brief pins that lived in one table in
test/review-packets-removed.test.tsnow live undertest/fixtures/review-pins/:files/<pinned path>.jsonholds a file's sha and the replay that admits it,replays/<slug>.jsonholds one replay's written no-loss justification, andbrief-bodies/<name>.jsonholds one brief body's sha. The harness pins inscripts/harness-version.jsonmoved toscripts/harness-pins/<path>.json; the manifest keeps only the version and the patterns, soHARNESS_VERSIONand its readers are unchanged. Before, two PRs that repinned adjacent entries conflicted on the shared table (at least five main-merge conflicts on 2026-11-02, two of them on #3852). Every entry is ported unchanged, including the combined GST-508 entries from #3852.
For contributors
/ship's post-review route still counts a non-behavioral harness re-pin as release metadata (GST-1031): it now reads the pin files underscripts/harness-pins/and refuses a manifest that regains afilestable.- The checks are at least as strict as before. Every pin still needs its sha and a replay whose written justification names a no-loss replay or re-score, and the brief-body check still guards the bodies. A malformed or misnamed pin file, a stray file in a pin directory, or a
filesblock back inscripts/harness-version.jsonnow fails too. New tests prove that a stale pin still fails, and that two branches repinning different, adjacent pins merge cleanly with a realgit merge-tree, while two repins of one pin still conflict. bun run scripts/bump-harness-version.tswrites and deletes pin files itself. Repin a review file by editing itsfiles/pin and adding the replay file it names.
[1.94.19.0] - 2026-11-03
Fixed
- A finished /ship no longer blocks
gstack-upgradefor two hours (GST-1205). Eachgstack-skill-startwrites a workflow lease thatgstack-upgradechecks before moving a shared checkout. Nothing released it when the workflow ended, and on Capy every session's lease names the machine's onecapy-server. So after a /ship finished, its own lease kept refusing the upgrade with UPGRADE_BUSY until it was 120 minutes old, unless you setGSTACK_UPGRADE_FORCE=1. Nowgstack-skill-startrecords itsSESSION_IDas an open run on the lease, andgstack-skill-endcloses it with the newgstack-lease release. Once every run on a lease is closed, the lease is idle and blocks nothing (gstack-lease listshowsidle). A run another session still has open keeps blocking. So does a holder that records no run (an older gstack, orgstack-lease touchwithout--run, which now leaves aholdentry that no release removes). Each run counts for 120 minutes from its own start, so one that never reachesgstack-skill-endstops blocking on time even while other sessions keep starting. A nested skill's own run covers it while it runs, but other sessions' starts no longer extend a run past its 120 minutes.
[1.94.18.0] - 2026-11-03
The Windows-safe test subset is green again on current main. test/qa-report-dir.test.ts expected ENOTDIR when .gstack is a file, but Windows reports ENOENT for the same mistake, so the test failed on every Windows run (windows-free-tests run 41607809007 at f6d6215). The test now accepts either code on Windows and still requires ENOTDIR everywhere else. With Windows checks now running by path, a red subset test would block any pull request that touches it.
[1.94.17.0] - 2026-11-03
A pregate guard whose exact command already passed at this tree no longer runs again (GST-1186). When the base branch's
ship_lanes_frommaps the command, it is carried from the verified CI run through the samegstack-evidence record-cipath /ship lanes use (GUARD: <id> carried runs=…); otherwise a counted local ledger pass of that command at the same working tree stands (CI rows count only through a liverecord-cicheck) (GUARD: <id> reused …, and the new read-onlygstack-evidence passed -- <command>). Repos whose suites are guards, like founderstar, stop rerunning about six minutes of suites per /ship. See docs/pregate.md#guard-carry.Known limit:
ship_lanes_fromis still read fromorigin/<base>only, so the PR that adds a mapping cannot carry from it.A
ship_lanes_fromentry can name the CI jobs that run a lane instead of an inventory command:{ "profiles": [...], "jobs": ["verify", "typecheck"] }, exactly one of the two (GST-1189). It carries only when every named job succeeded in the newest attempt of the verified run at HEAD's tree, through the sameverifyRunjob check. A missing job refuses asjob_missingand a skipped one as the newjob_skipped. Lanes with no test files, like gbrain's verify and typecheck (run 41564913688) or harness-evals'bunx tsc --noEmit, can now carry, and they recordtests_ran=n/a. Fakecheck:<command>entries intree.jsoncan move to this form. A repo declaringjobsshould raise itsmin_gstack_versionto this release first, since older gstack rejects the key. See docs/pregate.md#ship-lanes-jobs.A
ship_lanes_fromentry can declarealiases, other exact spellings of the same lane such asenv -u ANTHROPIC_API_KEY bun test tests/(GST-1190). gstack never strips env prefixes on its own, since anenv -irun is a different environment.A carried lane no longer reports the whole run's test count. An inventory lane reports how many of its files the run covered, labeled as a file count (alphaclaw's 46-test guards lane recorded 9677 before).
gstack-ship-preflight --tests-only --policy-from head --simulateproves a new mapping before it lands: every line startsSIMULATION:, no lane runs, no evidence row is written and nothing clears. An inventory-mapped lane runs the branch's inventory command, so the dry run needs--allow-repo-commands. A branch's own map never carries, so the first pull request that adopts a mapping pays its full lanes.gstack-evidence carried, which the ship receipt reads, lists only rows the receipt base's policy mapped, so a run against another base never lands in a receipt.An unknown
.gstack/pregate.jsonkey under amin_gstack_versionabove the running gstack now saysneeds gstack >= <version>; upgrade(PREGATE_GSTACK_TOO_OLD). It still refuses.docs/pregate.md#prove-a-mapping documents the proof route, the version floors, and that
tree.jsonwriters using Bun's JUnit must take the roottestsuitecount.A test file whose every test skipped on the CI runner no longer counts as carried (GST-1190, harness-evals: 75 tests). A
tree.jsonthat lists such files inskipped_filesmakes the pregate tests stage run them here. A /ship lane or guard whose inventory names one carries the covered files and runs only the skipped ones here, through theper_filerunner itsship_lanes_fromentry declares. The CI row is written only after that run passes with a test count above zero and the carried runs still stand (skipped_failed,skipped_zero_runorrun_changedotherwise), and an entry withoutper_filerefuses asinventory_skipped, naming the files. A partly skipped file still counts. An oldertree.jsonwithout the list is read as before. gstack itself changes nothing yet: its own writer and aper_fileentry for itsbun run testlane switch on together in a follow-up pull request, after the pull requests now queued on older gstack have landed, because an older gstack rejects the new key in main's policy.A run profile can declare
skippable: { jobs, gate, scripts }for jobs a path filter skips (GST-1190, truther #1169). A skipped job counts only in apull_requestrun whose gate job succeeded, with the workflow, the declaredscripts(every file the gate reads), the paths the gate job names (also under itsworking-directory) andpackage.jsonwhen it runs a package script matchingorigin/<base>byte for byte; the lane then printsnot owed: CI skipped at this tree (gate job <name>, workflow unchanged). If the branch changed any of them, it controlled the skip, so the lane runs here.gstack-ci-carry find --policy-from head --simulateis the same dry run for one lane command, every line startingSIMULATION:.
Tests
test/ship-ci-carry.test.ts: in founderstar's shape (guards only, no lanes),check-quickcarries from CI,play-throughreuses a same-tree ledger pass,assetsruns, and a dirty tree carries nothing. It fails without the guard carry.test/ship-ci-carry.test.ts: a lane mapped byjobscarries when every named job passed at the same tree with no test files, and refuses for a missing job, a skipped job, a rerun whose newest attempt skipped the job, and another tree's run. Those five fail without the change.test/ship-ci-carry.test.ts(GST-1190): an alias carries and an undeclared env prefix does not; a narrow lane reports its covered file count, not 9677; a jobs-mappedbunx tsc --noEmitguard carries withn/a; the newer-gstack message;--simulatewrites and clears nothing and the branch's own map never carries;carrieddrops a row another base mapped. Six of these fail without the change.test/ship-ci-carry.test.ts(GST-1190 skipped files): a fully skipped inventory file stops the lane carry, an empty list or oldertree.jsoncarries, and the tests stage runs only the skipped selected file. Both fail without the change.test/ship-ci-carry.test.ts(path-skipped jobs andfind --simulate): a skip under an unchanged, green gate is not owed; a changed workflow, a changed gate script or a failed gate job runs the lane here;find --policy-from head --simulateprints only SIMULATION lines and writes nothing. All five fail without the change.test/ship-ci-carry.test.ts(review fixes): a gate script behind${{ github.workspace }}, underworking-directoryor behind a package script is compared; the gate is the job, not a same-named step; only apull_requestrun's skip counts; a skippable profile must declarescripts;passednever counts a CI row; a path-skipped guard says not owed;--simulateruns a branch inventory only with--allow-repo-commands. Eight fail without the fixes; a newer-failure veto test covers existing behavior.test/ship-ci-carry.test.ts(per-file lane carry): the covered file carries and only the skipped file runs throughper_file, a failing or zero-test remainder, or a run that moved to a new attempt meanwhile, records no CI row and runs the lane whole, andper_fileneeds{files}and an inventory entry. All five fail without the change.
[1.94.16.0] - 2026-11-03
A declared placeholder restamped to the new version is a stamp, and a carried receipt names the head's version (GST-1026, GST-1030). gbrain writes a PR's own BEHAVIOR_CHANGES row as since: 'TBD' and its release:restamp fills in the version. Finish refused that receipt ("behavior, tests or build inputs changed since review"), and the receipt carry and the tree receipt would have refused the same row (gbrain #8444). Separately, a receipt carried after a main merge and a restamp kept the version of the head it was written at (GGST-1).
Added
stamp_placeholderspolicy key (default[], so nothing changes for a repo that does not set it): literal placeholders such as["TBD"], at most 16, one line and 32 characters each, never{version}and never a version. It needsmin_gstack_versionat the release that introduced it.
Fixed
lib/stamp-only.ts:stampOnlyLinetakes the policy's placeholders. On a line the branch added itself (named by its position), a placeholder inside astamp_patternstemplate may become that template at the new version, alongside any stamp-form version move on the same line. The built-in forms, a bare{version}template, base lines (including one whose text duplicates a branch line) and undeclared placeholders are still refused. Finish'sstampedFiles, the receipt carry and the tree receipt share it.bin/gstack-ship-receiptcarry: the carried receipt'sversionis HEAD's, read the waywritereads it, instead of the version copied from the old receipt. A head with no version source keeps the versionwrite --versionrecorded.bin/gstack-ship-receiptcarry, pin-bump PRs: apackage.jsonthe branch changed as product (a dependency pin) that both main and a restamp moved since review is compared with only itsversionfield masked, at all four sides. The receipt carries when nothing else in the file moved, and still refuses when the pin or any other field changed (GBEV-3, gbrain-evals #306).
Tests
test/tree-receipt-stamp-sensitive.test.ts,test/gstack-ship-receipt-docs.test.ts: the shared predicate and the carry classifier accept gbrain'ssince: 'TBD'→since: '0.60.553.0'row and refuse an undeclared placeholder, a base row, a duplicated base copy, a built-in form and a line no template matches.test/ship-rereview-triggers.test.ts: finish routes the declared row as metadata and stops on the same controls.test/restamp-mentions.test.ts: the tree receipt and the carry accept the declared row and refuse it undeclared or on a base row; the carried receipt records the head's version after a main merge and a restamp; a version-only restamp of an EVIDENCE.md declared instamp_filescarries, and an undeclared one stays product; a pin-bump PR's receipt carries after a main merge and a restamp, and refuses when the pin moved since review.test/gstack-ship-policy.test.ts: the key's default, floor and validation.
The EVIDENCE.md refusal (GST-1030's second point) reproduces on main and is already fixed by the GST-980 own-row carry this branch builds on, so this change adds only the test for it.
[1.94.15.0] - 2026-11-03
- A stacked PR keeps its /ship receipt after its parent squash-merges, even when the receipt was written against main (GST-1199).
gstack-ship-receipt carryused to refuse withRECEIPT_CARRY_PRODUCT_CHANGEDonce the parent's hunks moved into main, forcing a full re-review of unchanged code. The carry now finds the newest reviewed commit that main already holds (git merge-treeinto main changes no product path) and compares from there: an unchanged child carries asstack parent <sha12> landed, base edits next to the child's hunks go toRECEIPT_CARRY_SCOPED_REVIEW, and any other change still refuses. A parent that never landed never counts, even if the child's merge dropped its change.
[1.94.14.0] - 2026-11-03
review_exclude_paths keeps code it used to exclude, and the docs say exactly what the receipt check stops (GST-972). Three ways to get code or a credential out of review under a base pattern are closed, each with a failing-first test in test/review-exclude.test.ts, and the receipt docs no longer over-claim.
Fixed
- Native binaries are code. A
.node,.so,.dylibor.dllfile under a base pattern was excluded as binary content, and so was a compiled executable with a data extension. A binary file that starts with ELF, Mach-O (universal binaries included), PE, WebAssembly or#!magic is now kept ascodewhatever its extension. Binary here is git's own verdict on the bytes, read with no attributes from the tree as well as with the branch's, so a branch's.gitattributes(*.png diff -binary) cannot make an ELF read as text and skip the check (#3910). - A NUL byte no longer makes code excludable. A binary file was content unless its extension was on a short source list, so
.gradle,.sql,.tf,.groovy, a.p12key store or an extensionless private key with a NUL byte was excluded. A binary file is now content only under a known content extension (images, fonts, media, documents, compressed archives,.bin,.datand data blobs); every other binary file is kept ascode. - A branch's
.gitattributescannot get a file with a credential line excluded. Markingreceipts/**binary left the collector's added lines empty, so the secret-line keep rule saw nothing and the file was excluded. For a file git calls binary only because of its attributes, the rule now readsgit diff --text --no-textconv --no-ext-diff, so the file stays in review and the plan lists it asREVIEW_EXCLUDE_KEPT: secret-line. Readers' own diffs still follow the branch's attributes and show that file asBinary files differ; reading such files as text in every reader's diff is a separate follow-up. gstack-ship-receipt write --review-excludedocs are exact. The help,docs/troubleshooting.md,docs/ship-policy.mdand the queue's refusal line said a receipt write alone cannot clearfield=review_exclude. Write checks the digest against the base policy and does not read the review ledger, so a write given the refusal'sexpected=digest passes without a review. A mismatch proves only that the--review-excludeargument (or the digest the receipt recorded from it) differs from the head's selection, not what the readers read. The text now says that, and that the review rerun is the fix.
[1.94.13.0] - 2026-11-03
- A bare
--base mainreads origin/main in every review and ship bin (GST-1036).gstack-review-plannow printsREVIEW_BASE: <ref> <sha>and names a lagging local base on stderr.gstack-banned-terms,gstack-prose-lint --base,gstack-docs-candidate,gstack-design-detect.ts scan --changedandgstack-pr-shots --baseno longer merge against a stale local main and report lines the branch only inherited. They all use the one resolver gstack-gate-diff already used. gstack-diff-scopestops treating authorship files as auth (GST-1065).author-spec.md,AUTHORS,authority.tsandcoauthors.tsno longer raise a docs diff to gate class. Every other name with auth in it still does, includingauth.ts,/auth/,oauth,nextauthmiddleware.tsand camelCase names likeuseAuth.ts.
[1.94.12.0] - 2026-11-03
Fixed
- Six markup tricks no longer pass a remote-loading or scripted SVG off as a chart (GST-940).
</style>or<!--inside a<style>element, a comment that only an HTML parser ends early, a>inside a quoted attribute on the<style>tag, or a Unicode space before the>of</style>let CSS that loads a remote image read as a plain drawing, and a non-ASCII namespace prefix such as<gé:script>hid a script. Any of these could get the SVG a light review. The style walker now reads the<style>tag as quoted pairs with ASCII whitespace and its text as written, refuses any&in it, and reads its comments as CSS; a non-ASCII character in an element or attribute name keeps the SVG code. Over 62,805 unique SVG files, no other verdict changed.
[1.94.11.0] - 2026-11-03
A granted fix-check's clean read now counts at Step 16. On gstack-evals#168 the owner granted one scoped fix-check, the reader read 9b0c56c..7ea1907 and found nothing, and gstack-ship-release finish still stopped with STOP: behavior, tests or build inputs changed since review (tests/panel-kit-v3-1.test.ts), sending the test file the fix-check had read back through Steps 5 to 11.5. The review-loop exception could not help, because it is the owner accepting unreviewed edits and it never accepts a gate-edited test. The fix-check row also read UNVERIFIED, because it was logged without its completed and converged fields (GST-1130, GEVA-218).
Fixed
gstack-ship-release finishreads the newestreview-fix-checkrow. When the row is a completed clean read on committed content, itsrange_baseis a branch commit holding the reviewed tree, and the owner's recordedreview_loop_grantnames a stop head inside that range, every code or test path inside that range that is unchanged since routes asfix_checked=on theROUTE:line, with aFIX_CHECK: reviewed <paths>line. That includes a gate-edited test. Authored docs still get the plan-item recheck, and a path edited after the fix-check still stops. A row that does not qualify printsFIX_CHECK: not counted (<reason>)and changes nothing.gstack-review-logrefuses areview-fix-checkrow that does not carrycompletedandconvergedas true or false, and keeps the start token for the retry. The refusal names the missing fields, so the row is fixed when it is written instead of readingUNVERIFIEDat Step 11.5.
Tests
test/ship-rereview-triggers.test.ts: a fixture shaped like gstack-evals#168 (a round-2 pass, then a fix commit that edits the source and a gate-edited test) stops on main and passes finish once a clean fix-check row with its range base is logged through the realgstack-review-log. Negative controls: an edit after the fix-check still stops, and an ungranted row, a grant for another stop head, an incomplete row, a row with no range base, a range base that does not hold the reviewed tree, or a row logged on uncommitted content is not counted.test/review-log-findings.test.ts: areview-fix-checkrow missing either field, or with a non-boolean value, is refused and keeps its start token; the complete row binds as verified.
[1.94.10.0] - 2026-11-03
Windows checks now run by path. Windows Setup E2E, the 10-to-25-minute install test, no longer starts its Windows jobs on a pull request whose only install change is package.json's version line, which the merge-train stamp puts on every pull request before it merges. Of the 61 pull requests in its last 100 runs (as of 2026-11-03), 37 changed no install file besides package.json. Its path list also gains bun.lock and the bin/ scripts that the test or ./setup runs. A new Windows Scoped Tests workflow runs the Windows-safe test files a pull request changed, on one Windows job, when the pull request touches path, file-name or process code, such as a hook script or a new spawnSync call. On the last 120 commits to main (through 923fc0a) it would have run on 50, with a median of one test file. It catches both Windows breaks the plan names: /freeze's path check (#3758) and a test that started Bun with --config=/dev/null (#3829). A red run blocks its pull request like any failed check, so this release also fixes #3829's test, which has failed every nightly Windows run since it landed. windows-smoke still runs on every pull request, and the full Windows suite still runs nightly.
CI
.github/workflows/windows-setup-e2e.yml: a Linuxwindows-scopejob runs first and skips both Windows jobs when the only install change ispackage.json's"version"line. Paths addbun.lock,bin/gstack-config,bin/gstack-patch-namesand the scripts./setupsources or runs..github/workflows/windows-scoped-tests.yml(new): a Linux scope job reads the diff's file names and changed code lines, picks the changed files in the curated Windows-safe subset, and awindows-latestjob runs them. Thewindows-scoped-testscheck passes when nothing is in scope, so a skipped run still reports success. Aworkflow_dispatchwith afilesinput reruns chosen Windows-safe files on a branch.
Tests
test/review-risk-linear.test.ts: the rules-hash case starts Bun withbunIsolationArgs()(--config=NULon native Windows) instead of--config=/dev/null, which native Windows Bun cannot open (nightly Windows Free Tests run 41420490350, EINVAL).scripts/test-pr-profile.ts: the new workflow is listed as free-lane only beside the other Windows workflows (test/free-fixtures.test.ts requires every workflow to be classified).test/windows-path-scope-workflow.test.ts: runs both scope steps in a two-commit git repository. The filter catches #3758's and #3829's changed files and passes over a docs-and-stamp change and a pure-logic change. The Setup E2E scope skips a version-onlypackage.jsonbump and runs on a dependency change.windows-smokestays unfiltered, and no job that can skip is a required check.
[1.94.9.0] - 2026-11-03
A pull request can clear its remote gate obligation from a run with named flaky failures, once the owner grants it (GST-1096). A timing flake in a test file the pull request never touched used to keep the pregate red with no way through but another paid run. gstack-pregate clear --remote <lane> --run <id|url> --flaky-exception "<file>::<case>" --pr <n> --grant <approval id> now accepts such a run when every failure is named from the run's own shard results and logs, at most three cases, each file outside the pull request's diff and its import closure, none paid and none a security scan test, and a gstack-approvals row in the owner's words binds the repository, PR, head, tree, lane, run attempt and cases. It covers the pregate only, and a red required CI check still needs its own green run.
Added
--flaky-exception,--prand--grantongstack-pregate clear(lib/pregate/flaky-exception.ts). Every job of the run attempt is reconciled (only test-shard jobs and their aggregate may fail), every planned shard needs a complete result, and each failed shard's log must name no failure its result leaves out. Without--grantthe clear checks everything and prints the exactgstack-approvals addcommand, whose scope is a digest of everything the grant binds, so a grant can never be moved to another head or case list.pass-with-exception. pregate.json recordsexceptions;gstack-pregate verifyre-checks the binding offline and printsPREGATE: pass-with-exception (<cases>; grant <id>);gstack-ship-queue readyaccepts it and prints aFLAKY_EXCEPTION:line; the ship receipt recordsflaky_exception.- docs/pregate.md#flaky-exception, including why
base_redis not used: it proves a failure by reproducing it on the base, and a timing flake passes there.
Tests
test/pregate-flaky-exception.test.ts: a red run with one named flake clears once the bound grant exists, and verify, ready and the receipt report it; refusals for an unnamed or extra failure, a case that did not fail, more than three cases, an unattributed failure, a failed non-shard job, a missing result or log, a timed-out shard, a log failure the result omits, a file in the diff or its import closure, a paid or security test, another head, another PR head, a newer run, a run from another repository or fork, a stale or unfinished run, a moved attempt (also after the inventory runs), and a grant with another scope, outcome or speaker; ready still refuses red CI, and refuses an exception granted for another PR or head. The printed grant command quotes case names for the shell. These tests failed before the change.
[1.94.8.0] - 2026-11-03
gstack-approvals render no longer puts the owner's exact words, autoplan run ids or plan hashes into PR bodies on public repositories (GST-1160). On a public repo, /ship pasted the full ## Approvals table into the PR description. That table carries the owner's verbatim quote, the run id and the plan sha256, and GitHub keeps every earlier version of a description in its edit history, which no API can delete.
Fixed
bin/gstack-approvals renderasks gh for the visibility of the repository gh picks by default (GH_REPO, its default repo, anupstreamremote) and of theoriginrepository the PR is opened against. When every one of them is private (or internal), it prints the full table as before. When any is public, or gh can't tell, it prints onlyApproved: yes|no (record r-<12 hex>). The record id is a hash of the row ids, so the Captain can match it to the private record without anything identifying being published. A stderr line,APPROVALS_RENDER: redacted (repository visibility …), says which mode was used.--fullprints the full table when gh can't read the visibility and you know the repository is private. It never prints the full table for a repository GitHub reports as public.gstack-approvals liststill shows the full record.- /ship Step 19 (
ship/sections/capy-pr.md) says a public repository gets only the one line, and never to pass--fullfor a PR body.
[1.94.7.0] - 2026-11-03
Fixed
- /autoplan no longer stalls after a review phase when its reviewers share your machine (GST-1161). A session installed from the skill's own folder gets an install verdict with no project, and its
GSTACK_LAUNCHline points admission at that file. When a reviewer on the same machine raninstall.sh --for review-voicefrom the project, it wrote a review-voice verdict keyed by that project. Admission read the project's file first, so the nextgstack-autoplan submitrefused with INSTALL_UNVERIFIED ("certified for=review-voice") untilinstall.sh --for autoplanwas run again. Both admission readers (lib/install-verdict.tsandbin/gstack-install-verdict.sh) now skip a review-voice verdict at the project path when the session's launchedGSTACK_INSTALL_VERDICTexists, since a review-voice verdict can't admit any workflow. With no launched verdict, the review-voice refusal and its fix line are unchanged.scripts/install.shand its user-scope copy don't change.
[1.94.6.0] - 2026-11-03
Two opt-in Claude Code hooks so a model actually runs gstack's skills, both off by default (GST-1088). ./setup --skill-routing adds a UserPromptSubmit hook that names the gstack skill a prompt fits, scored against each installed skill's triggers: with no model call. ./setup --skill-contracts adds a Stop hook that blocks once when a skill with a contract: block ends without its required outputs (a report with real values, a test after the last edit, the specialist and adversarial dispatches). gstack-skill-route --explain shows how a prompt scores; gstack-skill-contract check|report|waive checks a transcript, lists misses and acknowledges a waiver. Turn either off with gstack-config set skill_routing off or gstack-config set skill_contracts off. Docs: docs/skill-routing-and-contracts.md.
[1.94.5.0] - 2026-11-03
Security: the lean /autoplan reviewer no longer gets .envrc, .env-production or a key pasted into an ordinary file (GST-1164, #3914). Since v1.93.36.0 (#3897), the lean run puts the branch's draft code into a prompt that goes to an outside model provider. It left out only some secret-named untracked files: .env and .env.*, but not .envrc or .env-production. It applied no name rule to tracked files and no content check at all. So a direnv .envrc, a .env-production, a committed or edited secret file, or a key sitting in any source file could reach the provider.
Fixed
lib/autoplan-lean.tscaptureDraft: the secret-name rule now covers the whole.env*family,.envrcincluded, every*credentials*name,_netrc,.pgpass,*.jksandid_*_skkeys. Matching files are never diffed, tracked or untracked, and the draft names each one it left out. A secret-named file that git sees renamed or copied on the branch stays out under both names, even when the new name looks ordinary. A secret moved withoutgit add, copied unchanged, or renamed and heavily edited still reaches the draft under its new name, guarded only by the content check. Every other file's patch goes through gstack's redact engine (redactFindingSpans), so a key in an ordinary file reaches the reviewer as<REDACTED-…>. A patch the engine can't redact safely, including one over 1 MiB, is left out with a note.
Tests
test/autoplan-lean.test.ts: an untracked.envrc,.env-productionand six other secret files stay out ofdraft.diffand the prompt; a committed and edited.envrcstays out of the tracked diff, and so do an.envrcrenamed to.envrc.localand a.pgpassrenamed topg.txt; a fake key in an untracked file and in a working-tree edit to a tracked file comes out redacted. All four fail on main at b42ad1e.
Thanks to the /ship pre-landing review of #3901, which filed the finding.
[1.94.4.0] - 2026-11-03
- The captain skill, the CREW template, the lane brief, docs/captain.md and the Capy gstack skill now follow R65 instead of telling a lane that every fix needs a one-round, eng-only plan. A bug fix is exempt from plan review (
gstack-autoplan next --kind fix; the brief's reason isbug fix (R65)), and its PR carries a repro on current main or a failing test written first. A feature gets the lean run (--kind feature): one reviewer reading the plan and the draft code together. The S1 and audited-problem-list exemptions are unchanged.
[1.94.3.0] - 2026-11-03
gstack-ship-preflight no longer trusts a local origin/HEAD when origin can't say its default branch. Preflight fell back to the local origin/HEAD whenever git ls-remote --symref origin HEAD failed or named no branch. With no local origin/HEAD, it went on from the default branch itself and merged the given base into it. When a PR-branch clone's origin/HEAD named the feature branch, it refused that branch as "on the base branch". Now a failed ls-remote stops with git ls-remote origin HEAD failed: …; restore access first before anything merges. A remote HEAD that names no branch (a detached HEAD, or a server that sends no symref) falls back to the shared default-base order in lib/default-base.ts, which uses the local origin/HEAD only when it doesn't name the checked-out branch, its upstream or HEAD's commit. The default-branch check now runs after the fetch, so a failed fetch still reports the fetch.
Fixed
docs/eval-calls.md,docs/eval-models.md: the default--basenow matches base resolution: origin/HEAD's branch unless it names the checked-out branch, its upstream or HEAD's commit, then the PR's base, the remote's live HEAD,mainormaster.
Tests
test/ship-preflight.test.ts: withls-remotefailing and the fetch working, preflight stops before merging in two cases. One is the default branch with no localorigin/HEAD, where main exited 0 and mergedreleaseintomain. The other is a feature branch that the localorigin/HEADnames, where main stopped as "on the base branch". Whenls-remoteprints only a sha, the default branch still stops as the base branch (main exited 0) and the feature branch goes on.
[1.94.2.0] - 2026-11-03
Fixed
- More recursive deletes keep the security class (GST-942).
fs.rmSync(path.join(dir, "x"), { recursive: true }), a)inside a comment beforerecursive: true,fs.rm/fs.promises.rm/an importedrm, and a new call a formatter split across lines all slipped past the rule, because it stopped reading at the first)and read one line at a time. The review depth could then drop to light on real recursive-delete code. The rule now reads up to 500 characters afterrmSync(orrm(across the file's changed lines, still in linear time. An edit to one line of an existing split call is still read on its own.
[1.94.1.0] - 2026-11-03
Fixed
- The secrets check no longer reads a file name or dict key inside a call as a credential (GST-1064).
key = json.loads(files.get("key.json", ""))failed pregate withPREGATE_SECRETS(env.kv): eight distinct letters in"key.json"reach the entropy bar, so the call's argument looked like a secret. So didtoken = resp.json().get("access_token"). The first argument of a lookup call (get,getenv,read,load,loads,open,pop,fetch) that is a lowercase file name or a snake_case key of two or three words now counts as a name. Any other call still reports a password-shaped literal (make_password("orange_monkey_pass"),bcrypt.hashpw(...)), and so do a later argument or fallback (os.getenv("SECRET_KEY", "orange_monkey_pass")), a real key in quotes or in a.envline, and a kebab passphrase (decrypt("prod-signing-key")). The entropy bar is unchanged.
[1.94.0.0] - 2026-11-03
- CI is now the one full test run. When a verified CI run already passed at the exact, clean tree,
gstack-pregate's tests stage and /ship's test lanes use it instead of running the suite again (GSTA-258, R65 item 1). The tests stage looks up the newest verified run at HEAD under the base branch'srun_profilesby itself (CI_CARRY: accepted …;--no-ci-carryturns it off). A /ship lane carries only when the base branch's.gstack/pregate.jsonmaps its exact command in the newship_lanes_fromkey, and only when the run'stree.jsoncovers the lane's inventory; gstack mapsbun run testto its Free Tests run. A carried lane printsLANE: <label> carried run=<id>/<attempt>and is recorded as an explicit CI-sourced evidence row (gstack-evidence record-ci), never as a local run. Dirty trees, fork runs, stale runs and a newer red or running run never carry. - A lane that already passed at the same tree, command and runtime is reused instead of rerun (
gstack-evidence run --reuse, the default fromgstack-ship-preflightandfinish): a newer failure vetoes an older pass, and the reused row keeps its original timestamp, so the 24-hour age limit still measures the real run. - /ship runs beside CI: on a repo that maps its lanes, Phase 2 pushes early (
gstack-ship-release push --earlyruns the secrets scan and the sealed guard first),finishdefers a mapped lane it cannot carry yet (EVIDENCE: DEFERRED), and the newgstack-ship-release acceptcarries it from the green run at the final pushed head and reruns the pregate there.gstack-ci-carry find|waitchecks or waits for that run, and the ship receipt recordsci_carried. See docs/pregate.md#ci-carry. - On a small machine, the remote gate obligation clears from the same carried run (through
remote_gate_runsand its inventory check) when the files left over are only ones the gate skips, such as gstack's paid evals. Before, that remainder made the gate reporttests=0andclear --runrefuse it aspaid_only, so nothing could clear it. - On gstack itself, a green Free Tests run at the same tree is now the default way the remote gate obligation clears, and the Ubicloud VM (
gstack-pregate --stage tests --remote) is an opt-in. The uncleared obligation names the CI route first: push,gstack-ci-carry wait --base main, then rerungstack-pregate --allow-repo-commands. On a branch behind main, dispatch Free Tests on the branch (gh workflow run free-tests.yml --ref <branch>), because apull_requestrun tests the merge commit, another tree. gstack-evidence record-cinow finds and verifies the CI run itself (record-ci --label <L> --base <base> -- <command>), so no caller can hand it run ids or a test count.finishwrites its preflight-only pregate run to its own file, so the full.gstack/tmp/pregate.jsonstays in place untilacceptreplaces it.
[1.93.42.0] - 2026-11-03
The stamp checks name the branch's lines by position, and the carry and finish accept a kept VERSION claim (GST-979, GST-980). After GST-963, three gaps were left in the checks that accept a stamp commit, all found by the #3862 reviewers. A base line whose text duplicated a line the branch added got the branch's fork-version bound, so a hand edit of that base copy passed the tree receipt. When a train slot kept its claimed VERSION, a base line moved down to that version also read as a stamp. And the /ship receipt carry and finish refused the fork-version row move the restamp now makes: the carry kept the branch-added row in both product patch-ids (RECEIPT_CARRY_PRODUCT_CHANGED), and with a kept VERSION claim the carry and finish read every change as product or behavior.
Fixed
lib/stamp-only.ts:BranchSidecarries the positions of the branch's lines, andstampOnlyLinetakes the removed line's position. Only a line at a branch-added position gets the fork-version bound. When the version does not move, only such a line may change.lib/restamp.ts:parseUnifiedDiffrecords each removed line's position on the old side, which the tree receipt, the train checks and finish'sstampedFilespass along.lib/ship-receipt.ts,lib/ship-bin-common.ts:stampOnlyTextandstampedFilesaccept a kept VERSION claim for the branch's own rows and nothing else.bin/gstack-ship-receiptcarry: a stamp file the branch changed as product, whose only change since the reviewed head is a stamp on its own rows and which the base did not touch, is left out of the product comparison. The carry recordsa stamp on the branch's own rows (<file>)as the reason. It reads that file line by line. Only lines at the branch's own positions may move, and the file must keep its reviewed mode, so a version edit on a base line of the same file or a mode change still refuses, as does a product edit anywhere else.
Tests
test/tree-receipt-stamp-sensitive.test.ts: the bound holds only at the branch line's position, and a kept VERSION refuses a base line moved down.test/restamp-mentions.test.ts: a hand move of a base row whose text the branch duplicates readsTREE: changed, and the carry follows the fork-version row stamp but still refuses a product edit beside it, a hand version edit on a base line of the same file, and a mode change.test/gstack-ship-receipt-docs.test.ts,test/ship-rereview-triggers.test.ts: the carry classifier and finish accept the kept-claim row move and refuse a base row moved the same way.
On main, five of the seven new tests fail. The other two, the carry's refusals of a base-line version edit and a mode change, pass on main, which refuses every such carry; they fail on the broader first version of this fix.
[1.93.41.0] - 2026-11-03
Codex outside reviews report their token usage (#2948). Codex already emits token counts in its --json events, and gstack used to throw them away. When lib/outside-review-result.ts is given an events file, it now prints OUTSIDE_USAGE: input=… cached_input=… output=… reasoning_output=… (only the counters Codex reported), or OUTSIDE_USAGE: unknown, on every verdict.
Changed
- Every Codex outside voice that runs
codex exec --json(/review, /ship, /autoplan, the plan reviews) now prints one more stdout line,OUTSIDE_USAGE:, afterVERDICT:andFINDINGS:. - One usage parser (
usageFromEvents, now inlib/outside-review-result.tsand re-exported bylib/outside-voice-runner.ts). A cumulativetotal_token_usagesnapshot wins; without one, the latestturn.completedusage does, because Codex reports the session's running total there. It adds cached, cache-write, reasoning and total counters when the events carry them.
Thanks to @omicron-soft for the report. Storing usage in review-log rows, the native codex review path and a token column in /ship come in a follow-up.
[1.93.40.0] - 2026-11-03
Fixed
- /ship and /review exploratory QA no longer write reports into your project (GST-969). /ship Step 9.2.1 and /review Step 4.7 used to put its QA reports, deadline file and captured evidence in
.gstack/qa-reports/inside the repository under review. In a project that doesn't ignore.gstack/, those files showed up as untracked changes, so they could land in the PR and change the tree the review certified. The newgstack-qa-evidence report-dircommand creates a fresh run directory under.gstack/tmp/qa-reports/and adds/.gstack/tmp/to the repository's git exclude file, and both QA steps now use it. It refuses a symlinked.gstack, a.gitignorerule that un-ignores.gstack/tmp, and a directory outside a git repository. /qa keeps its.gstack/qa-reportsoutput directory.
[1.93.39.0] - 2026-11-03
/ship on Capy stops an outside voice that hangs and records it as missing, never as converged or as an unavailable Codex CLI (GST-1104). TRUT-7's /ship run had two outside voices end with no result (gpt-6.1-sol stopped after 20 minutes; grok-4.7 used 16.9M tokens before it was stopped), and its Step 11 row read outside_provider: codex, outside_status: unavailable, converged: true.
Fixed
lib/capy-review-pass.js: an outside voice still running with no output afterinput.stuckMs(20 minutes by default) is stopped. One that hangs, finishes empty, or stops or fails without leaving findings is collected as unavailable coverage (COLLECT_UNAVAILABLE:); one that stops or fails after writing findings is collected normally, so its findings are kept, and Step 11 goes on to judge the native voice instead of stopping the pass with nothing recorded. Other readers still stop the pass as before.lib/capy-review-pass.js: Step 11 returns anOUTSIDE_RECORD:line withoutside_provider: host-subagent, the model that ran and its status, for the review-log rows to copy instead of the template'scodex. When the voice was unavailable, the line tells the parent to write that voice its own row first (status: unavailable,completedandconvergedfalse), so the native row's convergence no longer stands in for it.docs/unattended.md: "The outside voice on Capy" describes the stop, the unavailable record and the new fields.
[1.93.38.0] - 2026-11-03
- Review collector and blocker count follow what the reader said (GST-1031). A native adversarial finding that states
Blocks: noand one Severity now collects once, at that severity, on every review class; a numbered finding heading keeps its body (located or numbered bullets, a bold subheading, a located paragraph) so its Severity line no longer splits off as a second CRITICAL record. A closing summary such as "so nothing is CRITICAL" is markedsummary_candidate, and lead judgment may lower it with a reason thatjudgerecords asdismissed. A CRITICAL whose reader writes the fieldBlocks: nono longer counts as a blocker inREVIEW_LOOP's ledger count (classify does the same for a finding that carriesstated; Step 9.4 does not copy it yet). Decision 3.5's fix-check pass takes areview-fix-checkstart token even when givenlogStart: ["review"], so it is never counted as a pass.gstack-ship-release finishroutes ascripts/harness-version.jsonedit that only records non-behavioral pins at the same version as release metadata.
[1.93.37.0] - 2026-11-03
Eval planning prices Claude Haiku 5.5, GPT-6 Luna and Gemini 4 Argon, and the Codex docs name the current OpenAI tiers (#3640, #2943). Before, gstack-eval-plan arms --arms claude-haiku-5-5 stopped with EVAL_PRICE_MISSING because lib/pricing.ts had no row for it. docs/hosts.md and the /codex example still named gpt-5.6-sol as the current Sol model.
Added
- Price rows for
claude-haiku-5-5($0.10 / $0.50, cached $0.01, standard tier up to 100,000 tokens),gpt-6-luna($0.10 / $0.50, cached $0.01) andgemini-4-argon($4.00 / $20.00, cached $0.20). Each row cites its provider page. Argon uses the rates that start on 2026-12-01, so estimates never come in low after that date. A repository's model-policy document that names one of these models now gets it as an eval arm.
Changed
- docs/hosts.md and /codex name
gpt-6-astra,gpt-6.1-solandgpt-6-lunaas the current tiers. They also say the bounded-scope overlay still applies only togpt-5.6-soluntil it has its own eval.
Thanks to @exGeni (#3640) and @DanCanadian (#2943) for the reports. The TypeSafe Jev rows from #3640 are not included, because a $0 output price breaks the price table's rule that every row has an output price.
[1.93.36.0] - 2026-11-03
- /autoplan R65 defaults: no review for bug fixes, one lean review for features.
gstack-autoplan next --kind fixprintsAUTOPLAN: not needed (bug fix; R65)andstatus=skipped run=-and writes nothing; the PR still needs the bug's proof.--kind feature, now the default for an unattended Capy run, runs the eng phase alone with one native reviewer whose brief merges the CEO and Eng lenses (Design and DX only when scope detects them), reads the draft code (a diff against--base, hashed into the snapshot, or an honestDRAFT: none), always asks "Any outside terms, licences or rights involved?", and has no outside voice, one round, one gate revision and no carry check. The reviewer's result must name the draft hash on itsDRAFT:line. A failed git command readsDRAFT: none (draft capture failed: …), untracked files named like secrets stay out of the draft, theDRAFT:line names the checkout it diffed, and a draft over 100,000 bytes is still inlined, cut there and marked.runstays the full run unless--kind featureasks for the lean one,run --kind fixskips likenext, and--kind fix --jsonprints one skipped object.--fullbrings back every phase and voice; off Capy and in interactive sessions nothing changes. The gate cost line and the owner brief say a leanrecreopens nothing.
[1.93.35.0] - 2026-11-03
pregate no longer kills a quiet test suite that is busy working.
Fixed
lib/pregate/supervise.ts: the stall timeout now needs both no log output and an idle process group. Each second, supervise reads the group's CPU time (/procon Linux,ps -Son macOS and BSDs). If it grew by at least a tenth of the wall time, the group counts as alive. Before, a parallelcheck.shthat printed nothing for 9 minutes while working endedPREGATE_STALLEDat the 300 s default (Founderstar FOUN-63). A hang that waits on nothing still stalls. A hang that keeps using CPU now runs to--timeout, and either way the check is incomplete, never a pass. Windows reads no CPU time and keeps log growth alone. ThePREGATE_STALLEDdetail, the guard line and the docs say what was measured. Both new tests fail on main. There a silent CPU-bound command endsstalledand a busy lane test endsPREGATE_STALLED.
[1.93.34.0] - 2026-11-03
The docsync fault-callback replays and the runShadow deadline test stop failing on loaded remote pregate VMs.
Fixed
- Docsync fault-callback replays (
test/helpers/docsync-fault-callbacks.tsand its three wrappers): each replay in the generated child now has a 30 s limit instead of bun's 5 s default, and each wrapper's limit is that per-replay limit times its replay count plus one. A replay spawns 30 to 40 real actor, hook and git processes. That takes about 1.3 s on CI and up to 4.9 s on an idle 4-core machine, and it ran past 5 s on GSTA-234's remote pregate for #3892. With 8 busy loops on 4 cores, main fails all 12 legacy-control replays at 5 s, and this branch passes all 12 (172 s for the whole wrapper).test/docsync-report-interface.test.tsgets the same limits, because its child cases ran 5.5 s and 11.4 s on #3869's remote pregate. test/autoplan-shadow.test.ts"one deadline covers the call and its retry": the first call now has 1 s of room inside the deadline instead of 300 ms. The time limit allows 2.4 s past the deadline before it would match an unshared retry, up from 0.9 s; the remote failure ran 1.06 s past. The test still requires the retry to be cut (p1 malformed) and the call to end before an unshared retry could finish.
[1.93.33.0] - 2026-11-03
- On a checkout whose
origin/HEADpoints at the checked-out branch itself (a PR-branch clone), every base-relative step resolved the base to HEAD and reported zero changes, so review depth,ready, pregate and the docs audit passed on an empty diff (GST-774). Base resolution now skips a remote HEAD that names the checked-out branch, its upstream or HEAD's own commit (so a local branch under another name and a detached checkout of the PR branch are caught too), then uses the PR's base ref whenghfinds one, then the remote's live default branch fromgit ls-remote --symref, thenmainormaster. A repository whose default branch isdeveloportrunkkeeps it. When the resolved base equals HEAD or contains it while the branch has commits its real base lacks,gstack-diff-scope,gstack-gate-diff,gstack-review-plan,gstack-pregate,gstack-docs-candidate,/shippolicy base resolution and the receipt's depth binding refuse withBASE_CONTAINS_HEADinstead of reporting no changes. A pull request's head is refused whenever the base contains it; on the base branch itself, on a fresh branch with only uncommitted work, and on a detached HEAD given an explicit base, the step runs as before.gstack-ship-queue landresuming a merge-only PR that GitHub already merged with a true merge commit still lands, its depth check included. See docs/troubleshooting.md#base-contains-head.
The /ship receipt now carries the targeted reader's record. When the review plan asked for the targeted reader on money, gate, auth or secret code and the reader ran, gstack-ship-queue ready still printed REVIEW_TARGETED: … receipt=legacy verdict=missing (gstack-evals#95, #3682, #3612), because nothing passed the record from Step 11 to the receipt. Enforcement stays report-only (GST-464).
A stale base no longer stands in for the PR's base (GST-462). gstack-review-plan --base main read a local main that was behind origin/main, so commits the base already had counted as the branch's own change. #3597 was labeled gate code at full depth until it passed --base origin/main, and gbrain hit the same problem with a stale local master (GBRA-218). On harness-evals#152, a stale base made /ship review a 17,000-file diff of main's history instead of the PR (HARN-15).
Fixed
- Step 11 saves the targeted record to
.gstack/tmp/targeted.json(gstack-review-dispatch verify --targeted-out), and the Step 19 and handoffgstack-ship-receipt writecommands pass it as--review-targetedwhenever that file exists. Every Step 9 entry creates.gstack/tmp, adds it to.git/info/excludeand deletes the file. So a pass without the reader leaves the receipt legacy, an earlier pass's record can't carry over, and the record never counts as an uncommitted edit. gstack-ship-preflightfetches the base intoorigin/<base>with an explicit refspec, so a single-branch clone also diffs against the current base tip. When a PR is open at HEAD and the diff lists far more files than the PR changes (more than twice as many, plus 50), or fewer, it stops before any reader runs. Fewer files means origin's base is ahead of the PR's, as in a fork, and the gate scan would miss commits the PR lands. The stop names the PR's base, or the fork case when the two names match.gstack-gate-diffandgstack-diff-scopecompare against origin's tracking branch whenever it shares history with HEAD, the same basegstack-review-plan's path list reads. A localmainbehind it counted commits the base already had; one ahead of or diverged from it left out commits the branch lands. gate-diff says which (local main is ahead of origin/main; base is origin/main). This applies whether you name the base or let the tool detect the default. A local branch stays the base only when origin's is missing or unrelated. Tracking branches are read by their full names (refs/remotes/origin/main), so while that branch exists, a tag or a fetched branch calledorigin/maincan't stand in, whether you passmain,origin/mainor nothing. A pinned sha is never redirected.gstack-review-planreads both, so its gate scan and scope now match the merge base it already took fromorigin/<base>.
Tests
test/review-targeted.test.ts: the generated sections' own commands carry the record from Step 11's verify togstack-ship-receipt write, and ready's line readsverdict=ok. A run without the reader passes no flag, and Step 9 clears the file, even when.git/infois missing or the exclude file has no final newline.test/ship-preflight.test.ts: a single-branch clone's preflight refreshesorigin/main, and a 60-file diff against a 3-file or a 61-file PR stops at the pushed head. The stop quotes an unsafe base name and names the fork case. Negative controls: another head, a matching size, or a zero count goes on.test/review-plan-cli.test.ts,test/gate-diff-cli.test.ts,test/diff-scope.test.ts: a localmainbehind, ahead of or diverged fromorigin/mainyields to it, so an unpushedtest.skipon localmainis scanned. One next to an unrelatedorigin/mainstays the base. A tag or fetched branch namedorigin/mainnever stands in, and a pinned sha andHEADare never redirected. The review plan of a docs-only branch that merged the newerorigin/mainstays docs; before the fix, the gate scan counted origin's skipped test.test/review-packets-removed.test.ts: the two ship section pins move under replay GST-464, a brief-identity check. Every reviewer brieflib/review-brief.tscuts from those sections must stay byte-identical to the no-loss-tested bodies; a changed brief fails it.
/ship can leave a results PR's receipt files out of the review, and it stops instead of handing a reader a diff it cannot read. A results PR in harness-evals or gbrain's eval lanes can carry thousands of receipt files. One HARN-1 results PR spent its outside-voice budget reading receipts and the pass died anyway (GST-507, GST-508). The repository owner can now list those folders in .gstack/ship-policy.json, and every reviewer reads the code without them.
Added
review_exclude_pathsin.gstack/ship-policy.json(["receipts/**"], withmin_gstack_versionat least the release that adds it). It is read from the base branch only, so a branch cannot exclude its own files; a branch that adds the key gets a normal review andREVIEW_EXCLUDE: none (head sets review_exclude_paths; …). Patterns are git glob pathspecs, root-anchored, and git itself lists the matches.- Only content is excluded: data files, docs,
.logfiles and files whose bytes are binary and whose extension is not source or script (a branch's.gitattributescannot make a text file count as binary, and a NUL byte cannot hide a.jsfile). Untracked files are never part of the selection. Code, tests, executables, symlinks, submodule commits, gate paths, agent prose, config,.gstack/and.github/files, gate-tagged files and files with a credential line stay in every reader's diff, each with a reason code. A data file a code or test file names by its full path stays too, and when the gate scan fails nothing is excluded. A basename, a directory reference or a data manifest that lists receipts does not keep anything. gstack-review-planprintsREVIEW_EXCLUDE:with the counts, the excluded files by kind, the kept files and a digest. Every reader'sDIFF_CMD:, the fixture command the security specialist and the Red Team use, and the outside voice's diff leave the files out; kept files come back throughDIFF_KEEP:. Every brief says what was left out. The kept-file command is bounded at 24,000 argument bytes, and a pattern over that bound is not applied and the plan says why.- Excluded lines no longer trigger the numeric-claim scan or the targeted money, gate and auth classes, and they count as docs for the review depth.
- The receipt records
review_exclude.gstack-review-dispatch verifyprintsREVIEW_EXCLUDE_RECORD: digest=<d>from the briefs the readers got, andgstack-ship-receipt write --review-exclude <d>must match the digest HEAD has under the base policy (RECEIPT_INVALID field=review_exclude, nothing written). Carry and the queue compare the digest, not the base commit, so a base merge that leaves the policy alone still carries. - A review ceiling.
gstack-review-dispatch pass,stageandrenderread each reader's diff once before writing anything. Over 2,000,000 bytes (about 500K tokens) isREVIEW_DIFF_TOO_LARGE(exit 3) with a fix for where the policy stands and pasteable JSON; agit diffthat fails or runs past 120 seconds isREVIEW_DIFF_UNREADABLE(exit 1) with the reason, the timeout and a redacted stderr log.
Changed
- A repository without the key plans, briefs and diffs byte for byte as before. The one change it can see is the ceiling. A reader's diff over 2,000,000 bytes now stops the pass instead of being read in part.
Tests
test/review-exclude.test.ts: what is excluded and kept (binary files underconfig/, a file named only by a data manifest or by its basename, a file a test names by full path), every brief's diff commands run against git, the numeric scan and targeted classes, the base policy read (no file, a missing blob, a bad commit, an invalid key), the argument-byte bound, both ceiling lines, and the receipt write, carry and queue checks.
The review planner no longer fails closed on repositories with big data trees just because its consumer search ran past 60 seconds (GST-544). gstack-review-plan looks for code that names each changed data file. It used to run one git grep over the whole tree with every data file name, and each call had a hard 60-second limit. In garrytan/harness-evals, with 8,000+ result files, that search took about 150 seconds, so the plan fell back to a full review every time.
Changed
- The consumer scan searches only files that can match (
lib/review-collect.ts). A cheap first pass lists the files that contain a changed file's extension, such as.json; the full search then reads only those files, a batch of paths pergit grepcall, with docs files left out. The result is the same as before. - One deadline per scan: 120 seconds by default, a minute under the 180 seconds /ship gives the whole planner, set in milliseconds with
GSTACK_CONSUMER_SCAN_TIMEOUT_MS(docs/review-policy.md#review-depth). Past it, or past 256 MB of matches across all the calls, the depth still fails closed withconsumer_scan_failed. The detail now says whether git timed out, exited with an error or could not start, and names the deadline. Other git reads keep their 60-second limit.
Tests
test/review-collect.test.ts: the narrowed search prints the same lines as one whole-treegit grepat the head, the merge base and the working tree; the same holds when every file is its own call; consumed sets on a mixed fixture (a chain through a data manifest, an untracked consumer, docs mentions ignored); a tiny deadline fails closed and says it timed out; the default deadline stays a minute under the planner timeout ingstack-review-dispatchandgstack-ship-preflight. The new behavior tests failed before the fix.
/review now names the kind of PR it is reviewing, so a CI or script change gets checks that fit it instead of a page of "not applicable". The review checklist was written for application code. A PR that only changed CI or shell scripts came back with every category marked not applicable, which looked thorough but checked nothing, and nothing asked whether a new script even fit the repo (#356: a Windows .bat build script added to a bash + Makefile repo with Linux-only CI).
Changed
review/checklist.mdstarts with a PR type taken from the changed paths: docs-only, CI/infra, scripts/tooling, application or mixed. Code underbin/,scripts/ortools/that is not shell, batch or PowerShell, package manifests and lockfiles, prompt templates (*.tmpl) and skill Markdown count as application, and so does any path the reviewer can't place. Application and mixed diffs run every category exactly as before; nothing is skipped.- On a CI/infra, scripts/tooling or docs-only diff, Gate Integrity, Shell Injection, Completeness Gaps, Distribution & CI/CD Pipeline and the new Repo Conventions & Platform Fit category always run. Every other category with nothing to check is reported once, in one line (
Not applicable (PR type: <type>): <categories>), and never counts as passed. - A new Repo Conventions & Platform Fit category checks that new files use the languages, tools and naming the repo already uses for the same job, scripts run on the platforms the CI runners and docs target, and new tooling doesn't repeat an existing tool. A finding has to name its concrete consequence.
- Distribution & CI/CD Pipeline gains script checks: strict mode (
set -euo pipefailor the repo's equivalent) in scripts CI or a build relies on, quoted variables, commands that work on the CI runners' OS, third-party actions pinned to a release tag or commit SHA, and tools installed at a pinned version. These checks apply to test-only CI changes too.
Tests
test/review-checklist-pr-type.test.tsbuilds a classifier from the patterns the checklist itself lists and runs real path sets through it, among them a.tmplchange,bin/TypeScript, an extensionlessbin/executable,package.json+bun.lock, a workflow-only change, a.batadd, docs, and mixed changes. It also checks the five types, the always-run list, the one-line not-applicable report, the new category and the line budget. All 19 tests fail on the previous checklist.
/review and /ship now triage comments from every review bot you configured, not only Greptile. Teams on CodeRabbit, Macroscope or another bot got no triage at all: Step 2.5 and Step 10 read only comments whose author was exactly greptile-apps[bot] (#3122). The bot list is the one gstack-pr-wait already uses, so gstack-config set pr_wait_gating_bots coderabbit makes CodeRabbit the bot gstack waits on and triages, and none in both lists turns triage off.
Changed
gstack-review-bots fetchreads every root line comment, conversation comment and the newest review body of each bot inpr_wait_gating_botsandpr_wait_advisory_bots, across all pages, throughgh api(no--slurp, so the gh 2.45 that Ubuntu 24.04 packages works too). Only Bot accounts count, with gstack-pr-wait's login rule (a bot owns the logins that start with its name), so a person namedgreptile-ciis never triaged. It printsREVIEW_BOTS: skip(no PR, nogh, no GitHub remote, or both listsnone),REVIEW_BOTS: error(a lookup or any page failed, so never a false zero) or a private directory with per-bot counts.- False-positive suppressions match only the same bot. New triage outcomes go to
review-bot-history.mdwith a sixthbotcolumn throughgstack-review-bots record --dir <dir> --id <comment id>. The helper reads the bot and file path from the fetched comment, so a contributor-named file never reaches a shell command, and a path with*is refused so it can't become a wildcard suppression. Rows in the oldgreptile-history.mdstill count, as Greptile's. Nothing is migrated or deleted. - The PR body section is
## Review bot commentswith a count per bot, and retro shows one signal row per bot (REVIEW_BOT_HISTORYbesideGREPTILE_HISTORY). - Greptile's early PR (Step 6.5) runs only when
greptileis in one of the two lists, and detection now needs a Greptile Bot account instead of any login matching/greptile/i. Tier 2 replies and re-ranking stay Greptile-only; other bots get the plain evidence reply when you pick it. - /ship's driver routes Step 10 to the bot triage section whenever a PR exists, instead of running it only when Greptile is detected.
- docs/skills.md has a "Choosing your bots" section.
Tests
test/review-bots.test.ts(fakeghrunner): page-two comments, a CodeRabbit review body, one item from a root comment plus replies, human lookalikes and deleted accounts left out, overlapping bot names, an error on any page giving no directory, lookup failures givingerror, an empty PR giving zero counts, cross-bot suppression isolation, old greptile-history rows suppressing Greptile only, andrecordrefusing hostile paths, colliding ids and unknown categories.test/greptile-early.test.ts: early detection is off whengreptileis in neither list, and a human account named like Greptile is no signal.
[1.93.32.0] - 2026-11-03
bin/dev-setupworks in a fresh clone again. It installed dependencies, then setup refused with "project-local Codex destination overlaps the source tree" and exited 1, because setup's overlap guard read gstack's own.agents/skillsas a foreign project's skills directory pointing into the checkout. Setup now allows that one layout, where the project is the gstack checkout itself and its Codex skills directory is that checkout's own.agents/skills. Every other overlap is still refused. That includes a user project whose.agents/skillsleads into a gstack checkout, a checkout whose.agents/skillspoints at its own root, and--host codexrun from a dev checkout, which the Codex preflight still stops before any write. test/dev-setup-fresh-clone.test.ts covers the fresh clone and all three refusals (GST-768).
[1.93.31.0] - 2026-11-03
A CSO hardening test now fails at the Git step that broke instead of passing without testing anything. fixtureGit in test/cso-git-hardening.test.ts threw only on a non-zero exit status. When Git was killed by its 30-second timeout or could not start, spawnSync returned a null status, and the helper treated that as success. If that happened to the git replace step, the test that checks a security snapshot ignores replaced history would pass without a replacement in place. The helper now throws on a spawn error or any status other than 0, and the message names the Git arguments, the status and the signal. The stricter helper showed that the file's warm-up step had been calling /usr/bin/git on Windows, where it doesn't exist, on every run. It was passing only because the error was swallowed. Every test in the file already skips on Windows, so the warm-up now skips there too.
Tests
test/cso-git-hardening.test.ts:fixtureGitthrows onresult.errororstatus !== 0(#3476), and thebeforeAllwarm-up returns early on Windows (Windows Free Tests run 41236157469 failed in it withENOENT … uv_spawn '/usr/bin/git'once the error stopped being swallowed).
[1.93.30.0] - 2026-11-03
browse starts again when proxy credentials come from BROWSE_PROXY_USER and BROWSE_PROXY_PASS. With those two variables set beside --proxy, BROWSE_PROXY_URL or a standard proxy variable such as HTTPS_PROXY, the daemon exited at startup with proxy creds set in both env (BROWSE_PROXY_USER) and URL — pick one source, and the CLI reported only Server failed to start within 15s. The CLI puts those credentials into the proxy URL it hands the daemon, and the daemon also inherited the two variables, so it saw the same credentials twice and refused them. The daemon now gets the variables blanked whenever the CLI passes it a resolved proxy URL, so it reads the credentials once, from the URL. Setting credentials both in the URL and in the variables is still refused, with the same message, before any daemon starts.
Fixed
browse/src/cli.ts: the daemon environment for a resolved proxy setsBROWSE_PROXY_USERandBROWSE_PROXY_PASSto empty. This covers a normal start, an auto-restart, a headedconnectand its supervisor respawn, and the Windows launcher (#3457).
Tests
browse/test/restart-env.test.ts: for--proxy,BROWSE_PROXY_URLandHTTPS_PROXYwithBROWSE_PROXY_USER/PASS, the restart and headed daemon environments parse the wayserver.tsparses them and yield the credentials once. All three failed before the fix with the "pick one source" error.browse/test/proxy-env-daemon.test.ts: an end-to-end start withHTTP_PROXYandBROWSE_PROXY_USER/PASSagainst a local proxy that demands Basic auth loads the page through the proxy. It timed out at the 15 s start limit before the fix.browse/test/cli-supervisor.test.ts: the expected headed respawn environment includes the two blanked variables.
[1.93.29.0] - 2026-11-03
A gbrain serve --http on this machine's loopback address now counts as a local brain, so transcripts get imported again. gbrain recommends this setup for local agents on a Postgres brain (gbrain bootstrap harness). gstack treated every http MCP entry as a brain on another machine (Path 4). So /sync-gbrain staged transcripts for a brain admin who doesn't exist and never ran gbrain import (#3539). Ported from Willy Morin's #3552.
Fixed
- One locality rule (
lib/gbrain-mcp-locality.ts). An http, url or sse entry is local when its URL is http(s) onlocalhost,127.0.0.0/8or::1, and this machine's gbrain config names a Postgres engine (adatabase_url, not PGLite) with noremote_mcpmarker. A loopback URL next to a local PGLite stays remote, so Path 4's split-engine setup through a tunnel is unchanged. A URL with userinfo or${is never local. Every other entry is classified as before. gstack-memory-ingestimports through gbrain in that case. Pages an earlier run leftstaged/remote-httpcount as new and are imported on the next local run. Pages older than the 90-day window need onegstack-memory-ingest --bulk --all-historyrun.gstack-gbrain-detectreportslocal-stdiofor it in all three tiers, andgbrain-local-statusand thegstack-skill-startbanner use the same rule. A remote(SSE)line inclaude mcp listno longer reads as local. With several gbrain servers, the exactgbrain:entry wins, as in the other tiers.
Docs
USING_GBRAIN_WITH_GSTACK.md: a loopback serve over this machine's Postgres brain is not Path 4; a loopback tunnel next to a local PGLite still is.
Tests
test/gbrain-mcp-locality.test.tscovers the rule, the list-line parser, and a check that the shipped jq copy never says local where the TypeScript rule says remote. The detect, local-status and memory-ingest tests add loopback and stuck-page cases. On main's code (the tests-first commit f3712618), 13 of the new cases fail andtest/gbrain-mcp-locality.test.tscannot load, because the module it tests is new.
[1.93.28.0] - 2026-11-03
test/cso-snapshot-state.test.ts no longer hangs when a paused contender is resumed too early.
Fixed
- The five paused-contender tests resume a child only once the process table shows it stopped (
/proc/<pid>/staton Linux,pson macOS). Each child marks its pause and then stops itself in two steps, and a SIGCONT that arrived between the two did nothing, so the child stayed stopped and the test timed out (Free Tests 41117003351). With a 200 ms delay injected between the two steps, main failed 3 and then 5 of the 5 tests across two runs, and this change passed 5 of 5 both times. A child that exits, or never stops within 2 s, now fails with a named error instead of hanging. Timing bounds are unchanged.
[1.93.27.0] - 2026-11-02
A test can keep an old value on purpose without turning off literals (#3490). When a minimum version goes up, the test that checks the old version is refused has to keep the old value, and pregate failed it with PREGATE_LITERALS. The only way out was warn: ["literals"], which turns the check off for every constant. Now that one line can carry // pregate-literal: NAME=<old value> <reason>.
Added
pregate-literal:markers. A marker on the flagged line, or on the comment line directly above it, waives that line when it names the changed constant and its old value and gives a reason. Every other line in the file is still checked, and text inside a string is not a marker. The policy has no waiver key, so neither a base nor a pushedpregate.jsoncan widen it.- Waivers are listed.
literalsprints each waived line aswaived: <file>:<line>: <NAME> <old> (<reason>)and addsmarker added on this branchwhen the merge-base file lacks the marker, so a reviewer sees every new waiver.
Changed
- docs/pregate.md and docs/troubleshooting.md (
PREGATE_LITERALS) describe the marker.
[1.93.26.0] - 2026-11-02
Editing the GBrain setup guide no longer runs every paid eval case on a PR screen. The PR eval selector didn't recognize USING_GBRAIN_WITH_GSTACK.md, so it treated the file as an unknown dependency and fell back to the full suite. Two screens, #3727 and #3802, paid about $67 for it. No skill prompt or paid case reads the guide (only the README, docs/gbrain-quick-tour.md and free tests do), so it now selects nothing. A root doc that a paid prompt quotes, such as ETHOS.md, still selects its cases. The train gate's full census still runs every case, so coverage is unchanged (GST-1027).
[1.93.25.0] - 2026-11-02
/setup-browser-cookies now warns that the fallback browser still trusts the compromised eMudhra intermediates (#3338). BROWSER.md carried this warning since v1.91.239.0, but the cookie import skill did not, so an agent importing signed-in cookies into the bundled Chromium never told the user.
Changed
setup-browser-cookies/SKILL.md.tmpl: before the import, the agent tells the user once that gstack's bundled Chromium still accepts certificates from those intermediates, says not to use the imported sessions on a network they do not trust until the Playwright bump, and points toBROWSER.md, TLS trust: the bundled Chromium's root store.
[1.93.24.0] - 2026-11-02
The /ship workflow judge loses the contradiction it cited in every recorded red sample.
Fixed
ship/SKILL.mdSteps 12 and 15: Step 15 no longer tells the agent to make the VERSION/CHANGELOG commit by hand while Step 16'sgstack-ship-release finishmakes the same commit. Feature work is committed in Step 15, andfinishcommits the release files last with the co-author trailer. Step 12 now says what aVERSION: skipped(stamp-at-merge or changelog fragments) orVERSION: <v> keptresult leaves for Steps 13, 18 and 20. All six judge samples in the two recorded reds (E2E Evals 41429095451, 41445571955) named the commit conflict, and three named the undefined skipped/kept result. Three focused judge runs on the fix passed (actionability median 4 each), and none of their nine samples cited either one.
[1.93.23.0] - 2026-11-02
Four tests from the 2026-11-02 flaky pass stop failing correct runs, and one more names its cause when it fails.
Fixed
test/skill-e2e-plan-design-with-ui.test.ts: the Step 0D focus detector accepts the native question header "Focus" with the design rating and an all-7 option, instead of needing one more label spelling. Train gate 41414111284 offered "Full review, all 7 (recommended)", which the old label rule missed. All ten captured focus questions carry that header, and no other captured question does. The capture is saved as a fixture, and eight negative controls cover a wrong header, a missing rating, a 4/7 rating, issue-numbered options, a single option and no all-7 option.test/skill-e2e-shared-libs.test.ts: theshared-libs-review-revalidationcallback passes the advisory's source files to the checker, so a batched read that exits nonzero but prints the whole file counts, as the checker already allows elsewhere. Train screen 40737741454 failed this way: its one read ofsrc/retry-worker.tswascat …; echo ===ROUTE; …, which exited 1 after printing the file. A truncated output and a single-command errored read still fail.test/helpers/git-fixture-template.ts: the template leak scan skips every.capydirectory, not only.capy/git-shim.log. Capy's git shim creates$HOME/.capyin whatever home it runs under, so a fixture home that ran git holds the machine's files, not gstack's. A file named.capyand look-alike directories (.capy-old,capy) are still scanned.test/helpers/restamp-fixture.ts,test/helpers/pregate-fixture.ts: fixture repositories pinGSTACK_STATE_ROOTto their own home, so a value exported by the gstack launch file no longer redirects their state when bun runs without the test preload (--config=/dev/null).test/review-targeted.test.ts's end-to-end case failed every time under that setup and passes with the fix.
Changed
test/plan-reality-receipts.test.tschecks each git step's exit status and prints its stderr, so a red like Free Tests 41316085384 and 41375226438 (an empty commit sha) names the git step that failed.
[1.93.22.0] - 2026-11-02
Fixed
- The targeted reader's record is honest from verify to the receipt.
gstack-review-dispatch verifyno longer marks a completed targeted readerstatus=failed findings=0because a Step 11 fix moved HEAD after it read (gstack-evals#140, C5-36 and C6-36). The record now saysdonewith its real finding count and names the commit it read.gstack-ship-receipt write --review-targetedbinds it only while that commit's product patch is the receipt's and nothing since it carries a money, gate, auth or secret change (a test edit that skips a case counts as gate), so a record can no longer vouch for code it never read. writeandcarryrefuse a receipt the queue refuses (#3854, #3859). When the head touches money, gate, auth or secret code and no done targeted pass covers it,writerefuses withRECEIPT_INVALIDandcarrywithRECEIPT_CARRY_REFUSED, instead of publishing a receiptreadyturns away. Legacy receipts still carry.- /ship passes the targeted record to the receipt (#3853). Step 11's verify writes
.gstack/tmp/targeted.json, and the Step 19, handoff and driver receipt writes pass it with--review-targeted. - Fix-check rounds count without hand edits (#3862).
gstack-review-scope summary --runcounts fix-checks from the dispatch ledgers when noreview-fix-checkrow was logged, and counts the blockers those fix-checks followed as fixed.
[1.93.21.0] - 2026-11-02
/ship's finding collector lets the native reviewer's own Severity field decide outside gate and risk reviews.
Fixed
- On a code or docs review with no risk reason (security, secrets, auth, money, user data), no depth error and no history or floor escalation, a native adversarial finding marked FIXABLE that states its own
Severity: MediumorSeverity: LowandBlocks: nonow collects at that severity instead of CRITICAL. Gate and risk reviews, and any collect without this pass's manifest, keep collecting FIXABLE as CRITICAL, and so does a FIXABLE finding withoutBlocks: noor without a Severity field. (GST-987)
[1.93.20.0] - 2026-11-02
Changed
gstack-factory-scorecardnow counts a PR as "at the cap" once it reaches 2 review passes, the two-round cap the review policy sets, instead of 3. The default--pass-capis 2, and the "Review passes per PR" benchmark reads "median 1 pass, few at the cap". Pass--pass-cap 3to get the old count. Rows from earlier weeks intrend.csvwere counted at the old cap, and each row names the cap it used.
Docs
- CLAUDE.md now describes how gstack versions its own PRs today: a branch writes its entry as
changelog.d/<branch-slug>.mdand never edits VERSION, package.json or CHANGELOG.md, and the merge train's stamp assigns the version (bump: minororbump: majorfront matter asks for more than a patch). The old text said to claim a version slot withbin/gstack-next-version. - docs/CHANGELOG_STYLE.md, which CLAUDE.md says to read before writing an entry, now describes the same fragment flow: what goes in the fragment, when to add
bump:front matter, and what to check after merging main. It no longer tells a branch to bump VERSION or claim a slot withbin/gstack-next-version. - docs/ship-policy.md marks the queue-side procedure as being for repos on
stamp-at-mergewithout changelog fragments, and points gstack's own PRs to the fragment flow andtrain land. The old link to that section still works.
[1.93.19.0] - 2026-11-02
gstack-ship-receipt read --check-prose no longer reads the Documentation exception line or code fences as counter claims (GST-983, GST-984). write --docs with an owner exception requires the PR body to carry the whole Documentation exception: … line word for word, but the prose check read the owner's reason in it as prose, so a reason like "sections 1 and 2 skip the audit" was a 2 skip claim and no body could pass both checks. That is the deadlock GST-977 fixed for the Review-loop exception line. Separately, on gstack-evals #142, test output pasted in a fenced block ("113 passed, 0 failed") and a quoted code comment ("the first 35 fail") were read as receipt counts and refused.
Fixed
lib/ship-receipt-prose.ts: the line that matches the receipt's own docs exception exactly is skipped, like the Review-loop exception line. The same words anywhere else, or a line for a different exception, are still checked.lib/ship-receipt-prose.ts: a closed code fence (backticks or tildes, closed by a run of its own character at least as long as the opener) is skipped. Counts outside the fence are still checked. A line that starts with inline code like```npm test```opens no fence, and a fence that never closes stays prose along with the rest of the body, so an unclosed opener cannot hide the claims after it.
Tests
test/ship-receipt-prose.test.ts: the docs exception line passes--check-prosebeside a matching70 skipclaim; the #142 fenced evidence passes while a wrong count outside the fence still fails; an unclosed fence stays prose; inline triple backticks and a shorter fence inside an unclosed one hide no claim. On main the first three cases failed.
[1.93.18.0] - 2026-11-02
A green Free Tests run at the pregate tree now clears gstack's remote gate, so a slow Ubicloud VM no longer blocks a PR whose CI already passed (GST-1024). docs/pregate.md described gstack-pregate clear --remote pregate.json/remote_gate --run <id|url> --allow-repo-commands, but gstack's own .gstack/pregate.json declared no remote_gate_runs, so the route always refused. On #3869, every check passed at 3f2bcf3 (Free Tests run 41484634592), while two remote gate runs at the same tree failed on bun timeouts in files the PR doesn't touch.
Added
.gstack/pregate.jsonremote_gate_runs: theci-reuse/free-testsprofile, withscripts/test-free-shards.ts --listas the inventory (the complete free suite the Free Tests plan shards).remote_gate_runs.skipped(optional,lib/run-evidence.ts,lib/pregate/index.ts,lib/pregate/run-check.ts): a command that reads the selected files fromPREGATE_FILES_FILEand prints the ones the remote gate itself never runs. Those files need no run, and the receipt records them asskipped=<n>. An inventory file stays required even whenskippednames it, and a failing command refuses withskipped_failed. When every selected file is skipped, the clear refuses withpaid_only, just as the gate's owntests=0report never clears. gstack's command prints the selected paid test files, the same splitscripts/ubicloud/pregate-remote.shmakes. Without it, run 41484634592 still refused: all 71 of the selected files it didn't cover are paid.
Tests
test/pregate-remote-gate-runs.test.ts: gstack's inventory equals the Free Tests plan's file set, and its skipped command prints exactly the paid files of a mixed list. In a fixture with gstack's real profile, a green Free Testspull_requestrun clears the gate. A run at another tree, a run of another workflow, a failed or cancelled run, a fork run, a merge commit behind its base, an uncovered inventory file, a skipped list naming an inventory file, a failing skipped command, a paid-only selection, and a declaration withoutskippedall refuse. Malformedskippedvalues fail config validation. On main, all four tests fail.
[1.93.17.0] - 2026-11-02
gstack-ship-queue wave plannow leaves out a READY head that does not merge onto main. It printsNOT_MERGEABLE: #<n> (...)with the conflicting files, the same wayNOT_GREENworks for red CI. A conflict only in the CHANGELOG doesn't count, since the train merges those. Before, such a head was planned into a wave and the wave build stopped on it.- A PR that renames a file and a PR that edits the old path are now linked into one wave group when the edit conflicts with the rename. Before, the conflict was reported at the new path, which the editing PR never touched, so the two ended up in different waves.
- Linked PRs are never split across waves anymore. A group of linked PRs larger than the wave size prints
WAVE_OVERSIZEwith no build command and stays whole. Before, the packer cut such a group at the wave size, so its conflict reached two integrators. gstack-ship-queue readyreportsSTAMP_VERSION=unstampedfor a PR whose own changes leave VERSION alone, even after main moves to a newer version. Before, it compared the head with current main, so an unstamped PR showed its old version as a stamp (#3804 showed 1.92.30.0 while main was 1.92.32.0; #3558).
[1.93.16.0] - 2026-11-02
Fixed
- A test lane's scratch folder no longer breaks the /ship review bind. When an untracked
.review-units-test-*/folder appeared or vanished while reviewers ran, Step 11.5 saw a different tree and the only repair was rerunning Steps 9 to 11.5 (about 20M tokens). Review records now fingerprint withgstack-wtree --review, which leaves out root dot-folders that hold no tracked file..github/and.gstack/always count, and any change to a tracked file still breaks the bind. The pregate, test evidence and every other caller keep the whole tree. (GST-985)
[1.93.15.0] - 2026-11-02
Pregate stops blaming a clean branch for a missing pytest, Playwright specs and mixed-language root tests, and the literals check stops flagging stray digits (#3598, #3492, gstack-evals#97). A machine without pytest reported "fix the in-branch failure". Playwright specs in a vitest repo went to vitest, which found no tests and failed. Root tests in .mjs and .py got no runner at all. And any lone 2 in a file that named a changed constant (a comment, a $2 in a shell stub, a fixture) failed literals. A wrapper bump from 3 to 4 would have raised 5 false hits here, and gstack-evals#97 hit 11. Rewritten from outside PRs #3639 and #3600 by @vilano93 and #3629 by @nfitzsimmons.
Fixed
- Missing pytest is the machine's gap. Before planning
python3 -m pytest,lanesasks that python3 whether it can import pytest (10 s probe, from the repo root). If it can't, the file is unclaimed and the lane isPREGATE_ENVIRONMENT(missing-binary,pytestorpython3): "install pytest on this machine and rerun, or run the lane remotely; the diff is not at fault". - Playwright specs run under Playwright. A JS/TS test file that imports
@playwright/testat the start of a line runs as<pm exec> playwright test --reporter=listfrom its nearest package. Other tests keep their runner. A declaredrunnerstill takes every file. Playwright's summary is read count line by count line. Failed and interrupted count as failed, flaky and passed as passed, and skipped as not run. A run where every test fails and Playwright says its browser is not installed isPREGATE_ENVIRONMENTnamingnpx playwright install. - Mixed-language root tests each get a runner. A repo's bun, vitest or jest now claims only JS/TS files. When no one runner fits every root test, they are split by language and each part is detected on its own. So
.mjswith.pyrunsnode --testand pytest, and a.pytest in a vitest repo gets pytest instead of vitest.gstack-pregate initdrops its "a selection mixing these languages needs runner set" note. literalsbinds a one-character old value to its statement. The value counts on a line that names the constant, or on up to three lines that continue that statement, never on a comment line. Version-history rows count as before. A lowercase call-site name (attempts,limit) also needs the changed module named in the file. Values of two or more characters are unchanged.
Changed
- docs/pregate.md describes the new detection and the literals binding. docs/troubleshooting.md names the Playwright missing-browsers case under
PREGATE_ENVIRONMENT. docs/state-root.md listspregate/runs/<run id>/.
[1.93.14.0] - 2026-11-02
Free Tests no longer goes red with no named file when one test hangs. Each free-suite job's GitHub timeout used to be a fixed 20 minutes, shorter than the runner's own wall for a 10-shard plan (about 37 minutes), so GitHub killed the job before the runner could name the hung file or retry it, and no shard result was uploaded. The plan now emits each shard's job timeout as its runner wall plus the flaky-retry pass plus the job's measured setup (--ci-plan --job-setup-seconds), 49 minutes per shard today, and fails loudly above 90 minutes instead of truncating. See docs/TESTING_INTERNALS.md#runners-how-the-suites-execute-2026-08-overhaul. Closes #3850.
[1.93.13.0] - 2026-11-02
gstack's own tests no longer write into a developer's real gbrain. If you export GBRAIN_DATABASE_URL for your working brain and run gstack's test suite, tests that spawn bins with a temp HOME used to pass that URL straight through. With no gbrain config under the temp HOME, the real gbrain on your PATH then added brain-sync-remote-* sources and test pages to your live brain. From #3466 by @AndreIntelas.
Fixed
- The test preload (
test-setup.ts) strips the variables gbrain uses to pick a brain before any test module loads:GBRAIN_DATABASE_URL,GBRAIN_DIRECT_DATABASE_URL,DATABASE_URLandGBRAIN_HOME. It prints one line on stderr for each variable it strips. This coversbun test <file>and every shard ofbun run test.
Tests
test/state-root-config-merge.test.ts: abun testrun with all four variables exported spawns a child under a tempHOMEthat callsbuildGbrainEnv, and the child sees none of them. It fails on main.
[1.93.12.0] - 2026-11-02
The Opus 5.5 lite skills now keep the install's gbrain blocks, disabled skills and the Claims Need Evidence rule (GST-944). The lite tree Capy publishes was rendered without the install's settings. On a machine with gbrain detected, Opus 5.5 sessions lost the brain context-load and save-results blocks that the full install serves, and skills turned off with disabled_skills showed up again in the lite router. ./setup --loadout lite was not affected.
Fixed
gstack-modules installrenders lite with the state root's gbrain detection andgstack-configdisabled_skills, and both are part of the folder's identity. A change in either publishes a new folder instead of reusing a stale one.
Changed
preamble:evidenceis pinned, solitedrops ten coaching pieces instead of eleven. The honest-work design (W4) never retires the Claims Need Evidence rule while gstack reports evidence. It adds 804 bytes back to lite's shared preamble (16,175 → 16,979 bytes; full is 22,396).
Tests
test/module-loadouts-install.test.ts: with gbrain detected anddisabled_skills: qa, the lite office-hours file carries the brain blocks, the router lists/qaas disabled, and the folder differs from the one published without those settings.test/module-loadouts.test.ts:preamble:evidenceis pinned and lite excludes the other ten pieces.
[1.93.11.0] - 2026-11-02
Capy sessions get their model's loadout again without a sentence in the skill (GST-982). The browse wave (#3858) removed the Capy skill's instruction to run the installer with GSTACK_MODEL, to keep capy/skill/gstack/SKILL.md under its context budget. After that, every Capy session installed the full skills, including Opus 5.5 sessions that should get lite. Now the installer finds the model by itself.
Fixed
gstack-capy-installreads the owner's model preference. When it gets no--modeland noGSTACK_MODEL, it uses theagent_modelin the session'sGSTACK_PREFERENCES_FILE(the Drive skill'spreferences.yaml, whichgstack-capy-sessionalready exports), resolved bygstack-models resolve --role agent. Soopusmeansclaude-opus-5-5today. The line readsLOADOUT: … source=preferences(source=configwhen this machine'sconfig.yamlsets it), followed by aLOADOUT_ASSUMED:note that the model came from the preference and not the session. Eval runs (GSTACK_EVAL_DIRorEVALS_RUN_IDset) skip the preference, and a preferencegstack-modelsrejects printsLOADOUT_FALLBACKinstead of serving full silently.GSTACK_MODELand--modelstill win, and ahostpreference or no file still serves full. The frozen bootstrappercapy/skill/gstack/scripts/install.shand the skill text are unchanged.
Tests
test/gstack-capy-install.test.ts: anopuspreference picks lite withsource=preferencesand its own launch file,GSTACK_MODELoverrides the preference, aconfig.yamlpreference readssource=config, eval runs skip the preference, a rejected preference printsLOADOUT_FALLBACK, ahostpreference prints no loadout lines, and the realgstack-models resolve --role agentkeeps theagent: <provider>/<model>first line the installer reads.
[1.93.10.0] - 2026-11-02
Changed
- Evals test frontier models (R54). /eval-plan and docs/TESTING_INTERNALS.md#frontier-models-under-test now say that models under test are Opus 5.5 and GPT-6.1 Sol, plus at most one named low-cost primary. Haiku and Sonnet aren't stand-ins for a frontier model, and a Haiku- or Sonnet-only result can't carry a KEEP, FIX-METHOD or CUT-CANDIDATE verdict. Judges, review voices and housekeeping models keep their models.
gstack-eval-plan dry-runrefuses a plan whose every arm is Haiku or Sonnet unless--tier-questionnames what it asks about that tier, warns on a mixed plan, and prices the whole plan on frontier models.pilot startrefuses a Haiku- or Sonnet-only pilot unless its dry run recorded that tier question.
Fixed
- Agent SDK evals can no longer run on the SDK's bare stub prompt by accident. Every
runAgentSdkTestand direct SDKquery()caller now passes Claude Code's preset or names why it doesn't. The runner refuses a missing, empty or bare-string prompt, and a free tripwire test scans test/ and scripts/ for the same mistake. docs/TESTING_INTERNALS.md#agent-sdk-system-prompt says to record which prompt each arm used, and to treat a null result from an arm on the stub as FIX-METHOD.
A test that keeps flaking while someone fixes it can be quarantined instead of skipped, and it still can't turn a red run green. gstack-flaky quarantine add puts the test in .gstack/quarantine.json with an owner, a ledger link and an expiry. The test keeps running on every run and is never counted as a pass. When every test an attempt failed is quarantined, the whole command may run again, up to 3 attempts, and the run is green only when an attempt gets the runner's own full green verdict, so a coverage threshold or another failure outside the report stays red. Before this, a test that flaked every few runs either went red on every PR or got skipped and forgotten.
Added
- Quarantine registry,
gstack-flaky quarantine add|renew|release|check|report(.gstack/quarantine.json, GSTA-158 P2): a quarantined test that fails all 3 attempts is ahard-break(red), a quarantined id missing from a run that included its file is red, and quarantined tests are listed (FLAKY_RESULT … quarantined=<n>) and ledgered (quarantined-pass,quarantined-fail,hard-break) on every run. Tests that are not quarantined keep their one rerun. - Entries are owned and expire: owner, ledger link, class (
detector,harness,timing,model-latency;productandinfrarefused), evidence, 7 days by default and 14 at most, one renewal of up to 7 days with new evidence and the owner named again. An expired entry stops applying with no edit and prints the renew and release commands. Live entries are capped at 10% of the suite (at least 1, and 5 under 50 tests). run --base <ref>reads the registry from the base branch, so a change cannot quarantine the test it breaks.check --baserefuses an entry added in the change that edits its test's file, an entry removed without a release record, a removed release record and rewritten history.report --ledger <file|dir>lists entries soonest-expiring first and marks those with 10 consecutive clean passes ready to release. gstack's ownCASE_QUARANTINE/EVAL_POLICYis unchanged and shares no schema with it.
Docs
docs/flaky.md#quarantine: commands, rules, expiry, cap, classes, theCASE_QUARANTINEseparation and the daily-passgh run download+reportloop.captain/templates/automation-flaky-pass.mdanddocs/captain.mdrunreportand fix expiring entries first.
Tests
test/quarantine.test.ts: add refusals (cap, more than 14 days, no evidence, product or infra class, unknown id), one renewal and future-dated renewals, release,check --baseagainst git fixtures (non-ASCII paths included), expiry, a hard break across 3 attempts, the false-green regression (exit 1 from outside the report while only a quarantined test fails stays red), missing ids with their file present or absent, and the registry read from the base branch.
Gate integrity
test/flaky-run.test.ts: the exactFLAKY_RESULTline it expects gains the newquarantined=0field. No other assertion, threshold or skip changed.docs/support-tiers.mddescribes Windows CI as it works now.windows-smokeis the required Windows check on pull requests, and the six-shardwindows-free-testssuite runs nightly on main or by hand and never blocks a pull request. The page was written before #3806 landed, so it still said these changes were coming.
The train gate's paid report now prices the trials it used to call "cost unknown". 32 of 139 gate trials had no cost on every gate since Oct 26, so the report's total understated a gate by about $7.50 (GSTA-150 audit). All four causes are fixed.
Fixed
- Label-named records in multi-case shards (
test/helpers/e2e-helpers.ts,scripts/lib/paid-report.ts): aclaude -precord named by its display label ("browse basic commands") carriescost_case_idfromrunSkillTest's registered test name, and the report binds its cost to that case. The failed record, failure class and model still come from the records named by case id, so no verdict, class or pass-rate series changes (22 trials: bws, session-intelligence, workflow, skillify, review-attribution, review, gate-integrity, diagram). - Aborted Agent SDK sessions (
test/helpers/agent-sdk-runner.ts,lib/pricing.ts): a session that ends without a result event logs its streamed usage asstreamed_cost_usdin the session ledger, priced once per message id at its largest output, subagent turns included, with 5-minute cache writes at 1.25x and 1-hour writes at 2x input. An unpriced model leaves the cost unknown (auq-format-gate). - Model-free cases:
timeline-event-flowruns no model, so with no record and no session it is a known $0. A test checks every listed case's body starts no model session. - PTY sessions (
test/helpers/pty/launch.ts,test/helpers/pty/session.ts,test/helpers/pty/transcript-cost.ts): each PTY ledger row prices the session's transcript (projects/*/<id>.jsonlplus itssubagents/files) asstreamed_cost_usd. The session is the caller's--session-id, else the one transcript that appeared during the launch for its cwd, so the launcher adds no argument and concurrent tests sharing a config dir never price each other. No transcript, two new transcripts for one cwd, no usage or an unpriced model leaves the cost unknown, never $0, and a read error never reaches the test. The native AskUserQuestion capture, which never reads model transcripts, opts out (priceTranscript: false). This covers 8 cases and 14 sessions per gate: plan-mode-no-op, plan-design-with-ui-scope, the plan-ceo and plan-devex finding-floor and plan-mode cases, autoplan-guard-pty and office-hours-auto-mode. Checked live, aclaude -psession with one subagent priced $0.090376 from its transcripts, equal to itstotal_cost_usd. - The headline total adds session cost that no collector record carries, so newly priced trials reach the gate's
cost $Xline exactly once.
Tests
test/paid-report-cost.test.ts: pricing arithmetic, streamed dedupe,caseCost,recordE2E'scost_case_id, a two-case shard whose label-named records bind by cost without changing the failed record, class or model.test/paid-report-census.test.ts: a record-less trial's streamed cost reaches the trial and the verdict total once.test/paid-report-cost.test.tsalso prices a PTY session, its inline sidechains and subagent files once per message id, leaves a foreign session, a missing or unreadable transcript or an unpriced model unknown, and claims only the one new transcript for a launch's cwd.test/helpers/claude-pty-runner.launch.unit.test.ts: a real launch prices the transcript it created without adding an argument, and an opted-out launch prices nothing.
[1.93.9.0] - 2026-11-02
gstack-ship-receipt read --check-prose no longer reads the required Review-loop exception line as counter claims (GST-977). write --review-loop-exception requires the PR body to carry the whole Review-loop exception: … line word for word, but the prose check read that line as prose. On gstack-evals #139 the owner's reason "outside 1 and 2 skip detector" was read as a 2 skip claim against the receipt's 70 skips, so no body could pass both checks.
Fixed
lib/ship-receipt-prose.ts: the line that matches the receipt's own exception exactly (the same testwriteapplies) is skipped, like the rendered## Approvalsblock. A copy of that exact line inside a code fence is skipped too, aswriteaccepts one. The same words inside a longer line, or a line for a different exception, are still checked.
Tests
test/ship-receipt-prose.test.ts: the #139 exception text passes--check-prosebeside a matching70 skipclaim, and a wrong number elsewhere still fails. On main the same body failed withgate.unit.skip body=2 receipt=70.
[1.93.8.0] - 2026-11-02
/ship now runs Step 11's voices before any gate-class stop, and a recorded owner grant runs its fix-check. On a gate-class change, a blocker fixed in review round 2 used to stop the run for the owner before Step 11 ran. If the owner then chose "ship with open notes", gate code shipped with no adversarial, outside or targeted review (C6-36 after-opus). gstack-review-plan now answers NEXT: voices for any gate-class stop while Step 11 has not run. /ship runs Step 11 as it does on done, asks the plan again with --adversarial-ran, and the stop then stands. The round cap still limits fix rounds; it no longer skips the required voices. Second, the owner's grant of one scoped fix-check after round 2 had no way in: the plan took no grant input, and the pass program printed PASS: none next=stop. Now gstack-review-plan --grant <approval id> checks that the branch's gstack-approvals record holds that id as an approved grant naming review_loop_grant and this run's stop head (exit 3 for any other row, a grant recorded for an earlier /ship on the branch included), and plans the one fix-check in place of the stop after a round-2 full pass. The pass program then dispatches that fix-check like any other. A fix-check never earns another, so the grant cannot repeat. After NEXT: voices, a blocking finding the voices queue goes back to the plan as --blocking-open instead of starting a new review pass.
Tests
test/review-depth.test.ts: a gate-class round-2 blocker fix plansvoices(adversarial, outside and targeted) before every stop and stops once they ran. A grant plans one fix-check after round 2, after the voices on gate class, and never a second. The transitions table and rule 3 indocs/review-policy.mdsay both. All four failed at main 1022f4f.test/review-plan-cli.test.ts:--grantwith a recorded grant printsNEXT: fix-check; an unrelated approval, an unrecorded id, areview_loop_exceptionacceptance row or a grant for an earlier head exits 3; after a fix-check the grant never plans another. Failed at main 1022f4f (NEXT: stop).test/review-depth.test.ts: an invariant over every transitions-table state (gate class or not, Step 11 run or not, grant or not) and a dispatch-superset no-loss check against main's plans.test/review-pass.test.ts: the pass program runs the granted fix-check reader instead ofPASS: none next=stop. Failed at main 1022f4f.
Docs
docs/review-policy.md: rule 3 and two new rows in the transitions table.ship/DRIVER.md,ship/sections/review-army.mdandship/sections/adversarial.mdroutevoicesand--grant.
[1.93.7.0] - 2026-11-02
A version stamp the branch added at its fork point's version now counts as stale after the base moves (GST-963). On gbrain #8425, a branch added a row that named the fork point's version. After main moved past it, gstack-restamp skipped the row ("no tentative mention") and gstack-ship-release finish routed the line as a behavior change, so the stamp kept the old version and the docs stage flagged a product edit.
Fixed
lib/restamp.ts: a stamp_patterns match on a branch-added line that names the fork point's version is rewritten to the new version, like a mention of a newer tentative version. Lines the branch did not add, and versions below the fork point, are left alone.lib/ship-bin-common.ts: finish routes such a line as metadata (a stamp file), not behavior.- One stamp bound for the writer and the stamp checks (
lib/stamp-only.tsstampOnlyLinewith the branch's side): the tree receipt behindgstack-ship-queue stamp,verifyand the gate-ahead replay, the merge train's stamp and verify checks (read against the slot's predecessor), and finish's route now accept a moved version on a line the branch added at or above the fork-point version. Before, the tree receipt and the carry still floored every line at the gated head's VERSION, so the stamp commit the writer now makes would have readTREE: changedand stopped the train withQUEUE_STAMP_NOT_STAMP_ONLY. The same move on a base line is still refused, unless that base line's text duplicates a line the branch added (GST-979). The tree receipt and the train checks also accept the move when the branch's own VERSION already equals the new version, as it does in a train slot that kept its claim. Two gaps remain, tracked in GST-980: the /ship receipt carry can still refuse the move (RECEIPT_CARRY_PRODUCT_CHANGED), and when the branch keeps its VERSION claim, carry and finish still route the move as behavior.
Tests
test/restamp-mentions.test.ts: a branch-added row at the fork version after the base moved is restamped and its file is routed as metadata. On main, the stage reportsskippedand ROUTE counts the file as behavior.test/ship-rereview-triggers.test.ts: the GST-895 fork-version case now routes as metadata.test/restamp-mentions.test.ts:gstack-tree-receiptreads the GST-963 stamp commit assame-modulo-stamps(it readTREE: changedbefore the shared bound), refuses the same move on a base row, and still accepts the GST-895 lost-slot stamp.test/gstack-ship-receipt-docs.test.ts: the carry takes the fork-version bound only on the branch's own line.test/ship-queue-train-stamp.test.ts: a pin claiming 1.2.4.0 with a row left at the base's 1.2.3.0 stamps, and the row moves to 1.2.4.0. Without the train checks' bound,stampChainrefused it withQUEUE_TRAIN_STAMP_MISMATCH. On main it stamped, but the row stayed at 1.2.3.0.
[1.93.6.0] - 2026-11-02
/plan-tune now learns from answers to questions that aren't in its registry, when the skill says which preference the question is about (#3442). Before, an answer to an ad-hoc question id such as plan-ceo-review-add-caching moved no dimension, because only registered ids carry a signal. Most logged answers are on ad-hoc ids, so inferred values stayed near 0.5.
Added
- Signal hints at ask time: a skill can write
<gstack-qid:{id};signal={key}>in the question and"signal_key":"<key>"in thegstack-question-logrow, choosing the key from the fixed list thatgstack-question-preference --signal-keysprints.--deriveuses the hint only when the id has no registry entry, the key is a known signal, and the answer matches one of that signal's options, by the exact key or the key's own words. Hinted answers fall under the same per-day cap as registered ones. hinted_eventsin the profile, and(hinted)on--tracerows, so you can see which answers came from hints.
Changed
- One shared marker parser (
scripts/qid-marker.ts) now serves the log hook, the preference hook and the Codex session import. A hint never changes auto-decide or one-way-door handling. An unknown hint, or a hint on a registered id, is dropped withQLOG_SIGNAL_KEY_DROPPED, and the row is still logged.
Tests
- New tests that fail on main check that derive moves a dimension for a hinted ad-hoc answer and not for an unhinted one. Unknown keys, choices outside the signal, and registered ids ignore the hint. Hinted answers share the per-day cap. The hooks and the Codex import carry the hint into the log.
[1.93.5.0] - 2026-11-02
The weekly OSV scan is clean again: qs and @hono/node-server are pinned past two Medium advisories (#3843). The 2026-11-02 scan (run 41406416003) flagged qs 6.16.0 (GHSA-6pq8-jhm2-2vcw, CVSS 6.3, a qs.stringify comma-format crash) and @hono/node-server 2.1.1 (GHSA-rmxm-3fg6-px4f, CVSS 5.3, a serveStatic double decode that skips middleware). Both reach gstack only through the dev and test toolchain (@anthropic-ai/claude-agent-sdk pulls in @modelcontextprotocol/sdk), and nothing setup, the build or an installed skill runs loads either one. Installs set up since v1.91.231.0 don't contain them at all. Older installs and contributor checkouts that still carry the dev toolchain get the patched versions on their next ./setup.
Fixed
package.jsonoverrides:qsis pinned to 6.16.2 and@hono/node-serverto 2.1.6, the newest patch releases inside the ranges express, body-parser and the MCP SDK ask for.bun.locknow holds one copy of each, and the separatebody-parser/qsentry is gone.
Tests
test/dependency-security.test.ts: the lockfile floor check now coversqs >= 6.16.1and@hono/node-server >= 2.1.3. Both cases failed on main.
[1.93.4.0] - 2026-11-02
/ship's finding collector reads severity from a finding's own Severity field, so a severity word in the finding's text no longer raises it.
Fixed
- When a reader's finding carries its own
Severity:field, the collector uses that field. A word like "P0" in the finding's text (a plan phase name, for example) no longer makes it a blocker the reader markedBlocks: no. A label leading the line (CRITICAL:,[P0],- High:, a label heading) still sets the floor,Blocks: yesstill makes a finding CRITICAL, and the native voice's FIXABLE still collects as CRITICAL. A field that names more than one label ("High/Critical") counts as no field, and a lowercaseseverity:keeps its label. Lines with no Severity field collect as before. (GST-976)
[1.93.3.0] - 2026-11-02
The queue now refuses a head whose required targeted review is missing or failed (GST-966). On gstack-evals#140, the receipt showed REVIEW_TARGETED: required=auth receipt=legacy verdict=missing and gstack-ship-queue ready still exited 0, so a skipped required reader looked the same as a clean one.
Fixed
lib/ship-receipt-depth.ts:ready,train buildandlandrefuseQUEUE_RECEIPT_TARGETED_MISSINGwhen the head needs a targeted class (money, gate, auth or secret) that no done targeted pass in the receipt covers: no pass recorded, a failed or unrun pass, or a pass on other classes. The line saysverdict=failedwhen the recorded pass failed. A head that needs no targeted class passes as before.train buildandlandprint theREVIEW_TARGETED:line with the refusal.
Tests
test/gstack-ship-queue.test.ts:readyon an auth head with #140's receipt shape (missing) and with a failed pass refuses with the new code; a done pass and a head that needs no class pass. On main the missing case exits 0.
[1.93.2.0] - 2026-11-02
Native cookie import now waits for its browser to actually exit before it reports cleanup, and three more flaky tests from the 2026-11-01 flaky pass are repaired. Windows drops a Job's process count to zero while terminated Edge processes are still shutting down and still hold the profile's files, so cleanup that trusted the count returned early and the next profile reset failed with a sharing violation.
Fixed
browse/src/cookie-import-native-job.ts,browse/src/cookie-import-native-worker.ts,browse/src/cookie-import-native.ts: the supervisor holds a handle to every process it sees in the import's Job and counts a process as active until that handle signals exit, not only until the Job's counter drops. The cleanup budget is now 20 s (was 5 s), because terminated Edge took up to 17.8 s to exit on a loaded Windows runner and 2 to 57 ms idle; an idle import returns as soon as its processes are gone. The parent's kill timer allows 2 s beyond that budget. Cleanup that still cannot confirm the exit reportsnative_cleanup_failed, as before. The real-Edge tests take their kill timers and time limits from the same constant..gstack/pregate.json: the local pregate lane runsbun test --timeout=30000 {files}, the 30 s per-test timeout CI and the remote pregate already use, so a case that takes 5 s on a busy machine no longer fails only locally. The runner string is part of the pregate trust grant, so each machine records trust again on its first run after this change (the crew's remote pregate already passes--allow-repo-commands).test/gstack-ship-receipt.test.ts: the fullwritecase, about 62 git calls, gets a 15 s timeout instead of bun's 5 s default.test/helpers/coverage-audit-evidence.ts: the plan-eng coverage audit detector credits complete reads placed by a literalwc -cbyte count over in-cwd files, as it already did forwc -l(train gate 41209768188).
Changed
test/helpers/docsync-contract.tsnames the missingdocumentation_sectionwhen a document-release completion fails the contract, so the next paid red says which field was absent.
[1.93.1.0] - 2026-11-02
gstack-pregate clear --run-urlaccepts a reusable-workflow lane's caller run. A lane whose workflow file runs only throughworkflow_call(gbrain'snative-locks.yml, run as a job oftest.yml) was refusedworkflow_mismatchfor every run since v1.92.62.0, because GitHub reports the caller's file as the run's workflow. A run of a workflow in the branch's own.github/workflows/with a job that saysuses: ./.github/workflows/<lane workflow>now clears the lane, a job link inside that run too, as long as the lane's own job succeeded under the calling job (<calling job> / <lane job>, elsecaller_job_skipped), with callers read at pregate.json's recorded tree; the red and unfinished-run refusals still apply. Fix lines only suggestgh workflow runfor a file with aworkflow_dispatchtrigger; otherwise they name the callers. An unrelated workflow still refuses.test/pregate-clear-runs.test.tsfailed before the fix (GST-971).
[1.93.0.0] - 2026-11-02
gstack-clean reclaims the throwaway files that pile up in a repository's .gstack/ folder, and changes nothing unless you pass --apply (#2627). Until now nothing removed old codex scratch files or trimmed the browse logs, so the folder only grew (the reporter measured 8.3 MB in six weeks), and the only way out was deleting the whole folder, which also deletes your cookies, Chromium profile and browser skills.
Added
bin/gstack-clean(rules inlib/repo-state-clean.ts): cleans<git toplevel>/.gstackonly. It removes top-leveltmp/codex-*files older than 7 days, cutsbrowse-console.log,browse-network.log,browse-dialog.log,browse-daemon.logandbrowse-startup-error.logto their last 256 KB once they pass 1 MB (in place, starting after a line break, so a running writer keeps appending), and with--audit-days Ndropsbrowse-audit.jsonlentries older than N days while keeping every line without a readable timestamp. Everything else, includingbrowse.json,session-state.json,chromium-profile/,browser-skills/,browse-states/and the othertmp/entries, is never touched.- Safety: it refuses (exit 3) outside git, when
.gstackis a symlink, whenBROWSE_STATE_FILEnames another folder, and when the folder is, holds or sits inside the gstack state root. It skips symlinks, logs with more than one hard link, files it cannot read and files changed in the last hour, skips browse files while the browse daemon runs andtmp/while codex runs, and skips a group when it cannot tell. Right before each change it checks that the folder is still the one it verified and that the file still has the size, time and inode it measured, and it stops that change if either moved.--jsonprints the same result as one versioned object. - Result codes
GSTACK_CLEAN_USAGE,GSTACK_CLEAN_TARGET_REFUSED,GSTACK_CLEAN_PARTIALandGSTACK_CLEAN_INTERNAL, each with a docs/troubleshooting.md entry; BROWSER.md names the command where it lists the log files.
Tests
test/gstack-clean.test.ts: the dry run changes no byte or mtime,--applyremoves exactly the allowlist, protected files survive at any age, every refusal touches nothing, links out of the folder, hard-linked and unreadable logs and a symlinkedtmp/are left alone, a log with no line break in its tail and a malformed audit file are left alone, an unlistabletmp/skips only its group,--jsonreaches a pipe whole with hundreds of actions and a reader that closes early is not an error, live and unknown liveness skip their group, the cut keeps the inode and a line boundary, audit trimming keeps the right lines byte for byte, exit codes 0, 1, 2 and 3, and the--jsonshape.test/gstack-clean-producers.test.ts: every tracked producer of a.gstack/tmp/entry is classified as scratch or kept, and any newcodex-*name must be added to the scratch list on purpose.
Capy sessions on Claude Opus 5.5 can read a smaller set of gstack skills (GSTA-161). Before, every model read the full shared preamble on every skill. Now Opus 5.5 gets the lite loadout: the same skills without eleven coaching sections of the preamble, about 10.7 KB less on land-and-deploy. Every other model, and any model gstack is not told about, still gets the full skills, and the checkout's committed SKILL.md files stay full.
Added
liteloadout and a model map inmodules/loadouts.json.litedrops the voice, writing-style, completeness, confusion, evidence, context-health, question-tuning, search-before-building, repo-mode, brain-health and context-recovery pieces and keeps the upgrade check and brain sync.modelsmaps onlyclaude-opus-5-5(and its dated snapshots) to it; a point release or any other suffix gets full.- Explicit model detection (
lib/model-detect.ts): an explicit loadout, then--model, thenGSTACK_MODEL, else full. An unmapped, invalid or unreadable model id serves full and never errors (LOADOUT_INVALID_MODELnames an id that is not a plain model id). gstack-capy-install --model <id>(passed throughscripts/install.sh), orGSTACK_MODEL=<id>in its environment, which the Capy skill uses because an older installer ignores it: printsLOADOUTandSKILL_ROOTlines and, for lite, writes a second launch file that addsGSTACK_LOADOUT_SKILL_ROOT. The install verdict and its key do not change.gstack-modules installandresolve:installpublishes the lite tree under<state root>/loadouts/<loadout>-<digest>/as a complete skill tree (rendered files plus every tracked runtime asset), keyed by the selection, model, full root, host and source tree, reused only after its files re-hash against the lock, and never replaced in place. A failure serves full withLOADOUT_FALLBACK.render --bind-model <id> --full-root <dir>renders the same start lines for eval arms../setup --loadout <name>for Claude Code: saved asclaude_loadoutand rendered through setup's own Claude render into the untracked render dir;--loadout fullreturns to the committed files.- The start line carries the model. A lite skill's start command names its model and the full install root, so
gstack-skill-startprintsLOADOUTandLOADOUT_RULElines, plusLOADOUT_MISMATCHwhenGSTACK_MODELnames another model, telling that session to read the full SKILL.md instead.
Tests
test/model-detect.test.ts,test/module-loadouts-install.test.ts,test/loadout-setup.test.ts, and new cases intest/module-loadouts.test.tsandtest/gstack-capy-install.test.tscover the mapping and its near misses, hostile model ids, the start-line rules, two models on one machine, runtime assets fromSKILL_ROOT, identity changes, concurrent publishers, and./setup --loadout.
Shadow mode for the CEO-only decider: in a driver run that turns it on, every approval gate gets one hidden model prediction per question, recorded before the owner answers (GST-537). Before the CEO-only mode is allowed to decide for the owner, we need to know how often it would pick what he picks. The only decider before this was a fixed rule that always keeps the plan's direction, which agrees with the reviewers on every past item, so it measured nothing. Now a model (Opus 5.5 by default, about $0.07 per gate on your own API key) predicts each answer, and taste-replay round 2 in gstack-evals compares the predictions with the owner's real answers. Nothing routes to the owner differently.
Added
gstack-config set autoplan_shadow on(off by default;GSTACK_AUTOPLAN_SHADOW=1|0overrides it for one run) turns shadow mode on at a run's firstnext, stored inrun.jsonso a resumed run cannot flip it.autoplan_shadow_modelpicks the model (defaultclaude-opus-5-5). It stays off withSHADOW: off (<reason>)when there is no API key for the model, the model has no price, the run is--no-outsideor CEO-only.- Every driver command that prints a gate (
next,submit,close,resume,revise,run,check) runs the shadow first and printsSHADOW: recorded model=<m> usd=<x>orSHADOW: failed <code>, then the gate, then the checkpoint. The prediction goes to the private<run>/shadow/ceo-only.r<rev>.jsonl: action, pick, confidence, cites and reason per question, beside the keep-direction rule's pick, the frozen question, the prompt hash and the cost, plus a 10% audit mark for a later live switch. The run lock is free during the call; another writer pays nothing while a call is in flight,answerwaits for it, and after a crashanswerrecords that gate first, marked retrospective. A shadow failure never blocks a gate or an answer. - Shadow calls count against
--spend-capunder their own ledger ids labeledshadow, show asshadow=<usd>onGATE_SPEND, and never change the per-voice price onGATE_REC_COST. A call that was sent and then lost to a crash settlesunknown, never released as undispatched. gstack-autoplan shadow --out <dir> | --runs <file> [--json], a read-only export for gstack-evals: one row per item of each answered gate, its shadow status (recorded, malformed, failed, missing, retrospective, off) and the owner's answer with how he gave it. An unanswered or interrogated gate refusesSHADOW_BEFORE_ANSWER.- Answered decision rows record how the owner answered, parsed from his own words:
owner_mode(rec,rec_except,tokens,as_is,unparsed),owner_named, therec_hashanswered against andanswered_role. gstack-artifact validate <run.json>checks each shadow record against its journaled sha256.
Changed
The shared model-call transport can write a caller's own egress receipt, returns the provider's stop reason (a reply cut at the output limit is retried at 8,000 tokens, not treated as malformed), and sends the output limit to OpenAI models as
max_completion_tokenswhen a caller sets one. Existing callers send the same bytes as before.Parallel agents no longer take over each other's browser tab. When several agents drive gstack's own browser at once, each agent process now gets its own tab on its first command, and its
goto,snapshot,clickand chain commands stay on that tab (#1961). Name a session yourself with--session <name>orBROWSE_SESSION=<name>(subagents that share one agent process need this);BROWSE_SESSION=turns it off. Sessions isolate tabs, not logins, so cookies and storage stay shared. A session idle for 120 minutes is closed (BROWSE_SESSION_IDLE_MINUTES, 0 keeps it), at most 16 run at once (BROWSE_MAX_SESSIONS), and only the local root token can name one.tabsnow shows each tab's owner.BROWSE_TABand--tab-idno longer move the active tab for everyone else. A command pinned to a tab used to switch the daemon's active tab while it ran, so another caller's command during that window landed on the pinned tab, and two overlapping pinned commands could leave the daemon on the wrong tab. Each request now runs on its own tab without touching the shared one.QA can now test phone pages with real touch input.
$B device "iPhone 15"makes the current tab act like that phone (size, pixel ratio, touch support, mobile user agent andpointer: coarse) without resizing any other tab;$B device offrestores it and$B device --listnames every profile.$B tap,$B swipe,$B pinchand$B touch down|move|up <finger> <x> <y>send real touch events, including several fingers at once (hold a joystick while tapping fire) (#3058). This is Chromium emulating a phone, not Safari; /qa's report names the phones it emulated and what still needs a real device through /ios-qa. When the Aside browser drives, its cookbook has a touch recipe, checked on Aside 1.26.New result codes, each with a troubleshooting entry:
BROWSE_SESSION_INVALID,BROWSE_SESSION_ROOT_ONLY,BROWSE_SESSION_TAB_RESET,BROWSE_SESSION_LIMIT,BROWSE_DEVICE_UNKNOWN,BROWSE_DEVICE_CDP_FAILED,BROWSE_TOUCH_NO_DEVICE./investigatedrops its five-phase step procedure (GST-938). Harness Evals watched Opus 5.5 run/investigateon 46 bug-fix sessions: the procedure loaded every time and the model followed none of its steps (0 of 30 with Claude Code's real system prompt), while a gstack session cost $0.46 against $0.22 without gstack (HARN-14, gn-hard-follow-2026-11). The skill keeps the parts that still do a job. Those are the Iron Law, the arguments table, a short "How to work" with the three lessons that cost real time before (read call sites before calling two paths duplicates, refresh the git index before timing, test a shared premise before a third fix), the 3-strike and more-than-5-files asks, the Scope Lock with its freeze hooks, the recipes and--backlog, the prior-learnings search and the DEBUG REPORT. The generated Claude skill shrinks from 29.8 KB to 20.2 KB. Gone: the Phase 1-5 walkthrough, the pattern table, the web-research block and the hypothesis-keyed learnings re-pull. The research block's rule stays as a guard, so a web search names the error class and library, never raw error text, hostnames, paths or secrets. BROWSER.md and docs/skills.md now describe the short skill.Behavior change: the model is no longer told to work through Phases 1-5 in order, and
/investigateno longer carries the Aside web-research block. Hook-enforced versions of the two steps that could change results (reproduce first, verify after) are planned as an opt-in Claude Code candidate that ships only if a preregistered eval shows it helps.Opening a tab for one browser session no longer undoes another caller's tab switch. If a different caller switched the active tab while a session's new tab was opening, the daemon used to switch back; it now keeps the newer choice.
gstack-artifact validatecatches a deleted shadow record. A revision the journal says was recorded, but whose record file is gone, now fails asARTIFACT_STALEinstead of passing.A shadow that fails while saving its record is journaled and never stops the run. The failure is written as
shadow_failedunder the run lock and its lease is dropped; if the lock stays taken, the lease expires and the next command settles that revision.
[1.92.83.0] - 2026-11-02
The sealed guard no longer rescans commits the destination already holds, so a stacked branch retargeted after its parent squash-landed stops being refused for the parent's history. gstack-evals#22 listed its parent #6's seven commits after #6 landed as one squash. One of them had added and later deleted a held-out file, so the guard refused a push whose every byte GitHub already had as refs/pull/6/head, and the queue sat blocked for about 50 minutes until a waiver landed.
Changed
lib/sealed-guard.ts(evaluateSealed, shared by the pre-push hook andgstack-pregate sealed): a listed commit is skipped when it is an ancestor of the destination's ownrefs/pull/<n>/headfor a squash(#n)on the base since the merge-base (at most 50 refs, a 20-second budget, an egress receipt per remote call, fetched refs deleted afterwards), or when its owngit patch-id --verbatimand diff equal a base commit's (off above 2,000 base or 400 listed commits; a landed commit still gets thesealed.label_joincheck, which reads the whole file). Nothing is matched against a combined diff, and any failed lookup scans everything with one line saying why. docs/pregate.md#sealed-skip.gstack-pregate sealed: theSEALED:line gainsskipped=<n>(andcommits=counts the commits scanned), stderr names each skipped group, and--no-skipscans every listed commit.
Tests
test/sealed-skip.test.ts: the #22 shape is clear with seven commits skipped asrefs/pull/6/head, the hook and the preflight agree,--no-skiprefuses, no fetched ref is left behind and the egress ledger records the lookup. The same parent never published refuses although its squash equals the combined diff. An unreachable remote scans everything and says so. A cherry-pick that landed on the base is skipped and named. A whitespace near-miss (/home/alice/against/home/ alice/) is scanned and refuses, and so is a landed commit that differs only in bytes that aren't valid UTF-8.
[1.92.82.0] - 2026-11-02
gstack-review-dispatch verify now catches a merged findings file edited after collect. Verify used to compare only output hashes and line counts. So a merged.jsonl row whose label was lowered, or whose text was replaced with another line's summary, passed with VERIFY: clean once the judge agreed with the edited row. Verify now re-parses each reader's unchanged output and checks every merged row against the finding at its index, label and raw text byte for byte. A mismatch prints merged_line_differs on the OUTPUT and JUDGE rows, and verify is dirty. A missing output file or an output event with no file recorded (even for a reply with no findings), a judgment run on a copy of the merged file, merged rows that collect never wrote, and an output whose finding count no longer matches its recorded ids are dirty too. A reply refused for naming the wrong checkout is still allowed to hold findings collect never merged, but only when verify re-checks its tree line and finds it wrong.
Known
- Deleting a whole output event together with its merged rows still verifies clean, because the ledger keeps no anchor for it. It is listed for the structured-findings plan.
Tests
test/review-dispatch.test.ts: a forged label, a summary copied onto a blocker's id, a deleted output file, a judgment on a forged copy and an extra merged row all verify dirty. Each verified clean at main c830c9b.test/review-dispatch.test.ts: an output event edited to look like a wrong-tree refusal (no ids,review: false,tree_ok: false) verifies dirty, even after a re-sent brief is answered, and so does one edited to drop its file and ids. A real wrong-tree reply staysNOT_REVIEWEDuntil a re-sent brief gets a review, then verifies clean.
Docs
docs/review-policy.md(verify) describes the per-row check.
[1.92.81.0] - 2026-11-02
gstack-ship-release finish now accepts the owner's edit after a fix-check instead of asking for another review round (GST-965). On gbrain #8425, the fix-check found a blocker, the owner's pre-agreed fallback was applied and "then ship" was granted. Finish still classed the edit as behavior and stopped with insert 5–11.5 → 12–14 → 16, a third round the R51 cap forbids, so /ship could not get through Step 16 without running its stages by hand.
Added
finish --review-loop-exception <json|@file>(lib/ship-release.ts) takes the same recordgstack-ship-receipt write --review-loop-exceptiontakes. Paths changed sincefix_check.headthat the branch already touched at that commit (narrowed to the record'sfix_check.fileswhen it lists them) route asaccepted=on theROUTE:line, aREVIEW_LOOP_EXCEPTION:line names them with the owner, date and channel, and the docs stage carries them (accepted=in the DOCS line). A path outside that scope and a gate-edited test (with or without--reviewed-base) still route as behavior, and with--reviewed-baseso does a file too large for the scoped review. A malformed record, or afix_check.headthat is not HEAD or an ancestor of it, stops before the release commit. Without the flag nothing changes.
Tests
test/ship-rereview-triggers.test.ts: an owner fallback edit to a source file and a doc after the fix-check stops without the record and passes Step 16 with it; a new file outside the scope (even whenfix_check.fileslists it), a fix-check head off the branch, a malformed record, an unreadable record file and an emptyfix_check.filesstop; afix_check.fileslist narrows what is accepted; a test weakened after the fix-check stops with and without--reviewed-base.
[1.92.80.0] - 2026-11-02
On a Capy machine, the git fixture tests no longer fail locally because of Capy's git shim log. Capy's /usr/bin/git shim appends to $HOME/.capy/git-shim.log, so each fixture home that ran git during its template build ended up with a log naming the template. The leak scan in test/helpers/git-fixture-template.ts flagged it, and 34 tests in test/train-backstop.test.ts, test/restamp-mentions.test.ts and test/pregate-user-policy.test.ts failed on every Capy lane, though they passed on the remote gate.
Tests
templateReferencesskips.capy/git-shim.log. Nothing reads that file back, and every other file is still scanned.test/git-fixture-template.test.tsplants the shim log in a template'shome/.capy/(the copy succeeds), and plantshome/.capy/state.jsonas a control (the copy still throws).
[1.92.79.0] - 2026-11-02
/plan-tune no longer reports a mismatch between your stated and observed preferences when it has no observed answers behind it (#3436). --check-mismatch compared a declared value against an inferred value that had never moved from its 0.5 starting point, so a strong declaration with no matching answers printed scope_appetite: declared 0.9 vs inferred 0.5 (gap 0.4) even though no logged answer touched that dimension.
Fixed
bin/gstack-developer-profile:--check-mismatch,--gapand the gap that--derivestores compare a dimension only when at least 3 logged answers moved it.--check-mismatchstill needs 10 logged answers overall before it reports anything. Below the 3-answer floor,--check-mismatchprintsno observed evidenceortoo little evidence (n of 3 events)instead of a gap, and--gaplists the dimension under a newlow_evidencefield. A profile derived beforecontributing_eventsexisted keeps the old behavior until its next derive.- /plan-tune "Show gap": says "not enough observed answers yet" for those dimensions instead of calling them drift.
Tests
test/gstack-developer-profile.test.ts: a declared dimension with no evidence is not flagged by--check-mismatchor--gap(both failed on main), 1 or 2 events report too little evidence, 3 events are compared, three same-day answers that agree with the declaration still report not enough data, and--derivestores no gap without evidence.
[1.92.78.0] - 2026-11-02
Seven flaky tests from the 2026-11-01 flaky pass stop failing correct runs, and six more now name their cause when they fail. One product lock broke a fresh lock it had misjudged as abandoned, a /ship lane tripped the free runner's home check with its own log, and the rest were fixtures that raced their own setup, leaned on wall-clock sleeps or read the caller's state root.
Fixed
bin/gstack-codex-probe: a waiter that cannot read an owner-less lock's age (the holder removed it in that instant, orstat -fprinted filesystem text on Linux) now treats the lock as fresh instead of abandoned, so it no longer deletes a live owner's lock on a misread age and the probe no longer endsMODEL_PROBE_INCONCLUSIVE(Free Tests 41216564482, 41235671867, 41263831361). A stat stub for both race windows fails without the fix; 64 stress runs went from 2 failures to 0.scripts/lib/free-home-guard.ts,bin/gstack-evidence:gstack-evidence runnames its own lane log inGSTACK_EVIDENCE_LOG, and the real-home tripwire ignores exactly that file, so a /ship lane no longer trips over its own output. A foreign write under the home's~/.gstackstill fails.test/autoplan-publication-guard.test.ts: the render-root cases clear the state-root variables they don't name, so aGSTACK_STATE_ROOTexported by the gstack launch file no longer picks the root. Three cases failed every time under that variable, and the lookalike controls passed for the wrong reason.test/gstack-design-detect.test.ts: the directory scan proves one batch by counting engine calls instead of sleeping near the 1,500 ms detect timeout (macOS job 124813933194). The product timeout is unchanged.test/pregate-regate.test.ts: the two fixtures are built once and copied per test through thegitFixtureTemplatehelper from #3586, so 8 builds become 2.test/ship-queue-train.test.ts: the planted seam has its own name, so the fixture's own backgroundgit maintenancelock no longer collides with it (EEXIST, Free Tests 41288253305, 41288417894), and the test now holds a realmaintenance.lockbeside it.test/ship-budget.test.ts: the fake child writes its args to a temporary file and renames it, so the poll never reads an empty file (Free Tests 41242243205).
Changed
scripts/test-free-shards.tsnames the recorded browser child it never saw in the daemon's process tree, and whether it was still alive, when it fails a shard for unconfirmed ownership (Free Tests 41264845860 shard 7). The shard still fails.test/bootstrap-retention-shard.test.ts,test/office-hours-attempt.test.ts,test/session-update-autostash.test.ts,test/shard-engine.test.tsandtest/auq-parallel.test.tsprint the process state, exit status or cleanup events behind their assertion, so the next red names its cause.
[1.92.77.0] - 2026-11-02
The weekly marathon evals can run /design-motion again: the CI eval image now ships ffmpeg (#3687). The design-motion-showcase case joined the marathon tier on 2026-10-26, and its first scheduled run (Actions run 41200316994, main @ 088bfc5) failed 0/3. Every trial built and captured the page, then stopped at FFMPEG_MISSING, because the image had no ffmpeg and the skill rightly refuses to export before its checks run. The model did nothing wrong; the case could not pass on that image.
Fixed
.github/docker/Dockerfile.ciinstalls Ubuntu'sffmpeg(6.1.1, withffprobe). The build fails if that ffmpeg lacks a filter or encoder the motion checks and exports use (psnr,gblur,palettegen,paletteuse,signalstats,tile,libx264,gif).test/ci-image-cli-pin.test.tsfails the free suite if the image stops installing ffmpeg or stops checking it.
The macOS macos-named-regressions CI job now runs test/regression-issue3680-ubicloud-bsd-userland.test.ts, so the ubi-runner cases for #3680 (bsdtar) and #3679 (macOS awk) run on a real Mac against /usr/bin/tar and /usr/bin/awk. Before, the file ran only on Linux CI, where bsdtar and one-true-awk aren't installed, so every case skipped and a regression in either could merge green. A new wiring test fails if the macOS job stops naming the file.
The Linux free suite now runs on 10 ubicloud-standard-8 machines, each running its tests as 4 sandboxed sub-shards side by side, instead of main's 20 ubicloud-standard-4 machines (set by #3710) running one file at a time. Both use 80 vCPUs per run. In a 3-run A/B at one commit against that main setup, the slowest shard dropped from 389–450 s to 224–258 s and the Ubicloud cost per run dropped from about $0.39 to $0.32 at premium prices, with the same per-file test counts and no new failures. The CI plan now stores each shard's sub-shard count (--ci-plan --shard-jobs k), keeps the exclusive host-state shard at one child, and --ci-verify rejects a shard that ran at a different count. The nightly Windows suite stays at one child per shard, because two sub-shards made Windows file-lock cleanup failures show up in two of three runs. Dispatch-only free_jobs and windows_jobs inputs exist for future experiments. See docs/TESTING_INTERNALS.md#sub-shards-inside-one-ci-job.
[1.92.76.0] - 2026-11-02
/retro now remembers its history across git worktrees, so a run in a linked worktree compares against last week instead of announcing "First retro recorded". Retro snapshots used to live in .context/retros/ inside the working tree. A worktree (Conductor, Claude Code) saw none of the main checkout's history, and its own snapshot was deleted along with the worktree (#3749).
Fixed
bin/gstack-retro-metrics --history [--next <YYYY-MM-DD>]: keeps retro history in~/.gstack/projects/<slug>/retros/(the state root), which every worktree of a repository shares. It lists earlier snapshots asRETRO_PRIORlines, newest first, and reserves the next<date>-<n>.jsonasRETRO_FILE, so two retros running at once in different worktrees never write the same file.- Moving old history: snapshots in
.context/retros/of the current worktree and the main checkout move to the shared folder on the first run. A copy identical to a stored snapshot from the same date is dropped, and a different snapshot with the same name takes the next free number, so nothing is overwritten. A.context/retrosthat points outside its worktree (a symlink to the shared folder or anywhere else) is left alone, and moves never replace an existing file. retro/SKILL.md: Steps 12 and 13 use the helper, the gbrain prior-retros query reads the shared folder, and a history error is reported to the user instead of being mistaken for an outdated helper.docs/skills.mdsays where snapshots are saved.gstack-retro-metricsno longer loops forever when an option such as--nextis given without a value.
Tests
test/regression-3749-retro-history-worktree.test.tsruns the real Step 12 block in a main checkout with a linked worktree: the worktree sees the main checkout's snapshot, its new snapshot path is outside the worktree and survivesgit worktree remove, migration keeps every snapshot, a symlinked.context/retroscannot delete history, and two runs get different snapshot paths. It failed 4 of 4 on the code before the fix.
A stale local main no longer turns a /ship review into a full-depth gate review (GST-883). gstack-review-plan handed the raw base name to gstack-gate-diff, which diffed against the local branch. With a local main four commits behind origin/main, the gate scan read a test edit that was already on origin/main, so a plain code diff planned as gate class at full depth. On gstack-evals#123 that cost about 15-20M tokens of readers the change did not need (GEVA-117).
Fixed
gstack-gate-diff <branch>resolves a branch name to its remote-tracking branch (origin/mainformain, origin first), the waygstack-review-plan's own diff and review dispatch already did (#3780). It uses the local branch only when no remote has the branch, and says so on stderr:no remote-tracking branch for <base>, or<remote>/<base> shares no history with HEAD. A repository with no remote at all uses the local branch without a note. Branches are read by their full ref names, so a tag namedmainororigin/maincan no longer stand in for the base and hide committed edits from the scan.gstack-review-planpasses the merge base its own diff used togstack-diff-scopeandgstack-gate-diff, so the scope flags, the gate scan and the line counts all read the same commits. Its diff readsrefs/remotes/origin/<base>andrefs/heads/<base>by full name too.
Tests
test/review-plan-origin-base.test.ts: a fixture whoseorigin/mainis one commit ahead of the localmain, with a test edit onorigin/mainand a branch forked from it.gstack-review-plan --base mainandgstack-gate-diff mainplan the same class, depth and gate-tagged count as with a freshmain(before the fix: gate, full,RH-1:1against code, light, none). A tag namedorigin/mainormainat HEAD leaves the plan and the scanned range unchanged. Also covers the stderr note for a branch no remote has, an unrelatedorigin/main, and the quiet path with no remote.One hostile line no longer stalls review classification (GST-898). R51's
rm -rfrule inlib/review-risk.tstook quadratic time on a long flag run. One added line ofrm -and 100,000rcharacters heldmatchRiskfor about 3.7 s, and each doubling took four times as long. ThermSync(… recursive: true)rule did the same on a line of repeatedrmSync(calls. Both now run in linear time (the same line takes about 1 ms). Thermrule is rewritten with lookaheads and matches exactly the lines it matched before. ThermSyncrule looks forrecursive: truein the first 500 characters of the call, and a call with more than 500 characters before its closing parenthesis now counts as security on its own, so padding can't push the flag out of view. A slow match never lowered review depth:gstack-review-dispatch passstops when the plan times out, and the queue recomputes depth itself.A new test holds every risk pattern under 100 ms on 100,000-character hostile lines and checks both rules against R51's on 60,000 seeded lines each. Over the last 100 main commits, no commit changes depth, class or risk class, and none of the 69,023 changed lines gets a different verdict from either rule.
Fixed
- /ship no longer reviews a results write-up as if it were gate code. Three planner misreads on gstack-evals#132 (GST-911) pushed a docs PR to the five-reader full panel. A chart SVG made of drawing elements now counts as data, like the same chart as a PNG; an SVG with a script,
foreignObject, event handler orjavascript:URL stays code and now gets the security class. A data file named for sessions (recovered-sessions.jsonl) no longer sets the auth scope, so it adds no auth reader and no gate class; session code and session config still do. gstack-diff-scopeand the receipt depth readorigin/<base>by its full ref name (GST-884). A localmainbehindorigin/mainno longer adds upstream files to the scope, and a tag namedmainororigin/maincan no longer stand in for the branch.
Tests
test/review-planner-misreads.test.ts: a 600-point matplotlib-style chart plans docs, light, runtime 0 (before: code, 636 runtime lines); six ways an SVG can run script keep it code with the security class, and other non-drawing constructs (external images, any CSS beyond declarations andurl(#id), animations, entity declarations) keep it code; session data files leaveSCOPE_AUTHfalse while session code and config set it; a stale localmainand tags namedmainororigin/mainleave the scope and the receipt base unchanged.gstack-gate-diffandgstack-diff-scopenow read a bare base name such asmainas origin's tracking branch (refs/remotes/origin/main) when it exists and shares history with HEAD. That's the base /ship fetches and merges against. Before, a localmainthat was behindorigin/mainset the merge base. That happens in a linked worktree, and on a Capy machine, where localmainnever moves. So the gate scan and the specialist scope also read commits already onorigin/main. One /ship run in #3650 listed a.github/workflows/ci.ymlhunk from upstream and dispatched an extra performance reviewer.gstack-gate-diffnow sayslocal main is not origin/main; base is origin/mainon stderr when that happens. A base you name with its remote (upstream/main), a commit orHEADis used as given. A tag namedorigin/mainor a fork'sorigin/upstream/mainbranch can't stand in for the base, and another remote's branch only replaces a local base that is missing or unrelated (#3650).
Fixed
- The SVG drawing check runs in linear time. One changed SVG with a long run of spaces inside
url(could stallgstack-review-planand the queue's depth check for hours (80,000 spaces took 0.8 s, a 1 MB run over 230 s). The check now reads it in about a millisecond and refuses exactly what it refused before. - An SVG whose DOCTYPE points at an outside document stays code. Only a bare
<!DOCTYPE svg>or W3C's own SVG DTD still counts as a drawing, so an SVG with aSYSTEMDTD keeps its full review. gstack-diff-scopepicks the same base asgstack-gate-diff. Whenorigin/<base>is missing or unrelated, a related local<base>now comes before another remote's branch in both tools.
[1.92.75.0] - 2026-11-02
- The /ship receipt counts every blocker its readers found (GST-951).
gstack-review-scope summaryread only the review-log rows, but /ship's readers report through the dispatch ledgers (gstack-review-dispatch collectandjudge). So a blocker that only the native adversarial pass raised, a CRITICAL logged fixed without classify's blocking stamp, and findings logged before they were classified all leftblocking_foundat 0. That happened on #3841, #3838 and #3837. The summary now also reads each ledger's collected and judged CRITICAL findings, pairs each one with at most one row finding from the same reviewer at the same path:line so a blocker held in both places counts once and one classified below the floor does not, and counts an unclassified CRITICAL row as blocking.unrecorded=Nnames blockers no row gives a disposition, andledgers_read=Nsays how many it read. - The summary refuses rather than undercount. It now needs
--run <run dir>(it finds everyreview-ledger.jsonlunder it),--ledger <f>, or--no-ledgerwhen no reader ran throughgstack-review-dispatch. A missing choice, a run directory with no ledger, or an unreadable ledger, merged file or judged set, or a judged set changed sincejudge, isREVIEW_SCOPE_LEDGERwith nothing written. /ship on Capy (ship/DRIVER.md) passes--run; the Claude Code flow passes--no-ledger.
[1.92.74.0] - 2026-11-02
gstack-pregate clear --run-urlneeds a green run. On a lane with no run profile, a run of the lane's own workflow that failed, was cancelled or timed out now refusesPREGATE_RECEIPT_INVALID(run_not_success), and one still queued or running refusesrun_in_progress. The fix line says to rerun the workflow and clear with the green run. The check reads the run's newest attempt, so a job or attempt link is judged by the whole run, and the lane records the attempt it judged (…/actions/runs/<id>/attempts/<n>) instead of the link you passed. A green run still clears. docs/pregate.md now nameswindows-smoke.yml/windows-smokeas the free tier's Windows smoke lane, beside the narrowerfree-tests.yml/cso-windows-launcherandwindows-setup-e2e.yml/windows-setuplanes.test/pregate-clear-runs.test.tsfailed before the fix.
[1.92.73.0] - 2026-11-02
Fixed
- A reviewer that wrote
printed: REVIEWED_TREE: …is no longer failed. Two readers in GBRA-218 echoed the command and then wrote the fingerprint after aprinted:label, so /ship read no line, failed them and restarted the pass twice. The label is now read, plain, bold or inside the line's backticks, and the tree and checkout it names are still compared exactly. A wrong tree or checkout is still refused. - The Capy pass program stops before it sends a reader into the wrong checkout. Capy starts every shared reader in the thread's working directory and cannot start one anywhere else. In GBRA-218 an outside voice ignored its
cdand reviewed that checkout, so Step 11 lost its outside coverage. Now, before a stage takes a start token or sends its first reader, the program compares that directory with the checkout /ship ships. It stops when they differ or the directory can't be read. Run /ship in the thread's own checkout, not in a worktree beside it. A start directory outside any checkout, such as a multi-repo workspace root, still dispatches. - Step 11 takes the right start token. Reusing the pass input's
logStart: ["review"]forstage: "voices"used to run the voices with noadversarial-reviewstart, which left Step 11.5 nothing to bind. Step 11 now takesadversarial-reviewby default and stops before anything runs when given any other list. The gstack Capy skill says Step 11 swapslogStartforstage: "voices".
[1.92.72.0] - 2026-11-02
The sealed guard can now refuse a published record that puts a label next to an identifier. gstack-evals hides which test units are decoys. Its /ship on garrytan/gstack-evals#99 published a panel where each unit's stratum, tags and decoy_set sat next to its head, tree_sha256, plan_bytes and files, values a model under test can compute from its own copy of the work. A model could look itself up and learn it was the decoy. No answer leaked, so gstack-pregate sealed said clear (GSTA-2, GST-620). The new rule is opt-in. A repo that sets sealed.label_keys gets it, and every other repo sees the same output as before, byte for byte.
Added
sealed.label_keysandsealed.identifier_keysin.gstack/pregate.json. Withlabel_keysset,sealed.label_joinchecks every .json, .jsonl, .ndjson, .csv, .tsv and Markdown pipe table a published commit adds, modifies, renames or copies. A record that holds a label field and an identifier (a field matching anidentifier_keysglob, by defaulthead,*_sha256,*_bytes,filesand similar names, or any 7 to 64 character hex string, as a value, in a list, or as the key of an object) is a join. The guard fingerprints each join in memory and compares it with the parent's version of the file, so unchanged rows and reformatting stay clear while a replaced, added or widened row refuses even when the row count stays the same. Findings name the file, the commit and the field names (keys=stratum,tags,head,plan_bytes), never the values, on stderr, in--jsonand in the pre-push hook.sealed.label_join_unchecked. A file whose text never names a label key, ignoring double quotes, cannot hold a join and is skipped without parsing, so a commentedtsconfig.jsonpasses. A file with a\uescape is always parsed. A supported file over 4 MiB, one that names a label key and does not parse, one nested deeper than 64 levels, or a blob git cannot read refuses instead of passing unread. TheSEALED:line counts these asunchecked=<n>. Like every sealed finding, it can be waived through the base branch's.gstack/sealed-allow.tsv;allow_pathsnever exempt either rule.- The policy only tightens. A field can count as both a label and an identifier, so adding identifier names to
label_keysnever hides a join. Both lists are the union of the base branch's and the pushed policy's, each resolved to its default first, so a pushed config can turn the rule on or widen it but cannot turn it off or narrow it.
Changed
- docs/pregate.md#sealed documents the rule, its normalization (
Tree SHA-256matches astree_sha_256) and its known limits: joins across files, joins by reference, columnar JSON, labels in file names and prose. Its version-skew note now names the new keys. A gstack older than this release refuses them as unknown, so raisemin_gstack_versionbefore adopting them. The unknown-key error now listslabel_keysandidentifier_keysamong the valid keys.
Tests
test/sealed-guard.test.ts: the GSTA-2 panel refuses throughgstack-pregate sealed,--jsonand the pre-push hook, and warns on a private destination, with no value in any output. It failed on main. A golden captured from main 2d1b55d76 covers seven pushes (refused, clear, exempt, waived, warned, error, no policy) withoutlabel_keys; stdout, stderr,--json, the hook's stderr and every exit code match it byte for byte.test/sealed-join.test.ts: each format, human table headers, hex values under unlisted keys, maps keyed by sha, quoted TSV, a CSV header split by quotes ("Strat"um), a commented tsconfig.json that stays clear, dotted key names refused in the config, identifier names added to a pushedlabel_keys, decimal strings that stay clear, replacement at the same count, delete plus add, an added identifier field, labels then identifiers a commit later, renames, merges, five unchecked cases, waivers,allow_paths, pushed attempts to narrow or disable the rule, andlabel_keys: []matching an absent key.
[1.92.71.0] - 2026-11-02
Four free-suite waits now end when the thing they wait for happens: the six files involved spend 18–29 s less in summed per-file runtime, with every assertion intact. ./setup returns from a finished child up to ~0.9 s sooner too.
Changed
setup_wait_with_deadline: polls every 0.1 s and tracks the deadline on bash'sSECONDSclock instead of sleeping a whole second per poll. A child that exits at once no longer costs a second. The kill still lands no earlier than the deadline, the exit codes (the child's status, or 124 after the kill) are unchanged, and it runs under bash 3.2.
Tests
test/setup-playwright-best-effort.test.ts: a child that exits with 3 after 50 ms returns 3 in under 500 ms (the old loop took 1,008 ms); the deadline and kill cases are unchanged. The file drops from ~20.8 s to ~5.9 s on a CI-mirror VM.test/pregate-supervise.test.ts: the leftover-child case waits for that child's pid to exit (bounded at 3 s) instead of a fixed 2.5 s sleep.test/gstack-detach.test.ts: the detach and lock bodies wait on files the test writes (bounded at ~10 s, also written infinally) instead ofsleep 2andsleep 3.test/qa-probe-gates.test.ts: the duplicated "judge-named QA workflow gaps (C2)" block is gone (3 tests that repeated the first block).test/context-identity.test.ts: onerestore(mono)call serves both assertions.
[1.92.70.0] - 2026-11-02
Five free-test files stop rebuilding the same git repositories for every test: they spend 17–24 s less in summed per-file runtime, with every assertion intact. Each test still gets its own private copy of the fixture.
Tests
test/helpers/git-fixture-template.ts(new): builds a git fixture once per test file and copies it per test withfs.cpSync. The adopter rewrites every path-bearing file (remote URLs, alternates, state roots), and the copy is then scanned for any remaining reference to the template, so a test can never push into or read from the shared template.test/git-fixture-template.test.tspins two-copy isolation and the leak scan.test/release-cut.test.ts(10 s to ~6 s),4 s totest/train-backstop.test.ts(1.6 s),33 s to ~22 s) use the template. Test andtest/restamp-mentions.test.ts(viatest/helpers/restamp-fixture.ts),test/pregate-user-policy.test.ts(viatest/helpers/pregate-fixture.ts) andtest/held-install-recovery.test.ts(expect()counts are unchanged in every file.test/helpers/restamp-fixture.tsturns off auto-maintenance (maintenance.auto=false,gc.auto=0) in the bare origin the ship-queue train tests push to.test/test-of-test-ratchet.test.ts: one BASELINE row for the new helper test, which tests a test helper by design.
[1.92.69.0] - 2026-11-02
Background --derive runs no longer drop /office-hours sessions or fail with ENOENT when they overlap (#3437). gstack-question-log starts a background gstack-developer-profile --derive after every append, and a multi-question AskUserQuestion logs several rows at once. Every derive wrote the same developer-profile.json.tmp and rewrote the whole profile without a lock. On main at 3bfe566, 30 rounds of 8 overlapping derives plus one --log-session saw 9 of 270 runs fail with ENOENT on rename, and 2 of the 30 sessions disappeared. With this change the same run has 0 failures and keeps 30 of 30 sessions.
Fixed
bin/gstack-developer-profile:--derive,--log-session,--reconcileand--migrateholddeveloper-profile.json.lockfrom before they read the profile until after they rename it, and each writes its ownmktempfile. The owner file names the holder's process ID, and the lock is ownership-checked on release. A lock is taken over when its holder process is gone, or once it is 5 minutes old even if a process with that ID is running, since no writer takes that long and the ID may have been reused. Takeovers go one at a time underdeveloper-profile.json.lock.takeover, so two waiters can't both take over. A writer that can't get the lock within 10 seconds writes nothing and exits 5. An unwritable state directory is reported right away instead of after the wait. A relative state root is anchored once, so the lock is released under the same path it was taken. Windows drive-letter roots stay as they are.
Removed
scripts/psychographic-signals.ts:applySignalandnewDimensionTotals, which lost their last production caller when--derivemoved ontoaccumulateSignals(#3435), and their three unit tests.
Not covered yet
gstack-distill-applyand /plan-tune's declared edits still write the profile without the lock.
Tests
test/gstack-developer-profile.test.ts: a directory at the old fixed temp path; a held lock blocking--deriveand--log-session; takeover of an ownerless stale lock, of a dead holder's lock, and of a 5-minute-old lock whose process ID is alive; a takeover already in progress; a takeover that can't remove the lock still giving up; a relative state root; and 6 rounds of 6 derives plus a--log-sessionkeeping every session. Each test failed on the code before its fix.
[1.92.68.0] - 2026-11-02
/health now finds its tools with gstack's detector, the same one /verify uses, and a test proves it still finds every check it found before. /health Step 1 used to carry its own shell block for detecting a type checker, linter, test runner, knip, shellcheck and gbrain, a second copy of the list in lib/checks.ts. It now runs gstack-checks detect --for health. Scoring, the gbrain sub-score and history are unchanged. GST-116, PR 2 of 2.
Changed
gstack-checks detect --for healthprints oneDIMENSION <name> <command> (<source>)line per tool, orDIMENSION <name> none (<reason>)so Step 2 can record the category as skipped with its reason. A## Health Stacksection in CLAUDE.md still wins row for row, test rows included. Otherwise it applies /health's own rules, including a knip or shellcheck found on PATH and gbrain when~/.gbrain/config.jsonexists. It reads files and PATH and runs nothing.
Tests
test/health-detect-no-loss.test.tsruns the old Step 1 block, frozen verbatim intest/fixtures/health-detect-legacy.sh, beside the new detector on 16 fixture repos and two PATH and HOME setups. Every check the old block printed must still be found. Dropping the knip or gbrain rule fails the test.
[1.92.67.0] - 2026-11-02
./setup no longer starts a handful of processes per skill just to read its name (#2120). On Windows 11 on ARM64, Git Bash runs under x64 emulation, and its fork() can deadlock when a script starts hundreds of short-lived processes in a row. Setup did exactly that: gstack-patch-names and setup's skill-linking loops ran grep | sed | tr and basename for every skill. The reporter counted about 220 process starts on a full install. Thanks to @habassa5, who traced the hang to those loops.
Fixed
- Skill names are read with bash builtins. A new sourced helper,
bin/gstack-skill-name.sh, reads thename:line with areadloop. It gives the same result as the old pipeline on CRLF files, files with no final newline, and files with noname:line.gstack-patch-names, setup's Claude skill linker, its two cleanup loops andgstack-uninstalluse it. They use parameter expansion instead ofbasename.sedandmvrun only for a skill that is actually renamed. - What is not fixed yet. Setup still starts
ln,mkdirandcpper skill, and the linkers for Cursor, OpenCode, Copilot, Factory, Agy and Kiro still runbasenameper skill. Nobody has confirmed on a Windows ARM64 machine that the hang is gone.
[1.92.66.0] - 2026-11-02
The secrets check reads Python and Dart string context from what git diffed, and a quote inside an interpolation no longer ends a string (GST-738). env.kv's source-syntax exemption treats a password: line as code only when it sits outside every string. Two inputs could make the scanner place a committed string's contents outside a string. One was a working copy that no longer matched what git diffed. The other was a quote inside an f-string or Dart ${…} expression. A scoped review pass now applies an explicit --diff-base to its Red Team as well.
Fixed
lib/pregate/checks/secrets.ts: a changed Python or Dart file's whole text comes from a full-contextgit diff, never from the working copy. Adiff.suppressBlankEmptysetting can't shift its lines.lib/redact-patterns.ts: a Python f-string's{…}, or t-string's, and a non-raw Dart string's${…}are read as code. Their nested strings count as strings, and a quote or comment inside them doesn't end the outer string. A Python format spec, such as{n:#x}, is text, and\{still opens a field. Apassword:line inside a Dart/* */comment is now read as text, not code. An expression left open, or nested more than 256 deep, runs to the end of the file, so the exemption fails closed.bin/gstack-review-dispatch:pass --diff-basenow sets the scoped Red Team's base too.
[1.92.65.0] - 2026-11-02
- Every /ship reviewer brief now starts with the
REVIEWED_TREEstep instead of saving it for the last paragraph (lib/review-brief.ts, GST-897). Before, the brief only asked for the fingerprint line in its closing paragraph, after the whole diff and a rule that the reply ends with itsRecommendation:line. On GST-850, two gpt-6.1-sol outside-voice replies never ran the command, socollectrefused both (COLLECT_WRONG_TREE reported="none") and their findings were lost. Other readers misread "the line prints" and pasted the command instead of its output. Now the brief opens with "First step, before anything else: runcd <checkout> && echo "REVIEWED_TREE: …"", says the command outputs oneREVIEWED_TREE: <tree hash> <path>line, and asks the reader to copy that output line, not the command, as the first line of its reply. The closing paragraph repeats the request with "(the output, not the command)".collectis unchanged and still refuses a reply without the line, and the dispatcher never stamps the tree for a reader.
Tests
test/review-dispatch.test.ts: the rendered outside-voice brief's first line is the step, running its command prints a linecollectaccepts, and both captured GST-850 replies (test/fixtures/review-wrong-tree/) are still refused withCOLLECT_WRONG_TREE. On main this test fails because the brief's first line is the filesystem boundary paragraph.
[1.92.64.0] - 2026-11-02
/ship's Step 11 outside voice now defaults to the model it was tested with, and a same-family outside voice is refused. On a lane running an Anthropic model, the pass program uses openai/gpt-6.1-sol at medium reasoning when no outside-voice model is given. That is the pairing no-loss rounds 3 to 6 and A3668 ran. Until now the lane picked the model (gpt-6-astra in replays 6c, 7e and 8g), and the only check was that some model was given, so a Claude outside voice beside a Claude native voice would have run as "outside" (GSTA-167 plan R2 and O2).
Changed
- Outside-voice default, Anthropic lanes only (
lib/capy-review-pass.js): with nomodels['outside-voice']and ananthropic/laneModel, the voice runs onopenai/gpt-6.1-solat medium. Any other lane, or no lane identity, still stops with "none was given", because an OpenAI lane's pairing is not certified. - Same-family STOP: an outside voice whose provider (the part before
/, compared without regard to case) matches the lane model or the native voice's model stops the pass before either voice is created. The check runs again on every rerun of the same manifest and before a queued voice is started. An outside voice with no provider prefix, or with no lane model and no native model to compare against, also stops. - Voices resume on the models they were dispatched with: the pass records each Step 11 voice's model and the lane model in
voice-models.jsonin the pass directory before creating it. A rerun with different inputs starts a queued voice on its recorded model and checks it against the recorded native model, so it can't pair two voices of one family. - Overrides are labeled: each outside voice prints an
OUTSIDE_VOICE:line when it is created or started from the queue, saying whether it is the certified configuration. A different model or reasoning level still runs, marked "outside the certified configuration". - Step 14.5 docs audit runs once on Sonnet 5.5 (
ship/DRIVER.md). In replay C5 the docs audit first ran on a smaller model whose reply lacked its JSON line, then ran again on Sonnet, which wasted 1.55M tokens. To stay under the driver's 12 KB cap, one sentence that repeated Phase 4 and 5 ("A fix repeats Phases 3-4.") was removed.
Tests
test/review-pass.test.ts: six new fake-host cases: a same-family override stops; a rerun or a queued start still refuses it; a queued voice resumes on its recorded model; a missing lane identity, an unprefixed id or an unprefixed lane stops; an Anthropic lane gets the certified default with every brief byte-identical to naming that model; an override with changed reasoning runs and is labeled uncertified. The Step 11 case now passeslaneModel: undefinedto keep its "none was given" check, since an Anthropic lane gets the default.test/ship-driver.test.ts: the audit-reader assertion names Step 14.5's Sonnet 5.5 run.
[1.92.63.0] - 2026-11-02
A slot restamp after the docs audit no longer stops finish with DOCS: stale (CHANGELOG.md) (GST-906). When a PR lost its merge slot after Step 14.5, the new slot's restamp re-heads the CHANGELOG entry and moves VERSION, and on the lost-slot path it merges main first. gstack-ship-release finish read all of that as a docs change, so the only ways forward were a third docs audit, which the policy forbids, or an owner-accepted named risk. Reported by GBRA-258 on gbrain #8372.
Fixed
- Step 16's docs check carries a restamp. The CHANGELOG counts as unchanged when it differs from the audited copy only by the heading move or re-heading. After a main merge, the audited copy is first merged with main's CHANGELOG by the same
mergeChangelogscall the restamp writer makes, and that merge may only add main's sections. The version file counts as unchanged when it held a bare version at the audit and still does. - Anything else still stales the audit. That includes an entry edit, a dropped or edited main section, a dropped line the audit saw, and an audited CHANGELOG that git never held.
[1.92.62.0] - 2026-11-02
gstack-pregate clear --run-urlchecks the run's workflow. On a lane with no run profile,clearused to record any URL as the receipt, so awindows-smoke.ymlrun could clearwindows-free-tests.yml/windows-free-shardon a branch cut before #3806. When the base config and the GitHub origin can be read,clearnow reads the run and refusesPREGATE_RECEIPT_INVALID(workflow_mismatch) unless its workflow file is the lane's own; a run gh cannot read (api_error) or a URL that is not an Actions run on this repository (run_ref_invalid) refuses too, and each refusal names its own fix. A run of the lane's own workflow clears as before, including a job link copied with?pr=or#step.test_backend/*lanes,--bundle-laneand non-GitHub origins are unchanged. On main the Windows obligation iswindows-smoke.yml/windows-smoke, and a test now checks that against the repository's own workflows. Thereadyconflict hint now says to clear each lane with a run of that lane's own workflow.test/pregate-clear-runs.test.tscovers the mismatch, the matching control, the unreadable run, the non-run URL and the copied job links; each failed before its fix.
[1.92.61.0] - 2026-11-02
- The security class reaches outbound URLs, archives and every
child_processspelling (GST-850).lib/review-risk.tsnow flags any call to an outbound HTTP client (fetch,http(s).getor.request, axios, got, undici,requests,httpx, urllib),new URLfrom input, redirect toggles, proxy settings and host allowlists; tar, zip and unzip extraction,path.joinorresolveon request or entry input, and'..'checks; and any changed line that names thechild_processmodule. The new rules parse no import clause or call arguments, and a test holds each under 100 ms on 200,000-character hostile lines. - The money class reads metering and charge code. Paths and lines naming meter, metering, metered, charge, billable, billed or credits, plus token usage, a billing proxy and cost or charge clients, now route to the money reader. gbrain-evals #289, which changed a metering proxy and billing clients and read
required=none, is now a regression test that reads money. "costume", a CLI's usage text and a plain proxy do not count. - When a diff publishes numbers, the batched specialist reads the write-up's text files instead of leaving docs out of its diff. The collector records the files a diff creates.
- UI text and SVGs stay code (light). An allowlist docs path for chart SVGs and locale values was built and dropped for review cost: its first review round found a new bypass class in each version. Every bypass found so far is a test row that classes as code.
- Replayed on the 26 GSTA-167 no-loss units, no unit loses a reviewer role. The replay checked which reviewers get dispatched, not R51's re-scored findings. Over the last 100 main commits, 3 move from light to full and no commit with a gate or risk class drops depth.
[1.92.60.0] - 2026-11-02
Free test shards can now run their files as several sub-shards side by side inside one CI job. bun run scripts/test-free-shards.ts --ci-run <plan> --shard <i> --result <file> --jobs <k> splits the shard into k parts that each run in their own sandboxed bun test process. The default stays at 1, so CI runs exactly as before until a workflow opts in. Bad --jobs values stop with FREE_JOBS_INVALID, a sub-shard that runs out of time prints FREE_SUBSHARD_TIMEOUT with a serial reproduce command, and every CI shard result now records per-file test and expect() counts. See docs/TESTING_INTERNALS.md#sub-shards-inside-one-ci-job.
[1.92.59.0] - 2026-11-02
test:health and the factory scorecard leave reused main pushes out of their free-suite flake counts (#3725). Since #3709, a main push whose merged pull request already passed on the same tree reuses that run. It finishes green, runs no shards and uploads nothing, so both readers counted it as a run with zero flakes. As reuse grows, that pulls real flake rates under the 5% bar, and bun run test:health --enforce stops flagging files without any error.
Fixed
- One rule for both readers (
reuseCheckerinscripts/lib/ci-history.ts). A run with no artifacts and a greenreusejob is a reused main push.readCiFlakeLedgersleaves it out of the window and its denominator and fills the window with older runs, so it still holds 20 runs that ran their shards.readFreeRetriesinlib/factory-scorecard.tsleaves it out of the free-retry count. Both reports name how many runs they left out. - Bounded and visible. A run with any artifact costs no extra call. A run with none costs one job listing, at most 40 per read. Past that cap, or when a listing fails, the run counts as it did before and the report says so.
Tests
test/test-health-report.test.ts: reused runs among real flaky runs (2 flaky of 20 real runs, with 30 reused) failed on the old code with 2/45 = 4.4%, which passed the 5% bar; now 2/20 = 10% fails it. The lookup cap and a failed lookup both count the run as before, and the report says so.test/factory-scorecard.test.ts: two reused runs in the window failed on the old code ("in 1 of 5 runs"); now the free-retry line matches the real runs only ("in 1 of 3 runs") and names the 2 runs it left out.
[1.92.58.0] - 2026-11-02
A parent agent can now run the CEO-only review through the driver: gstack-autoplan next --ceo-only (GST-537). /autoplan --ceo-only only worked inside a Claude Code session, so a crew or eval harness driving gstack-autoplan from another host had to run the whole review and stop at the approval gate. Now the same review-only run works from the driver on any host.
Added
gstack-autoplan next --ceo-only(firstnextonly): opens the CEO phase alone. When it closes, the run printsREVIEWED:, writes<dir>/ceo-review.mdwith the same sections as the skill path (hashed inrun.json), and endsGSTACK_RESULT: skill=autoplan status=reviewed run=<dir>. It writes no gate, never edits the plan and never approves anything.- Decision rows with status
auto_kept: each item a gate would have asked is recorded as kindauto, the plan's direction kept, with no answer time. An item only the owner can accept (a Critical finding left open when CEO closed deferred) is left undecided, with no chosen option, and the report lists it as left open for the owner. Tasks in a CEO-only run wait on no decision.run.jsonnow acceptsreviewed, andgstack-artifact validatepasses a finished CEO-only run. - Coded refusals:
--ceo-onlybeside--ui,--developer-toolor--agent-primary(on the command line or in the plan's scope marker), a scope marker that names--ceo-only, or a plan that is the report file<dir>/ceo-review.md(directly, through a symlink or a hard link) refuses withCEO_ONLY_CONFLICT, so the report never overwrites the plan; on a directory that holds a full run,CEO_ONLY_AFTER_INIT.answer,recommend,reviseandgstack-approvals importrefuse a CEO-only run withCEO_ONLY_NO_GATE. A CEO-only run stopped by--spend-caprecovers the usual way:budgetthenresume, orclose --deferred, which ends itreviewed.
Fixed
gstack-approvals import --autoplanno longer imports from a run whoserun.jsonis present but not valid JSON; it refuses withARTIFACT_INVALID_JSONinstead of guessing the run's identity.
[1.92.57.0] - 2026-11-02
Hermes can start gstack skills again (GST-882). On stock Hermes, the Tirith scanner flagged every gstack skill's first command as HIGH ("Nested executable body could not be resolved"), so gstack-skill-start was denied in 8 of 8 trials. Tirith-only findings can't go on Hermes's permanent allowlist, so there was no workaround. The start line Tirith couldn't follow was a grouped fallback that picked the script through a variable.
Fixed
- The skill-start line on Codex, Hermes and the other env-var hosts is plain shell. A skill installed for one folder (Hermes, and the Codex install
./setupwrites) now checks for that folder'sbin/gstack-skill-startand then runs it by its literal path. Tirith 0.4.2 allows that line where it blocked the old one. A checked-in render keeps the same lookup order (an exportedGSTACK_ROOT, then the repo's own install, then the global one) as plain lines, without the{ …; exit 1;}group. When no install exists, both print the same "no install found" line with the setup command, and the start command then fails. - An install-root render's first block no longer honors an exported
GSTACK_ROOT. Tirith blocks any start command picked through a variable. Later blocks still honor it.docs/troubleshooting.mdnames this exception.
Tests
test/skill-start-plain.test.ts: on every host and both render kinds, the start fence has no grouped fallback, and a missing install fails loudly underbash -u. The install-root start command is a literal path that runs, and a checked-in render finds the global install. On each env-var host, the start lookup picks the same root as later blocks for global, repo-local and exported installs.
[1.92.56.0] - 2026-11-02
gstack-ship-receipt write records the session kind on Windows. Without --session-kind or GSTACK_SESSION_KIND, it asks the gstack-session-kind bash helper. It used to spawn that helper by path, which never starts on Windows, so every /ship receipt there carried no session_kind. It now starts the helper through lib/script-invocation.ts, which uses Git Bash on Windows. This is the /ship half of #3541.
Fixed
bin/gstack-ship-receiptstartsgstack-session-kindwithrunScriptSync.
Tests
test/ship-receipt-session-kind.test.ts(windows-free-tests too): a receipt written without a session kind records whatgstack-session-kindprints.
[1.92.55.0] - 2026-11-02
/shipfinish no longer stops on a branch whose restamp moved its own stale stamp after a lost slot (gstack-ship-release finish, GST-895). When a branch loses its merge slot, merges main and runsgstack-restamp --next, the restamp moves the branch's ownsince:rows from the lost version to the new one. Finish only accepted a moved version at or above the reviewed tree's VERSION, which now came from main, so it read those rows as a behavior change and stopped with "insert 5–11.5 → 12–14 → 16" (gbrain #8134 on 1.92.46.0). Now a line the branch added itself, by the same rule restamp uses (added since the merge base with main, and not added by main), may move any version newer than the branch's fork point, and finish routes it as release metadata. A row main carries, a row main edited after the merge, and a branch row at or before the fork point still stop. Onlystamp_filespaths count, and nothing else on the line may change.
Tests
test/ship-rereview-triggers.test.ts: after a lost slot, a merge of main and a restamp, the branch's moved row routes as metadata; moving main's own row, a merged main row that main later edited, a branch row at the fork version, or one older than the fork point each stop. The first case fails on main withbehavior=1.
[1.92.54.0] - 2026-11-02
train land and a single-PR land can no longer publish onto main at the same time, and a slot that forgot its version bump can no longer merge (#3599, #3531; GSTA-157). Before, train land took no lock, so it and land could both read the same main and publish a combined tree neither tested. And train 33's verify --train said "may merge" for #3527's head after a bare commit dropped the stamp that restamp had written but not staged, so #3527 shipped under #3526's version.
Fixed
train landtakes the shared land lock (refs/notes/gstack-land, now in lib/ship-queue-land-lock.ts) astrain <nonce> slot <i> (#<pr>). Whichever oflandandtrain landstarts second refuses withQUEUE_LAND_LOCKED, naming the holder. Once a slot has merged, the train keeps the lock in phasebetweenuntil its last slot lands, through a refusal on the next slot too, so no single land slips in between slots and sets off a freeze. A stop that freezes the queue leaves the lock in phasefreeze, which only the admitted repair train takes over while the freeze lasts; once the freeze is cleared, the nextlandortrain landtakes over a freeze lock whose release push failed. A lock ref deleted on origin now reads as no lock, not as this clone's cached copy.--break-lockprints the holder (LOCK_HOLDER:), keeps land's staleness, mid-push and drift rules, never breaks afreezelock, waits 10 minutes on abetweenlock, and refuses a live train run's lock unless--break-train-lockis also given.train landaccepts both flags.verify --trainchecks the slot stamp itself: the head's VERSION must be above main's and its CHANGELOG headed with that version directly above main's top release, or it refuses with the newQUEUE_TRAIN_UNSTAMPED, naming the rule and both versions. It printsSTAMP_VERSION:from the head.verify --traincalls a PR merged only when GitHub reports it MERGED. An open release-only PR (#3530's shape) now gets the pre-merge check, and any other open or unreadable PR refuses withQUEUE_PROOF_MISSINGwithout freezing the queue. So does a verify that could not read the PR's current head (--no-fetchor a failed fetch), instead of judging the unstamped pin.gstack-restampstages the files it writes and printsSTAGED:. It refuses before writing when a stamp file holds unstaged edits of your own (RESTAMP_UNSTAGED_EDITS); when staging fails, it saysRESTAMP_NOT_STAGEDand the next run stages the files.- Two comments in lib/ship-queue-train-gate.ts now say "one spend cap per command gate across every prefix of the train", which is what the code does.
Tests
test/ship-queue-land-lock.test.ts: two writers racing one lock sha, the four lock read states, owner kinds, the--break-lockrules, and both lock directions, the between phase, refusal and resume, and the freeze lock's repair takeover throughbin/gstack-ship-queue.test/ship-queue-train.test.ts: the #3527 and #3530 shapes, the CHANGELOG rule, a claim-at-open pin, and no false freeze.test/gstack-restamp-queue.test.ts: staging after a no-commit merge, the unstaged-edits refusal, and a staging failure and its rerun.
[1.92.53.0] - 2026-11-02
reap and up now destroy only your own Ubicloud VMs (GST-573). Before, every up destroyed any VM in the project whose TTL had ended, whoever created it, which broke the rule that cloud deletes stay with the owner who made the resource. Now reap destroys only the caller's own expired VMs and its own old TTL-less ones, and only counts other owners' expired VMs in its log (reap: left N expired VMs of other owners; only their owners reap them).
Changed
- Owner-scoped reap. Another owner's VM, even an expired one, and an untagged one are never reaped. A lane's leftover VM is destroyed by that owner's own next
uporreap, so a lane that never runs again leaves its VM until someone with that owner runsreapordown.
[1.92.52.0] - 2026-11-02
/ship on Capy runs Exploratory QA again. Since v1.91.345.0 (#3648) the driver sent Step 9.2.1 out as a QA reader subagent, but the section says only the parent runs report-only discovery, so the reader refused on every pass ("parent-only") and the parent ran the probes afterward anyway, an extra reader call each pass (the C4-36 and C5-36 replays).
Fixed
- The parent runs Step 9.2.1's probes itself, as the section says. Phase 3 does the section's method Reads and no probe; Phase 4's one program runs the smoke and plan checks after Step 8.1 collects the plan checks and before Scope Check, dedup and Fix-First, and the record's Checks heading carries the
Exploratory QA:line. The call count is unchanged, and the section text is untouched. gstack-review-dispatch passrefuses a QA extra. An extra namedqa, or one whose prompt holds Step 9.2.1's "Only the parent runs report-only discovery.", stops the pass before any reader is created. A prompt file that cannot be read stops as an unreadable prompt, not a raw read error. The Capy skill lists Steps 7, 8 and 14.5 as extras, not Step 9.2.1.
[1.92.51.0] - 2026-11-01
PRs no longer wait on the six-shard Windows suite. A short windows-smoke check is the required Windows check, and the full suite runs nightly on main. Windows has minimal support (docs/support-tiers.md). Since 2026-11-01 06:00 UTC, Windows Free Tests finished last on 71 of 73 PR heads, with a wall time of 892 s at p50 and 1,886 s at p90 over 71 green PR runs, and each run used about 59 Windows runner-minutes. The new smoke check finished in 198 s on this PR (run 41325664750). With smoke in its place, the slowest required check on a PR drops from 892 s to 562 s at p50 and from 1,877 s to 1,193 s at p90.
Changed
- New
windows-smoke.yml(checkwindows-smoke, on pull requests, pushes to main and by hand). It installs gstack with./setup --host claudeinto a separate home, starts /ship, /review, /qa-only, /investigate and /browse withgstack-skill-start, runs the installed browse chain against gstack's own browser, and runs 15 Windows-safe test files. Each file's reason is written next to it in the workflow. No cache: a coldbun installtook 16 to 17 s, while restoring the cache took 33 to 42 s in a three-round A/B. windows-free-tests.ymlruns nightly (09:17 UTC) on main, and by hand. It no longer runs on pull requests or pushes and never blocks a merge. A red nightly gets a fix only when it shows a broken install, startup or core workflow. Other Windows-only failures close as won't fix with a link to docs/support-tiers.md.- Bun cache removed from
windows-free-tests.ymlandwindows-setup-e2e.yml. The 18 cache entries on pull-request refs (8.05 GB) were deleted. Main's entries were left alone. gstack-ship-queue ready --dispatch-ciskips a named workflow that main has but the PR branch predates, and prints a note instead of failing. GitHub reads the workflow file from the branch, so dispatchingwindows-smoke.ymlon an older branch could only fail.
Gate integrity
.gstack/ship-policy.jsonrequired_checks:windows-free-testsis replaced bywindows-smoke. The ci-hint,--dispatch-cidocs, train CLI help andfree-durations-record.ymlnow namewindows-smoke.yml..gstack/pregate.json: thewindows-free-tests.yml/windows-free-shardremote lane is removed, since that suite no longer runs on PRs. Linux and macOS lanes are unchanged.scripts/test-health-report.tsmeasures Windows fromwindows-smoke.ymlPR runs.- No test file was deleted, skipped or re-tiered.
scripts/harness-version.jsonrecordsscripts/test-pr-profile.tsas a non-behavioral change, because it only listswindows-smoke.ymlamong files no paid case reads.
[1.92.50.0] - 2026-11-01
Fixed
/autoplanno longer locks a Claude Code session after a snapshot init run ascd <dir> && …(#3651). When thatcdleaves the session's folder, Claude Code adds aShell cwd was reset to …line to the command's output. The guard now removes exactly that one line before reading the init or checkpoint JSON; any other extra text still fails. An init whose output still can't be read now counts as a failed init with a "re-run" hint, so a later clean init in the same session works again. Before, every later phase read was denied with codeevidenceuntil a new session.
Fixed
/eval-planpilots with a subscription arm can now be approved, and the cost projection is per arm (#3653).gstack-eval-plan pilot start --seat-metered <arm>declares an arm that runs on a subscription with no extra charge (for exampleclaude -pon a seat). Its attempts hold none of the spend cap, settle asunknown(an arm that settles a real charge is projected like any priced arm), and get their ownPILOT_SEAT_METERED:line, so the verdict covers the arms that cost money.pilot reportnow projects each arm from its own attempts (onePILOT_ARM:line each) and adds them up. Before, it averaged all arms together: a priced arm's cost was multiplied across arms with no price, and two arms at different prices got a band so wide that a pilot that fit the cap was told it exceeded it. The skill also says to stop a seat-metered run at its first quota or rate-limit error, with no retry (idea from #3273 by @merit-blake).
/autoplan --ceo-only runs the CEO review by itself and asks nothing from start to finish (GST-537). Garry asked for a CEO review that "just automatically does the right thing", and the planning eval needed a gstack CEO arm that a harness can run without a simulated user. Before, /autoplan always ran the Eng review too and stopped at a final approval question, and standalone /plan-ceo-review asks for the mode, offers to chain to the next skill and adds a Codex voice.
Added
/autoplan --ceo-only(autoplan/sections/ceo-only.md): runs Phase 0, the outside-reviewer preflight and the CEO phase only. Every question takes its recommendation and gets an audit-trail row; consent and destructive options take the conservative choice. The review mode comes from plan-ceo-review's 0E rule. User challenges are never applied; each one is listed at the top of<run dir>/ceo-review.md, with scope added, conservative choices, findings and the audit trail. The run ends withGSTACK_RESULT: skill=autoplan status=reviewed run=<dir>and approves nothing.--no-outsidewith--ceo-onlyskips the outside voice, so one model does the whole review.gstack-ceo-mode-handoff --ceo-onlyprintsAuto-selected review mode → <mode> (CEO-only run: Step 0E's rule)instead of crediting a saved preference.status=reviewedjoins theGSTACK_RESULTstatuses (docs/unattended.md, "CEO-only runs").
For contributors
- The paid case
autoplan-ceo-onlyfails if the mode asks anything, skips a later phase's file, or leaves new files in HOME outside its folders. It takes 6 to 16 minutes, so it runs in the weekly marathon lane, not on autoplan PRs. The mode needs Claude Code for now.
/autoplan fixes from a field report (GBRA-223): findings without a line number pair across voices, open Critical and High findings reach the gate, a spend cap binds on any host, run works with the API runner, and an earlier item-by-item answer carries forward. OpenClaw's /autoplan run on a real plan hit six problems at once. We reproduced each on main with a failing test first (GST-672). A follow-up from GEVA-2 adds a record of whose words answered a gate.
Fixed
- Plan reviews that name a file but no line now pair across voices. A same-file pair, with a line missing on either side, is associated as
unverifiedinstead of both findings counting as new. Title matching ignores a leading DX cap code (CAP4:<path>:) and never pairs findings on two different files. The same-file fallback runs only after every title and line match is placed, and a same-file pair never merges two findings into one gate item. - DX cap findings carry real titles.
CAP4andCAP6findings are titledCAP<n>:<path>:<item> <what fails>, so the gate shows the problem and not only the item name. - Every open Critical or High finding becomes a gate item.
aapplies the reviewer's fix to the plan and is recommended.bcarries it into the build as a blocking task.recandp1bapply the fix. An unanswered item keeps the plan as written unless the reply isp1b, and a partial reply never locks that choice early. A finding carried withbstays open, so a rerun that raises it again asks again. - A spend cap binds on any host. With
--spend-capset and no--estimate-usd, each host-subagent attempt reserves the default $5 per voice, on Capy or off it, in any session kind, and so does an API call whose model has no price.next --estimate-usd <n>sets the reservation for the rest of the run.runreserves each API call's priced worst case (prompt size plus the output limit) and settles it at its real token cost, so--spend-cap 0refuses before any call. gstack-autoplan runwith--native-runner api --runner apireaches the gate. Results are checked as autoplan results, so they bind. A response cut off at the output limit is namedtruncatedand interrupts the run instead of binding a partial review. The default output limit is 16384 tokens for both providers (OpenAI counts reasoning tokens toward it),--max-tokens <n>sets it, and an outside result refused at submit leaves the run native-only instead of aborting it.- An earlier item-by-item answer carries forward when nothing changed. When every item on the new gate is carried by origin, the owner's
p1choice is replayed and their tokens are recorded verbatim as the basis. Any new or changed item still goes to the owner. - A spend cap stays closed when a call fails. For the native voice, a call cut off at its output limit is settled at what it cost, and a retry with a larger
--max-tokensis admitted against the cap afresh. A call that timed out, dropped, was cancelled or had its result refused after it was sent is settled at its usage, or its full reservation when the usage is unknown, because the provider may have billed it. A call still in flight when the process died is charged its reservation by the nextrun, which then sends a fresh attempt. A call refused before anything was sent (no API key, for example) charges nothing, and the rerun reuses its reservation. A failed outside call is still counted at its full reservation while the phase continues native-only. - A finding you chose to fix stays open until the revised plan is reviewed. If the reviewer raises it again after a revise that missed it, it comes back to the gate instead of being treated as settled. A withdrawn fix leaves its finding open.
- Two findings that only sit near each other are no longer merged. A user challenge one line away from an unrelated Critical no longer hides the Critical. Findings are merged only when their titles match or the parent says they are the same problem.
- A plan gate answered in an agent's own words is not owner approval.
gstack-ship-receiptrejects a plan-sha approval citation whose gate was answered with--words-by agent:<id>. - A later gate answer replaces the earlier answer's authorship. When someone else answers again, the earlier answerer's words,
words_byand carry fields are cleared, so the approval record names who actually answered.
Added
gstack-autoplan answer --words-by agent:<id>records that the words came from the answering agent itself, asanswer_wordsandwords_by, never asowner_reply. The default staysowner. A later gate never carries those words forward, andgstack-approvals importlists that row under the agent, while--bynames only the rows that hold the owner's words.
Tests
- New failing-first tests in test/autoplan-pairing.test.ts, test/autoplan-gate-judgment.test.ts, test/autoplan-budget.test.ts, test/autoplan-run-api.test.ts (a local fake provider, no key or network), test/autoplan-carry.test.ts and test/approval-record.test.ts.
[1.92.49.0] - 2026-11-01
The timeline Stop hook returns within its 2-second budget even when the host keeps stdin open. The hook read its payload with a blocking read that waits for end of input, so a host that writes the Stop payload and leaves the pipe open held the hook for as long as the pipe stayed open. A local run with the pipe held for 8 seconds took 8 seconds, past the hook's 2-second budget and on the way to Claude Code's 15-second hook window (#3628, reported on Windows). Rewritten from PR #3628 by shahab (mashtii85).
Fixed
hosts/claude/hooks/timeline-stop-hook.tsreads stdin for at most 500 ms and stops at the first complete JSON payload, then repairs the timeline as before. The hook still exits 0 on every path.
Tests
test/timeline-stop-hook-stdin.test.ts(runs on windows-latest): a complete payload on a pipe that never closes returns within budget and still writes the repair; an open pipe with no data returns within budget. Both failed before the fix (10 s, killed).
[1.92.48.0] - 2026-11-01
On Windows, gstack-review-scope summary works again, and the JSONL merge driver no longer fails on non-English text or rewrites files with CRLF. Before, the summary started the bash script gstack-review-read directly, which Windows cannot run, so it always refused with an empty "gstack-review-read failed:" message and /ship could not write its review-loop file (#3541). The jsonl-append merge driver wrote its result with Python's print(), so a line the console code page could not encode (Cyrillic text under cp1250, for example) made it exit 1 and git reported a conflict with no markers, and every merge on Windows turned LF files into CRLF (#3659).
Fixed
gstack-review-scope summaryrunsgstack-review-readthroughlib/script-invocation.ts(Git Bash on Windows). When the helper cannot start, the refusal names the launch error instead of an empty string.gstack-jsonl-mergewrites UTF-8 bytes with LF line endings on every platform and code page.
Tests
test/review-scope-windows-launch.test.tsruns the summary against a seeded review log through the same launcher; it runs on windows-latest.test/jsonl-merge-encoding.test.tsmerges a Cyrillic line withPYTHONIOENCODING=cp1252and checks the bytes are UTF-8 with no CR. It failed before the fix on Linux too.test/script-invocation-tripwire.test.tsnow also catches a bin spawned throughpath.join(path.dirname(...import.meta.url...), ...)orimport.meta.dir, the shape that hid #3541.bin/gstack-ship-receipt'sgstack-session-kindspawn is listed as a known site until its own follow-up.
[1.92.47.0] - 2026-11-01
/shipStep 5 runs its test lanes one at a time on machines with 4 or fewer cores, and--lanes serial|parallelpicks the mode by hand (gstack-ship-preflight, GST-851). Preflight used to start every--laneat once. On garrytan/gstack-evals#115 six lanes (a 1,451-test bun suite, tsc, a Docker tier and an arm tarball trial) started within 60 ms of each other on a 4-core, 16 GB machine, and running lanes together has taken machines down before (gstack-evals #101, #106, #107). Now, with no flag, preflight runs one lane at a time whenos.availableParallelism()is 4 or less and all of them at once above that.--lanes serialor--lanes paralleloverrides the default, and any other value, or--laneswith no value, is a usage error (exit 2). A newLANES: serial|parallel (--lanes|<n> cores)line before theLANElines says which mode ran and why. Each lane still prints its ownLANEline with its owntests_rancount, in the order the lanes were given. Serial runs take the sum of the lane times instead of the longest one. There is no ship-policy key for this: a new key needs key versioning and amin_gstack_versionbump, and the core-count default already covers the 4-core case.
Tests
test/ship-preflight.test.ts:--lanes serialruns lanes one after another and keeps each lane's count;--lanes parallelkeeps lane order when a later lane finishes first; an unflagged run names the core count; a bad or missing--lanesvalue is a usage error; and the core-count default is serial at 4 cores or fewer.
[1.92.46.0] - 2026-11-01
brain-sync no longer publishes a synced JSON file that doesn't parse, and the profile and doctor now say when one is broken. When two machines edit developer-profile.json before syncing, git's merge can leave conflict markers in it. brain-sync committed and pushed that file, so every machine got a profile that no longer parsed, while gstack-developer-profile --profile and gstack-doctor both reported everything ok (#3763).
Fixed
- brain-sync holds back a synced
.jsonfile that doesn't parse (bin/gstack-brain-sync). Before each commit it parses every staged*.jsonfile (todaydeveloper-profile.jsonandprojects/*/decisions.active.json). A file that doesn't parse is held with ruleinvalid-json, along with any file coupled to it (decisions.jsonlwith its snapshot). It stays queued and syncs on the next run after you repair it; everything else syncs as usual. The fix line says to repair the file. It does not offer--skip-file, which would stop the profile syncing for good. - A held file in an unfinished git merge stops the sync instead of committing half the merge. If a held file is part of a merge that git could not finish, committing the merge without it would quietly keep only this machine's version and drop the other machine's edit. brain-sync now commits nothing and reports
blockeduntil you repair the file; the merge and the queue are kept. - Held-status messages name the right cause. The skill-start attention line,
--statusandgstack-doctorno longer blame the secret scan for every held file; doctor reports how many held files are not valid JSON. gstack-doctorwarns when a synced JSON file holds conflict markers, naming the file and how to restore it from the sync repo's history.
Changed
gstack-developer-profile --profilenow exits 1 when the profile is not valid JSON. It prints<file> is not valid JSON: <parse error>on stderr (noting conflict markers when it finds them) and nothing on stdout. It used to print the broken file and exit 0, so scripts that read--profileshould check its exit status.
Tests
test/brain-sync.test.ts: a queued profile with conflict markers, a marker-free syntax error, an invaliddecisions.active.jsonholding its coupleddecisions.jsonluntil repaired, two machines editing the profile (the other machine's edit stays on the remote), and an unfinished merge with a held profile.test/gstack-developer-profile.test.ts:--profileon an unparseable profile.test/gstack-doctor.test.ts: a conflict-marker warning, and a JSON hold not attributed to the secret scan. All fail on main.
[1.92.45.0] - 2026-11-01
/ship review scales to risk, not size
- Review depth follows risk. Code that touches security, user data, money, secrets, auth or the merge checks gets the full review panel. Other code goes to the light tier at any size, with one batched reader plus the native adversarial pass. Docs, tests and eval write-ups get one reader. UI text and SVG files stay code for now. A larger diff never raises the depth by itself.
- New risk classes.
lib/review-risk.tsholds the money, auth and secret matchers the targeted pass already used, plus new security (trust boundaries, shell and HTML sinks, shells run through argv, recursive deletes,eval) and user-data (persistence paths,DELETE FROM,deleteMany,destroy_all) signals. - At most 2 review rounds. A fix-check counts as a round. A blocker that is still open or fixed in round 2 stops for the owner, who may grant one scoped fix-check; there is no round 3. A fix in round 2 that edits gate code also stops for the owner. Below-floor fixes in round 2 finish, with the notes listed.
- Receipts record tier and rounds.
review_loop.roundsandreview_depth.riskare on the receipt, and the summary line printsrounds=.gstack-ship-queue readystill refuses a receipt below its head's depth. - Replayed on the 26-unit no-loss panel, no historical blocker was lost. Over the last 100 main commits (an estimate from replaying the depth rules), 8 go from standard to light, 12 go up to full, and no commit with a risk class goes down.
[1.92.44.0] - 2026-11-01
literals stops treating a same-name sibling file as the changed module (GST-820). A test that only mentioned test/postgres-unit-arms.txt was counted as a consumer of scripts/postgres-unit-arms.ts, so any 12 in it failed PREGATE_LITERALS when ARM_SHARDS moved from 12 to 18. In gbrain #8372 that gave 17 false files. A path now names the module only when its stem is followed by the module's own extension (for a JS/TS module, any JS/TS extension), or by anything other than a letter, digit, _, - or another extension, and the full file name no longer matches with a further extension such as .snap. Extensionless imports, .js imports and the module's own path still count.
Fixed
literalsmodule matching. A sibling file that shares the module's stem (<stem>.txt,<stem>.json,<stem>-v2.ts,<file>.snap, or<stem>.tsbeside a shell script) is no longer the module.
[1.92.43.0] - 2026-11-01
New page: docs/support-tiers.md says what gstack supports fully and what it supports minimally. macOS and Linux, with Claude and OpenAI models, get full support: the whole free suite and the paid evals. Windows (Git Bash or MSYS) and Gemini models get minimal support: install and the core skills (/ship, /review, /qa-only, /investigate, /browse on gstack's own browser) work without errors, checked on Windows by the windows-smoke job, which replaces the six-shard suite as the required Windows check when it lands, and by hand or one cheap smoke run on Gemini. Windows-only and Gemini-only reports that don't break install, startup or a core workflow close as won't fix with a link to the page.
Documentation
docs/support-tiers.md: the two tiers, what we stop doing, the Windows CI shape today (the six-shardwindows-free-testssuite required on every pull request) and oncewindows-smokelands (windows-smokerequired, the six-shard suite nightly on main and non-blocking) and what doesn't change (eval models, the cross-family review voice).- README's platform notes and AGENTS.md's platform support section link to it.
[1.92.42.0] - 2026-11-01
A /ship review pass that only left notes now binds at Step 11.5. A pass whose findings were all fixed, deferred or noted has no open defect, but a driver could still log it as issues_found. Step 11.5 then refused it, and the only way out was an extra rebind pass (CAPY-2, qm#2837). When the tree changes during a pass, the refusal now names the start and end trees and the cheapest repair (GST-430).
Receipt carry and write handle results PRs with thousands of files (GST-448). A PR that adds about 8,300 run receipts (harness-evals#147) refused every carry with git could not compute HEAD's product patch-id: git diff … failed, and every base move cost it about 3 hours of /ship. The name-only listing ran past a 1 MB output buffer.
Fixed
gstack-ship-receipt carryandwriteread git's path listings with a 256 MB buffer instead of the 1 MB default, so a large PR'sproduct_patch_idis recorded and carried. The product patch-id streamsgit diffthrough a file under the git directory (.git/gstack-patch-id) intogit patch-id --verbatimand no longer holds the diff in memory; a directory a killed run left is removed after an hour. The per-path walk compares only touched paths that changed at either head or either base, so a 6,000-path PR refuses or carries in seconds.- /ship Step 1's carry check takes the scoped-review route (GST-442). When the base edited context next to a reviewed hunk,
gstack-ship-preflightnow printsNEXT: carry route: fix what the base merge broke, commit and push, write the packet, one fix-check, thencarry --scoped-review, instead of running the full loop.carry --dry-runwrites no packet and offers this route only when none of carry's other checks would refuse. - Step 16 names finish's scoped-review STOP and the
--docs-requestedfix (GST-444). Stage 2 sends a STOP that names a scoped-review packet to its fix-check and--context-reviewedrerun, and stage 3 offers a fix the audit's result named before a re-audit or a named risk. The RECEIPT_CARRY_PRODUCT_CHANGED fix text points to the scoped-review refusal. Trims in Steps 3, 12 and 16 keep ship/SKILL.md under its cap. gstack-tree-receiptfails closed (EVIDENCE_IDENTITY_UNKNOWN) when git cannot produce the diff between the gated and current heads, and names git's reason. Before, it read a failed diff as no changes.gstack-review-logrecords a completedrevieworreview-fix-checkrow claimed asissues_foundascleanwith zero counts when every finding's logger-stamped action isfixedorauto-fixed, ordeferredornotedon a finding markedblocking: falsethat is not CRITICAL, and the findings account for the claimed issue and critical counts. A skipped finding, a gate finding left open, a CRITICAL or blocking note, a finding with no action, or an incomplete pass keeps the claimed status.- Findings files (
--findings) countauto-fixedas resolved, the same asfixed, anddeferredornotedonly below the floor. Their gate rows are stamped like inline ones, so an unattended run's gate stays open whatever its status or disposition says. review_freshnessreads a claimed clean row as UNVERIFIED when a finding is a gate leftopen, a CRITICAL or blocking deferral or note, or any other unresolved CRITICAL finding.review_freshnessfor a pass whose tree moved now readscontent changed during review: the tree moved from <start> to <end> while <skill> ran …, followed by the repair: keep the checkout frozen until every reviewer returns, then rerun on the frozen tree (docs/troubleshooting.md#review-content-changed).
Tests
test/ship-rereview-triggers.test.ts: preflight on a founderstar-style adjacent edit prints the scoped-reviewNEXT: carry route, and its dry run writes no packet.test/ship-control-flow.test.ts: Step 1.4 and Step 16 stages 2 and 3 name the routes.test/ship-receipt-carry-large-diff.test.ts: a PR that adds 6,000 receipts under a long directory name writes a receipt with its product patch-id and carries across a base merge. Negative control: one rescored receipt still refuses withRECEIPT_CARRY_PRODUCT_CHANGED.test/review-notes-only-pass.test.ts: a pass with three notes is recorded clean and reads CURRENT. Negative controls: a skipped finding, an open gate finding (also under a caller's resolved status), a CRITICAL or blocking note, a note with noblockingfield, counts the findings do not cover, a finding with no action, and an incomplete pass keepissues_found. A claimed clean row with an open gate, a CRITICAL deferral, or a skipped or action-less CRITICAL finding is not CURRENT, while kept and restored gates, skipped advisories and an INFORMATIONAL deferral stay CURRENT. A--findingsgate row stays open in an unattended run. Also checks the reason a pass gets when its tree moved.test/ship-receipt-carry-large-diff.test.tsalso: the patch-id file lives under the git directory (an unwritable TMPDIR still carries; an unwritable spot refuses by name), and a stale directory is swept.test/train-gate.test.ts: a diff git cannot produce refuses the tree receipt with git's reason.test/ship-rereview-triggers.test.ts: a dry run the receipt would refuse anyway names that refusal.
[1.92.41.0] - 2026-11-01
The Ubicloud runner works on macOS and on a project with no VMs (#3680, #3679, #3678). On a Mac, gstack-ubi pack failed, so every sync, run and verify broke after the VM was already created, and gstack-ubi usage was a syntax error that also switched off the vCPU quota check. On any machine, an empty Ubicloud project made reap and every up die. All three were reported by Jared.
Fixed
packon macOS. macOS's tar read pack's options as file names and shipped an archive holding only.git. Pack now builds the archive in two steps that work with both macOS and GNU tar, and keeps macOS tar from adding hidden._*copies of files that carry extended attributes. (#3680)usageand the quota check on macOS. One line of the usage report was a syntax error for macOS's awk.usagenow also exits 1 instead of printing a partial count when Ubicloud can't list the VMs or read a size, and skips a VM destroyed between the two reads. When usage can't be read, the quota check retries whileUBI_QUOTA_WAIThas time left, then says so in the log and leaves the decision to Ubicloud. (#3679)reapandupon an empty project. An empty VM list was read as one VM named-, so they died withinvalid VM name '-'. (#3678)
[1.92.40.0] - 2026-11-01
A subagent's /ship cost now says it is an upper bound. A Capy subagent cannot read its own jam counter, so its /ship read "this", the root thread, whose counter also holds every sibling lane. BUDGET_FINAL and the notes printed that total as if it were the run's own cost.
Added
gstack-ship-budget start --meter-scope self|tree. A run started withtree, or with--subagent(orGSTACK_SHIP_SUBAGENT=1) and--reading-from this, is tree-scoped: every BUDGET, NOTE, BUDGET_FINAL and BUDGET_TIMELINE line it prints is followed byMETER: tree (root counter, upper bound).METER_SCOPE_PARENT. A subagent reading"this"that asks for--meter-scope selfis refused with exit 2 and the fix--meter-scope tree(docs/troubleshooting.md#meter-scope-parent).
Changed
- The Capy skill and docs/ship-budget.md tell a subagent to start with
--subagent --reading-from this --meter-scope tree, and say exact per-run cost comes from a root replay thread. The driver's Step 22 carries theMETER: treeline into the report.
Tests
test/ship-budget-meter-scope.test.ts: tree runs label every cost line, self runs print none, the refusal and its troubleshooting anchor, and the docs pointers.
[1.92.39.0] - 2026-11-01
A push to main no longer runs Free Tests and Windows Free Tests again on a tree its pull request already passed. 22 of 22 merges in 30 hours (Oct 27–29) reran both suites on the identical tree, about 66 Linux shard-minutes and 44 Windows minutes each. Now a reuse job, on main pushes only, finds the merged pull request, requires its head's tree to equal the pushed tree, and verifies that head's newest green pull_request or workflow_dispatch run with the same checks gstack-pregate clear --run uses. When it verifies, every suite job is skipped and the required check links the reused run. Anything else runs every job as before. The same verifier backs a new --from-run flag for the pregate tests stage.
Added
- Main-push reuse in
free-tests.ymlandwindows-free-tests.yml(scripts/ci-tree-reuse.ts, docs/pregate.md#ci-reuse). Thereusejob is the only one withactions: read, and it reads at most 10 pull requests and 10 candidate runs. A newer red run on the head vetoes an older green one. A run that reused another run never counts. Pull request and dispatch runs never consume, and a skipped or failedreusejob runs every job exactly as before. The requiredfree-testsandwindows-free-testsaggregates pick their path before any download, and the strict path is unchanged. tested-treerecords. Both aggregates uploadtree.jsononly after strict verification passes: run, attempt, event, sha, head, tree, workflow, OS list, every planned test file and the test count.gstack-pregate --stage tests --from-run <run id|url>(docs/pregate.md#from-run). The selected local test files a verified Free Tests run on this exact tree lists count as passed and are recorded underfrom_runwith the run receipt, and the rest still run. A refused run printsREUSE: refused reason=<code>and runs everything. It changes only the tests stage;--stage allstill runs every preflight check, the secrets scan included.- gstack's run profiles in
.gstack/pregate.json:ci-reuse/free-tests(the complete Free Tests run) andci-reuse/windows-free-tests. Neither is named after a lane, so macOS and Windows lane clears andgstack-ship-queue ready --dispatch-cikeep recording the run URL. Lane profiles and dispatch-ci verification wait until open pull requests carry thetested-treeproducer (GST-555).
Changed
- Run profiles may accept
pull_requestruns. Such a run counts only when itstree.jsonnames the head and the merge commit, and the merge commit's tree equals the head's tree, which means the head already held its base.tree.jsonmay list every OS its test jobs ran on, and the profile's OS must be one of them. free-durations-record.ymlgrants its Windows caller jobcontents: readandactions: read. That job callswindows-free-tests.yml, whose newreusejob asks foractions: read, and a called workflow can't hold more than its caller grants. Without the grant, GitHub rejects the scheduled duration run before it starts.- A run whose
tree.jsonlists no test files or zero tests never counts for--from-runor main-push reuse (no_tests).
Tests
test/ci-tree-reuse.test.ts: candidate discovery with fake GitHub data (pull request found or missing, unmerged, fork head, tree mismatch, reused record, newer red run veto, dispatch and pull_request candidates, the 10-run bound, API errors), thetree.jsonproducer, and the CLI refusing every event but a main push.test/ci-reuse-workflow-wiring.test.ts: both workflows. It covers the push-only reuse job and its permissions, each suite job's condition evaluated for a skipped, failed and successful reuse, and status functions on every downstream job. It also covers pregate still requiring every test lane, the aggregate's route step run under bash for each input, and the profiles naming real jobs and never a lane.test/cso-distribution.test.ts: thefree-testsaggregate still requirescso-docker-integrationon its strict path, and only a verified reuse skips that job.test/pregate-from-run.test.tsfailed on the old code.test/run-evidence.test.tsadds thepull_requestand OS-list cases andverifyFromRun, including the zero-test refusal, which failed on the old code.test/free-durations-record-workflow.test.tspins the Windows caller grant, andtest/ci-reuse-workflow-wiring.test.tsrequires every caller of either workflow to grantactions: read; it failed without the grant.
[1.92.38.0] - 2026-11-01
brain-sync no longer gets stuck in push_failed when another machine changed a file you have edited locally. After a rejected push, brain-sync fetches and merges the other machine's commits. Git refuses that merge when a file it would update has uncommitted local edits. brain-sync hid git's error and hit the same refusal on every run, so cross-machine sync stopped for good (#3704).
Fixed
- The retry merge sets aside local edits to the files it changes and puts them back (
bin/gstack-brain-sync). Other local edits stay where they are, file names are never read as patterns, and only the stash entry this run made is put back. A failed merge is aborted, so it never leaves conflict markers or a half-finished merge in~/.gstack. - When a local edit conflicts with the other machine's change, the other machine's version stays. The local edit is kept in a git stash. The status names the stash and the exact
git -C ~/.gstack --literal-pathspecs restore --source=<stash> -- <path>command that brings it back. A later sync never pushes the old local copy over the other machine's change. Files with a merge driver (*.jsonl, the union-merged plans) merge as before. push_failednow says why. It carries git's merge reason (for exampleCONFLICT (content): Merge conflict in developer-profile.json) and the real push error line instead of git'sTo <remote>banner.
Tests
test/brain-sync.test.ts: a dirty file the remote didn't touch, a dirty file the remote also changed (including a second sync and the restore command), local-delete/remote-edit, local-edit/remote-delete, a conflicting file whose name looks like a pattern, a file that never checks out clean, a stash push that saves nothing, and a committed conflict. Five of the eight fail on main.
[1.92.37.0] - 2026-11-01
- A Red Team finding that quotes
origin/<base>no longer stops/ship's review (lib/review-brief.ts, GST-797). The renderer checked each finished brief for unfilled slots like<base>,<diff-base>and<exclude>after the reviewers' findings and past learnings had been pasted in, so a finding that quoted one failed the render withBRIEF_RENDER_FAILED: red-team: unfilled placeholder <base>(seen on #3795). A quoted<diff-base>was also quietly swapped for the commit sha. The check now runs on the brief before that text goes in, and the quoted text reaches the reader exactly as written. A slot the section really leaves open still fails the render. A brief whose findings and learnings quote no slot name renders the same bytes as before.
[1.92.36.0] - 2026-11-01
/ship's review collector keeps every severity label again, so a blocker named after "no CRITICAL issues except" is no longer lost. v1.92.29.0 (GST-766) skipped any severity word that followed "no", "nothing", "none" and similar words, to stop a reviewer's closing line like "found nothing CRITICAL" from counting as a finding. That also threw away real blockers named in an exception clause: "No CRITICAL issues except the token leak in log.ts:3", "Nothing CRITICAL apart from the auth bypass (auth.ts:9)" and four more wordings collected nothing at all, so the gate never saw them. The collector now reads labels exactly as it did before v1.92.29.0. The reviewer's own Severity and Blocks fields are still recorded beside the label (stated), as in v1.92.29.0.
Known
- A reviewer's closing summary collects at its label again. Lines like "found nothing CRITICAL" or "Neither finding is CRITICAL." collect as CRITICAL, the same as before v1.92.29.0. They are known phantoms. Each stays CRITICAL in the judged set (lead judgment can fold it only into a finding at least as severe), so it counts toward what blocks. A lost blocker costs more than an extra one.
Tests
test/review-dispatch.test.ts: the six exception-clause wordings collect CRITICAL for every reader. GST-766's test that a negated label collects nothing now checks that each of those lines keeps its label. GST-435's label-keeping probes (table rows, FIXABLE, negated subjects, closing summaries kept as known phantoms) are added with their HARN-15 and GEVA-77 fixtures undertest/fixtures/review-ledger/.
Docs
docs/review-policy.md(collect) says a negated severity word still collects at its label.
[1.92.35.0] - 2026-11-01
- A
.gstack/pregate.jsonthat only raisestimeout_sno longer changes lane verdicts,warn: ["lanes"]no longer lets a failing test pass, and a[]declaration no longer skips a deleted test's suite (GST-775, from gbrain-evals #272 and GBEV-22).- Before, any policy file, even
{"timeout_s": 1800}, made a touched file with no test lane a hardPREGATE_NO_LANEthat stopped before any test ran. Now only a policy that declares lanes (adependencies,empty_lanes,selectionorlocalkey, even an empty one) does that. A policy with none of them keeps the no-policy verdict:warnPREGATE_NO_POLICYwith a starter, the selected tests run, and a red test is stillPREGATE_LANE_FAILED. A hand-written policy that sets onlyrunner,guards,strays,allowlistorremote_gatemoves from the hard failure to that warning; adddependenciesto keep unmapped files failing. See docs/pregate.md#lane-requirements. warn: ["lanes"]used to downgrade the missing-lane failure before the tests ran, so a red test beside an unmapped file passed. Now the selected tests run first. A red lane isfail, an unfinished oneincomplete, a test only a platform lane runs staysrequires-remote, and only a green run becomeswarnPREGATE_NO_LANEnaming the unmapped files.- A
[]declaration that matches a deleted test (the"**": []catch-all) used to clear it before the removed-test handling, so its owning suite did not run. Now the deleted test still runs its owning suite, and a file naming it that a[]covers, such as a durations list, counts as covered.
- Before, any policy file, even
[1.92.34.0] - 2026-11-01
gstack-ship-queue wave planno longer packs the whole READY queue into one area. Shared files now link two PRs into one group only whengit merge-treefinds a real conflict between them in a code file or skill template. PRs of the same area still pack together as before. Docs, other Markdown and JSON ledgers never link PRs, since most PRs add to them. Before, any shared file linked two PRs, sodocs/troubleshooting.mdand a few ledgers chained 55 READY PRs into eight waves all labeledsetup. With this change, the 57-PR queue later that day gives five groups split by area. A READY head whose CI is red or still running now printsNOT_GREEN: #<n> (...)and stays out of the plan, asreadywould refuse it. A head whose CI cannot be read fails the plan withQUEUE_PROOF_MISSING, the same as an unreadable PR. Renamed files are compared by their real paths (GST-770).
[1.92.33.0] - 2026-11-01
Eleven flaky tests from the 2026-10-31 flaky pass stop failing correct runs, and six more now name their cause when they fail. Three paid detectors missed correct replies, one product script copied a file git was rewriting, and the free-test reds came from a binary's slow first launch on a fresh Windows runner, a fixture written in two steps and a cleanup that raced the runner's own scanner.
Fixed
scripts/ubicloud/ubi-runner.sh:packcopies the live.git/indexwithcatinstead ofcp. Git renamesindex.lockover the index, and GNU cp 9.4 then fails with "replaced while being copied" (Free Tests 41073582974). A loop that swaps the index during 300 packs failed 10 times before and 0 after.- Windows cold first launch (
test/helpers/warm-first-exec.ts):test/land-and-deploy-flow.test.ts,test/skill-positional-literals.test.ts,test/team-init-hook-shell-neutral.test.tsandbrowse/test/cookie-import-node.test.tslaunch jq, awk or PowerShell once, unasserted, before the timed calls. On 12 fresh windows-latest VMs (run 41205346554) a first launch cost jq 60-250 ms, awk 190-290 ms and PowerShell 1.7-3.1 s more than a warm one, and in every red the file's first launch was the call that hit its kill (Windows Free Tests 41195098239, 41196095371, 41175329114, 41174352235, 41175308095, 41187420609, 41152107410). Every timed call keeps its kill. browse/test/terminal-agent-publication-lock.test.ts: the preload writes itsreadyfile to a temporary name and renames it, so the kill hook never parses a half-written file (Free Tests 41156375412).test/qa-only-browser-probe.test.ts: on a Windows EBUSY the cleanup asks Restart Manager who holds browse.exe, waits up to 5 s only when the holder is outside the test (the runner'sprovjobd.exe), then removes once more; a test-host holder or a second failure throws with the owners named (Windows Free Tests 41068546881, 41172879765).test/strict-output-settlement.test.ts: the missing-close case gives its child a 2 s wall instead of 150 ms. It asserts no elapsed time, and a child on a loaded Windows runner took over 150 ms to exit (Windows Free Tests 41164892775).
Gate integrity
- plan-design-with-ui-scope (
test/skill-e2e-plan-design-with-ui.test.ts): the focus question also counts when its "All 7" option carries a letter, as in "A) All 7 passes" (paid gates 41178131219 and 41186376825). Both questions are saved as fixtures; the phrase not leading the label, a 4/7 rating and a label without "focus" still count zero. - review-coverage-audit (
test/helpers/coverage-audit-evidence.ts): a grep display over two or more literal files after the reads no longer voids the whole call (gate 41149166998). An option, a substitution, a redirect or a tampered read still gets no credit, and a quoted file name with a space stays one operand. - tpa-absent (
test/helpers/third-party-actions.ts): the passive pitch's negation check covers only the clause that holds "can be downloaded", so "Aside is not installed but can be downloaded at aside.com" counts once; "cannot", "never", "not something that" and "is not available to download" still count zero. The clause scan is linear: 112 KB of model text takes about 0.2 s, not 7 s.
Changed
- Seven tests and helpers gain diagnostics so the next red names its cause. The workflow judge records response bytes and the time of the last byte, so a silent socket and a model thinking on a live connection look different (gate 41185637598);
test/gstack-ship-queue.test.tskeeps the refusing call's stderr; the ship-budget harness names a call that ended without an exit code;test/helpers/plan-review-board-feedback.ts,test/team-init-hook-shell-neutral.test.tsandtest/ship-hook-windows-paths.test.tsprint each step's or spawn's time; the ios-qa loopback tests use a listener that drops every connection and a 10 s proxy timeout, so a stuck hop fails as a named 504 instead of a bare 30 s test timeout.
[1.92.32.0] - 2026-11-01
Four flakes from the 2026-10-29 flaky pass stop failing correct runs. Three free-tier tests failed on harness timing (a half-written marker file, a Windows kill that left a process tree behind, a hook kill set at 5 s), and the plan-devex-finding-floor paid case waited out 600 s after a provider error. Each repair has a free test that fails without it.
Fixed
browse/test/xvfb.test.ts: the welcome marker is written withatomicWriteSync, so the test never parses a half-written file (Linux Free Tests 40791645916 and 40847105381: "JSON Parse error: Unexpected EOF").test/ship-publication-gates.test.ts: each publication block runs under a 27 s case deadline, below bun's 30 s test timeout. A block still running at the deadline, or one whose background child still holds its output, is killed with its whole process tree before cleanup, and the error names the stage and what the earlier stages took. Four Windows runs (40803875149, 40820968738, 40823026209, 40826743317) hit bun's timeout, which killed only the bash child, so cleanup failed with EBUSY and hid the timeout.test/hook-scripts.test.ts: a hook that is killed or cannot spawn throws with its signal and elapsed time instead of reading as exit 1. Three Windows runs (40792942747, 40805828986, 40816343665) went red at 5.0 to 5.17 s, which was the old kill.- plan-devex-finding-floor (
test/helpers/pty/screen.ts,test/helpers/pty/runners/floor.ts): the floor runner stops at an idle plan-mode turn and reports a provider error ("API Error: Connection lost mid-response", paid run 40851840940) asapi_error, instead of waiting out 600 s asobserver_timeout. A question already on screen is assessed first, and the idle screen must hold still for 10 s, so a question is still credited even when its transcript line lands late. The plan-mode footer counts as idle only without its running "esc to interrupt" segment.
Changed
browse/test/cookie-import-native.test.ts: when the real Playwright pipe smoke never reachescookie_read, the failure names the worker's reply and Playwright's launch error. The same failure repeated on PR #3606's Free Tests run 40888372424 (shard 10).
Gate integrity
test/hook-scripts.test.ts: the hook spawn kill moves from 5 s to 25 s (HOOK_SPAWN_TIMEOUT_MS), under bun's 30 s per-test timeout. Measured from the shard logs of 77 Windows Free Tests runs on 2026-10-29 (40811056776 through 40888378463): 10,608 passing check-careful tests, p95 0.98 s, p99.9 1.85 s, max 4.22 s; the file's first hook test p50 1.54 s, p95 2.14 s, max 4.22 s. The old 5 s kill sat 0.8 s above the slowest pass, and the one red in that set (40816343665) stopped at 5.00 s, the kill itself. 25 s is about six times the slowest pass and stays under bun's 30 s per-test timeout, so a stalled hook is reported by the harness with its signal and elapsed time instead of by bun's generic timeout. The kill lives only in the test (no product code reads it), no test asserts a duration, and the file still runs 266 tests at base and head. A hook slowed into the 5 to 25 s range no longer fails this file.scripts/harness-version.json:test/helpers/pty/runners/floor.tsandtest/helpers/pty/screen.tsare recorded as non-behavioral at HARNESS_VERSION 6, so no pass-rate series resets. The floor runner ends onapi_erroronly after the idle screen held still for 10 s with no question to credit, and an idle turn with no question stays idle. Such a trial failed before asobserver_timeoutat the deadline and fails now, earlier, asapi_erroror with the idle-turn summary. A running footer still waits for the deadline. The session ledger can now recordfailure_causeapi_errororrefusalfor such a session, whilefailure_classand pass rates stay the same.test/ship-publication-gates.test.ts: the per-block 30 s spawn timeout becomes one 27 s deadline for the whole case, setup included, with a process-tree kill.
Tests
- Unit cases for the idle plan-mode turn end with negative controls (a running footer, extra footer text, a cut footer), a
planModeApiErrorIdlecapture intest/fixtures/pty-idle-turn-end.json, a POSIX case where a prose finding question printed before the error panel is still credited, also when its transcript line lands after the screen goes idle (it failed asapi_errorbefore the reorder), and a POSIX case where a block's background child holds its output past the deadline (it hung 30 s before the fix).
[1.92.31.0] - 2026-11-01
Nine paid ship rule-case flakes from the 2026-10-29 window stop failing correct runs. Six qa-callers trials and five ship-docsync trials failed on calls the declared interface could not tell apart from a violation, or on a turn budget the actor spent out of order. Each was replayed from its retained capture, and each repair has a free test that fails without it.
Fixed
- qa-callers fixture prompt (
test/helpers/qa-callers-fixture.ts): the parent is told that a child starts in the product directory, to write each command exactly as it must run (no "in" paraphrase, cdorgit -C) and to name each file the child reads as one literal path. Six trials across late-input, plan-checks and small-cli had a child rungit -C <dir> difforcdinto the checklist directory after a paraphrased prompt. The ship caller's scheduling contract now lists Step 9's review-plan command and gate-scan block with the first diff discovery: three late-input trials hit 25 of 25 turns after running the gate scan only after the receipt, or never. The detector is unchanged. - ship-docsync detectors (
test/helpers/docsync-observer.ts): a declared read command given--helpcounts as a read that reads nothing, with its operands still checked (current, completion and store trials joinedcat <candidate> --help). The wrong-path exit-127 excuse covers the docs cap gate (gstack-ship-receipt docs-caps) when the declared path then runs (stale-after). A line whose first unpipedcatprinted the whole phase file still counts as reading it when a later separator failed under zsh (failure). - ship-docsync-completion (
test/helpers/docsync-contract.ts): only the accepted docs attempt is held to the strict completion contract; an attempt the parent rejected and re-audited reports only its id, status and edited files.
Gate integrity
test/helpers/docsync-observer.ts: three acceptances widen, each pinned to its captured run with negative controls (redirects, pipes into the read, chained mutations,cd, wrong subcommands, a binary present at the wrong path, a truncated or errored read).test/helpers/docsync-contract.tsandtest/skill-e2e-ship-docsync.test.ts: an earlier rejected docs attempt is no longer parsed with the accepted attempt's strict contract; a malformed earlier report still throws, and the accepted attempt stays strict.
[1.92.30.0] - 2026-11-01
The free suite's shards finish closer together: slow test files are split and the packer plans from fresh timings. The committed duration seed was missing more than a hundred free test files, so CI guessed the same time for every shard and the slowest shard ran far past the mean. No product code changed. Every split file runs the same tests as before.
Changed
- Split free test files. Each of these went over the 60 s seed ceiling and is now two to five files, with test bodies moved unchanged and shared setup moved into
test/helpers/:test/host-renders-prune.test.ts,test/ship-queue-train.test.ts,test/claude-overlay-setup-lifecycle.test.ts,test/claude-overlay-setup-installs.test.ts,test/setup-codex-scope-namespaces.test.ts,test/setup-codex-scope-review-boundaries.test.ts,test/docsync-fault-interface.test.ts,test/shared-libs-checker-interface-evidence.test.tsandtest/ubicloud-runner.test.ts. The last one was 127 s and is now five files of 16 to 31 s, with its fake Ubicloud API and fake VM intest/helpers/ubi-runner-fake-vm.ts. - Windows lane.
test/gstack-doctor.test.ts, the Windows lane's longest file, is now three files. - Duration seeds.
scripts/free-test-durations.json(1,470 Linux files) andscripts/free-test-durations-windows.json(822 curated Windows files) were re-recorded at this branch byfree-durations-record.ymlrun 41229924108. Linux files over 5 s recorded a median 1.26x slower than this branch's earlier recording on 2026-10-29 (run 40818261447). A second recording, run 41226501374, matched that at 1.29x, so the slowdown is the runner's current speed, not one noisy run.
Gate integrity
scripts/free-test-seed-allowlist.jsonis unchanged from main.test/setup-codex-scope.test.tsstays on it at 77 s. No entry was added.scripts/lib/windows-curation.tsgives each new part the same Windows scope as the file it came from.test/ubicloud-runner-tiers.test.tsgets an explicit exclusion, because its shims now live in a helper the source scan doesn't read.test/test-of-test-ratchet.test.tslists the split files whose product reach now lives in a shared helper, each with its reason.scripts/typecheck-test-baseline.jsonmoves one known diagnostic, with its code, intotest/helpers/shared-libs-checker-evidence.ts.
[1.92.29.0] - 2026-11-01
/ship's review collector no longer turns a severity word in a negation into a finding. A fix-check reader that closed with "found nothing CRITICAL" was recorded as a CRITICAL finding with no file or line, and the judge can't drop a finding, so the run carried a phantom blocker that could stop the review loop at its cap (GST-766, from GEVA-92 on gstack-evals #108). A label right after "no", "nothing", "not", "none", "zero", "without" or "never" (optionally followed by a word like "new" or "remaining", and through Markdown emphasis or brackets), and a label joined to it by a comma, a slash, "or", "nor" or "and", now counts as no finding. A label that opens a field ("High: …") is still collected, and a prose finding worded around a negated label still arrives through its Severity or Blocks field.- Each finding
/shipcollects now keeps the severity and Blocks its reviewer wrote (statedin merged.jsonl), and a deferred-review issue for a finding that carries them shows them next to the collected label, as in "CRITICAL (the reviewer wrote Severity: Low, Blocks: no)". Step 9.4 doesn't copystatedinto its findings file yet, because that instruction lives in a reviewer brief that can change only after a no-loss replay. HARN-1 and GSTA-135 saw FIXABLE findings collected as CRITICAL while the reviewer's text said "Severity: Low. Blocks: no.", and nothing in the run showed the disagreement. What blocks a review pass is unchanged.
[1.92.28.0] - 2026-11-01
A PR reviewed before #3654 keeps its /ship receipt after it merges main and moves its entry into changelog.d/ (GST-343, #3606). #3656 taught carry that a fragment is release metadata, but the base merge also brought in changelog.d/README.md. Carry counted that README as a product change, dropped the fragment rule for the whole range, and refused with RECEIPT_CARRY_PRODUCT_CHANGED although the product patch-id was unchanged.
Fixed
- Only the branch's own changes turn release-metadata paths back into product (
bin/gstack-ship-receipt). A metadata path whose change is not a stamp still counts as product when the branch changed it against the base. A change a base merge brought in no longer does, because its patch against the base is the same at both heads. A README edit the PR makes itself is still refused. Replayed on #3606 (49666bc8 to e28bb62): carry now reports "base merge + release metadata".
Tests
test/gstack-ship-receipt.test.ts: the fragment carry case now addschangelog.d/README.mdon main together with the policy, the way #3654 did. It failed before this fix with RECEIPT_CARRY_PRODUCT_CHANGED.
[1.92.27.0] - 2026-11-01
/ship on Capy no longer spends calls reading its review sections. In the GSTA-193 replay of PR #34 (C1-34), 13 of 42 parent calls only read part of a section (review-army.md, the core checklist, Steps 8.1-8.2, adversarial.md, documentation.md) or ran a step that belonged in the next program. Each phase program now ends by returning the next phase's sections, unchanged and split at headings, in the space its own 32 KB return has left. What reviewers see, which reviewers run, their depth and the blocking floor are unchanged.
Added
gstack-ship-parts next --run <run dir> --phase <n> --room <bytes>returns the section parts the next phase uses, in run order, each byte once per run. A part due before that phase that did not fit is named, withNEXT: partsand the one call that fetches it. review-army.md, adversarial.md, documentation.md and review/checklist.md are covered whole, and Steps 8.1-8.2 of plan-completion.md exactly. A renamed split heading stops the run with the heading and file named.- The Capy pass program adds those parts to each poll and finished-pass return once Phase 2 has started them, so Phase 4's judgment and Step 11's synthesis need no read call of their own.
Fixed
- Step 14.5 runs through the pass program.
gstack-review-dispatch pass --audit-onlymakes the docs reader the whole pass, with no reviewer plan, and the program uses it whenstepis14.5. Before, the driver named a one-reader program the bin could not build (GSTA-196 replay of PR #36). - Decision 3.5's fix-check runs through the pass program.
gstack-review-dispatch passnow builds a fix-check plan, rendering the reader from--fix-list,--hunks,--testsand--callers, byte for byte the briefrender --role fix-checkwrites. The program takes them asfixCheckand runs the plan's voices in the same call. Before, the parent walked the fix-check by hand. - Step 11's budget note counts only Step 11. The voices stage keeps its own starting reading (
mark --before … --voices). Before, it reused the pass's reading, so the GSTA-196 replay's Step 11 note showed 16.64M tokens against 4.17M of real growth. gstack-ship-budget calls --events ~/…finds the file. A leading~or~/now means the home directory. Before, a literal~from a transcript path failed the read, so the run reported noCALLS:line (gstack-evals#94, GST-438).- A repeat pass reads the range, as the sections say. The pass program takes
diffBaseand passes it as--diff-base; the driver and the Capy loader set it to RANGE_BASE on pass 2 and later, so specialists, the Red Team and Step 11's voices getDIFF_BASE=<RANGE_BASE>byte for byte asrenderwrites it. The targeted reader keeps the merge base. Before, every pass read the whole branch. The GSTA-197 replay's pass 2 re-sent pass 1's brief and its readers used 10.42M tokens against pass 1's 4.68M. - Step 11 records a start for each row it logs. Two
logStartentries for one skill (the native and outsideadversarial-reviewrows) now each take their owngstack-review-log --starttoken. Before, the second was dropped as a repeat. - The pass finds its fork point against origin/, as preflight does. With no local
main, or one behind origin/main,gstack-review-dispatch passused to stop on "no merge base" or review from the stale branch. It now triesorigin/<base>first, the wayrenderand preflight already do (GSTA-198 replay). - A section return that never reached the parent can be fetched again.
gstack-ship-parts nextnow marks what it returns as sent, the next call promotes it, andnext --resend(the pass program'sresendParts) sends it again. ItsPARTS:andNEXT: partslines count against--room, the run directory in theNEXT: partscommand is shell-quoted, a corruptstate.jsonstops with its path, and Step 11's sections are due by Phase 4, where Step 11 runs. The pass program keeps its lastNEXT:line when its return is capped and printsPARTS: skipped (…)when it finds no parts state. Before, a lost or capped return dropped section text or the next step without a trace (PR #3670 review). - A scoped repeat pass leaves its fix-check to Step 3.5. After main's GST-619, a scoped pass stages its readers on the fix range and names its fix-check outside the manifest; the pass program takes
fixCheckfiles only on afix-checkstep. The driver and the Capy skill passdiffBaseon a full repeat pass only, so a scoped pass's pending Step 11 voices keep the merge base and only its Red Team reads the fix range.
[1.92.26.0] - 2026-11-01
/retro shows which skills fought you this week: a "Friction by skill" row lists the top three skills by questions asked, errors and aborts in this project. Before, /retro counted skill runs but said nothing about which skills caused back-and-forth, so a skill that kept stopping to ask questions or kept failing never showed up in the report you use to decide what to fix next.
Added
gstack-retro-metricsprintsFRICTION:lines (top three skills, with runs, questions, typed answers, errors and aborts) plus aFRICTION_SOURCES:line, computed bylib/retro-friction.tsfor the exact retro window. Runs and outcomes come from this project'stimeline.jsonl, which is written on every run whether or not telemetry is on, unattended sessions included. Questions come from this project's question log when question tuning is on; when it is off, the row says questions are not tracked instead of showing zero. Only outcomes actually recorded as error or abort count, machine-made answers are not counted as questions, and questions the Claude Code hook logs without knowing which skill asked are left out, so no question counts twice and no/unknownrow appears. Another project's logs never count. If Bun is missing or the helper fails, the script printsFRICTION: unavailableand the rest of the metrics are unchanged.- /retro shows a "Friction by skill" row when any skill had friction in the window, for example
/ship 7 in 12 runs (4 questions, 3 aborts).
Changed
- /retro's optional-input notes are shorter: each one says "Read the path it prints" instead of repeating the path, which keeps /retro's always-loaded prompt under its size cap with the new row.
Tests
test/retro-friction.test.ts: window edges, explicit outcomes only (the stop hook'sunknowncompletions are ignored), hook rows taking precedence over agent rows, hook rows with no skill left out, repeated tool calls, machine answers, unsafe skill names, malformed lines, ties and the top three.test/gstack-retro-metrics.test.ts: a project with both logs plus another project's timeline (not counted), an empty prior window, and a failingbunthat still ends withRETRO_METRICS_END: ok.
Thanks to @thesohamdatta for the idea in #3417. This is a new implementation; no code from that PR was used.
[1.92.25.0] - 2026-11-01
- In a repository that merges the base during
/ship(anyqueue_modebutstamp-at-merge), Step 3 now stops by name when an earlier merge, cherry-pick or revert is still unfinished (STOP: an unfinished cherry-pick is in progress (CHERRY_PICK_HEAD): …), with any conflicted files listed, and runs nogit merge. Conflicted files left with no operation in progress, as after a conflictedgit stash pop, stop with those files named instead of a merge message. Before, both fell through togit merge, so on a machine whose shared-tree guard refusesgit merge, the guard's refusal was the only message (GST-732). A branch or tag namedMERGE_HEAD,CHERRY_PICK_HEADorREVERT_HEADis not mistaken for one. The ship skill's Step 3 now names theMERGE: up to dateoutcome.
[1.92.24.0] - 2026-11-01
/shipcan finish after the owner accepts a Step 14.5 documentation risk.gstack-docs-candidate snapshot --exception .gstack/tmp/docs-audit.jsonwrites the post-audit snapshot from the blocked record, naming who accepted it, the date, how and the base SHA, andgstack-ship-release finishprints that exception on itsDOCS:line. Finish still stops on a blocked audit with no accepted exception, and on an exception snapshot whose docs-audit record no longer carries it (GST-713).
[1.92.23.0] - 2026-11-01
- OpenClaw and Hermes: opt-in start hook.
gstack-harness register openclaw|hermes --start-hook(orgstack-config set harness_start_hook on, orGSTACK_HARNESS_START_HOOK=1) adds agstack-startplugin that puts a one-line note on every user turn telling the agent to run a gstack skill's start command as written. Agents in these harnesses read gstack's skills but ran that command on 1 of 29 chances. gstack turns the plugin on through each harness's own CLI, checks that it is active, and exits 4 when it is not. It is off by default, the choice is saved across upgrades, a plugin you disable in the harness stays off, and--no-start-hook, unregister and uninstall take it out. See docs/hosts.md#start-hook.
[1.92.22.0] - 2026-11-01
gstack installs into Gemini CLI, and installs made before v1.91.231.0 finally drop the test and eval packages they never needed. ./setup --host gemini puts every gstack skill in ~/.gemini/skills, where Gemini CLI 0.66.0 lists them (#1247). Separately, ./setup used to treat any checkout that had TypeScript installed as a contributor's, so every install made before v1.91.231.0 (which ran a full bun install) kept about 510 MB of dev packages in node_modules forever (#3447).
Added
- Gemini CLI host (experimental):
./setup --host gemini(aliasgemini-cli;--host autopicks it only whengeminiis on PATH) linksgstack-<skill>directories into~/.gemini/skillsplus the~/.gemini/skills/gstackruntime root. The render goes to.gemini-cli/with frontmatter names that match their directories,CLAUDE.mdread asGEMINI.md, and a tool glossary for Gemini CLI's tool names and for Antigravity CLI, which can read the same folder. Ask for a skill by name (gstack-office-hours); Gemini CLI loads it withactivate_skill.gstack-uninstallremoves only gstack-managed entries there, so your own skills stay.--local --host geminiis refused with a note that Gemini CLI loads workspace skills only in trusted folders. docs/ADDING_A_HOST.md lists the verified facts. - An explicit contributor marker:
bin/dev-setuprunsgit config gstack.contributor true, andGSTACK_CONTRIBUTOR=1marks a single run. A marked clone keeps the full install on every./setup.
Changed
- An unmarked clone that still has the dev toolchain moves to production dependencies once. setup takes a lock in the checkout, moves
node_modulesaside, installs production dependencies, checks every runtime package resolves, then deletes the old copy. If the install fails, the fullnode_modulesgoes back and setup printsSETUP_DEPS_MIGRATE_FAILEDwith the cause; nothing is removed and the next./setuptries again. CI, and a checkout whose git config cannot be read, never migrate. On a real installnode_moduleswent from 1079 MB to 569 MB. Bun's shared package cache is left alone, because other projects can read it through symlinks.
Tests
- test/setup-production-deps.test.ts: the marker (git config, env, CI, unreadable git config), the one-time migration and its no-op rerun, restore on a failed or unverified install, recovery of an interrupted move, the lock, an untouched Bun cache, and a real-Bun fixture for a marked and an unmarked clone. test/uninstall.test.ts: Gemini CLI entries removed, the user's own kept. Host config, conformance, install-registry, render-prune and runtime-root tests cover the new host.
[1.92.21.0] - 2026-11-01
The PR and train path check out blobless clones, and the history reads they gate on fail loudly instead of reading a failed fetch as "absent" (GSTA-203 PR 5). Free Tests' plan job, the Version Gate and E2E Evals' route, screen summary, planner, slices, reruns, bisect and report checked out every file of every commit (about 232 MB) to read a handful of old files. They now check out with filter: blob:none (about 17 MB), and git fetches an old file's contents the first time something reads it.
Changed
- Blobless checkouts (
filter: blob:none) infree-tests.yml(free-plan),version-gate.ymlandevals.yml(route, screen-summary, plan-slices, eval-slices, eval-rerun, train-bisect, slices-report). The release, CSO, periodic, marathon, sweep and recorder workflows and the main backstop keep full clones.test/ci-history-read.test.tsnames each with its reason and fails on any other full-history checkout without the filter, printing the file and line to fix. - History reads fail loudly. The train-policy reads in the route and backstop jobs stay inline (git and jq only, so no repository code decides whether a PR push starts paid work). The Version Gate's base
VERSIONread goes through.github/scripts/history-read.shfrom the gate's merge-commit checkout, and its train classification through the TypeScript twin,lib/history-read.ts, which also lists the merge base's changed files without rename detection so that diff needs no file contents. Each one checks existence withgit ls-tree, reads withgit show(3 tries in a partial clone) and fails withHISTORY_READ_FAILEDnaming the ref, the path and the git version (docs/troubleshooting.md#history-read-failed). A file that is really absent keeps its old meaning. A ship policy that is not valid JSON now fails the route and backstop jobs instead of reading as "no train". The Version Gate goes red whengit fetch origin <base>fails 3 times instead of carrying on.gstack-restampandgstack-ship-queue landread the base branch's CHANGELOG the same way, so a read that fails stops them withHISTORY_READ_FAILEDinstead of treating the base as having no released sections. - The eval image asserts partial clone support.
.github/docker/Dockerfile.cimakes a blobless clone and fetches a missing blob at build time, so an image whose git cannot do that fails to build.
[1.92.20.0] - 2026-11-01
/retro global now sees Kimi Code, OMP and Antigravity sessions (#2917, #1977). gstack-global-discover scanned only Claude Code, Codex and Gemini. A week spent in other agent CLIs went uncounted, and nothing showed a zero to notice.
Added
- Kimi Code (
~/.kimi-code/session_index.jsonl, window bystate.jsonupdatedAt, repo by workDir) and OMP (~/.omp/agent/sessions/*/*.jsonl, window by file mtime, repo by the cwd in the session file;~/.omp/logsis never counted) are counted per repo. - Antigravity (
~/.gemini/antigravity-cli/conversations/*.db) is counted by the later of each database's and its-walfile's mtime. Its sessions count intotal_sessionsbut belong to no repo, because the CLI stores the working directory inside an undocumented blob.
Changed
- One scanner registry drives the JSON, the summary and the stderr line. Every registered tool appears in
tools, zeros included, with alabel. Antigravity's entry carriesunattributed: true. Existing keys (claude_code,codex,gemini) keep their paths, and each repo'ssessionslists every attributed tool. - /retro global builds its session counts and Tool Usage Analysis from that list. A tool missing from an older saved retro counts as 0.
Thanks to @richardiitse (#2917) and @Akagilnc (#1977) for the reports and the store layouts.
[1.92.19.0] - 2026-11-01
On Linux and Windows the renderer goes straight to gstack's own browser instead of asking for Aside (#2864). probeAside() in lib/aside-render.ts, used by /make-pdf, /diagram and gstack-render, used to run aside --version on any platform. When that failed it told the user to install a browser that only ships for macOS. Off macOS it now answers NEEDS_ASIDE with "Aside is macOS-only (this is linux)", without starting a process, and the renderer moves on to gstack's own browser. macOS behavior and GSTACK_SKIP_ASIDE=1 are unchanged.
Changed
probeAside(timeoutMs, platform)takes the platform, which defaults toprocess.platform. The fake-CLI probe tests passdarwin, so they still run on Linux CI.
Thanks to @furkankoykiran for the report. The bash readiness block inside browsing skills already prints NEEDS_ASIDE: Linux and is unchanged.
[1.92.18.0] - 2026-11-01
install.sh --project(throughgstack-capy-install) resolves the directory it names to its git toplevel, which is where pregate admission looks for the install verdict.--project <repo>/<subdir>now writes, and reads pins from, the same place as--project <repo>, so a Bun pin declared only in a subpackage no longer applies. A value that isn't a directory, such as a repo slug or a directory this shell can't enter, is a usage error that asks for the checkout's path, and it stops before anything is cloned or installed. Before this change, a slug or a subdirectory keyed the verdict somewhere admission never looks, so a later pregate admission check read a stale verdict (GST-743).
[1.92.17.0] - 2026-11-01
gstack-review-dispatch passtakes the readers' diff base from the merge base withorigin/<base>, the same base the review plan scores and the targeted reader checks. Before, a local<base>branch that laggedorigin/<base>gave every brief the stale merge base, so reviewers read upstream commits the branch only inherited (GST-716).
[1.92.16.0] - 2026-11-01
/ship no longer pays for a second review loop when only main moved, a test file changed, or the docs audit's own requested fix landed. Each of these used to count as a product change: a base merge after review (ROUTE: … behavior=86 on gbrain #7739), main rewording the line next to a reviewed hunk (#3631, founderstar#441), a test-only fix (gbrain #8084), and a one-line index link the audit asked for (gbrain #8087). Each one cost another ~$19 loop or an owner's documentation exception. A real product change still sends the PR back through the full loop (GST-407, GST-384, GST-391).
Changed
gstack-ship-release finish --reviewed-base <sha>(the merge base /ship now saves with the reviewed tree) compares the branch's own patch per path. Paths only the base moved count asbase=. A test code edit that only adds lines, with no gate edit (a skipped test, a snapshot or a relaxed gate value), counts astests=: one fix-check reviewer reads its test hunks in the scoped-review packet, and the lanes rerun it, instead of the full loop. No test edit skips review. Name-only test conventions (test_*.py,*Test.java,*Tests.swift) count only under a test directory, so a product file named like a test takes the full loop. A removed or changed line, such as a weakened assertion, or a test file the scan cannot read still goes through the full loop. Without the flag the route is unchanged and printsbase=unknown.- A version stamp after review counts as release metadata.
finishused to read a slot stamp instamp_filespaths (a plugin.json"version"line, a stamp comment in a doc) as a behavior and docs change, so it stopped for the loop (ROUTE: … behavior=8 docs=5on gbrain #8095). Astamp_filespath whose only edit swaps the old version for the new one, under a built-in form or astamp_patternstemplate, is now metadata, the same rule the tree receipt and carry use. Any other edit to that path still stops. - Adjacent base edits get a scoped review, not the full loop. When the branch's +/- lines are the reviewed ones in the same places and only context lines the base edited differ,
finishstops withcontext=Nandgstack-ship-receipt carrywithRECEIPT_CARRY_SCOPED_REVIEW. Both write a packet with just those hunks. A packet section over 200 lines is too large for one reviewer, so that path takes the full loop instead. After one fix-check reviewer comes back clean,--context-reviewed <record>orcarry --scoped-review <record>continues, and the carry reason names the reviewer. The same lines moved somewhere else are still a product change. - Docs audit freshness ignores test code and paths only the base moved.
--docs-requested <path> --docs-result <audit result>carries a fix the audit's own result asked for when its blockers or decisions name that exact path, the edit is at most 5 lines, and the doc caps still pass. gstack-docs-candidate attempt <child output> --state <file>says whether an audit launch counts against Step 14.5's budget. A launch the child's install check refused is not counted, once per invocation. A second refusal stops for the install fix.
Tests
test/ship-rereview-triggers.test.tsreproduces each trigger and runs the negative controls: a product edit, a changed conflict resolution, the same line moved to another place (with and without a base change), a skipped test, and product files namedcafé.tsand[id].ts.
[1.92.15.0] - 2026-11-01
bump: minor
- Plan reviews check facts and keep one task list.
gstack-plan-reality checknow opens everyfile:linereceipt and reports a missing file or out-of-range line asREALITY_RECEIPT_UNRESOLVED(#973). The /office-hours spec reviewer reads the repository, checks command flags throughgstack-office-hours-review probe --help <command>(gstack bins that handle--helpand a short list of common CLIs with their built-in subcommands only, run without your keys or tokens and never from a repository-local path; everything else is refused withOFFICE_HOURS_PROBE_REFUSED) and writes out the arithmetic behind any number it questions (#973). A plan-review rerun reconciles the last task list through the newgstack-tasks(prior,add,supersede), with task text written to a file rather than a command line, an empty list now means "ran, no findings", andaddrefuses while an earlier task is neither carried nor closed, so /autoplan's aggregate no longer drops an open task or shows a stale one (#1791). - /office-hours saves the approved wireframe beside the design doc and names it on a
Wireframe:line, and /plan-design-review finds the design doc and rates the plan against that image (#340). /plan-eng-review and /plan-ceo-review tie storage to the data's queries, constraints and update boundaries rather than file count (#1048). The office-hours closing names the founder signals it counted before the note (#513).
[1.92.14.0] - 2026-11-01
A repository inside another repository can now be its own project: create an empty .gstack-project file in it. gstack files each project's checkpoints, learnings and decisions under the outermost repository's slug, so a repo checked out inside a workspace repo filed its memory under the workspace and /context-restore couldn't find it later (#2649: 5 of one user's 16 nested repos, one with 73 checkpoints). The same marker in a plain folder above several repos gives them one shared memory, so a plan made in the umbrella carries into the repo where you build it (#1923). Nothing changes for anyone who doesn't create the file, and GSTACK_PROJECT_SLUG still wins.
Added
.gstack-projectmarker. The innermost marker on the way up from the current folder makes its folder the project root. The slug is that folder's own remote, or its name when it has none. A marker counts only when it is a regular file you own, in a folder whose name has a letter or digit, not in your home folder itself or above it, and at a repository's top folder or in a folder outside every repository. So a cloned repository can't plant one in a subfolder to pick another project's bucket.gstack-slug --identityprintsPROJECT_MARKER=and oneMARKER_IGNORED=line, with the reason, for each marker that didn't count;--get PROJECT_MARKERworks too.gstack-slug --adopt-legacy --from <slug> --under-root [--apply]previews, then copies and restamps, the checkpoints an old bucket holds that were saved inside the marked folder, so/context-restorefinds them. The first run after you add a marker names the command when the old bucket holds checkpoints. A nested repo with its own remote and no marker gets a one-time hint on its first resolve.
Changed
- Marker results have their own cache entries (
slug-cache/marker/), so deleting the marker restores the folder's earlier slug byte for byte. A linked worktree outside an umbrella follows it through its main checkout, from its first run, for as long as the marker counts. browse/bin/remote-slugfollows a counted marker, linked worktrees included, so the design-doc lookups in /plan-ceo-review, /plan-devex-review, /autoplan and the spec review find docs where /office-hours saved them.- Records that belong to one repository ignore every marker: pregate policy and run scratch, approvals,
/verifyresults, the review log, the/shipspend-cap pointer, the cached repo mode and the Greptile early-push answer stay under the repository's own slug (gstack-slug --get REPO_SLUG,slugFromEnvironment(..., { scope: 'repository' })), so a branch that commits a marker can't change which policy applies.
Tests
test/gstack-slug-project-marker.test.ts: 29 cases for the bash resolver, its TS twin and remote-slug (nested repo, umbrella, innermost wins, env wins, cache restored on removal, ignored subfolder, link, directory and$HOMEmarkers, hostile origin, worktree outside the umbrella (resolved before or after its main checkout), scoped checkpoint recovery that never replaces an existing file, folder names with no usable letters, cache keys that differ only by/and_, a non-ASCII parent in the C locale, repo mode, the review log and the spend-cap pointer under a marker, recovered checkpoints keeping their repository, a remote-less repo's linked worktrees, hook reader, cross-writer entries, repository scope). The cases that expect a marker to take effect fail on the previous code; the ignored-marker cases are controls that pass on both.
[1.92.13.0] - 2026-11-01
/ship's preflight no longer runsgit mergewhenorigin/<base>is already in HEAD. It checksgit merge-base --is-ancestorfirst and reportsMERGE: up to date, so a checkout whose guard refusesgit merge(a shared machine) gets past Step 3 when there is nothing to merge. A moved base still merges (GST-691).
[1.92.12.0] - 2026-11-01
When the merge queue gets long, 3 to 6 PRs from one part of the code can now land as one wave PR: one /ship, one READY, one train slot and one version. Every slot in a train pays for its own stamp commit, its own round of about 12 required workflow runs (about 15 minutes, one slot after another) and its own version. The last 10 merged trains landed 26 PRs this way, with 16 to 24 READY PRs waiting at every build (refs/notes/gstack-trains; gate runs 41165841909 to 41217563527). Garry's rule R46 (2026-10-31) asks every Captain to group functional areas into wave PRs when queues get long. gstack-ship-queue wave now does this inside gstack's own train tooling, so crews get it from gstack instead of from prose (GST-574).
Added
gstack-ship-queue wave plan(read-only) counts the live READY PRs (open, head equal to their READY receipt). Over 6, it printsWAVE_ADVISEDand suggested groups of 3 to 6. PRs that change a common file always share a group. Each group takes its largest PR's area (a skill directory, the first word of alib/,bin/ortest/module name, ordocs), and its integrator is the PR with the most changed lines.train buildprints the sameWAVE_ADVISEDline when handed more than 6 pins. It is advice, never a refusal.wave build --prs <n>@<sha>,...makes the integrator branchwave/<nonce>. It merges each constituent's pinned head onto main with the train's merge rules, as a merge commit whose second parent is the pin, so no constituent is rebased or squashed. It writes the wave record torefs/notes/gstack-trainsbefore pushing and leaves one "frozen in wave" comment on each constituent. A conflict stops withQUEUE_WAVE_CONFLICTand leaves the merge in a worktree under the state root.--continuetakes the integrator's committed resolution only when that commit merges exactly that pin.--drop <pr>rebuilds the wave without one PR on a new branch (never a force-push), and refuses withQUEUE_WAVE_DEPENDENTwhen another pin contains the dropped one. A drop that would leave fewer than 3 PRs, or--release, ends the wave so its PRs ride alone. Both wait until the wave PR is closed, because a train that already admitted it would still land it. Stacked PRs (whose base is another branch) cannot join a wave.readyandtrain buildcheck a wave PR before it gets a slot. They walk the wave branch back to its recorded base: every pin must be merged unchanged and in order, any other merge is refused, and every constituent must still be open at its pin. Otherwise they refuse withQUEUE_WAVE_MOVED. Train land's stamp commits after the last constituent are allowed, so a stamped wave is re-READY'd like any stamped PR. They refuse withQUEUE_WAVE_UNKNOWNwhen awave/branch has no record, and withQUEUE_WAVE_DUPLICATEwhen a constituent of a live wave is READY'd or trained on its own, so it cannot land twice. READY gainsWAVE:andCONSTITUENTS:lines. After that the wave PR is an ordinary slot:train land,verify, the stamp and the backstop are unchanged.wave settle --wave <nonce>runs after the wave PR merges. It takes only a wave PR merged into the base branch, and checks that the merge commit is on that branch and carries the wave head (its tree, or the head merged onto the commit before it when the train merged the PR directly). Each constituent still at its pin gets a "Landed in wave #W as vX" comment, naming any integrator commits or hand-resolved merges that touched its files, and is closed if its head has not moved since. A constituent whose head moved stays open with a comment saying its newer work did not land. Reruns post nothing twice, and--dry-runshows what it would do.docs/ship-policy.md#wave-prs, the merge-train section ofdocs/captain.md, the/captainskill, the READY template'sWAVElines and aWAVE_TRIGGERcrew parameter. Seven new result codes, each with a troubleshooting entry.
Tests
test/ship-queue-wave.test.tsruns the real bin against the train fixture. It covers area and grouping rules; a wave build's merge chain, record, push and notices; size and moved refusals; a conflict, an early--continuerefused, then a resolution;--dropas a new wave, its dry run, its dependent refusal and a drop under the minimum releasing the wave; a stacked constituent refused;readyandtrain buildreading a wave from a record rebuilt from notes, with moved, duplicate (a constituent alone included) and unknown refusals; a wave head carrying train stamps;WAVE_ADVISEDandwave plan; andwave settlerefusing a merge into another branch, walking two stacked stamps, naming a hand-resolved merge, closing, leaving open and staying idempotent.
[1.92.11.0] - 2026-11-01
- Design mockups with Gemini when there's no OpenAI key (#990).
/design-shotgun,/design-review,/plan-design-reviewand/design-htmlused to fall back to HTML wireframes without an OpenAI key, and since OpenAI began requiring ID verification for every image model, even a new OpenAI key often made nothing. The design binary now uses Google's Gemini (gemini-nano-banana-2.1for images,gemini-3.8-flashfor reading screenshots) when no OpenAI key is set. Get a free key at https://aistudio.google.com/apikey, thenexport GEMINI_API_KEY=...or run$D setup --provider gemini. OpenAI stays the default whenever its key exists;GSTACK_DESIGN_PROVIDER=openai|geminipicks one explicitly, and a failure on one provider is never retried on the other. Google calls are recorded in the egress ledger asdesign-gemini(hash and byte count only). On Google's free tier, prompts and images may be used to improve Google's products, and$Dsays so once per run.$D setupnow takes--providerand--key-stdin, so an agent with no terminal can store a key. Thanks to @nbzy1995 for the proposal and to the people in #990, #998, #946, #881 and #777 for the ideas; no outside code was carried over.
[1.92.10.0] - 2026-11-01
/ship's scoped second pass runs again, and its Red Team reviews the fix range while Step 11's voices still read the whole branch. After a blocking fix on a small range, gstack-review-plan plans a scoped pass: one fix-check, the Red Team and the native adversarial pass on the range. gstack-review-dispatch pass refused that plan with BRIEF_RENDER_FAILED: a pass dispatches no fix-check reader, because a fix-check is not a pass reader. Every scoped pass failed this way, and GEVA-82 rendered its briefs by hand to get through (GST-619). Even past that refusal, the pass would have staged its Red Team on the merge base, because the Capy pass program never passes --diff-base.
Fixed
gstack-review-dispatch passkeeps the fix-check out of the pass manifest and prints it asFIX_CHECK: planned effort=full (Step 3.5 runs it on its own; not in this manifest). A resumedpasscommand prints the line again. /ship's Step 9 text already runs that fix-check inside the scoped pass withgit diff $RANGE_BASEas its hunks, so the pinned reviewer prose is unchanged. No reader is added or removed, so the pass runs the readers the plan already lists.- A scoped pass's Red Team reviews the plan's fix range.
passresolves the range base from the plan'sfix_rangeand gives it to the Red Team alone, so it reviewsRANGE_BASE..HEADas docs/review-policy.md describes. Until Step 11 has run, the native adversarial pass and the outside voice in a scoped pass are Step 11's own voices, so they keep the merge base and read the whole branch. Once the plan flags carry--adversarial-ran, the whole scoped pass reads the range. An explicit--diff-basestill wins, and a scoped plan without a readable range base is refused.
Tests
test/review-pass.test.ts: GEVA-2's invocation (--extras,--pass1-depth standard --fixed-blocking --range-base <short sha>) plansNEXT: scoped.passexits 0, prints theFIX_CHECK:line (and again on resume), and stages the Red Team, the adversarial pass, the outside voice and the audit reader. The Red Team's brief names the full range-base sha, and the outside voice's diff carries the pass-1 lines. With--adversarial-ranadded, the manifest's diff base is the range base. Both fail on main withBRIEF_RENDER_FAILED, and on the previous head of this PR because every reader there read the range.
[1.92.9.0] - 2026-11-01
/freeze can no longer be walked around with paths through folders that don't exist yet (#3623). /freeze checks every Edit, Write and NotebookEdit path against its folder. The check only resolved a parent folder that already existed and compared the raw text otherwise, so <boundary>/../outside/new/x, <boundary>/link-to-outside/new/x, <boundary>/.., ~/.zshrc with the working folder inside the boundary, and C:\proj\src\..\..\other\new\x were all allowed. Reported by Quinn O'Donnell (#3623, #3624).
Fixed
- The boundary check resolves the whole path.
freeze/bin/check-freeze.shwalks the path one folder at a time, follows symlinks at any depth even when the rest of the path does not exist yet, expands~, and resolves relative paths against the real working folder. An edit counts as inside only when both the operating system's reading and a path normalizer's reading of..land inside. - Paths the hook can't place are blocked with a reason: symlink loops, chains over 40 links, link targets that add up past 8192 characters, paths over 4096 characters, line breaks, Windows drive-relative (
C:x) and root-relative (\dev\x) paths, names Windows trims (..,...) and odd UNC roots. Windows rules keep..at the drive or share root. - Legit edits that were blocked now pass:
~/proj/src/xfrom outside the folder, and a new subfolder when the boundary was saved through a symlinked parent (macOS/tmp). careful/bin/hook-extract.shkeeps trailing newlines on path fields and matches Node's handling of lone surrogates there. /careful's command values are unchanged.
[1.92.8.0] - 2026-11-01
The secrets check no longer flags Python and Dart type names and variable reads as credentials (#3630). A Python parameter like session: HttpSession, failed gstack-pregate as MEDIUM env.kv. Secrets findings can't be downgraded, so /ship wrote no receipt, and the only workaround was a file-wide allowlist entry. Dart's 'password': request.password, and a React key like key={item.id ?? index} failed the same way. Reported by @dgrant in #3630. Approaches came from #3605 (@adam-balazs) and #3418/#3419 (@hbarney).
Fixed
lib/redact-patterns.ts: env.kv's source-syntax exemption (#3048) now covers.dart,.pyand.pyifiles as well as TypeScript. These languages have no unquoted string literal, so a bare name after:is a name. A JSX brace may join names with??,||or&&as well as+. Each case still reports when it is not code:- a quoted value;
- a value that is not an identifier chain;
- an annotation with a literal default (
api_token: AuthToken = "<secret>", now caught in TypeScript too); - a
password:line inside a Dart or Python'''/"""string, where escaped quotes don't close the string and a delimiter inside a comment or a one-line string opens nothing; - a
password: <value>pair inside a one-line Python or Dart string; - a literal fallback after the name (
"password": settings.db_pass or "<secret>"); - the same lines in
.envor YAML files.
Python's
=forms (password=request.password) still report.lib/pregate/checks/secrets.ts: a changed Python or Dart file is scanned whole, and only findings on its added lines count. A line added inside an existing triple-quoted string is still read as a literal. Its row gives the file's line number. A file over 4 MiB, or one that can't be read, has its added lines scanned without the exemption.bin/gstack-redact-prepush: the pre-push hook sees only added lines, so it scans Python and Dart lines without the exemption; apassword:line added inside an existing triple-quoted string still warns.lib/pregate/allowlist.ts: a pattern entry that names a finding by id and path but doesn't match prints a row saying so. Patterns are matched from where the flagged value starts, so the issue'ssession: HttpSessionentry never matched. Before this change, that miss was silent.docs/pregate.md: explains where a pattern is matched and how Python and Dart source is read.
[1.92.7.0] - 2026-11-01
gstack-review-dispatch passno longer dies on a large diff.gstack-review-planexited before its stdout pipe drained, so a plan JSON past about 128 KB (1.39 MB on a 4,000-file results PR) reachedpasscut short and failed to parse. Both bins now set the exit code and let their output drain, and a 4,000-file test keeps it that way (GST-507).
[1.92.6.0] - 2026-11-01
Choosing "core" now means core everywhere gstack routes, and the four core skills carry their plain-English trigger phrases where hosts read them. Under the default proactive: core, the CLAUDE.md routing section gstack offered still listed all 13 routing rules, and 16 non-core skills still told Codex and the other hosts to "proactively suggest" them (#3446). Separately, phrases like "test the site" or "ship it" lived only in each skill's triggers: metadata, which no host reads, so they never reached the list the agent picks skills from (#2118). The always-loaded Claude catalog does not grow. It measures 5,682 bytes before and 5,678 after (1,421 → 1,420 token-equivalents against the unchanged 1,423 ceiling).
Changed
- The CLAUDE.md routing offer follows the setting. Under
core,bin/gstack-skill-startoffers the four core rules (/office-hours, /qa, /review, /ship) and one line saying the other skills are not suggested: they run when you type them or when a running skill hands off to them (so /ship still dispatches /document-release). Underallit offers the same 13 rules as before. Sections already in a project's CLAUDE.md are left alone; docs/proactive.md says how to trim one. - Only the core skills invite proactive suggestions. The "Proactively suggest/invoke ..." sentence is gone from the descriptions of /autoplan, /design-consultation, /design-html, /design-review, /design-shotgun, /devex-review, /document-release, /investigate, /learn, /plan-ceo-review, /plan-design-review, /plan-devex-review, /plan-eng-review, /plan-tune, /qa-only and /retro. Their "Use when asked to ..." sentences stay. On Codex and the other hosts that keep full descriptions,
proactive: allno longer gets that hint from those 16 skills. - The core skills' descriptions carry their trigger phrases. /qa's catalog entry is now "Test the site, API or CLI and fix the bugs it finds.", /review's "Review this PR's diff.", and /ship's "Ship it: merge the base, run tests, review the diff, bump VERSION and CHANGELOG, push and create a PR." Every
triggers:phrase of the four core skills now appears in its full description.
Tests
test/proactive-skill-start.test.ts: runsgstack-skill-startundercore,alland the legacytrue; core offers exactly the four core rules plus the scoping line, and all offers the shipped 13-rule section.test/proactive-core-set.test.ts: each core skill's full description carries everytriggers:phrase, its catalog entry carries at least one, and no other skill's catalog entry carries that phrase.test/skill-validation.test.ts: no non-core template description says "Proactively suggest/invoke"; the proactive-phrase check now covers the four core skills.- All five new cases fail on main at 2d1b55d (office-hours already passed there).
- Size ratchets move down only: 46 generated-SKILL.md pins in
test/fixtures/skill-md-size-allowlist.jsondrop by the removed sentences, and /ship's size ledger records -21 bytes. The four ship goldens are regenerated for the new description.
[1.92.5.0] - 2026-10-31
Updates no longer stall in silence when the project around your gstack install has committed gstack's files (#1022). If gstack lives inside another git project (for example <project>/.claude/skills/gstack) and that project committed gstack's files as ordinary files, a stash, reset or branch switch in the project put the old files back. VERSION stayed frozen at an old release while updates reported success. Once this release is on disk, every update path stops before it changes anything and prints the exact fix. An install the project has already reverted is still running the project's old copies of these scripts, so it needs the one-time repair in docs/troubleshooting.md#auto-update-tracked-by-project first.
Fixed
bin/gstack-ff-updatechecks before it moves. It refuses with exit 6 andtracked-by-project:when the enclosing project tracks the install's files (a git submodule is fine), and withversion-reverted:when VERSION's first line disagrees with HEAD's. The message spells out the repair. Untrack the install (git rm --cached, literal paths only), ignore it, commit on every branch, thengit stash pushin the install, which keeps every edit.--preflight <install>prints the same check on demand. An unmerged file still goes to the existing rescue, and a full update checks VERSION inside the install lock.bin/gstack-upgraderuns that check before any fetch and refuses withUPGRADE_REFUSED(exit 3).- The session auto-updater holds the update on exit 6 and shows a banner that points to
--preflightand the new troubleshooting section,docs/troubleshooting.md#auto-update-tracked-by-project.
[1.92.4.0] - 2026-10-31
A merge train now carries up to five READY PRs instead of three. That means fewer full gates for the same number of PRs. A short train still leaves one hour after its oldest READY.
Changed
.gstack/ship-policy.json:train.max_sizegoes from 3 to 5 (Garry, 2026-10-31).fill_hoursstays at 1.test/gstack-ship-policy.test.tspins the new value. Four READY PRs wait for the hour, and the fifth fills the train. The example block in docs/ship-policy.md, which shows gstack's own policy, now reads 5.
[1.92.3.0] - 2026-10-31
gstack-redact now catches a credential on a diff line (GST-543). The env.kv rule matched from the start of the line, so the leading + or - of a diff line stopped the match. git diff | gstack-redact returned no finding and exit 0 for +API_TOKEN=<random value>. It did the same for a removed line that was indented or used export, and for a merge diff's two-column markers (++, +). A diff code block in a PR body had the same blind spot. Pregate's secrets check and the pre-push hook were not affected, because both strip the + before scanning.
Fixed
lib/redact-patterns.ts: env.kv accepts a diff marker before the name:+or-, optionally after one more column of a space,+or-. So the line in the example above now reports MEDIUM env.kv and exits 2. A-followed by one space and text still reads as a Markdown bullet or YAML list item, as before. The name-shape check and the schema-field exemption accept the same marker, soAPI_TOKEN=changeme,cacheKey: …andinput_key: …stay clean on a diff line. Scanning every tracked file in the repo gives the same env.kv results as before.test/redact-diff-prefix.test.ts: every pattern inPATTERNShas a sample. The test requires each sample to report bare, behind each diff marker, and on an added or removed line inside a real hunk, indented or not. A new pattern without a sample fails the test. The check found that env.kv was the only rule with this blind spot. Every other rule starts at a word boundary or has no line anchor.
[1.92.2.0] - 2026-10-31
- The model panel adds a
<model>#no-gstackarm beside each model's skill arm (Garry's rule that every head-to-head eval also tests no gstack), with its rows keyed by arm identity and the candidate's folders named after a project. arm-benchmark runs three with/without pairs per task under a spend ledger and a pinned model. A paired judge scores both orders and must pass calibration before it decides; the per-diff judge is reported beside it. The safety-rule and router cases gain a descriptivenonearm where the task exists without the skill text.gstack-eval-plan results --check <prereg> <results.md>refuses a results file unless one table holds a filled row for every arm, so each no-gstack row sits beside its variants (EVAL_REPORT_NO_GSTACK_ROW).
[1.92.1.0] - 2026-10-31
The free suite moves from ubicloud-standard-2 to ubicloud-standard-4, still at 20 shards, because standard-2 made Free Tests slower than its revert rule allows. #3617's week-1 check measured three paired rounds at main 5ba425af. On standard-2 the slowest shard took 380, 396 and 388 s, against 314, 327 and 336 s on standard-8, and runs finished in 514 to 526 s against 405 to 434 s. On standard-4 the slowest shard took 323, 335 and 317 s, inside standard-8's 313 to 336 s range from the same day's paired runs. Per shard, standard-4 runs 10 to 15 % slower than standard-8 and costs about 57 % as much per run, so it keeps most of the saving without slowing the run's slowest shard.
Changed
.github/workflows/free-tests.yml:FREE_SUITE_RUNNERisubicloud-standard-4. The shard count, the dispatch overrides and theRESOURCES:line are unchanged.- docs/TESTING_INTERNALS.md names the new runner.
[1.92.0.0] - 2026-10-31
Merge trains work for any repository, not just gstack. Until now a train needed gstack's own eval workflow, gated only its tip and needed a bisect to find a culprit, so peer crews like gbrain and Truther merged one PR at a time and folded main-red fixes together by hand (GSTA-157).
Added
gatesin the train block (docs/ship-policy.md#train-gates,TRAIN_GATES_KEY_VERSION):workflowsgates dispatch the repository's own CI on every prefix ref (train-prefix/<nonce>/t<i>) by nonce and need every named job green at that exact commit, with one rerun of failed jobs (a pass is GREEN with a FLAKY line);commandgates run a test command on a Ubicloud VM per prefix under one spend cap per gate for the whole train (train initprices it for a full train and one rerun: $3 at 1800 s). A workflow is sent at most twice per prefix, and one build or verdict at a time writes a train. Every prefix has its own verdict, so the first red prefix after a green one names the culprit and the slots before it can still land.train land --train <nonce> --pr <n>for these trains:directmerges the pin itself (gh pr merge --match-head-commit) when branch protection is not strict and the pin's checks are green;updatecommits the gated tree on [pin, main] first.train.landsets the merge method and required checks;rebasealways refuses, since a replayed tree is not the gated one. A workflows gate'spost_merge_checksmust succeed on main (verify --post-merge <sha> --checks <names>) before the next slot lands.train watch --landwaits for every prefix run, reads the verdict and lands each landable slot in order.train initandtrain doctorprint a train block from branch protection and the repository's workflows, plus the workflow snippet each gate needs, and check a live block, including a command cap too low for a full train. Neither writes anything.- Base-red PRs ride a train:
ready --base-red --fixer <pr>READYs a PR whose /ship paused on a red base, andready --fixes-base-red <cases>READYs its fixer. The train seats the fixer at slot 1, allows main red on exactly those cases, gates every conditional PR on its own prefix and lands it only through an update commit. - Result codes
QUEUE_TRAIN_BASE_RED,QUEUE_TRAIN_SPEND_CAP,QUEUE_TRAIN_LAND_METHOD,QUEUE_TRAIN_INIT_REFUSED,QUEUE_TRAIN_DOCTOR_FINDINGS,QUEUE_BASE_RED_NO_TRAINandSHIP_BASE_RED_FIXER, each with a docs/troubleshooting.md entry; captain/templates/merge-train-peer.md for a peer crew turning one on.
Changed
- gstack's own train block (no
gates) and every recorded train behave exactly as before. A train with gates refusestrain bisectandtrain rebuild, since every prefix already has its verdict, andverify --trainnamestrain landinstead.train prunekeeps an attributed train while slots before its culprit are still unmerged.
Tests
test/ship-queue-train-generic.test.ts: policy validation (and gstack's own policy file unchanged), prefix verdicts including FIXES_BASE_RED, run classification, test records, base-red admission, workflow facts; on fixture repos: dispatch by nonce on every prefix, direct and update landing, rebase and fork refusals, an attributed culprit, the one-rerun FLAKY path, red on main, command gates through a fake ubi-runner withUBI_REAP=0and the spend cap,ready --base-red, a fixer train landed bywatch --land, andtrain init/train doctor; plus the review fixes: unreadable protection, a dispatch no run adopts, a held lease, a run another process owns, output past the 1 MB log tail, rebase, post-merge checks and an INCOMPLETE train rebuilt on the same pins.
[1.91.379.0] - 2026-10-31
/ship's review readers now review the checkout /ship ships, even when it runs from a worktree on a shared machine. Readers start as subagents on machine: "shared", so each one opens in the machine's working directory. Their briefs never named a folder, so a /ship run from a worktree had its readers review whatever branch the primary checkout held. GBrain's crew saw a specialist return four findings in files outside the PR (GBRA-218, GST-482). A clean review of the wrong tree would have looked the same as a clean review of the right one.
Fixed
- Every reader's brief ends with a workspace paragraph naming the checkout under review (the toplevel of the directory the bins run in). It tells the reader to start each command with
cd <checkout> &&, to give every file tool an absolute path under the checkout, and to make the first line of its final replyREVIEWED_TREE: <HEAD^{tree}> <toplevel>, measured there. The paragraph comes after the section text, so the rest of the brief is the same bytes as before. It covers the specialists, the batched specialist, the Red Team, the targeted reader, fix-check, Step 11's native and outside voices, and audit readers passed as extras (Steps 7, 8 and 14.5, and Step 9.2.1's QA reader). An audit reader's brief is now written tobriefs/as its prompt file plus the paragraph, and its prompt file is not changed. gstack-review-dispatch collectchecks that line against the fingerprint recorded when the brief was rendered. A missing line, or one naming another checkout, printsCOLLECT_WRONG_TREE; a line from the right checkout at a later commit printsCOLLECT_TREE_MOVED. Either way it exits 1, merges nothing, andverifyreports the briefNOT_COLLECTED. With--manifest, the reader becomesfailed, so a rerun stops on it instead of collecting the same reply again. An outside voice whose reply fails the check and holds no finding is recorded as unavailable coverage, never clean; one with findings is refused like any other reader, so none is lost. An audit reader gets the same check when the pass marks it collected, and that now needs--output.- Unavailable outside-voice output never counts as a review in
verify, even when its text carries aRecommendation:line.
Tests
test/review-pass.test.ts: a primary checkout and a worktree on another branch, with readers starting in the primary checkout. A reader that reviews the primary checkout, or names none, is refused and nothing it said is merged. One that follows its brief passes, and every brief names the worktree. An audit reader from the wrong checkout is refused. A rerun stops on the failed reader with one output event. A worktree at the same commit is told apart by its toplevel. A commit between render and reply isCOLLECT_TREE_MOVED. A wrong-tree outside voice with no finding isUNAVAILABLE. All eight fail on the previous dispatch code.test/review-dispatch.test.ts: every role's brief is the old render byte for byte, followed by the paragraph. A list-item, heading, bold or backtickedREVIEWED_TREEline counts, the path keeps its own characters, and the first line wins over one quoted later. An outside voice with findings and no line is refused. A render outside a readable checkout refuses, and a ledger rendered before this change collects as before.
[1.91.378.0] - 2026-10-31
The CSO runtime image workflow passes again after Docker moved its scout-sbom-indexer:1 tag. All 10 validate-native jobs in Stage CSO Runtime Images were failing with SOURCE_TAG_MOVED: docker.io/docker/scout-sbom-indexer:1 on every PR that touched CSO paths. Docker pushed release 1.29.0 to the floating :1 tag on 2026-10-29. The reviewed index sha256:4b67f29e… is Docker's 1.24.0 release, and the 1.24.0 tag still points at it. So the SBOM generator source now names :1.24.0. The pinned digests and the build-inputs revision are byte-identical, no requalification trigger changes, and the 10 qualified runtimes stay current.
Changed
lib/cso/images/build-inputs.json:sbomGenerator.sourceisdocker.io/docker/scout-sbom-indexer:1.24.0instead of:1.scripts/cso-image-matrix.ts: every pinned family (SBOM generator, base images, uv) must name an exact release in its source tag:<major>.<minor>.<patch>, or<major>.<minor>for the PostgreSQL base, whose releases have two parts. A floating major or minor tag (:1,:1.24,python:3.13-slim),latestor another alias fails withFLOATING_<FAMILY>_SOURCEbefore any build. An exact tag can still be re-pushed upstream (Docker's official images rebuild them when their Debian base changes), andSOURCE_TAG_MOVEDstill reports that. Moving the generator to 1.29.0 is a separate change that needs a new build-inputs revision and a requalified catalog.
Tests
test/cso-distribution.test.ts::1,:1.24,:1.24-slim,:latestand:stableare refused for the SBOM generator and for a base image; PostgreSQL accepts17.2but not17, Python refuses3.13-slim-bookworm; and the committed inputs build all 10 rows with the1.24.0source.
[1.91.377.0] - 2026-10-31
A passed GitHub Actions run can now clear the remote test gate for the same tree, so a repository stops running its full suite twice per slot. gbrain paid a 30–45 minute Ubicloud gate and then an 18–20 minute full-ci dispatch on the same tree in every serial slot (GBRA-108: #7872's slot took 5.6 h). gstack-pregate clear --remote pregate.json/remote_gate --run <id> --run <id> accepts one verified run per profile the base branch declares. gstack checks each run against the runner's own record, never against a pasted claim. It reads the GitHub API's run and jobs, the tree git computes for the run's head, and the tree.json the run uploaded. Nothing is skipped: the tests still run once, in CI. A repository that declares no profiles is unchanged.
Added
gstack-pregate clear --run <id|url>(repeatable;lib/run-evidence.ts, docs/pregate.md#run-evidence). A run is accepted only when it belongs to this repository, ran apushorworkflow_dispatchevent of the profile's workflow, and its newest attempt succeeded with every named job passing exactly once. Itstree.jsonmust name the run, attempt, event and head and record the head's tree, and it must be fresh (max_age_hours, default 24) and on the profile's OS. It is refused if any run of that workflow on the head that started at or after it failed, was cancelled or is still running, or if the run changed attempts while being checked. All runs must be on one tree: pregate.json's, or a stamp-only predecessor under the existing tree-receipt rule. Theirfilesmust cover the obligation's selected tests plus every file the declaredinventorycommand lists for that tree. Refusals printREUSE: refused reason=<code>; an accepted clear printsREUSE: accepted, and the receipt recordsruns=<id>/<attempt> profiles= heads= verified=.run_profilesandremote_gate_runsin.gstack/pregate.json, read only fromorigin/<base>. A user-owned policy that sets them is refused, because nothing would read them there.gstack-pregate clearclears a lane named by a profile only through verified runs, so its--run-urlis verified the same way, and--bundle-laneis refused.gstack-ship-queue ready --dispatch-cistill records a plain run URL for such a lane, andverifydoes not yet re-check it (docs/pregate.md#run-evidence). When the base config cannot be read, any lane's--run-urlor--bundle-laneclear refuses, since the base may profile it. When the GitHub origin cannot be read, a profiled lane refuses rather than fall back to an unverified record.
Changed
gstack-pregate verifystays offline. It also refuses a run receipt recorded for another tree unless its stamp-only substitution is recorded.
Tests
test/run-evidence.test.ts: every refusal reason, including the re-run cases (a red re-run of an older run vetoes; re-running the candidate does not hide a failure in between), a run that changes attempts while being checked, malformed counts and paths, and profile validation.test/pregate-clear-runs.test.ts: on a fixture repository, clear on the same tree, verify offline, and bind the ship receipt. Also covers a stamp-only predecessor, a non-stamp difference, uncovered files, runs on different trees, base mismatch, repeated runs, the profile-to-run assignment, the profiled-lane matrix (--run-url,--bundle-lane,--run), a non-GitHub origin failing closed, an origin thaturl.insteadOfrewrites to a proxy (Capy's git.capy.ai) still read as the GitHub repository, and an unreadable base config refusing--run-urlon every lane. The--run-urlfallback test failed before the fix.
[1.91.376.0] - 2026-10-31
bump: minor
A remote verify now survives a dead local runner, and a long verify can resume from the tiers that already passed (GSTA-158 P3). Before, a Capy machine that went to sleep or a runner that got killed lost the whole remote run, and the paid VM ran on until its TTL. Now ubi-runner run and verify run each phase detached on the VM, and running the same command again reattaches to the live VM. A verify can be split into tiers, and a rerun skips the tiers that passed.
Added
- Reattach by run key. The key covers the checkout's content, the command, setup, env, a hash of each
--passvalue, size, image, origin/HEAD and the runner itself. A rerun printsubi-runner: reattached to <vm> created_at=<epoch> key=<k12>, replays what the phase already printed and follows it from there. A finished setup is not rerun.UBI_ATTACH_BUSYmeans another live runner owns the VM. Exit 125UBI_ATTACH_LOSTmeans the remote session died without an exit status. - Reattach only while the TTL lasts. A reattach needs the VM's remaining TTL to cover the run still to do (each unfinished phase's
UBI_RUN_TIMEOUTbound) plusUBI_REATTACH_MARGIN(900 s). Otherwise the runner printsUBI_REATTACH_TTL_SHORTwith the numbers, destroys the old VM and starts a fresh one. Tier checkpoints carry over to it. - Verify tiers.
.gstack/ubicloud.jsoncan listtiers: [{name, command}]in place ofcommand. Each tier writes a start, pass or fail checkpoint underUBI_CHECKPOINT_DIR. A rerun printsUBI_VERIFY_RESUME:per tier and reuses passes younger thanUBI_CHECKPOINT_MAX_AGEwhose logs still hash. It reruns a recorded fail only with--rerun-failed. The last line isUBI_VERIFY: …. attach NAME,run --probeand--key-input.
Changed
- HUP once a phase is live detaches (
UBI_DETACHED, exit 129,UBICLOUD: left=1 … detached=1): the VM keeps running under its TTL. INT and TERM still tear it down. gstack-pregate --stage tests --remotereattaches to the VM a killed run left. It billsspent=from the original create time, and a cap that is already spent refuses withPREGATE_REMOTE_CAP_SPENT. ThePREGATE_REMOTE:receipt is unchanged.
[1.91.375.0] - 2026-10-31
A /ship subagent now stops once its READY is sent, so CI and review callbacks on a frozen head stop waking it. Finished /ship subagents kept getting woken by checks and reviews on a PR they had already READY'd. Each wake cost tokens, and some acted on a head that was supposed to be frozen. The parent now subscribes to the PR first, so red checks and human review still reach an owner, and then stops the subagent.
Changed
capy/skill/gstack/SKILL.md(Plan, approve, ship): the parent subscribes to the PR when the /ship subagent opens it and keeps that subscription until the PR merges or closes. It stops the subagent at READY and owns the PR from then on. A stopped /ship subagent woken by a check, review or merge notice reports one line (what woke it, its pin, the PR head) and ends the turn, while a message from its parent is an instruction it carries out.docs/captain.md(the lane's /ship sequence): the host-neutral rule (the parent owns red checks, review, the slot stamp, re-READY and receipt carry after READY), with a pointer to the Capy mechanics.captain/templates/brief.md: one pointer line.test/fixtures/context-budget.json: the Capy skill's eager ceiling moves from 5136 to 5312 for the 176 tokens it grew (5136 to 5312, measured withlib/context-bill), set at the captured value as main's last raise was, rather than a fresh 10% headroom.
[1.91.374.0] - 2026-10-31
/ship pauses on a red base instead of failing. When main is red for a reason outside a PR, /ship's Step 5 used to fail or ask the fix/TODO/blame/skip question, and unattended lanes either burned runs or held by hand. Truther's two main-red fixes (#815 and the cover-contract branch) each failed only on the other's broken cases, so neither could pass /ship alone until a Captain folded them into #818 by hand (GSTA-157, from the 2026-10-29 speed feedback).
Added
gstack-base-red classify(bin/gstack-base-red, lib/base-red.ts): reads a newbase_red: { setup, select, timeout_sec }block from the base branch's ship policy, then calls a failure base-red only when every failure the lane reported is named, the PR touches neither the failing test file nor any path its signature names, andsetupthenselect {files}fails with the same test id and first error line at the base head and at HEAD in scratch worktrees under the state root. Anything else stays in-branch and /ship triages exactly as before.--pausewrites a pause record (repository and branch hashed, 24-hour expiry).gstack-base-red wait --pause <file>: on each new base head it reruns the paused files there and exits 0 (BASE_GREEN) on the first head that passes; a head that still fails keeps it waiting. Exits 3 onBASE_RED_WAIT_TIMEOUTorBASE_RED_PAUSE_EXPIRED.- Conditional receipts:
gstack-ship-receipt write --base-red <pause file>adds abase_redblock;resultthen printsSHIP_PAUSED: base-red …withstatus=incomplete.bindReceiptrefuses a conditional receipt by default (QUEUE_RECEIPT_CONDITIONAL), soready,train build,verify --trainandcarrynever accept one. - Policy key
base_red(BASE_RED_KEY_VERSION) with validation:selectneeds a{files}slot, commands are one line under 512 characters,timeout_secis 10–7200.
Changed
- /ship Step 5 (ship/sections/tests.md.tmpl) runs
classifybefore the T3 question when T1 calls every failure pre-existing, carries base-red cases as that run's only waived failures into Step 16, and documents/ship --resume <record>afterBASE_GREEN(Step 5 reruns on HEAD merged with the new base in a scratch worktree; a green run rewrites the receipt withoutbase_red). docs/captain.md names the paused state.
Tests
test/base-red.test.ts: base-red on a real fixture with a bare origin and no leftover worktree; in-branch without running anything when the PR touches the test or a path its signature names; in-branch when the test passes on the base or fails there differently; unconfigured, unnamed and failing-setup cases; the hashed pause path; conditional receipts refused by default;resultreportsSHIP_PAUSEDandstatus=incomplete;carryrefuses;waitskips a still-red base move and returns on the first green head, and expires or times out; policy validation.
[1.91.373.0] - 2026-10-31
- No-gstack arm in every head-to-head eval.
/eval-planpreregistrations now say in a required## Comparisonsection whether any arm loads gstack or another skill stack (stack: loaded) or none does (stack: nonewith awhy:line). A loaded comparison must add a## No-gstack armsection and one<model>#no-gstackarm per model. That arm uses the same model and inputs, a plain prompt with no skill text, and the same panel and judge, and its result is reported beside the variants.gstack-eval-plan prereg --checkrefuses a loaded comparison without it (PREREG_NO_GSTACK_ARM). Arms are now identities<model>[#<loadout>], priced by the model, so the pilot reserves a variant and its no-gstack arm on the same model separately; a repeated identity is refused (EVAL_ARM_DUPLICATE). The rule is written up indocs/TESTING_INTERNALS.md.
[1.91.372.0] - 2026-10-31
A test that fails once in CI and passes when run again no longer turns the job red, and every such flake is recorded for the daily flaky-fix pass. gstack-flaky run wraps any test command that writes a JUnit report (Playwright, bun test, jest, vitest, pytest). When a few tests fail, it runs the command once more. A test that failed and then passes is a flaky pass, so the job stays green, an Actions ::warning and a step-summary row name it, and one line goes on a ledger. A rerun counts only when the runner itself reports a full green run, so a real failure, a coverage threshold, a test the first run never reached, a crash or a cancelled job stays red. Before this, each one-off flake meant rerunning the whole CI job by hand (five times in Truther's last evidence window, three of them for one test).
Added
bin/gstack-flaky run --junit <file.xml> -- <command>: reruns the whole command once when at most--max-reruns(3) tests failed and the runner made no retries of its own.--rerun-scope testopts in to rerunning only the failed tests (Playwright--grep/--project, bun--test-name-pattern), for suites with no coverage gate and no fail-on-flaky policy; it still falls back to the whole command when it sees an early stop, a coverage table or the runner's own retries.- Ledger at
GSTACK_FLAKE_LEDGER_JUNIT(default<state root>/flake-ledger-junit.jsonl), kept apart from the free suite's file-level ledger: one redacted line per flaky pass and per test that failed its rerun, with tree, commit, branch, run URL, attempts, scope and the first lines of the error. gstack-flaky ids --junit <file>prints the test ids a report holds (<file>::<project>::<describe > title>).- Exit codes: 0 pass (flaky passes included), 1 a test failed, 2 usage, 3 no usable report, a crash or a killed runner, each with a
FLAKY_<CODE>and afix:line. A missing, stale, empty or malformed report never passes, and an existing--junitfile that is not a JUnit report is refused rather than deleted.
Docs
docs/flaky.md: the GitHub Actions setup, runners, rerun scope and its preconditions, rules, output and exit codes.docs/TESTING_INTERNALS.md#flake-ledgerpoints other repositories to it.
Tests
test/flaky-run.test.tswith captured Playwright 1.64 and bun 1.4 JUnit reports undertest/fixtures/junit/: flaky pass, real red, rerun scopes, coverage-threshold and early-stop runs, unreported failures, cancelled runs, report deletion and ledger redaction.
Gate integrity
test/helpers/free-fixtures-data.ts: registerstest/fixtures/junit/**totest/flaky-run.test.ts. No assertion, threshold or skip changed.
[1.91.371.0] - 2026-10-31
A PR push in a repository with a merge train no longer waits ten minutes for a check that does no work. Under a train policy every PR push runs E2E Evals in pr-summary mode, which plans no paid slices, yet its readiness job still waited out the 600-second quiet window and green Free Tests before the run could finish. Now readiness waits for route and skips in pr-summary mode, so E2E Evals on a PR push finishes in about a minute (58 s on #3609) instead of after the 10-minute wait.
Changed
.github/workflows/evals.yml:readinessneedsrouteand runs only when the mode is notpr-summary. Inprmode (a repository without a train) it still gates recovery and planning as before. Inpr-summarymode a red Free Tests now shows on Free Tests alone, which stays the required free check; the train gate and the dispatched screen still carry the paid work.bun run test:health: the "PR lane push-to-verdict" rule text sayspr-summaryruns skip the wait since GSTA-149, so its p50 drops by about 10 minutes from this change on.- docs/TESTING_INTERNALS.md describes the skip.
Tests
test/evals-pr-lane-workflow.test.tspinsreadiness.needsand the fullif.test/evals-train-workflow.test.tschecks that apr-summarypush runs onlybuild-image,routeandscreen-summary, and thatprmode still runsreadiness.
[1.91.370.0] - 2026-10-31
The free suite now runs on ubicloud-standard-2 instead of ubicloud-standard-8, at the same 20 shards, for about a quarter of the runner cost. Each shard runs its files one at a time, so it waits on disk and processes rather than CPU. In three paired rounds at one commit, the median per-shard time rose by 3 to 8 s, inside the round-to-round spread of −90 to +65 s, while runner-minutes stayed about equal (464 vs 475). Peak memory stayed under 2.5 GiB and free disk above 15 GiB. A 16-shard arm was slower beyond that spread, so the shard count stays at 20.
Changed
.github/workflows/free-tests.yml: one workflow-levelFREE_SUITE_RUNNER(ubicloud-standard-2) andFREE_SUITE_SHARDS(20) set the free-suite size for pull_request, push and dispatch runs alike.free-planresolves them into itsrunneroutput and the plan's shard count, andfree-suitereadsruns-onfrom that output. The duration-seed recorder stays onubicloud-standard-8.- Sizing experiments without a workflow edit:
workflow_dispatchtakesfree_runner(ubicloud-standard-2,-4or-8only) andfree_shards(1–40).free-planrefuses any other value before planning, and a run that overrides either one says in its job summary that it is a sizing experiment, not a PR or train Free Tests result. - Every free-suite shard prints
RESOURCES: peak_used_mib=… min_free_disk_mib=… samples=…from a memory and disk sample every 2 s, even when the suite fails. If a shard shows OOM, ENOSPC or an unexplained Chromium launch failure, moveFREE_SUITE_RUNNERtoubicloud-standard-4.
Tests
test/free-tests-workflow-wiring.test.ts: runs the realfree-planstep with a stubbedbun. It checks that the constant passes through when no override is given, that a valid override is honored, and thatubuntu-24.04,ubicloud-standard-8 x,0,41and16; trueare refused before planning. It also checks that the sampler starts before the suite and that the report step runsalways().test/free-durations-record-workflow.test.ts: the recorder andFREE_SUITE_RUNNERmust both be Ubicloud standard runners. They no longer have to be the same size, because the recorder stays on standard-8.
[1.91.369.0] - 2026-10-31
gstack-wtree works again in a repository that gitignores .bun/. Since GST-421, its git add -A carried an exclude pathspec naming .bun, and git refuses a pathspec naming an ignored path with exit 1. Every fingerprint call then failed, which broke gstack-review-log --start, the evidence checks and /ship in harness-evals (HARN-1, HARN-7, harness-evals#148; GST-449).
Fixed
- The
.bun/exclude applies only when the root.bun/exists and is not ignored. The check reads the ignore rules alone (git check-ignore --no-index), so a file still tracked under an ignored.bun/doesn't bring the failure back. An ignored.bun/already stays out ofgit add -A, so the fingerprint is the same either way.
Tests
test/evidence.test.ts: with.bun/or/.bunin.gitignore,gstack-wtreeprints a tree and a lane that writes.bun/grades FRESH. With a file tracked under an ignored.bun/, the tree matches a plaingit add -A, and editing or deleting that file changes it. The existing unignored.bun/cases still pass.
[1.91.368.0] - 2026-10-31
gstack-pregate --remote no longer dies at 300 s while its gate waits on CI. CAPY-1 (qm#2837) had a remote gate that waits for a CI run and prints nothing while it waits, so pregate killed it as stalled after 300 s, whatever --timeout said, and the heartbeat gave no hint of what the gate was doing (GST-431).
Fixed
- The remote gate is bounded by its timeout only (
--timeout, elsetimeout_s, else 600 s; the gate also gets it asPREGATE_TIMEOUT_S). The stall timer still applies to the lanes runner and guards. - The remote gate's heartbeat names its last output line, so a gate that prints the CI run it is waiting on shows it every 60 s.
Tests
test/pregate-remote.test.ts: a gate quiet past--stall-timeoutbut inside--timeoutclears its obligation; a gate past--timeoutstays uncleared withPREGATE_INCOMPLETE.test/pregate-supervise.test.ts: a heartbeat withlastLinenames the command's last output line.
[1.91.367.0] - 2026-10-31
/ship's review collection no longer counts a reviewer that says it could not review as clean. In the GSTA-196 replay a specialist replied in prose that the diff base did not exist and it was not returning NO FINDINGS. collect parsed that reply to zero findings, and verify marked the brief collected, so the review would have read clean from a reader that never saw the diff. What reviewers see is unchanged: every brief renders byte for byte as before.
Fixed
gstack-review-dispatch collectneeds the clean marker a reader's own brief asks for before it counts a reply with no findings. That isNO FINDINGSalone on a line for the specialists, the batched specialist, the targeted reader, the Red Team and fix-check; theRecommendation:line for the outside voice; and either one for the native adversarial voice. A reply with no finding and no marker (a refusal, an empty reply, a reader that never got the diff) is recorded withreview: false, printsCOLLECT_NOT_REVIEWEDand exits 1. Re-sending the brief and collecting a real review voids it, and the outside voice, whose failure never blocks, is collected with--unavailable '<reason>'and verifies asUNAVAILABLE, never as a review. A failure text that still holds findings is refused there and collected normally, so nothing is lost.gstack-review-dispatch verifyreports that reader's briefNOT_COLLECTEDand its outputNOT_REVIEWED, so VERIFY reads dirty. When the output file is still there and unchanged, verify checks the marker in it again, so a ledger written before this change is judged by the same rule. The GSTA-189 replay's combined ledger still verifies clean, with fiveNO FINDINGSspecialists and one outside voice ending inRecommendation:.- A paragraph finding keeps its detail bullets. The GSTA-196 native adversarial voice wrote four findings, each with unlabeled bullets and then a
Severity:line. Every bullet closed the open finding, so eachSeverity:line opened a new one: 4 findings collected as 8. They now collect as 4, each at the stronger of its two labels. Only an unnumbered bullet with no file and line of its own counts as detail; a numbered item is still its own finding. - Every other finding collects exactly as before. Main's parser and this one were run over every recorded reader output: 25 raw outputs from the GSTA-189 and GSTA-196 replays and 2,172 finding records from arms C6, L6, A3668 (both suites), G1 and L. 2,196 of the 2,197 collect the same findings with the same labels. The one difference is the GSTA-196 native sample, where 8 fragments join into 4 findings, each at its strongest fragment's label.
[1.91.366.0] - 2026-10-31
A partial gstack-post pr-body post keeps the PR's intro. Since GST-412, any body file with a ## section replaced the text above the PR's first heading, so a lane that posted only ## Screenshots deleted a human intro or a Review-loop exception: line under the receipt (GStack Minder: "a partial pr-body post must keep the human intro").
Fixed
- Only a full post owns the text above the first heading. A file with a receipt block above its first
##section, as /ship composes it, still replaces stale lead text and stale notes under the receipt. Any other file keeps them; its own lead text still replaces the PR's lead text.
Tests
test/gstack-post.test.ts: a partial post keeps the intro and the note under the receipt, even with a caption of its own or a receipt further down; the full-post cases now carry a receipt, as /ship's body does.
[1.91.365.0] - 2026-10-31
An unclosed code fence in an outside review no longer hides a later [P1] or not-ready verdict (GST-436). Before, an outside-voice reply that said no issues were found, opened a code fence it never closed, and then listed a [P1] finding or ended with Verdict: not ready was classified clean, because everything after the fence was treated as quoted code. Now a P0 or P1 severity or a last Verdict: not ready after an unclosed fence still blocks. Text inside that fence still can't make a reply clean, so a quoted Verdict: ready, [P3] or No issues found. there is ignored, as before.
Fixed
lib/outside-review-result.tsreads the reply after an unclosed fence's opening line for severities (P0 and P1, or Critical and High words, block), an unparsed label (which makes the reviewunverified) and a lastVerdict: not ready. The evidence for clean (a parsed severity, the last verdict line, the no-findings conclusion) keeps that text blanked. Closed fences still hide quoted severities.- Fence matching is one pass, and an opener counts only when a later marker of its kind is at least as long. A reply with thousands of unmatched fences classifies in milliseconds instead of rescanning the rest once per fence.
Tests
test/outside-review-unclosed-fence.test.tscovers:- a
[P1]and aVerdict: not readyafter an unclosed fence - a closed fence that still hides a quoted
[P1] - a quoted
Verdict: ready,[P3]orNo issues found.inside an unclosed fence, which stays findings or unverified - 3,000 unmatched fences
- a
[1.91.364.0] - 2026-10-31
--policy-from head now only adds test lanes, and the repo can set pregate's per-process timeout. Two /ship tooling gaps cost other crews a rerun each. GEVA-2 (gstack-evals#93) had a PR that added its own pregate lane, but gstack-ship-preflight could not pass --policy-from head, so Step 5 failed with PREGATE_NO_LANE and the lane called runLanes by hand (GST-419). HARN-1 (HARN-12) had lanes of about 780 s, while preflight and the finish fallback ran pregate at its 600 s default, so the result was always PREGATE: incomplete (GST-420). There was also a hole behind the first gap: --policy-from head took the branch's whole .gstack/pregate.json, so a branch could delete its own lanes.
Added
timeout_sin.gstack/pregate.json(1 to 3600 s): gstack-pregate's per-process timeout when--timeoutis not passed, so preflight,finishand plain runs all pick it up. The remote gate gets the same value asPREGATE_TIMEOUT_S. A timed-out lane names where its timeout came from (--timeout,timeout_s from <policy>or the 600 s default).gstack-ship-preflight --policy-from headforwards to Step 5's pregate. When pregate does not pass, preflight prints up to threePREGATE_DETAIL:lines with pregate's own reasons, and a refusal readsPREGATE: refused (<code>)instead ofunreadable.
Changed
- A head policy may only add test lanes (
PREGATE_HEAD_POLICY_LOOSENS). It may add adependenciesglob with at least one test, or add tests to a glob the trusted policy already maps. Anything else that differs from the trusted policy refuses the run and names each difference. The trusted policy is the base copy, or the user-owned file when the base has none. A branch behind its base is measured from the copy at its merge base and runs the base tip's policy plus its additions. A head file with no trusted policy anywhere is still a bootstrap. --remoteworks with--policy-from headonce that check passes, so a lane on a machine with under 8 cores can clear its obligation. It still runs the trusted copy'sremote_gate. With no trusted policy at all,--remoteunder head is refused, because a bootstrap head file's ownremote_gatewould be clearing its own obligation.- Under
--policy-from head, an invalid user-owned policy now refuses (PREGATE_CONFIG_INVALID) instead of being ignored, because it is the policy the head file is compared with. - A
[]declaration added only on the branch is refused under--policy-from head, the Dart device-test workaround included: declare"**/integration_test/**": []on the base branch first. ThePREGATE_NO_LANEfix line and docs say so.
Tests
test/pregate-head-policy.test.ts: a head policy that adds a lane passes; one that removes or swaps a lane, adds[], changes the runner, downgrades a check, allowlists a finding or deletes the file is refused; reorders are not changes; a stale branch keeps the base's newer lanes; the user-owned policy is compared when the base has none; a bootstrap still runs;timeout_sbounds each runner process,--timeoutoverrides it, and out-of-range values are invalid.test/ship-preflight.test.ts:--policy-from headreaches pregate, a removed lane stops withPREGATE_HEAD_POLICY_LOOSENS, andtimeout_sreaches preflight's pregate with the cause printed.test/pregate-remote.test.ts:--remoteunder head runs the base gate with thetimeout_sdeadline (or--timeout), and a head policy that changes the gate is refused.test/pregate-dart.test.tsandtest/pregate-user-policy.test.tsfollow the two behavior changes above.
[1.91.363.0] - 2026-10-31
A passing test lane that leaves Bun's .bun/ folder behind now grades FRESH, --check-prose no longer reads the Approvals table as a claim, and gstack-post pr-body drops a stale intro. Three /ship false alarms from GST-421 and GST-412 (HARN-1, HARN-12, GSTA-2, GEVA-69, gstack-evals#90).
Fixed
- GST-421:
gstack-wtreeleaves an untracked.bun/folder at the repo root out of the fingerprint. A test that created it madegstack-evidencetreat the run as a mid-run edit, socheckgraded the lane STALE with "record has no content fingerprint" and named no file. Tracked files under.bun/still count, and a tree without that folder hashes exactly as before. - GST-421:
gstack-evidencenames what changed during a run. When the fingerprint before and after a run differ, the record stores up to five changed paths aswtree_changed, the stderr warning lists them, andcheckgrades STALE withcontent changed during the run: <paths>. A record without them (or with entries that are not plain paths) still says "record has no content fingerprint". - GST-412:
gstack-ship-receipt read --check-proseskips the## Approvalsblockgstack-approvalsrenders (the heading, the table and itsSource: gstack-approvals recordline), so "one Step 11 pass" in the owner's quoted words is no longer read asgate.<lane>.pass body=11. Text after that block, a row the renderer would not write, a hand-written Approvals list and an example inside a code fence are still checked, the text on either side of the block never joins into a new claim, and CRLF bodies work.
Changed
- GST-412:
gstack-post pr-bodymanages the text above the first heading when the file has a##section. The current body's opening text, any text between the receipt and the first heading, or a whole body with no##heading, is replaced by the file's own text above its first heading, or dropped when the file has none. The stderr line names each dropped piece with its first line (; dropped leading text ("…")), or withholds that line when the redaction scan flags it, so a removed secret never reaches the terminal. A receipt-only or text-only file merges as before, and reposting the same body gives the same bytes.
Tests
test/evidence.test.ts: a lane that writes.bun/xgrades FRESH; one that writessrc/new.tsgrades STALE naming it; a tracked file under.bun/still moves the fingerprint; a tree without.bun/hashes like a plaingit add -A.test/ship-receipt-prose.test.ts: the rendered Approvals table, text after its footer, a fenced example, a hand-written list and a CRLF body.test/gstack-post.test.ts: stale lead text and stale text under the receipt are dropped and named; receipt-only and text-only files keep the old merge; reposts are byte-identical; an attribution callout is never doubled.
[1.91.362.0] - 2026-10-31
A /ship review pass on Capy is one call to a checked-in program, and reviewer briefs no longer pass through the model. In the GSTA-189 replay one pass took about 10 parent calls to plan, render, create, check and poll its readers, and the Red Team brief went out wrong twice because a file read cut its long lines. What reviewers see, which reviewers run, their depth and the blocking floor are unchanged, and the new path renders all 16 briefs of that replay byte for byte.
Added
gstack-review-dispatch passplans a pass and writes a staged manifest: audits marked first, then specialists with QA and the other audits, then the Red Team, then Step 11's voices. Each brief is rendered once its inputs exist, and the Red Team's findings file is the specialists' collected lines byte for byte.- Briefs travel in chunks (
gstack-review-dispatch chunk) of at most 65,536 characters, so a brief over 1 MB, or one whose diff has invalid UTF-8, reaches the reader whole and is checked bysentbefore the reader starts. - The Capy pass program (
lib/capy-review-pass.js, served bygstack-review-dispatch program) runs plan, review-log start, dispatch, poll, collect, the Red Team and the budget note in one call, returning within 200 s; the gstack Capy skill carries the loader. Each reader's intent is saved before its subagent is created, so a rerun after a lost create result finds the reader by title instead of starting it twice, and an unclear outcome stops the pass. A failed reader stops every rerun instead of leaving it polling, and a review-log start that failed is retried before any reader goes out.
Fixed
- The pass program takes its input as the Capy skill writes it.
extrasmay be JSON in the input, not only a file path, andcwdnames the checkout its commands run in. A reader that reports done a moment before its summary arrives is collected on a later poll instead of stopping the pass. Replay C2-34 (GSTA-193) lost 7 of its 15 calls to these three issues. - The targeted reader runs in the pass. When the plan dispatches it for money, gate, auth or secret code, it is staged with Step 11's voices on the merge base. Its brief matches
gstack-review-dispatch render --role targetedbyte for byte, and its ledger row carries the classes, rules, brief and patch the receipt's targeted record reads.
[1.91.361.0] - 2026-10-31
A reviewer's install no longer rewrites the lane's launch environment, and a hand-run gstack-upgrade on Capy no longer moves a checkout under another session. These are follow-ups to the v1.91.356.0 fix that stopped reviewer installs from upgrading the shared checkout.
Fixed
- A
--for review-voiceinstall that keeps the lane's fuller install verdict now borrows that install's launch environment. It writes no launch file and announces the lane's ownGSTACK_LAUNCH_FILEandGSTACK_LAUNCH_PATH. Before, it rewrote the lane's<verdict>.envand could repoint<verdict>.launch/bunat gstack's minimum Bun instead of the project's pinned Bun. A reviewer's own launch directory now lives under<verdict>.profile/review-voice.launch(mode 0700), and a failing review-voice check removes<verdict>.profile/. bin/gstack-upgradeon Capy counts a freshcapy-serverlease as another session's. Every session on a Capy machine runs under onecapy-serverprocess, so its own-session exclusion used to drop a sibling's lease and move the checkout at once. It now refuses witha shared harness (capy-server, pid <p>) holds a lease <n>m old; … (UPGRADE_BUSY)until that lease is 120 minutes old.GSTACK_UPGRADE_FORCE=1still overrides.gstack-lease livekeeps its meaning for the session start and the team-mode hook; onlygstack-upgradepasses the new--count-shared-harnessflag.- Fix hints after a skipped upgrade name the 120-minute wait or
GSTACK_UPGRADE_FORCE=1instead of a barebin/gstack-upgrade, which on Capy now refuses while a lease is fresh. - The /autoplan reviewer prompt no longer says its install fast-forwards the checkout. It clones when absent and otherwise uses the checkout as it is.
Changed
- Documented: the bootstrapper still fast-forwards a checkout below the supported minimum, for a reviewer too. Below it, every session's trailer on that checkout fails, and the minimum rises only for install-honesty or security fixes. A test locks this rule.
[1.91.360.0] - 2026-10-31
A PR's changelog.d fragment no longer brings back every paid gate case. Since fragments became the way every PR records its CHANGELOG entry (v1.91.342.0), the PR eval selector read each changelog.d/<slug>.md as an unknown dependency and restored the full gate, so it saved nothing on any PR (GST-400, found on #3668).
Fixed
scripts/test-pr-profile.tstreats a.mdfile directly in the ship policy'schangelog_fragments.diras having no eval dependents. Other files in that folder, nested files, and a touchfile that names a fragment still select as before.test/helpers/test-selection.tslists both paths of a renamed file, so moving a file intochangelog.d/ordocs/still selects the cases its old path fed.
Tests
test/test-pr-profile.test.tscovers a fragment-only PR (no full fallback, no cases), other files in the folder, and a touchfile that names a fragment;test/changed-files-union.test.tscovers a rename.
[1.91.359.0] - 2026-10-31
New /verify skill: run the repo's own checks and the tests /ship's pre-gate would pick, fix what breaks, and repeat until green, then hand off to /ship. /verify is the loop an agent runs while building. It never calls a change green when it cannot tell which tests cover it, and it asks once before running any repo command. It never reviews, bumps a version, pushes or opens a PR. GST-116, PR 1 of 2; moving /health onto the same detector is PR 2.
Added
gstack-checks(bin/gstack-checks,lib/checks.ts) with four verbs.detectlists the checks the repo declares (agstack:verify:line, then a## Health Stacksection in CLAUDE.md, then package.json scripts, tsconfig, eslint or biome, pyproject, Cargo.toml and go.mod) and never makes one up.runruns them plus the tests pregate's own selector picks, under pregate's supervision, and prints oneCHECK <name> <verdict>line each with at most 40 failing lines.trustrecords consent.statusprintsREADY_FOR_SHIP tree=<tree>from the last run and reruns nothing.- No false green. A touched file with no test (
UNMAPPED), a selection that ran zero tests (ZERO_RUN), more than 300 selected test files (TOO_BROAD), a timeout and a missing tool or service (ENV) are all not green. A tree that changes during a run readsINCOMPLETE.statusisNOT_READYonce the tree, the trusted commands, the base commit or the pregate policy moves. Platform lanes pregate owes remotely are listed asnot_covered. - Consent covers every command a run could execute: the checks, every package.json script, the pregate runner (or what it would detect) and each selection manifest command. Any change asks again, and nothing runs before consent.
/verifyskill (lightest preamble):detect, ask beforetrust,runafter each change, fix reds in the code under test, stop after 5 runs, a repeated failure or an environment failure, send a stubborn red to/investigate, and finish onREADY_FOR_SHIP.
Tests
test/gstack-checks.test.tscovers detection, the verify-gate parity of thegstack:verify:parser, consent (including a changed selection command, refused before it runs), reds, unmapped and zero-run selections, partial runs, a tree moved mid-run and argument errors.test/fixtures/skill-evals/verify/adds six eval tasks (build error, failing test, lint only, a test that needs a missing service, a repo with no checks, a green tree) with shell postconditions.test/verify-skill-eval.test.tschecks for free that each seed gives the expected verdict, that a real fix passes, and that two decoys (a disabled check, a claim of green with no fix) fail.- Catalog budget ceiling raised from 1,393 to 1,423 for the new skill row, by the new-skill ratchet in
test/catalog-budget.test.ts.
[1.91.358.0] - 2026-10-31
Diffs that touch money, gate, auth or secret code now get one more reviewer, a targeted reader with a short brief for that kind of code, and the /ship receipt records whether it ran (GST-257, part 1 of 2). The merge queue reports the result and refuses nothing yet; enforcement comes in a later release.
Added
lib/review-targeted.tsnames the classes a diff touches. It reads added and deleted lines, so removing a spend cap, a check or a redaction counts. Money is a cost, spend, budget, ledger, billing, price, fee or invoice path, an identifier ending in_usdorUsd, anyspend_capspelling, or a call to a paid model provider. Gate is a hunk the gate scan tagged. Auth isSCOPE_AUTHon an auth, session, jwt, permission or role path. Secret is a secrets, credentials, keychain or token path, or a line that reads a key-named environment variable or a credential store. Matching is token-bounded, paths review depth counts as docs or tests never count (agent prose such as skill sections and docs/review-policy.md counts as code there, so it counts here too), and an input the classifier cannot read gives all four classes.gstack-review-planprintsTARGETED: classes=… rules=… brief=… targeted_patch_id=…and, when a class hit,DISPATCH: targeted targeted effort=fullat every depth, light included.--targeted-ran <targeted_patch_id>skips the reader only when the whole committed diff, tests included, is the one it already read.review/specialists/targeted.mdis the reader's brief: one block per class, the blocking floor in one sentence, and the checklist's Forced-CRITICAL rule on uncapped spend in the money block. The reader is read-only, andNO FINDINGSis a result.gstack-review-dispatch render --role targeted --classes …renders the brief with only the blocks that hit;verify --targeted-out <file>writes the record (done only when the reader's output was collected and the committed diff it was rendered on is unchanged)gstack-ship-receipt write --review-targeted @<file>stores asreview_targeted, bound to the receipt'sproduct_patch_id. A carry keeps it while the product patch is unchanged.gstack-ship-queue readyandtrain buildprintREVIEW_TARGETED: required=… receipt=… verdict=ok|missing. Nothing is refused on it in this release.
Precision
- Over the last 100 non-release commits on main (8663c3d2..8be7f213), money hit 21, gate 18, auth 3 and secret 8. The gate class first used the gate paths, which hit 43 of 100, so it was narrowed to the gate scan's tagged hunks; those paths already get full review depth.
Tests
test/review-targeted.test.tscovers each class with deleted lines, token boundaries, the docs and tests exclusions, failing closed, the dispatch at light, standard and full depth,--targeted-ran, the path fromrenderthrough the receipt, the review-loop summary and the queue line. Its dispatch-superset check runsgstack-review-planon 18 fixture diffs and requires every reviewer main dispatched at 8be7f21, unchanged, plus only the targeted reader.test/review-packets-removed.test.tsrepinslib/review-depth.tsandship/sections/adversarial.mdand pins the new brief to that check.
[1.91.357.0] - 2026-10-31
pregate literals no longer flags a version-history table that the branch extended. A test that keeps one row per past version of a constant ([45, "<digest>"], then [46, "<digest>"]) used to fail literals on every bump, because the old row still holds the old value. Truther turned the check down to a warning over it, which also hid real stale tests.
Fixed
lib/pregate/checks/literals.ts: a row that starts with the old value is skipped when the same table holds a new-value row the branch added (the file at the merge base lacks it). Only the row itself is exempt (the old value after its closing bracket on the same line still fails), and the scan continues to the next line holding the old value, soexpect(PROOF_CHECKS).toBe(45)below an extended table still fails. A table the branch did not extend, a file that already held a new-value row at the merge base (read through a rename git detects), and a merge base that cannot be read still fail.- docs/pregate.md describes the history-row rule and the table shapes it recognizes.
Tests
test/pregate-selection.test.ts: an extended table, a newest-first table and a new file pass; an unextended table, a stale assertion below an extended table, an unextended table beside an extended one, and a table that already held the new row fail at the right line; string-valued and quoted semver histories pass; a stale assertion on the same line as a history row fails; a 20,000-row table is checked in linear time; and an end-to-endgstack-pregate --only literalsrun fails before the table is extended, passes after, and still fails for a renamed file whose table already held the new row.
[1.91.356.0] - 2026-10-31
A reviewer's install no longer upgrades the gstack checkout a lane shares. On a Capy machine, an /autoplan reviewer runs install.sh --for review-voice against the same checkout as the lane that dispatched it. Once the lane's workflow lease was more than 120 minutes old, that install fast-forwarded the checkout and rewrote the install verdict as for=review-voice. The lane's next workflow was then refused with INSTALL_UNVERIFIED.
Fixed
--for review-voicenever self-upgrades the checkout. When origin is ahead, the session printsSELF_UPGRADE: skipped (review-voice never self-upgrades a shared checkout; fix: <root>/bin/gstack-upgrade when no other session uses this checkout (UPGRADE_SKIPPED)), leaves HEAD where it was, and the trailer stays ok with abehind=note. This holds with or without a lease, andGSTACK_UPGRADE_FORCE=1does not override it. Ifbin/gstack-doctor-components.shcannot be read, the check still treatsreview-voiceas a reviewer install. The bootstrapper still fast-forwards a checkout below the supported minimum.--check --for review-voicenamesbin/gstack-upgradeas the fix instead of the install rerun, which would not move a reviewer checkout.
Changed
- The Captain's digest drops an archived thread from In progress in the same turn (docs/captain.md, the DIGEST.md template and /captain).
[1.91.355.0] - 2026-10-31
A driven /ship on Capy no longer pays one agent turn per finished reviewer, and it can count its own calls. Replays of gstack-evals #34 and #36 (GSTA-167) made 30 to about 92 parent calls against a target of 12. In the 9-reviewer replay, 23 of 25 waits were the parent waking once per finished reviewer, because the driver told it to end its turn on wait while reviewers ran. What reviewers see, which reviewers run, their depth and the blocking floor are unchanged.
Changed
- Readers are polled inside the program (
ship/DRIVER.md, Capy skill). A program returns 200 s after its first line and the next call resumes the poll; the parent never ends its turn while readers run. Capy polls with onetools.subagent.listper tick, starts readers a create call rejected once slots free, and reports a reader stuck for 20 minutes instead of dropping it.wait(now 200 s) is only for tests, pregate and CI when no reader runs. Lanes, pregate andfinishrun in the background. - A program returns at most 32 KB; longer reads such as
review-army.mdsplit at headings, each byte once, before first use. Phase 2 used to return about 98 KB of sections at once, and truncated reads cost extra calls. - A fix runs as one gated program: the failing test, the fix,
--tests-onlyand the next pass, each only if the last step passed. Step 7's audit, which may write tests, settles before the review pass reads the tree. - An unattended
pushdefers the one-time pre-push guard offer (REDACT_PREPUSH: … deferred=unattended) instead of stopping. It writes no marker and installs no hook, so the next interactive session still gets the offer.
Added
gstack-ship-budget calls --events <file>counts a run's parent calls from the host's transcript items:CALLS: total= decision= keepalive= idle_gaps_over_300s= max_gap_s=. A wait, or a program that only reads status (plus at most one bash for its note), counts as a keep-alive.
Fixed
gstack-ship-budget note --step 9.1records under step 9 with the sub-step as its label. Before, it was refused, and replays lost two notes to that error.gstack-review-scope renderaccepts{"deferred": [...]}as well as the bare array.gstack-review-dispatch judgetreats a judged line with no severity, or"severity": null, as invalid and printsJUDGMENT_REJECTED. Before, it crashed with a TypeError, and a replay spent three calls recovering.- The Capy skill passes a rendered brief as bash
catprints it. A file read cut the long lines of a 231,589-byte outside-voice brief, sosentreportedBRIEF_MISMATCHand the reader had to be sent again.
[1.91.354.0] - 2026-10-31
On Claude Code, /land-and-deploy loads about 15 KB less skill text per session. Step 7's canary instructions (the canary script, third-party dashboard actions, Aside setup and the browser fallback) moved out of land-and-deploy/SKILL.md into an on-demand sections/canary.md, which the skill reads only when it reaches the canary step or a browser or third-party site action. SKILL.md drops from 51,992 to 32,216 bytes. Codex and Factory renders inline every section, so they stay about the same size. In a paid before/after run (Opus 5.5, 10 tasks, 3 trials per arm; GSTA-161), mean loaded skill bytes fell from 109,334 to 93,828 (-14%), the pass rate held (after 97%, before 80%, a second before panel 87%), and mean cost per session stayed flat. Pass rates are graded on the transcript. These numbers are exploratory, from one eval suite.
Changed
land-and-deploy/sections/canary.mdholds the post-deploy canary procedure; the routing paragraph stays inSKILL.md. Shared resolvers are unchanged.
Tests
test/fixtures/skill-evals/land-and-deploy/adds a 10-task eval suite (happy path, CI-red override, conflicts, already merged, dirty checkout, first run, deploy success and failure, canary without a browser, Render hook) with aghstub and a state check per task.- Size, parity and section-loading guards re-pinned for the smaller skeleton and the new section.
[1.91.353.0] - 2026-10-31
/ship Step 12 now has a way through for repos whose unit PRs never change VERSION, and an unattended /ship no longer writes a version bump nobody approved. On gstack-evals (no policy file, so bump: ask), --keep-current, --version 0.0.1 and --accept-incomplete all stopped with BUMP_LEVEL needed (gstack-evals#85), and on gstack-evals#89 an unattended run took the recommended level and wrote 0.0.2 before anyone was asked (GST-380).
Added
"bump": "never"in.gstack/ship-policy.jsonfor a repo whose unit PRs never version. Step 12 printsVERSION: <v> kept (policy: bump never; no write), asks nothing and refuses--bump; a branch that moved VERSION stops until it is put back.gstack-restamp --nextthen needs an explicit--bumpor--version. The value needsmin_gstack_versionat its introducing release and cannot be combined withqueue_mode: stamp-at-merge,trainorchangelog_fragments, which stamp a version at every merge.
Fixed
gstack-ship-release version: on a branch whose VERSION still equals the base,--keep-currentand--version <current>printVERSION: <v> kept, write nothing and read no queue. Passing--bumpwith either stops and names the conflict. TheBUMP_LEVEL neededstop now names--keep-currenttoo.- No version write before the owner answers. Under
bump: ask, whengstack-session-kindreports anything butinteractive(unattended, spawned, OpenClaw, headless or CI), a Step 12 call that would write a version stops withBUMP_ANSWER_REQUIREDand writes nothing until it is rerun with--answer "<the owner's words>"(one line, at most 200 characters). This covers a FRESH--bumpand a--versionrewrite of an already bumped branch.bump: patchis a standing answer and needs no--answer.ship/DRIVER.mdlists the stop as an approval, so a brief's "take the recommended option" no longer answers it.
[1.91.352.0] - 2026-10-31
gstack now knows particle-1 and has measured it on its own tasks. particle-1 (Particle AI, October 28, 2026) passed 15/15 cells on a preregistered five-task panel, the same as Sonnet 5.5 and Opus 5.5, at $0.007 per task against Sonnet 5.5's $0.037 (run 2026-10-30-0105, Claude Code through OpenRouter). The panel is easy, so it shows no measured difference between the models, not that they are equal. Results and every cell are in docs/evals/particle-1-2026-10.md.
Added
- particle-1 and DeepSeek V4.1 Flash in the price table.
lib/pricing.tspricesparticle-1($0.25 input, $0.03 cached, $1.00 output per million tokens) anddeepseek-v4.1-flash-1017; provider-prefixed ids such asparticle-ai/particle-1resolve to them. gstack-model-benchmark --models particle,deepseekruns those models in Claude Code through OpenRouter (OPENROUTER_API_KEY). The child process gets no Anthropic credential, every Claude Code model alias is pinned to the arm's model, and a run that billed any other model is an error./benchmark-modelslists both and says what they send to OpenRouter.- A preregistered model panel (
test/skill-e2e-model-panel.test.ts): five gstack-shaped tasks, four models, three trials, each cell scored by a hidden check and priced from its own tokens. It runs on demand, not in the weekly eval run, because CI has no OpenRouter key.
Changed
- particle-1 counts as the DeepSeek family for outside-voice independence, because Particle built it on DeepSeek V4.1 Flash. A particle-1 voice is never treated as independent of a DeepSeek one.
- One provider registry feeds the benchmark CLI, its dry run and the runner.
Fixed
--modelswith no valid provider now exits 1 instead of quietly running claude.
[1.91.351.0] - 2026-10-31
Four skill-eval check commands that gstack-evals' Lane A vendors as graders no longer pass runs that break their rule. gstack-evals' grader audit (GST-374) showed that one agent-written .gitignore could hide new code from the /office-hours no-code check, and that three smaller gaps let other checks pass on the wrong files.
Fixed
- office-hours/no-code-session lists untracked files with
--exclude-from=.git/info/excludeinstead of--exclude-standard, so a.gitignorethe agent writes no longer hides anything. Only the seed's own exclude entry (.gstack-home/) still applies. - learn/no-code-change also fails on a new untracked file under
app/. Before,git diff --quiet HEAD -- appsaw only tracked files. - learn/add, prune-stale and prune-conflict read the seeded project's
learnings.jsonl(the slugseed.shderives from the work dir) instead ofprojects/*, so an extra project folder can no longer satisfy them. - The eight office-hours design-doc checks and backend-skips-visual first require
.gstack-hometo be a real directory and not a symlink.finddoes not descend into a symlinked start point, so a swapped state root used to hide every design doc and mockup.
Gate integrity
- These are grader edits that only tighten. Each check now fails runs it passed before, and no threshold, trial count or task was removed. The new
test/skill-eval-checks.test.tsseeds each task with its ownseed.sh, then runs the committed check after an honest action (it must pass) and after each hole (it must fail). On the old checks, all 15 hole cases passed the check and all 15 honest cases passed too. gstack-evals relocks its vendored copies from this commit. test/skill-eval-checks.test.tsjoins theBASELINEintest/test-of-test-ratchet.test.ts. It imports no product module because no gstack module runs these check commands; the commands themselves are what it tests.
[1.91.350.0] - 2026-10-31
/ship review costs less and catches more: one batched specialist, a blocking floor in both prose voices, and data files that no code reads review as docs (GSTA-167 variant G). The no-loss replay certified the stack before merge. Round 5 replayed 14 PRs with 29 known blockers, and the new reviewers found 24 against the control's 21, non-inferior at p=0.035. Round 6 pooled 41 blockers (the 29 plus 12 confirmed units from GSTA-2): 33 against 27, non-inferior at p=0.0055. The free re-score for the classifier and state-matrix change lost 0 blockers.
Changed
- One batched specialist reads every checklist at each depth. It always reads Testing and Security on code and gate diffs, and adds State-machines, Data-migration, API-contract and Design when scope asks for them. Maintainability, Performance and Simplification run only when forced, and
gstack-review-plannames them on aSKIP:line. The Red Team reads the batched reader's merged findings. - Specialists run at medium reasoning effort. The Red Team, the native adversarial pass and the fix-check stay at full effort.
--no-tiers(orreview_effort_tiers off) runs specialists at the host default. - Both prose voices carry the blocking floor. The native adversarial and outside-voice prompts say a finding blocks only if it would fail a test, break production, or lose data or secrets, and end each finding with
Severity:andBlocks: yes|no. A finding is CRITICAL when its old label rule says so or it saysBlocks: yes, andBlocks: nonever lowers one.gstack-review-dispatch collectrecords aBlocks: yesfinding as CRITICAL, sojudgerefuses a lead judgment that keeps it below the floor. - A JSON, CSV, TSV or raster data file that no code names counts as docs, not runtime lines.
classifyDifffinds code consumers withgit grep; YAML, TOML, SVG and config files stay code, and path-only callers (the receipt's gate scan, the release route) keep data files code.gstack-ship-preflight'sRUNTIME_LINESnow comes from the same function. - An untested state-matrix cell is a test gap below the floor. A wrong row or collapsed kinds stays CRITICAL, and the state-machines checklist itself is unchanged.
Fixed
gstack-review-dispatch render --checkliststakes the plan's checklist names as well as paths, and refuses an unknown one. The outside-voice brief no longer adds a separate severity line, since the prompt now asks for Severity and Blocks itself.collectkeeps one finding per id in the layout the prompts ask for. ASeverity:orBlocks:line below a finding joins that finding, an inlineBlocks: yeswith no label still collects as CRITICAL, and the native voice's FIXABLE collects as CRITICAL even beside a lowerSeverity:. When the layout is unclear,collectmerges findings rather than dropping one.- The data-file consumer scan reads
git grepthe same way under any git config.grep.lineNumber,grep.columnandcolor.grepno longer hide a consumer, and a failed scan keeps every data file code withconsumer_scan_failed.
Tests
test/prose-voice-floor.test.tsrenders both prose prompts for the claude and codex hosts and checks the floor sentence and the Blocks line.test/review-depth.test.tscovers the batched reader on the captured fixtures, effort per role and the data-file rule.test/review-dispatch.test.tscoversBlocks: yescollection and batched checklist names.test/review-packets-removed.test.tsrepins the changed briefs to their no-loss replays (PR-a, G1, L).
[1.91.349.0] - 2026-10-31
Nine flaky tests from the 2026-10-30 flaky pass stop failing correct runs. Two paid detectors missed correct replies, one paid case lost the evidence of its own failure, five free tests raced their own fixtures or paid a cold start inside a timed call, and two Windows failures came from real defects: a lost IPC receipt in the QA deadline worker and a Chromium feature that fails loopback connections.
Fixed
lib/qa-deadline.ts: the receipt worker waits for the parent to acknowledge each receipt before it exits. Bun can drop an IPC message the parent has not read yet when the child exits, so on Windowsgstack-qa-deadline runandgstack-qa-evidencecould return the exit code without thefinishedreceipt (Windows Free Tests 40991662945,test/qa-deadline.test.ts:431received one of two receipts). A receipt still unacknowledged after the existing 5 s write wait makes the worker exit 2, as an unwritten receipt did before.patches/[email protected]: backports microsoft/playwright#43605, which disables Chromium'sTcpPortRandomizationWin. On Windows it fails loopback page loads withnet::ERR_NO_BUFFER_SPACEeven when ports are free (browse/test/cookie-picker-ui.test.ts, Windows Free Tests 40656299153 and 41056150287). gstack's own browser launches on Windows had the same exposure.test/helpers/qa-only-cleanup.ts: the cleanup check reads the daemon state file once and treats a file deleted during shutdown as absent, instead of checking that it exists and then reading it (Free Tests 40964422549: ENOENT onbrowse.json).test/claude-code-runner.test.ts: the liveness helper counts a process in theX(being reaped) state as dead, likeZ, and the cleanup no longer kills a pid that is already gone (Free Tests 41034844588: ESRCH).test/helpers/free-owned-browser-settlement.ts: in thecancel-vanishing-recordcase the fake daemon waits for the observer to remove its record before it exits, so the race the case injects always happens (Free Tests 40924799742).test/investigate-freeze-path.test.ts: the E1 cases pay the first bash and JSON interpreter start once, in an unasserted warm-up, before the timed hook calls. In four Windows runs (40824965988, 40917695070, 40985163846, 40996480693) only the file's first hook call hit the 15 s kill, the second took 1.9 to 7.9 s and the rest 0.3 to 1 s. Each timed call keeps its 15 s kill.
Gate integrity
- ship-unmanaged-hook-consent (
test/helpers/ship-hook-actor.ts): the decline check also credits "no hook/change/file was installed, changed, modified, overwritten or replaced". Gate 41005113772 said "No hook was installed or changed" and "nothing was overwritten" after a correct decline; its installs, hook bytes and question checks all passed. The four negative controls still fail. - tpa-absent-darwin (
test/helpers/third-party-actions.ts): the Aside download pitch also counts in the passive voice at a clause start ("Aside ... can be downloaded at aside.com", gate 40987391676). Reported and mid-clause forms still count zero, and so does a clause with "not", "no", "never" or "n't" before the phrase.
Changed
- autoplan-guard-pty (
test/helpers/autoplan-guard-pty.ts,test/skill-e2e-autoplan-guard-pty.test.ts): adispatch_promptdeny prints each Agent dispatch's length, first differing offset and context next to the prompt the actor had to copy, read before cleanup deletes it. Gate 40992022983 lost those bytes because the journal summary cuts inputs at 160 characters.
Tests
- New captures:
test/fixtures/ship-hook-consent-2026-10-30.jsonand a passive-voice capture intest/fixtures/third-party-actions-pitch-captures.json; both tests fail with their detector change reverted.browse/test/playwright-core-patch.test.tschecks the backport in the patch and the installed tree, and fails without it.test/autoplan-guard-pty-fixture.test.tschecks the dispatch delta on a synthetic journal.test/qa-deadline.test.tsplays the parent, so it now acknowledges each receipt; its assertions are unchanged, and a new case shows a worker whose parent never acknowledges exits 2 after sending both receipts.
[1.91.348.0] - 2026-10-31
- Pregate now maps tests to dotfiles they name. A test that reads
../.gitleaks.toml,.gitleaks.tomlorjoin('.github', 'workflows', 'ci.yml')used to get no edge to that file, so a branch touching only the dotfile ended inPREGATE_NO_LANE. Quoted literals may now start with a dot, and a dot-led literal that isn't./or../resolves from both the repository root and the folder of the file that names it, so a fixture's own.github/keeps its edge. A literal still forms an edge only when it names a file in the repo, so strings like'.ts'add nothing. On gstack this adds 179 edges (buildGraphover this repository: 16,934 on main 2127729, 17,113 with this change, none removed), all to real dotfiles such as.github/workflows/*.ymland.gstack/*.json. (GST-246, reported from garrytan/truther#956.)
[1.91.347.0] - 2026-10-31
A Captain archives only its own crew's threads (R39, amended). A thread outside every crew belongs to the owner and stays as it is, even when the Captain's own automation created it.
Changed
- docs/captain.md and the Capy factory context (
factory.mdpoint 12) now say a Captain archives only the threads in its own crew, each when its plan for that thread says the work is done. No Captain archives, flags or lists a thread outside every crew for archiving unless the owner asks. The earlier wording also let a Captain archive threads its automations started outside the crew, and that emptied the owner's unattached threads.
[1.91.346.0] - 2026-10-31
sealed.local_path now flags a home path inside a shell default, ${UBI_RUNNER:-/home/<user>…}, as it already flagged the same path after ?? "/home/<user>…" in TypeScript. gstack-evals quick/laneb/runner/launch.sh:9 passed the scan because the - before the path counted as part of a word (#3568).
Fixed
sealed.local_path(lib/sealed-guard.ts): a home path directly after a${…:-or${…-default now matches, for a name, an array element (${arr[0]:-, a subscript of up to 64 characters, so a long line of unclosed${a[cannot make the scan quadratic), an indirect name (${!ref:-), a positional number or a special parameter (${@:-).:=,:+and:?already matched, because=,+and?were never word characters. A hyphen anywhere else still excludes the match, so a path glued to a word (docs-…,$VAR-…,${VAR}-…) stays unflagged; docs/pregate.md lists that as a known limit.
Gate integrity
- This is a gate edit that only tightens. The guard now refuses lines it passed before. No existing test, threshold or allowlist changed. A new case in
test/sealed-guard.test.tscovers all five operators, a positional parameter,${@, an array element, an indirect name, a Windows path and the TypeScript??form. It also checks six negative controls, which are two hyphenated paths, a hyphenated sentence,$VAR-,${VAR}-and a relative default. Without the fix it misses every-form.
[1.91.345.0] - 2026-10-31
A capped /ship on Capy now spends fewer agent turns and counts only its own tokens, while every reviewer still gets exactly the brief 1.91.331.0 gives it. Two new commands do /ship's fixed shell work, a short driver file replaces reading the whole skill when a parent agent runs /ship, and the budget measures each reviewer batch on its own instead of across the parent's work. Replays of gstack-evals #34 and #36 (GSTA-167) spent 12.19M tokens on Steps 12-17 and 0.25-0.4M on each parent turn; these changes cut turns, not reviewer context.
Added
gstack-ship-preflightruns Steps 1-3 (branch guard, status, fetch, diff stat, PR and receipt carry, scope, base merge, distribution, policy, runtime lines) and Step 5 (pregate, then the test lanes in parallel) in one call.gstack-ship-releaseruns Step 12's version, Steps 15-16's release commit and verification, and Step 17's push. Each prints at most 30 lines;STOP:names the decision left to the agent andNEXT:the step to run. Underqueue_mode stamp-at-mergeorchangelog_fragmentsthe version step printsVERSION: skipped (policy: ...)and writes nothing; underchangelog_fragmentsitsNEXT:line names the branch's own fragment, andfinishcommits that fragment as release metadata.ship/DRIVER.md, a compact host-neutral driver for a parent agent running/shipunattended: one or two calls per phase, and the section each STOP needs. Its audit, review, adversarial and documentation phases run their sections as written, so it never restates or shortens a reviewer's brief.gstack-review-dispatchgates every/shipreviewer brief and finding.renderbuilds a reader's brief from its section with only declared slots filled,sentchecks the prompt a dispatch passed against that brief by sha256 (BRIEF_MISMATCHvoids the review),collectis the only way findings reachmerged.jsonl(each with its label as written), andjudgerefuses a judged set that drops or downgrades a collected finding.verify --ledgerreplays all of it per pass from the run's ledger and printsVERIFY: cleanonly when nothing was lost; a mismatched send that was re-sent exact before anything was collected shows asvoided=N.- Small runs keep their segment.
check --runtime-lines <n>continues at the Step 9 and Step 12 boundaries with aSMALL_RUN:line when the diff has at most 50 runtime lines and the segment would cost less than a child's fixed startup.
Changed
- The Capy meter reads the agent's own thread, its subagents included, inside the same program as the budget command, never in a call of its own. A handoff child counts from its own
verify-handoffreading, andreconcilecharges theused=its return prints. - Steps are priced at the run's own per-call charge once three calls are measured; a prior reading older than the run's last reading is ignored (
CALL_UNKNOWN:). - A reviewer batch is measured only by its own program's reading pair (
settle --dispatched-at <before> --reading <after> --readers <n>); anything else printsUNMEASURED:and leaves the factor alone.checkprints the reservation id alone on aRESERVATION_ID:line, a multi-role reservation admits one review start per role, and--finishsettles a later Red Team batch of the same pass. - A handoff brief lists the child's
READ:line ranges: its own steps ofship/SKILL.mdand each of its sections whole, and names the last step it returns at. - The Capy launch file appends the checkout's
bin/to PATH, so a baregstack-ship-budgetresolves.
Fixed
- A failed child stops its parent until a regenerated child reconciles complete or the owner resumes, and
reconcile --recordfinds the parent run after a--continuechild. closecounts review starts reserved in handoff children, so a dispatch reserved inside a child is no longer flagged as unreserved at the root.- A dependency or script change after review is re-reviewed.
gstack-ship-release finishcounts package.json and package-lock.json as release metadata only when the version alone changed, never counts bun.lock, and decides after any--buildruns. TODOS.md edits rerun the test lanes. pushstops when the sealed-output guard could not run, not only when it refuses.
Tests
test/review-packets-removed.test.tsnow also pins the reviewer briefs, checklists, fix-check prompt and depth rules by content, so a change to what a reviewer sees fails until its no-loss replay is recorded.
[1.91.344.0] - 2026-10-31
A PR that moves its CHANGELOG entry into changelog.d/ keeps its /ship receipt (GST-343). Since #3654 turned on changelog fragments for gstack, a base merge that moved a PR's [Unreleased] entry into changelog.d/<slug>.md made gstack-ship-receipt carry refuse with RECEIPT_CARRY_PRODUCT_CHANGED. The PR then needed a new review pass for a changelog edit.
Fixed
- Carry counts a changelog fragment as release metadata (
lib/ship-receipt.ts,bin/gstack-ship-receipt). When the base policy setschangelog_fragments, each<dir>/<slug>.mddirectly under the directory is metadata, asCHANGELOG.mdis. The directory's README.md, a nested path, a non-Markdown file and a fragment under a policy withoutchangelog_fragmentsstay product. docs/ship-policy.md lists the fragment under release metadata.
Tests
test/gstack-ship-receipt.test.ts: a merge-only head that moves the entry intochangelog.d/feat.mdcarries as "base merge + release metadata". A README edit in the same merge is refused and named, and so is the same move when the base policy has nochangelog_fragments.
[1.91.343.0] - 2026-10-31
Every ask to the owner now uses one lettered format (R41): the Captain's name, then one line per decision with the problem, the options and the recommendation, so the owner can answer "do it" or a letter like "B2" from a phone. When the owner has to do something, the ask links the exact page and lists the steps (R43).
Changed
- The plan ask lists each gate choice as a lettered line (
lib/captain-brief.ts,gstack-owner-brief render --captain): "What we need from you" prints one line per choice with the recommended option first and the plan approval as the last letter. The header and the closing line invite do it or a named option, and a new--captain-name <name>heads the list. The relaying agent's last line maps every letter to its gate token next torec resolves to …and says a named option answers asrec except <token>, so a reply like "B2" translates exactly. A plan that is missing a section still invites no reply. - An ask that needs the owner to do something carries the exact link and simple steps (R43). The ask format says so: the full URL of the page where it happens (never a menu path like "Settings → Tokens"; a Capy app page gets its exact path and field), numbered steps saying what to click and type, and the one word to reply when done.
docs/captain.md,plan-ask.md,merge-ask.md,captain/SKILL.mdandfactory.mdpoint 11 carry it. - docs/captain.md has a new section, The ask format, and the plan ask, the controller's relay and the digest's Needs you point to it. The captain templates (
plan-ask.md,DIGEST.md,merge-ask.md,AGENTS.md,report.md),captain/SKILL.md, the Capy gstack skill (SKILL.md,captain.md,factory.md) anddocs/recommended-harness.mdstate the same format.
Tests
test/captain-brief.test.ts: lettered lines with the recommendation first and "A1 to take recommendation", the letter-to-token map, the--captain-nameheading, carried answers in the lettered lines, and no reply invitation on a plan that is missing a section.
[1.91.342.0] - 2026-10-30
gstack now versions its own PRs at merge time: a PR adds changelog.d/<branch-slug>.md instead of a version, and trains merge through train land instead of slot calls. .gstack/ship-policy.json turns changelog_fragments on with the checks every PR runs as required_checks, and min_gstack_version moves to 1.91.340.0, the first release that reads required_checks and counts a stamped slot as merged only when GitHub reports it MERGED, so an older gstack refuses the file by name.
Changed
changelog_fragmentsis on for gstack (.gstack/ship-policy.json,changelog.d/README.md):required_checkslistsfree-tests,windows-free-tests,Check VERSION is not stale vs queue,quality,check-freshnessandactionlint. Path-filtered workflows stay out of the list, because a stamp commit of a PR outside their paths never gets those checks.CHANGELOG_FRAGMENTS_KEY_VERSIONis 1.91.336.0, the version #3594 landed at, in place of the placeholder 1.92.0.0.- /captain teaches
train land: underchangelog_fragmentsthere is no slot call; the controller runsgstack-ship-queue train landper slot in order (captain/SKILL.md.tmpl,docs/skills.md).
Fixed
- A stacked PR whose only own line sits inside its released parent's list merges its CHANGELOG instead of refusing (
lib/changelog-check.ts):mergeChangelogsfiled the line as an addition to the parent's released entry and returned null, so #3613's slot needed a hand resolve. When that would leave the child nothing of its own, the inserted lines are now the child's entry; on #3613's real CHANGELOGs the result equals the resolve that shipped.
Tests
test/changelog-merge-damage.test.ts: a child whose only own bullet sits at the top of the released parent's### Changedlist keeps it as its entry and passesownEntryAboveMain; a child with no line of its own, a reordered parent bullet and a duplicated one stay null.test/gstack-ship-policy.test.ts: everyrequired_checksname is a check a pull_request workflow without a path filter reports (a job'sname:, or its id when it has none), andmin_gstack_versionis at least the key's introducing version.
[1.91.341.0] - 2026-10-30
gstack no longer leaves Ubicloud VMs running after a lane dies (GST-118). A runner killed mid-run, a copy of the runner without a TTL, or a VM with no owner could keep billing until someone noticed. Now every VM names its owner and its lifetime, the next up anywhere destroys anything past its lifetime, and every run says in one line whether its VM is gone.
Fixed
scripts/ubicloud/ubi-runner.sh:up,runandverifyrefuse withoutUBI_OWNER(UBI_OWNER_REQUIRED), so no VM is created that nobody can name. The default TTL drops from 4 hours to 3 (UBI_TTL_HOURS, 1-999), checked only when a VM is created, so an old setting never blocksdownorreap.reap, which everyupruns first, now also destroys the caller's ownubirun-<UBI_OWNER>-*VMs that carry no TTL (made by older runner copies) once they are 4 hours old (UBI_LEGACY_HOURS). Another owner's TTL-less VM, an untagged one and names outside theubirun-prefix are never touched, because only a TTL lets reap judge another lane's VM.UBICLOUD: left=<0|1|unknown> owner=<o> vm=<name> others=<n>:runandverifyend with this line, checked against the project's VM list after teardown. Anything butleft=0turns a passing command into exit 1 and prints thedowncommand to run;run --keepprintsleft=1 ... kept=1and keeps its exit status.scripts/ubicloud/pregate-remote.sh: the remote pregate refuses withoutUBI_OWNER(PREGATE_REMOTE_OWNER_REQUIRED), names its VM with a TTL taken from its own stop deadline plus 15 minutes (-t1at today's 2,700-second timeout), and fails withPREGATE_REMOTE_INFRAunless the runner reportsleft=0. It reads that line from the file named byUBI_LEFT_FILE, never from the remote command's output.- docs/TESTING_INTERNALS.md, docs/pregate.md, docs/skills.md and the
/ubicloudskill describe the owner rule, the new TTL default, the legacy sweep and theleft=line.
Tests
test/ubicloud-runner.test.ts: refusal without an owner, the TTL bounds, the legacy sweep at the default and atUBI_LEGACY_HOURS=2(never another owner's, an untagged or an owner-less caller's),left=0,left=1on a failed destroy (with a failing command keeping exit 7),run --keep, and read-only commands accepting an oldUBI_TTL_HOURS=0.test/ubicloud-pregate-remote.test.ts: the owner refusal, the-t1TTL at today's timeout, andleft=1,left=unknownand a missing line each failing closed with thedownhint.
[1.91.340.0] - 2026-10-30
Changed
- A stamped train counts a slot as merged only when GitHub reports its PR MERGED (
lib/ship-queue-train-verify.ts, #3603): for a stamped train,train landrefuses to confirm a PR GitHub reports open even when main's tree is its S_i (QUEUE_PROOF_MISSING), and the merged count, the freeze decision and the freeze record read every slot's GitHub state instead of trusting the record'smergedentries. Plain trains are unchanged.
[1.91.339.0] - 2026-10-30
Merge trains can stamp every slot themselves under changelog_fragments: train build builds a stamped prefix for each slot and train land publishes it, so no lane stamps a PR by hand. gstack's own policy still leaves the key off (docs/ship-policy.md#changelog-fragments).
Added
- Stamped merge trains (
lib/ship-queue-train-stamp.ts,lib/ship-queue-train-land.ts): underchangelog_fragments,train buildalso builds S_i = stamp(merge(S_(i-1), pin_i)) for every slot, checks each is the merge modulo stamps, keeps every earlier release entry byte for byte and equals the plain prefix outside release paths (QUEUE_TRAIN_STAMP_MISMATCH), refuses a symlinked release file before stamping, and gates S_k.train land --train <nonce> --pr <n>publishes slot i's S_i exactly. It makes a deterministic stamp commit on [pin, main], journals it before it is pushed under the pin's lease with theevals-no-debouncelabel, waits for checks, merges with--match-head-commitand confirms main's tree; a rerun adopts its own stamp head, a PR retargeted off the base refuses, and any other main freezes the queue as before. It first verifies the whole record against git (T0 and S_1..S_k must be the gated head's first-parent chain, each S_i's second parent slot i's pin) and uses only that chain, and it merges only when every name in the newchangelog_fragments.required_checksis present and green on the stamp commit.verify --trainrefuses a stamped train and namestrain land;train bisectof a stamped train tests T0 and S_1..S_k.
Changed
- The main backstop covers a stamped train's merges by exact tree (
scripts/train-backstop.ts,scripts/train-gate.ts): a record's S_i prefixes cover main only when its tree is exactly S_i; plain T_i prefixes still cover modulo stamps. - A train merge keeps a pin's manifest edits (
lib/ship-queue-train.ts): apackage.jsonor lockfile conflict against the previous prefix merges three-way with the prefix's version (the samemergeManifestland uses) instead of taking the prefix's whole file; anything else that conflicts is a train conflict. - Version Gate reads a stacked child's stamp commit by its own fragments: a parent's fragment the base has already released is skipped rather than counted again.
Tests
test/ship-queue-train-stamp.test.ts: S2 keeps S1's release and runs the versions in order with each slot's bump; a stacked child folds only its own fragment; a four-part package.json base keeps four parts in every S_i, read from S_(i-1); a pin's manifest edit beside the version line survives the previous slot's bump; a symlinked CHANGELOG refuses before anything is written outside; a tampered earlier version or a product change is refused.test/ship-queue-train-land.test.ts: build records S1 and S2 and gates S2; land publishes each slot exactly with the label; a foreign push is never overwritten; a merge outside the train freezes the queue; a failed stamp commit pushes nothing; a rerun after the push or after the journal resumes; a retargeted PR refuses; a red stamped train bisects its stamped chain; a plain train refusestrain land.test/train-backstop.test.ts: main equal to S1 is covered; the same tree with another VERSION is gated; a chain mixing stamped and plain prefixes is refused.test/version-gate-fragments.test.ts: a stacked child's stamp counts only its own fragment once its parent has landed.
[1.91.338.0] - 2026-10-30
A sealed-guard waiver now counts only when it names the full commit sha. A .gstack/sealed-allow.tsv line used to accept a sha as short as 7 hex characters and waive any commit whose sha started with it. A PR author could generate a commit with the same first 7 characters in minutes and publish different content at the same path under an old, reviewed waiver. A waiver now matches only the finding's full commit sha (40 hex characters, 64 in a SHA-256 repository). A shortened, uppercase or mistyped sha is ignored, so the finding still refuses, and stderr says which line was ignored and which commit the finding is in, to review before anyone waives it.
Changed
lib/sealed-guard.ts: waivers compare the whole commit sha;gstack-pregate sealed --jsonaddsignoredWaivers(rule, path, the sha as written, the finding's commit) for waiver lines that name a finding's rule and path but not its commit, once per line and commit. Lines that match no finding, and waivers that applied to another commit in the push, stay silent.- The refusal hint, the
SEALED_OUTPUT_REFUSEDfix text, docs/pregate.md and docs/troubleshooting.md say the sha must be the full commit sha.
Tests
test/sealed-guard.test.ts: 7-, 12- and 39-character prefixes, an uppercase sha and one extra character do not waive and are named; the full sha waives, trailing whitespace included; another commit's full sha does not waive; a short line with no matching finding prints nothing; a waiver applied to one commit is not reported for a later one; a text rule with two matching lines names a short waiver once; a SHA-256 repository accepts 64 characters and rejects 40, 63 and 65; error reports carry an empty list. The two existing waiver tests now write the full sha.
[1.91.337.0] - 2026-10-30
Changed
- Plan first has two narrow fix exemptions. An S1 emergency (a broken install or upgrade, a red main, a security bug) and a fix from a problem list that was already diagnosed and audited can be built without an
/autoplanrun. Every other fix, a one-line bug fix included, gets a one-round, eng-only plan.docs/captain.md§ Plan before build says how, andcaptain/SKILL.md,captain/templates/CREW.mdrule 24 and the Capy skill's SKILL.md list the same exemptions.
[1.91.336.0] - 2026-10-30
A repository can now assign its version when a PR merges instead of inside the PR: PRs carry unversioned CHANGELOG fragments and gstack-ship-queue land stamps, pushes and merges. Today every PR picks a version before it merges, so each merge makes the next PR's version stale and its lane redoes the stamp (a median 14.5 minutes from stamp commit to merge over 30 slots, Oct 27-29; the queue froze on hand-made stamps in #3422 and #3487). With changelog_fragments on, two PRs cut from one base cannot collide, and nobody stamps by hand. gstack's own policy does not turn it on in this release (docs/ship-policy.md#changelog-fragments).
Added
changelog_fragments: { dir }(lib/ship-policy.ts,lib/changelog-fragments.ts): a PR adds<dir>/<slug>.mdwith its entry text and optionalbump: minor|majorfront matter. Fragments are read as Git blobs only; a symlink, gitlink, nested path, empty or oversized fragment, one with a release heading, a reused name, or one whose text is already released on the base (a parent PR's fragment carried in by stacked history) isCHANGELOG_FRAGMENT_INVALIDbefore any version is allocated.gstack-restampfolds fragments: their bodies go above any legacy[Unreleased]section under one new heading, the files are deleted, and the highest declared bump wins over the policy's. The tree receipt'schangelog-fragmentsrule accepts exactly that fold and nothing else.gstack-ship-queue land --pr <n>(lib/ship-queue-land.ts): the per-PR merge step. It takes the land lock (refs/notes/gstack-land), checks the /ship receipt, the READY receipt and checks at the pin, merges the base resolving release fields only (a clean dependency edit survives; a product conflict refuses), stamps, pushes a commit with parents [pin, base] under an exact lease, waits for checks, restamps if the base moved (at most twice), squashes with--match-head-commit(merges with--mergeunderhistory: merge-only) and confirms the base tree. A PR whose base is another branch refuses before the lock; a refusal before the push releases the lock. Every step is journaled and resumable, also from the stamp commit's pin when the local journal is gone.--repairopens the follow-up PR afterQUEUE_LAND_DRIFT;--censusprints what land would do with every open PR, writing nothing.- /ship writes the fragment (
lib/ship-policy.ts,ship/SKILL.md.tmpl): under the key,show-effectiveprints aship: changelog_fragmentsline, so Step 12 writes no version and Step 13 writes<dir>/<branch-slug>.md(linted withgstack-prose-lint --gate) instead of an[Unreleased]section; the skill's policy paragraph now says itsship:lines bind Steps 12–16. restamp_commandgetsGSTACK_RESTAMP_BASE_SHA, the release predecessor, so a repo counter such as a SAVE_VERSION computes predecessor + 1 from the base and never from the branch.- New result codes with troubleshooting anchors:
CHANGELOG_FRAGMENT_INVALID,QUEUE_LAND_LOCKED,QUEUE_LAND_CONFLICT,QUEUE_LAND_DRIFT,QUEUE_LAND_BASE_BUSY.
Changed
- Version Gate runs on every PR (the path filter is gone), so under
changelog_fragmentsa PR that touches no release file still proves it carries a fragment. An unstamped head keeps its release fields at its merge base and adds a valid fragment (legacy[Unreleased]passes; a[bot]author needs none); a merge-step stamp commit must have parents [pin, base] and carry the base plus its fragments' effective bump, so a lane that stamps its own head fails. Without the key nothing changes.
Tests
test/changelog-fragments.test.ts: blob-only reads and refusals, a carried-back fragment refused on whole released lines only, bump precedence, fold order with a legacy section, the restamp fold and its tree receipt, an edited fold refused.test/ship-queue-land.test.ts(bare origin and a gh shim): happy path; two PRs from one base without a collision; a legacy stamp plus a dependency edit; a title-derived entry; a product conflict; the lock and--break-lock; the base moving during CI; a foreign push never overwritten; a missing receipt; drift,--repairand the lock release; the census; a receipt that fails #3567's depth check refuses; a base with a four-part package.json instamp_fileslands four parts (#3557), gstack's own shape stays three; one run without--no-waitmerges; a PR on another base refuses;--break-lockrefuses a drift lock; a conflict releases the lock; a stacked parent's fragment refuses; a lost journal resumes;merge-onlymerges with--merge; a merge GitHub completed behind an error reply reconciles;--break-lockrefuses a holder mid-merge;--repairresumes after a failed PR create and its PR takes over from a clean checkout; a symlinked legacy VERSION refuses in--dry-run; apackage.jsonversion source keeps its dependency edits.test/version-gate-fragments.test.ts: fragment heads, premature version changes, a bot author, an advanced base, an invalid fragment, the stamp commit's effective bump (open version claims do not apply to it), and the workflow's missing path filter.test/restamp-command-boundary.test.ts: the hook reads its counter fromGSTACK_RESTAMP_BASE_SHA, not the branch.
[1.91.335.0] - 2026-10-30
Fixed
- Captains now read factory.md and the owner's model preference. A Capy session with no gstack checkout (every Captain and coordinator, which run
install.sh --check --for none) used to skip factory.md without a word and never appliedagent_model, because both were read only from the checkout. The skill now tells it to read thefactory.mdbeside SKILL.md, to sayfactory.md: noneon its own line when there isn't one, and to read theagent_modelline ofpreferences.yamlitself. Owners get the fix by copyingcapy/skill/gstack/into the Drive skill folder.
[1.91.334.0] - 2026-10-30
OpenClaw opens gstack's large task skills again (GST-110). #3555 made hybrid OpenClaw's default and registered review, investigate, qa, ship and plan-eng-review as skills of their own. OpenClaw 2026.10.6 serves a registered skill's SKILL.md whole or refuses it, with a 32,768-byte limit when its model catalog has no context window for the model. In HARN-5's panel the agent's first read of the 77,691-byte gstack-review file was refused in 4 of 5 trials, and opens fell from 5/5 to 0/5. Under the router layout the same file had been read as a plain file inside the router's folder, which OpenClaw pages.
Fixed
gstack-harness register openclaw(lib/harness-register.ts): a skill whose renderedSKILL.mdis over 32,000 bytes (OPENCLAW_INSTRUCTION_MAX, under both OpenClaw's 32,768-byte limit and the 32,000-character budget it applies with a 100K-200K-token context window, with the OpenClaw source lines it comes from) is registered as a short entry with the same frontmatter whose body says to read the skill's fullSKILL.mdin a plain copy of every skill and follow it. In hybrid that copy is the router'sgstack/skills/, where the router layout read the same file, now including the five task skills; under--skills allit is.gstack-skills/, a folder OpenClaw's skill scan skips. Because the copy holds every skill,sections/paths and sibling paths such as../gstack-qa/and autoplan's../gstack-plan-eng-review/SKILL.mdresolve to full texts. That covers four of hybrid's five direct skills and 26 of 63 skills in--skills alltoday. OpenClaw treats only a registered skill folder'sSKILL.mdas an instruction file. The ledger records the copies, so refresh, mode switches, upgrades from a #3555 registration and uninstall handle them. Skill bodies are unchanged, and Hermes, dots andgenericregistrations are byte-identical.- docs/hosts.md and docs/OPENCLAW.md describe the entry and the limit, and docs/uninstall.md's manual OpenClaw removal command also removes
.gstack-skills/.
Tests
test/harness-register.test.ts: in hybrid and all, everySKILL.mdOpenClaw would register is within the limit, each entry names a fullSKILL.mdthat exists, has the same frontmatter, is outside OpenClaw's registered set and is in the ledger, every../gstack-*path in the copied texts resolves to a full text, re-registering over a #3555 registration converts it cleanly, and uninstall leaves nothing. Hermes's registration equals its render byte for byte. WithGSTACK_OPENCLAW_BINoropenclawon PATH, a realopenclaw skills list --jsonandskills infoshow exactlygstackand the five task skills, each served from an entry within the limit.
[1.91.333.0] - 2026-10-30
gstack-factory-scorecard --now now ends the window, so a past week no longer counts what happened after it. Every line counts only items whose timestamps fall in [now - since-days, now). Before, --now moved only the start, so --now 2026-10-15T00:00:00Z --since-days 14 counted 290 merged PRs (every merge from 2026-10-01 through the day of the run) where the window holds 65, and the gate-run and release lines also counted through the day of the run. Rerun with the fix, the two weeks before 2026-10-15 show 65 merged PRs and the two weeks before 2026-10-29 show 197, matching GitHub search for both windows.
Fixed
lib/factory-scorecard.ts: one window (scoreWindow,inWindow) bounds merged PRs and their lead times, gate runs and their cost, the red-train rate, flaky events, free-suite retries, issues and releases. The workflow-runs query asks GitHub for the window's days (created=<start>..<end>), and the issue searches use a closed time range instead of>=start. Releases are read to the last page, because GitHub orders them by creation and a draft can be published long after it was created, and a PR, gate-run or release read that runs past 20 pages now marks its line unavailable instead of printing a partial count.scripts/lib/ci-history.ts:listWorkflowRunstakes an optionaluntil(exclusive), compares both ends of the window as instants and skips a run whosecreated_atdoes not parse;createdFilterbuilds the runs API'screatedquery for both callers.docs/recommended-harness.md: "Where gstack's own numbers stand" is remeasured for the exact week of 2026-10-19 through 2026-10-25 UTC: 83 merged PRs (not 103), median lead time 6.5h, 54 gate runs (52 green, 2 red), $1,361.94 of known gate cost, 17 paid flake records across 11 cases, 0 releases. The earlier figures came from a run before this fix, so they counted past the end of the week.
Tests
test/factory-scorecard.test.ts: a PR merged exactly at--now, and a gate run, free run and release after it, are left out; the runs and issue queries carry the window's end. A sub-second--nowkeeps the issue search range inside the window, releases behind a full page of newer ones are found, a release published late is found on a later page, and a PR, gate-run or release read past the page cap is unavailable.
[1.91.332.0] - 2026-10-30
gstack can remember which model you want your agents on, and every Capy session now reads a one-page summary of how crews work. Set agent_model once (opus, another family, or an exact provider/model) and gstack-models resolve --role agent returns it whenever an agent picks a model for a lane, subagent or reviewer. Unset, every agent keeps its own model, and gstack takes no position for or against any model. A cross-family outside voice and a model under test in an eval ignore the preference on purpose. On Capy the preference lives in preferences.yaml beside the gstack skill in your Drive, so it survives fresh machines without being copied anywhere.
Added
gstack-models resolve --role agent [--request <model>]: the agent role. A one-job request wins and is never saved, thenagent_modelin this machine's config.yaml, then the preferences file, thenhost. Output names the winner, both stored values and the exemptions;listgains an agent block andlist --jsona top-levelagentkey, withselectionsunchanged.agent_modelingstack-config, checked with the same grammar as the resolver:host, a family (opus,fable,sonnet,haiku,astra,sol,luna,terra) or<provider>/<model>. A bad value stops only the agent role, naming the file and the fix; plan-review, implementation and eval-arms keep resolving.capy/skill/gstack/factory.md: thirteen practices the Captain crews converged on, each pointing at the rule it summarizes, at most 3,300 bytes. SKILL.md's session start tells every session to read it once.
Changed
- The Capy session start (
bin/gstack-capy-session, which updates with the checkout) pointsGSTACK_PREFERENCES_FILEatpreferences.yamlnext to the Drive skill's SKILL.md, and the installer writes it into the launch file.--checknever writes the skill folder, and the frozen Drive bootstrapper is unchanged. - SKILL.md allows exactly one write in the skill folder:
preferences.yaml, when the owner asks an agent to remember a preference. docs/model-policy.mdgains "Your model preference".docs/captain.mdlinks factory.md, says to forward an owner's rule for every Captain, in the same turn, to the thread that keeps the account's shared rules, and says the Captain archives its own child threads by its plan for each, including ones its crew or automations started.
[1.91.331.0] - 2026-10-30
/ship and /review go back to the reviewers they used in 1.91.325.0, because the newer reviewers missed real blockers. In 1.91.326.0 (#3621) each reviewer started reading one prepared packet of the diff instead of reading the diff and the code around it, and the parent read a short findings record. 1.91.330.0 (#3636) let packet reviewers read a little beyond their hunks. A replay of 14 merged PRs (GSTA-167 no-loss round 3) then showed that the old reviewers find 19 of the 30 known blockers, and the packet reviewers, even with the looser reading rule, found only 10 of those 19 (the replay's counting rule favored the old review, and the packet reviewers also found 2 blockers it missed, but the preregistered bar allowed 1 miss and they had 9). So reviews run with gstack 1.91.326.0 through 1.91.330.0 are not as thorough as the review before them, and a PR reviewed on one of those versions may still hide a blocker the old review would have caught.
If you use gstack through Capy, copy capy/skill/gstack/ over your Drive skill folder again after upgrading, because the copy from 1.91.326.0 tells /ship to run gstack-review-packet, which this release removes. A /ship run that started on 1.91.326.0 through 1.91.330.0 should be restarted after the upgrade for the same reason.
Removed
- The packet reviewers:
bin/gstack-review-packet,lib/review-packet.ts,lib/review-packet-collect.ts,lib/review-plan-live.ts,lib/review-prompts.ts, their tests, the reading rule #3636 added for packets, and the two size-ledger entries that paid for them.
Changed
- The specialist dispatch, reviewer prompts and findings collect in
ship/sections/,scripts/resolvers/,bin/gstack-review-plan,lib/review-collect.ts,docs/review-policy.md,docs/ship-budget.mdanddocs/troubleshooting.mdare back to what 1.91.325.0 shipped, byte for byte. Everything else that landed since then stays, including the Capy README, the ship-queue screen change and the pregate always-run list.
Tests
- The reviewer briefs rendered for one sample diff at 21ad261 and at 1.91.325.0 (dcd62c3) were identical when checked once by hand; no test repeats that comparison.
test/review-packet.test.tsgoes away with the code it tested, and the tests #3621 edited return to their 1.91.325.0 text. test/review-packets-removed.test.ts(new) fails if any removed packet file comes back or any tracked file other than this CHANGELOG still names one or the packet-only anchors and codes, so a branch cut before this revert cannot merge a dangling call to them. It is on.gstack/always-run.json, so the selected pregate runs it on every code branch.
[1.91.330.0] - 2026-10-30
/ship reviewers now check a suspected defect against the code it depends on before they report it or let it go. A reviewer packet used to allow at most two more ranges of up to 200 lines, from files in the diff, in one turn. In GSTA-167's no-loss replay, 7 recorded blockers needed context outside those ranges, and no reviewer found them. Each reviewer now confirms or rules out a suspected defect by reading the callers and callees of changed functions, the tests that cover them, and the config and contracts they read. It uses grep and the read tool, at most 8 reads in at most 2 turns of parallel calls. The coverage audit keeps its own budget.
Changed
- Reviewer read rule (
lib/review-prompts.ts):READ_BUDGET, which every specialist, Red Team, adversarial, outside-voice and fix-check packet carries, and the packet brief (packetBrief), which now allows two read turns before the write. docs/review-policy.md(reviewer packets),capy/skill/gstack/SKILL.md(/ship reviewers on Capy) and the generated ship sections (review-army, adversarial, test-coverage) say the same.
Tests
test/review-packet.test.ts: the batched specialist, Red Team, adversarial and fix-check packets carry the rule; the coverage audit keeps its own budget; the rule names callers, callees, tests and contracts with its read and turn bound; the Capy skill and the policy match it.test/size-ledger/ship/gsta-167-review-reads.json: 108 bytes for the longer brief, rendered three times in the ship sections.
[1.91.329.0] - 2026-10-30
A selected pregate now runs the whole-tree tripwires and ratchets on every code branch, so they fail before review instead of in CI. #3592 and #3593 passed their selected gate and then failed CI on exactly these scanners, because no touched file maps to a test that reads the whole tree.
Added
.gstack/always-run.json({ "tests": [globs] }): whole-tree tests that join thelanesselection whenever a branch selects any test, owes a lane, or edits the list.--explainprints each as<test> (always_run, .gstack/always-run.json)and a glob that matches nothing as<glob> matches no test file. A docs-only branch adds nothing. A missing file means an empty list; a malformed one stops the check with a message naming the file. gstack's list names 15 tests (tripwires, ratchets, env-host fence conformance, free-fixtures, bun-entry-isolation, egress wiring);host-conformance, which runs./setup, stays off it.- docs/pregate.md has a section on the file and why it is separate from
pregate.json(older readers reject unknown keys there).
Tests
test/pregate-always-run.test.ts: a code change adds the scanner the import graph never selects, and not without the file; a docs-only branch adds nothing; an edit to the list runs it and owes no lane; malformed lists stop; gstack's own list names only tracked tests and includes the GST-98 scanners.
[1.91.328.0] - 2026-10-30
Most PRs no longer pay for a solo paid screen before the merge train runs the same cases. gstack-ship-queue ready used to recommend --screen whenever a diff touched a skill's own cases, which is almost every PR, and the screens (16 to 19 a day at about $32 each) cost more than the train gates that rerun all 137 cases a few hours later. Of 41 full screens between Oct 20 and 29, the 3 that caught a real bug all came from diffs the selector can't narrow (an unknown dependency or a shared runtime input). The recommendation is now --screen only in that case; every other PR rides unscreened and the train gate's full census covers it. Because most PRs now ride unscreened, a train also stopped holding them back, so unscreened PRs fill the seats a screened PR leaves.
Changed
- Screen recommendation (
lib/ship-queue-train-ready.ts):--screenwhen the paid selector's mode isfull-fallbackor the selector cannot select; otherwise--no-screen. TheSCREEN:lines name the selector's mode and reason. - Slot order (
lib/ship-queue-train.tsorderSlots): screened PRs first, then unscreened PRs fill the remaining seats in READY order. The rule that built a screened-only train and held every unscreened PR oncemax_sizeof them waited is gone, along with itsHELD: … (unscreened PRs form their own train)line.--orderstill overrides. - Train replay model (
lib/gate-cost-history.tspickTrain) seats trains the same way. - Not in this change: a focused paid run of a no-screen PR's own cases, bound to its READY receipt, needs a new
screen_policy: ownroute in evals.yml (GSTA-165 1b, deferred). The matching rule 22 text incaptain/templates/CREW.mdis also deferred, as is a train-record field that attributes a red train to the PR that caused it, which the trigger for reverting this default needs (GSTA-165 v2 item 6).
Tests
test/ship-queue-train-logic.test.ts: one screened plus five unscreened at size 5 seats five; a full unscreened pool at size 3 seats three; a skill-template diff recommends--no-screen; abun.lockdiff recommends--screenwith its full-fallback reason. These tests failed before the change. Two more pin the diffs that still screen. A diff that mixes a skill template withbun.lockrecommends--screen, and a diff the selector cannot select recommends--screenwith the full gate selection.test/ship-queue-train.test.tsandtest/gate-cost.test.tschange their ordering expectations on purpose.
[1.91.327.0] - 2026-10-30
A new page shows how gstack and Capy run as a software factory, with measured numbers. capy/README.md explains how Capy Captains, their crews and gstack's skills fit together, from the plan-first approval loop and /ship before READY to merge trains, fix waves, the daily flaky pass and peer Captains. It compares the 14 days after 2026-10-15 with the 14 days before: 197 PRs merged to gstack's main against 65, and 194 versions shipped against 62. It also says what those numbers leave out. The median PR shrank from 1,292 changed lines to 422, and the median time from opening a PR to merging it grew from 1.1 hours to 5.6, because trains batch merges. A footnote gives the windows and the method behind every figure, and the page ends with tips and how Garry uses the setup day to day.
Docs
capy/README.md: the new page (how the pieces fit, the measured before/after, why we think it works, tips, and how Garry uses it).- The documentation table in
README.mdand the introduction ofdocs/captain.mdlink to it.
[1.91.326.0] - 2026-10-30
/ship reviewers now read one packet file each, and the parent reads a findings record of at most 60 lines instead of every reviewer's transcript. On this PR's own /ship, pass 2's eight reviewers cost 8.6M tokens on the root counter, against 52.6M for pass 1's eleven (pass 2 read the fix range, pass 1 the whole diff, so the two are not directly comparable).
Added
gstack-review-packet buildwrites one packet perDISPATCH:line of the review plan: the role's instructions and findings contract, its checklists, that reviewer's diff, a plan excerpt, a read budget and the output path. Steps 7 and 8 audits, the specialists, the Red Team, the fix-check and Step 11's adversarial pass and outside voice all dispatch this way. A packet over 200 KB is split by path; no hunk is cut and no path is dropped. Audits are never split.- Each
PACKET:line names itsbudget_roleandread=line ranges of at most 30,000 bytes, and build printsBUDGET_NEXT: dispatch:<roles>forgstack-ship-budget check --next. A reviewer reads its packet with parallel range reads and finishes in about three calls. gstack-review-packet collectparses, validates and dedupes every reviewer's output, prints one line per reviewer plus each CRITICAL, and writesmerged.jsonlandinformational.mdfor the PR body. Missing or unusable output exits 3 withREVIEW_COVERAGE_INCOMPLETE.
Changed
- Every reviewer prompt lives in
lib/review-prompts.ts; the resolvers import it, so a packet and the generated SKILL.md prose cannot drift. /review's generated output is unchanged. - Large
.json,.jsonl,.ndjson,.csvand.tsvchanges (over 400 changed lines, not package or config manifests) reach reviewers as a summary built from the diff alone. The testing reviewer and the coverage audit still read data undertest/orfixtures/in full. - The Capy dispatch paragraph in
capy/skill/gstack/SKILL.mdbuilds packets, starts reviewers on the shared machine, polls withtranscript: "none"and returns only collect's output.
Fixed
--base origin/mainno longer becomesorigin/origin/mainin audit prompts.- A partial build keeps other reviewers' results only at the same head, diff base and diff content; a Red Team build against a changed tree refuses with
STALE_MANIFEST. - Collect counts a state-machines matrix record only from the state-machines reviewer, and a CRITICAL line that fails to parse or validate makes its reviewer invalid instead of disappearing.
Tests
test/review-packet.test.ts: 41 tests covering packet contents, sharding, audits, budget roles, read ranges, data summaries (including a symlinked CSV that must not leak its target), stale manifests and collect's validation. Each fix in this entry has a test that failed before it.
[1.91.325.0] - 2026-10-30
A capped /ship on Capy no longer delegates or stops just because the host's own prompt is big, and a delegated child hands off instead of stopping. A fresh Capy call costs 150-230k before any /ship work, so the 100k start and 150k segment thresholds fired on every capped Capy start and stopped two gstack-evals #36 children at their first boundary. The thresholds now measure context above a calibrated per-host call floor.
Fixed
- Thresholds sit above the host call floor.
lib/ship-budget-calibration.jsongives each meter acall_floor(Capy 150k, Claude Code 40k, estimate 0);start --call-floor <n>overrides it and children inherit it.BUDGET:andSTOP:lines printcall_floor=andabove_floor=. - A child never stops on the context rule. After a completed step it hands its remaining steps to a grandchild through the same handoff, verify, return and reconcile commands (chain depth 3 at most). Before its first completed step, at the maximum depth, or past its segment it continues with one
CONTEXT_HIGH:line. The admission cap still stops it. - A delegated child cannot return complete with work left over.
returnreportsstatus=incompletewithUNRECONCILED:orDROPPED:lines while one of its own grandchildren is unreconciled or a batch remainder was never re-checked.
Changed
- Parallel reviewer batches near the cap admit the largest prefix that fits (
ADMIT: k of n (remaining=<roles>)) instead of refusing the whole batch; each reader is priced at the larger of its projection and the run's measured mean for that role.closeflags remaining roles nobody re-checked (DROPPED:,status=incompleteuntil the owner accepts).
Tests
test/ship-budget-chain.test.tsreplays #36 (a child at its first boundary continues) and covers the Capy floor, grandchild handoff at depth 2, the depth-3 cap, charging a chained return once on all three meters, and the incomplete return.test/ship-budget-batch.test.tsreplays #35's 7-reader batch near the cap.
[1.91.324.0] - 2026-10-29
A /ship token cap now projects each step and reviewer from what the run has actually spent, so real caps stop refusing work that costs a fraction of the old guess. On GSTA-152 a 29.28M cap refused its third reviewer because every dispatch was projected at 7.43M while real ones cost 0.23 to 1.02M; on GSTA-2 an 8M cap stopped before Step 6 after Steps 1 to 5 cost about 0.27M each, because every step was projected at 2.25M.
Fixed
gstack-ship-budget checkprojects steps and dispatches with the run's own factor once it has measured one: the largest actual/prior ratio of its last three measurements, times 1.5. Before the first measurement the calibrated prior applies, as before. The default tail reserve scales with the step factor; the stop overhead and an explicit--reservedo not.- Reviewers admitted one at a time no longer stay reserved.
check --returned <id>settles the reviewers that came back,gstack-review-log --finishsettles every dispatch reservation of its step, and a check that moves to the next step settles the dispatches of the step before.settletakes--reading. - Charges the meter cannot see (
settle --unknown, a Claude-metered outside voice) are booked at their reservation and never measured, so they cannot shrink the dispatch factor. gstack-ship-budget handoffholds back the same calibrated reserve ascheck, so averdict=delegateis always one the handoff admits.
Changed
- The
BUDGET:line addscalibration=step:<f|prior>,dispatch:<f|prior>. Each measured reservation printsDRIFT: … projected=<n> actual=<n> ratio=<r>, andcloseprintsBUDGET_DRIFT:totals. docs/ship-budget.md has a Calibration section.
Tests
test/ship-budget-projection.test.tsreplays GSTA-2 (an 8M cap now reaches Step 6.5 and still stops with room to stop) and GSTA-152 PR B (the 29.28M refusal is admitted and the run stops before the cap), and covers the settle points, unseen charges and the delegate/handoff boundary. The first 8 tests failed at ad8e12d; the 3 review-fix tests failed at f30c33f.
[1.91.323.0] - 2026-10-29
Tests
test/review-depth.test.ts: the #19 shape plans fix-check, Red Team and native adversarial; full depth, a fail-closed classification,--depth-floor full, a 151-line, missing or unread range and a gate-touching fix keep the full pass; a forced specialist and changed numbers keep their reviewers; 150, 151 and a docs-only range; the scoped pass counts toward the cap and a blocker it leaves stops;DEPTH_RULESmoves with the constant.test/review-plan-cli.test.ts:--range-baseplansNEXT: scoped; a 151-line range, no range, an unknown base and uncommitted fixes plan full.test/review-scope.test.ts:raised_byfrom the explicit field, the specialist tag orunknown.test/ship-receipt-depth.test.ts: the queue binds a receipt whose pass 2 was scoped.
Gate integrity
- Addition to the 1.91.316.0 entry below: Pass 2 after a blocking fix now reviews the fix in proportion to its size. When pass 1 fixed a blocking finding on a diff below full depth and the fix range has at most 150 runtime lines, /ship runs a scoped pass: one fix-check, the Red Team and the native adversarial pass on the range, instead of the specialist army. On gstack-evals#19 a 3-file fix range (+18/-6) was planned for nine reviewers. Full depth,
--depth-floor full, a fix that touched a gate path, a larger range, or a range it cannot read keeps the full pass 2. The two-pass cap and the stop for the owner are unchanged. - Addition to the 1.91.316.0 entry below:
gstack-review-plan --range-base <sha>(lib/review-depth.ts): counts the committed fix range<sha>..HEADthe way the depth counts runtime lines, printsFIX_RANGE: runtime_lines=<n>|unread (<why>) base=<sha>(fix_rangein--json), andNEXT: scopedwhen the scoped pass applies.nextSteptakes the depth andHistory.rangeRuntimeLines;SCOPED_RANGE_LINES(150) joinsDEPTH_RULES, sorules=changes.REVIEW_PLAN:ends with the step'sreason="…". Uncommitted or untracked edits, a range base that is not an ancestor of HEAD, an empty range, and a range the classifier cannot count all plan the full pass. A full pass 1 always gets a full pass 2:--pass1-depthcarries pass 1'sREVIEW_DEPTH(absent counts as full), so a fix that reverts a gate, auth, migration or gate-tagged edit cannot lower pass 2. The fix range is classified with its owngstack-diff-scopeandgstack-gate-diffinput, and a gate-class range plans the full pass and setsfix_range.touched_gate. - Addition to the 1.91.316.0 entry below: Scoped dispatches: the fix-check, every force-included specialist, the Red Team, the native adversarial pass when the range changes runtime lines, and the outside voice when published numbers changed. Step 11's voices that have not run yet stay listed. A light diff's raise to standard applies to the scoped set only.
- Addition to the 1.91.316.0 entry below: Step 9 (
ship/sections/review-army.md): the repeat decision passes--range-base $PASS_HEADand mapsNEXT: scopedto decision 3; a scoped pass logs a full-passreviewrow with"scope":"scoped", so it counts toward the cap and its roles land inreview_loop.dispatcheswith no receipt schema change. - Addition to the 1.91.316.0 entry below:
raised_byon classified findings (gstack-review-scope classify,lib/review-scope.ts): the reviewer that raised each finding (core,qa, a specialist,red-team,adversarial-native,outside-voice,fix-check), from the finding'sraised_byorspecialisttag, elseunknown. Step 9 copies it into the review-log row. Older rows without it still summarize. - Addition to the 1.91.316.0 entry below: Docs: docs/review-policy.md (rule 3, the transitions table, a scoped-pass section and Behavior changes) and docs/ship-policy.md rule 3.
[1.91.322.0] - 2026-10-29
A PR screen no longer runs the whole paid gate just because a changed file sits on every case's import path. Editing a file like lib/restamp.ts reached all 113 gate cases through the derived-reference closure, so 19 of the 41 full screens between Oct 20 and 29 ran the full $33 gate for that reason alone. A narrow screen (gstack-ship-queue ready --screen, and bun run eval:bg:pr) now leaves such a file's cases to the train gate's full census, which runs every case before anything merges. Replayed on those 41 screens with today's maps, this saves about $457 a week, and the screens that caught real PR-caused reds (#3434, #3453) still run the full gate.
Changed
- Narrow screens (
scripts/test-pr-profile.ts,scripts/lib/paid-select.ts): a changed file whose derived references reach every gate case and that nothing narrower selects is a hub file. On a narrow screen it selects no case or judge; the paid plan's reason and the coverage summary name it and say the train gate runs those cases. Full-gate files, shared runtime and build inputs, paid-runner inputs, files the derivation cannot place and files deleted by the PR select exactly what they did before.ready --screen --broad,pull_requestruns (the merge gate when the base has notrainblock), the train gate,eval:bg:gate, periodic and release runs are unchanged. - The READY screen preview (
lib/ship-queue-train-ready.ts) and the per-push screening summary now show the narrow screen's selection. test/size-ledger/**is a touchfile of the 20 cases that readtest/helpers/size-ledger.ts(all periodic or marathon), so a size-ledger baseline change no longer restores the full gate.careful/bin/mask-commit-message.awk, loaded only by the free-testedcheck-careful.shhook, is free-only.
Tests
test/pr-dependencies.test.ts: a hub-only diff selects nothing on a narrow screen and every gate case on a broad one or with no policy set; a hub beside a shared runtime input, an unknown file or a full-gate file still runs the full gate; a hub beside a direct edit keeps that edit's cases; a deleted file is never a hub; the PR workflow plans narrow only for dispatches; size-ledger baselines select no gate case.
[1.91.321.0] - 2026-10-29
Free Tests passes again on Ubicloud runner image 20261026.1.0. Every Linux job that landed on that image failed the cookie-import Playwright pipe smoke, in-shard and again on the serial retry, and a rerun passed only when it happened to land on the older 20261021.1.0 image. Both images keep kernel.apparmor_restrict_unprivileged_userns=1, but 20261026 loads three AppArmor profiles instead of 123, so nothing grants the bundled Chromium a user namespace and its sandbox aborts with credentials.cc:131 ... Permission denied. The two Linux jobs that launch Chromium now grant user namespaces to that one binary, the way Ubuntu's own chrome profile does.
Fixed
.github/workflows/free-tests.yml:free-suiteandquick-bun-defaultgain a step after the SUID sandbox helper step. It resolves Playwright's Chromium, refuses any path outside~/.cache/ms-playwright/chromium-*/chrome-linux*/chrome, and loads an AppArmor profile that grantsusernsto that path alone. The kernel restriction stays on for every other binary. The SUID helper step is unchanged, and no step passes--no-sandboxor runssysctl. Diagnostic dispatch 40921806393 ran 17 jobs: all 9 on 20261026 failed the smoke without the profile and passed with it, and all 8 on 20261021 passed throughout.
Tests
test/chromium-sandbox-ci.test.ts: four cases, two per job, run the real step with stubbedbunandsudo. They check that the step sits after the helper and before the suite, the exact profile bytes and theapparmor_parser -rcall, that no protection-lowering flag appears, and that an unexpected Chromium path is refused before any privileged call. They fail against main's workflow.
[1.91.320.0] - 2026-10-29
A branch that adds its own pregate lane now learns why it still fails, and gstack-post pr-body no longer keeps a stale copy of a section. Pregate reads its policy from the base branch so a branch cannot loosen its own gate. A branch that had already declared a lane in its own .gstack/pregate.json was still told to declare it, and went round in a circle. Separately, a PR body that held ## What changed twice (an old description pasted under the /ship body) kept the old copy every time /ship reposted.
Fixed
PREGATE_NO_LANE: when the branch edits.gstack/pregate.jsonand the policy comes from the base copy or the user-owned file, the fix line names that policy, says a lane the branch adds counts only once it is on the base, and offers both routes: land the policy change in its own PR first, or rerun with--policy-from head --allow-repo-commands, which records the run as unreviewed. Pregate still never reads the branch's policy on its own. (#3574)gstack-post pr-body: when the PR's current body holds a title from the file more than once, it posts nothing, exits 64 and says to rerun with--replaceand the whole body. /ship's PR-body step stops on that refusal and reports the duplicated titles instead of reposting with--replaceitself, since a person chooses which copy stays. (#3575)
Docs
docs/troubleshooting.md#pregate-no-lane-own-policyexplains the own-policy case and its two routes;docs/pregate.md's trust boundary links it. Thegstack-post-pr-body-mergeentry covers the duplicate-title refusal.
Tests
test/pregate-selection.test.ts: the own-policy fix line under the base policy; a head-policy run and a branch that deletespregate.jsonget the plain fix.test/pregate-user-policy.test.ts: the own-policy line names the user file as the policy source.test/gstack-post.test.ts: a doubled title refuses and posts nothing,--replaceposts the file, and a body with two receipt blocks refuses too.
Gate integrity
test/gstack-post.test.ts: the duplicate-titles assertion that expected the first copy replaced and the second kept now expects the refusal, plus a case where duplicates the file does not touch are still kept.
[1.91.319.0] - 2026-10-29
gstack-pregate sealed no longer prints a line that reads like a push confirmation. On gstack-evals#29 the lane read pushed aeb2413 in the SEALED: line as the push landing, while the remote stayed at 9036ab1 (#3565). sealed never pushes: it checks the commits a push would publish. pushed <sha> was its label for the commit whose sealed policy it read beside the base branch's.
Fixed
lib/sealed-guard.ts: that label now readscommit <sha12>(policy=origin/main + commit aeb2413f0ca1), in theSEALED:line, in the managed pre-push hook's messages and in the unreadable-policy error.gstack-pregate --helpand docs/pregate.md#sealed say the command never pushes and thatgit ls-remote <remote> <ref>confirms a push.
Tests
test/sealed-guard.test.ts:gstack-pregate sealednames the checked commit, prints nopushed, and leaves the remote's refs exactly as they were. It failed before the fix onpolicy=origin/main + pushed <sha>.
[1.91.318.0] - 2026-10-29
/office-hours now has eval tasks for the shared skill eval, and /write-skill's diet locks its tasks before a paid run. gstack-evals' Lane A will re-check the office-hours diet from #3525. To do that it needs office-hours' tasks in gstack's contract format, a sidecar for what Lane A adds, and a diet step that commits the lock a paid run requires. #3525 never committed the task set GSTA-134 ran, so these tasks rebuild it from the pilot's written summary.
Added
test/fixtures/skill-evals/office-hours/: 11 tasks on a CSV-merge idea, with aseed.shthat makes the git repo and the.gstack-homestate root. Nine follow the pilot's set, which covered the mode question, the first startup question, pushback on vague evidence, builder mode, the premise challenge, the second-opinion offer, alternatives, the UI visual step and the backend skip. Two are new safety tasks. One allows no code during a session (the hard gate), and the other allows no design doc before the user picks an approach (the Phase 4 stop).no-code-mvpfailed in every arm of the pilot and is left out.tasks.ext.jsonbeside it, in Lane A's sidecar format: every task is interactive, with a persona and scripted replies, a judge rubric per behavior task, and a violatingmutantper safety task. Reply category names are provisional until gstack-evals publishes its list.
Changed
- /write-skill diet step 6 starts with
gstack-evals skill-eval --lockand a commit oftasks.lock.json. Without that commit the shared eval refuses a paid run (LOCK_MISSING). docs/designs/SKILL_EVAL_CONTRACT.mdadds notes for implementers. The harness should set bothGSTACK_STATE_ROOTandGSTACK_HOMEto<work dir>/.gstack-home. A verdict may carry an optionalresumablefield. The notes also cover the lock, the sidecar, and an open question about whatmustpatterns grade when a host answers an interactive task's questions.
Tests
test/skill-eval-tasks.test.tschecks office-hours'tasks.jsonagainst the contract. It also checks that eachtasks.ext.jsonentry names a task intasks.jsonand uses only known keys. No existing test, threshold or allowlist changed.
[1.91.317.0] - 2026-10-29
Registered gstack skills now say when to use them where the harness model reads them, and OpenClaw lists the task skills directly. HARN-5's paid cells showed OpenClaw and Hermes listing gstack's skills while the model rarely opened them. Router lines kept only each skill's first sentence and dropped its "Use when asked to ..." trigger, and Hermes's skills index shows only the first 57 characters of a description, which for gstack was capability prose. This release changes only what gstack writes into its own skills folders. Use rates are not claimed yet: HARN-5's fixed panel measures them next.
Changed
- Router lines lead with the trigger (
gstack-harness, every router-mode target: OpenClaw, dots,genericand--print). Each line opens with the skill's own trigger sentence, or, when the description has none,Use for:and the skill'striggers:list, within 160 characters. The router's description now leads with task verbs (review, debug, QA test, plan, ship) in its first 200 characters, within the 300-character budget. The wording rule lives inlib/skill-triggers.ts. - Hermes descriptions open with a trigger list of at most 57 characters (
frontmatter.descriptionLeadinhosts/hermes.ts), for exampleUse for: review this pr, code review, check my diff., followed by the description without its own trigger sentence, which the lead repeats, so no Hermes render grows. Claude Code and every other host render their descriptions as before. - OpenClaw registers in
hybridmode by default:gstack-review,gstack-investigate,gstack-qa,gstack-shipandgstack-plan-eng-revieware top-level skills and thegstackrouter carries the rest. Dumped through OpenClaw 2026.10.6's ownbuildSkillSnapshot/prepareSkillsForPromptwith its 19 eligible bundled skills, hybrid's skills section is 10,290 characters in full format (budget 18,000).--skills allfalls to compact format at 17,971 characters, and--skills routeris 6,701.--skills routerand--skills allremain, and a mode switch now removes the empty folders the previous mode left behind. --context <file>is opt-in for OpenClaw and Hermes too: the block is written only into the file named, after agstack-harness: context block: <file> (<profile|project> scope)line. Setup, upgrades and refresh never add one and do not re-add a block you deleted. A second--contextfile keeps the first, because the ledger keys blocks by file. The block text follows the mode (with--skills allit names no router path). Uninstall now restores each file byte for byte (the blank separator line, a missing final newline and a file gstack created are undone).HARNESS_MODE_UNSUPPORTED's fix text and docs/hosts.md describe Hermes's listing, not its loader, and docs/hosts.md states registered, listed and used as separate facts.
Fixed
- Re-registering an OpenClaw, Hermes or dots registration without
--context(what setup andgstack-harness autodo) no longer cuts a block the user opted into.
Added
HARNESS_CONTEXT_REFUSED:--contextrefusesSOUL.md(in any letter case), and for Hermes a new rules file that would outrank rules Hermes loads now: a file of an earlier group (.hermes.md/HERMES.mdbeforeAGENTS.mdbeforeCLAUDE.md), an earlier name in the same folder (.hermes.mdbeforeHERMES.md,AGENTS.override.mdbeforeAGENTS.md), or a.hermes.md/HERMES.mdbelow one in a parent folder, which Hermes takes as the nearest.
Gate integrity
test/harness-register.test.ts: three expectations change with the byte-for-byte restore and blocks keyed by file. The generic cut now expects the original bytes, without the extra newline. The second--contextcase now expects both blocks kept and both restored where it used to expect the first block cut. The OpenClaw router case passesmode: 'router'because the default is now hybrid. New cases cover router lines, Hermes leads (at most 57 characters), hybrid with mode switches through refresh and uninstall, context opt-in, refusal and scope, the CLI scope line, and Hermes's threat scanner on every block variant. The scanner case runs whenGSTACK_HERMES_SRCnames a Hermes checkout and is skipped otherwise. More new cases cover the same-folder and nearest-parent refusals, pre-blockpad ledgers, refresh keeping a block the user edited,--json --contextoutput, and the Hermes check outside a git repository; newtest/skill-triggers.test.tscovers the wording rule's fallbacks and cuts.test/fixtures/skill-md-size-allowlist.json: the Hermes pins forgstack-autoplan(108,982 to 108,891) andgstack-plan-eng-review(128,708 to 128,655) go down to the new render sizes, as the size guard directs.- New
test/session-kind-marker.test.ts: a marker-only environment (GSTACK_SESSION_KIND=spawned, noGSTACK_CAPY) gets the same soft admission frombin/gstack-install-verdict.shandlib/install-verdict.ts. A ratchet fails when a file inbin/,lib/,hosts/orscripts/reads or setsGSTACK_SESSION_KINDoutside its 13-file inventory; a planted-reader control and a comments-only control check it.
[1.91.316.0] - 2026-10-29
/ship takes a token cap and stops cleanly at it, and long runs hand their heavy segments to fresh-context children. On gstack-evals#31 a /ship spent 54M tokens against a 25M cap because the cap was only a number in a brief; #26, whose agent read the counter after every step, stopped at 39.40M of 40M. /ship --token-cap 25M (or GSTACK_SHIP_TOKEN_CAP) now admits each step and dispatch batch only when it fits, and a run started from a long-lived context, or one whose per-call charge passes 150k at Step 7 or Step 12, runs that segment in a fresh child.
Added
gstack-ship-budget(lib/ship-budget.ts,lib/ship-budget-cli.ts,lib/ship-handoff.ts): an admission cap on a per-run token ledger under<state root>/ship-runs/<run>/(its own schema; onlywithFileLockis shared withlib/spend-ledger.ts).start,check(theBUDGET:line,verdict=continue|delegate|stop, aRESERVATION:id per admitted step or batch),settle/release,handoff/launch/verify-handoff/return/reconcile,resume(cap raises need--approved-byand the owner's words;--rebuild-from-record; restore from a private Drive checkpoint) andclose. Exit 0 continue/delegate, 3 stop, 2 usage. Each meter is a versioned contract, and there are three: the Capy root counter (--reading), Claude Code journal usage (lib/claude-usage.ts, bound by--sessionor an echoed nonce) and--meter estimate.gstack-review-log --start ... --reservation <id>: under a cap, a dispatch without an unspent, one-shot reservation refuses before launch (BUDGET_CHECK_SKIPPED), and--finishsettles it. Without a cap nothing changes.- /ship: the skeleton's Budget paragraph (
--token-cap,--resume <record>,--continue <handoff>) and a newbudget-handoffsection with the meter recipes, reservations, stop and resume, and the delegate flow per host. - Result codes
BUDGET_CAP_REACHED,BUDGET_READING_MISSING,BUDGET_READING_REJECTED,BUDGET_METER_UNAVAILABLE,BUDGET_LEDGER_INVALID,BUDGET_CHECK_SKIPPED,HANDOFF_PIN_MOVEDwith docs/troubleshooting.md anchors;lib/ship-budget-calibration.jsonseeded from #19, #26 and #31. - Docs: docs/ship-budget.md (linked from docs/unattended.md), and a paragraph each in the Capy skill's SKILL.md and captain.md.
Tests
test/ship-budget.test.ts: the cap boundary, batch overshoot, the #31 replay, spend above a reservation, the no-cap path, meters and epochs, exit codes, start and segment delegation, the full handoff chain with an idempotent reconcile, moved pins and a tampered brief, refused and interrupted children, stop and RECOVER, checkpoint restore into an empty state root, ledger rebuild, concurrent ledgers, and an unchangedgstack-wtree.test/ship-budget-review-log.test.ts,test/claude-usage.test.ts,test/ship-budget-calibration.test.ts(leave-one-out),test/ship-budget-section.test.ts.
[1.91.315.0] - 2026-10-29
Changed
- Stacked PRs (Fixes #3570): after a stack parent lands and the child is retargeted to the base with the base merged in,
carry --base <base>compares HEAD's product diff against the base with the range the receipt reviewed against the parent branch. That is the recordedproduct_patch_id, or the range againstorigin/<parent>for an older receipt. HEAD's side is its whole product diff against the base, so a parent'spackage.jsonchange that never reached the base refuses too. Equal carries with the reasonstack parent <branch> landedand rebinds the receipt'sbaseto the base; anything else refuses. Until now every stacked child paid a full /ship once its parent merged (gstack-evals#19).
Tests
test/ship-receipt-carry-squash.test.ts: a child carries after its parent squash-merges and main is merged in, names main as its base, and carries again across a later main merge. A test-only child carries. A child edited after the merge, a parent that never landed, a parentpackage.jsonchange that never reached main, and a merge that keeps the child's tree over the landed parent refuse. An older receipt falls back toorigin/<parent>and refuses once that branch is deleted.
[1.91.314.0] - 2026-10-29
A later autoplan gate that asks nothing new is now answered with the owner's earlier words instead of another round trip. Captains were carrying approvals across gate revisions by hand (GSTA-140 reused a rev-1 "Do it" on rev 2; ALPH-50 lost about 27 minutes to one), and a replay over 23 recorded runs found 14 later gates, 8 of them holding only post-cap delta items.
Added
- Carry-forward (
lib/autoplan-carry.ts): when gate_rev N+1 asks nothing new and gate_rev N was fully answered by the owner withrecor "do it", gstack answers N+1 with those recorded words and printsCARRIED: gate_rev=<n> <- gate_rev=<m> …; anything else printsCARRY: no (<why>)and goes to the owner.--no-carry-forwardon the firstnextturns it off. - "do it" covers new low-risk items. When the owner's own words were "do it", a new item that changes no scope, cost, direction or plan text takes its recommendation, is marked
carried_under: do it, and is listed in the approval record and the Captain brief as not shown to the owner. A Captain's "do it" never counts. - Delta check. A "plan changed after cap" item gets one reviewer from another model family on the delta first (
CARRY_CHECK:,gstack-autoplan check), within a per-gate spend cap (--carry-check-cap, default $5). High or above, no reviewer, an owner answer, or a plan edit after dispatch leaves the gate for the owner and releases the reservation. The verdict is recorded ongate.json, the decision rows anddecisions.tsv. eli5in gate.json: the plan's## ELI5and the four approvals-shape sections;gstack-gate renderopens page 1 with them, and the Captain brief requires## ELI5(older runs render as before).gstack-approvals import --autoplan <dir> --stack b1,b2writes the same rows to every branch of a stack, or to none when one branch is unknown.REVIEW_ESTIMATE:on the firstnext: phases, voices, rounds, attempts and the reservation total.
Changed
lib/decision-trail.tsholds the trail append rules shared bygstack-decision-trailand the carry.
[1.91.313.0] - 2026-10-29
The PII scanner stops flagging two kinds of ordinary text: a bare power-of-two or hash constant in code, and a package@version-style filename. Eval artifacts and PR bodies that print a PRNG range or name a versioned results file no longer raise a MEDIUM phone or email finding, and real phone numbers and addresses next to them still report.
Fixed
lib/redact-patterns.ts:pii.phone.e164skips a bare number that is exactly a power of two from 2^30 through 2^49, one less than one, or one of eleven well-known 32-bit hash and PRNG constants. The same digits written with a+, spaces, dashes, dots or parentheses still report (#3577).lib/redact-patterns.ts:pii.emailskips a filename whose part after the@is a version or tag followed by file extensions no top-level domain uses, or a dotted version followed by an extension that doubles as one. A file named after a real address, an address at a numeric domain such as 163.com, and an address under a top-level domain that doubles as an extension (.sh,.md) still report (#3576).
Tests
test/redact-constant-and-at-filename.test.ts: pins both exemptions in both directions, including files named after a real address.
[1.91.312.0] - 2026-10-29
An install check run from inside /ship no longer upgrades gstack under it. /ship's docs step runs scripts/install.sh --for document-release. That run fast-forwarded the checkout from 1.91.298 to 1.91.299 in the middle of a lane's /ship, so the receipt writer's rules changed partway through the run (#3571).
Fixed
bin/gstack-capy-session: in install mode, a live workflow lease under 120 minutes old held by the caller's own process chain now skips the self-upgrade:SELF_UPGRADE: skipped (a gstack run in this session holds a workflow lease on this installation: pid <p> (<age>m <command>), so the upgrade waits until the lease is 120 minutes old; …(UPGRADE_BUSY)). The install still certifies the installed revision and the trailer stays ok withbehind=.bin/gstack-upgradedeliberately ignores the caller's own lease, and an install started from inside the run passed that check. Eachgstack-skill-startrenews the lease. The age bound matters on Capy, where the leased pid is the machine's long-livedcapy-server, so a lease is never released by its process exiting. An older lease, or none, upgrades as before, andGSTACK_UPGRADE_FORCE=1or a hand-runbin/gstack-upgradestill moves the checkout.
Tests
test/capy-skill-wrapper.test.ts: an install run under a shell that holds a fresh lease leaves HEAD where it was and stays ok. Once that lease is 121 minutes old, with its holder still alive, the same install upgrades. Before this change the first run printedSELF_UPGRADE: done 1.0.1 -> 1.0.2.
[1.91.311.0] - 2026-10-29
A sealed policy can now refuse sealed/<set>/tasks.json while allowing the MANIFEST.json beside it, and can catch HELDOUT/ with a heldout glob. The sealed guard only had deny globs and one-commit waivers, so the gstack-evals layout, which keeps a public manifest of hashes and counts next to its sealed tasks, needed a fresh .gstack/sealed-allow.tsv line for every manifest commit (gstack-evals wiki/board/2026-10-28-gsta-9-sealed-manifest-glob-gap.md). Their first draft also wrote sealed/**, which never matched their nested tasks/<id>/sealed/ directories, and garrytan/gstack-evals#3 (dc54796) hand-listed Sealed/, HELDOUT/ and other case variants.
Added
sealed.allow_paths(lib/sealed-guard.ts): globs that exempt publishable files fromsealed.pathandsealed.transcript, applied after the deny globs and before sha waivers. They are read from the destination base branch only, so a push cannot widen its own exceptions; a pushed copy is still validated and refuses when malformed. Text rules still read an exempt file, so a manifest that quotes a sealed answer still refuses. An entry whose file name contains**or is only wildcards before its extension (**,sealed/*,**/*.json) is refused. Each exempt path printsexempt <rule> <file> commit <sha> (sealed.allow_paths <glob>)on every push.sealed.case_insensitive: true:pathsandtranscriptsmatch regardless of case, so**/heldout/**also refusesHELDOUT/andHeldOut/. The value is the base branch's OR the pushed one, because it only tightens.allow_pathsnever fold case. Separator and spelling variants such ashold-out/still need their own globs.
Changed
gstack-pregate sealedprintsexempt=<n>afterwaived=<n>on itsSEALED:line (policy=stays last), and--jsoncarries anexemptarray. Both bins build their error report through onesealedErrorReport.- An unknown
sealedkey now says to upgrade gstack if the key comes from a newer one. A gstack older than this release refusesallow_pathsandcase_insensitivethis way on every push andgstack-pregate run, so a repository raisesmin_gstack_versionbefore landing either key. docs/pregate.md§ Sealed output explains glob anchoring: patterns match from the repository root, sosealed/**missestasks/x/sealed/a.jsonand the docs say to write**/sealed/**. It also documents case handling, exceptions and the version skew.
Gate integrity
- This is a gate edit:
allow_pathslets the sealed guard pass files it refused before, but only from the reviewed base branch. No existing test, threshold or allowlist changed. New cases intest/sealed-guard.test.ts(10) andtest/pregate-guards.test.tscover an allowed exception, a non-matching one, an exception added on the pushed head, a text rule inside an exempt file, transcripts, the waiver order, the error report, case folding in both directions and the root-anchoring example.
[1.91.310.0] - 2026-10-29
The cookie workflow judge now asks for structured output, so a quote the model forgets to escape can no longer fail the gate. Train 42 went red because both of its setup-browser-cookies/SKILL.md workflow samples came back as free text with a bare quote inside reasoning ("one --domain per run"), and neither parsed. The GSTA-91 comparison had measured that failure: 2 of 144 free-text samples failed to parse, against 0 of 72 with the schema.
Changed
- Cookie workflow judge transport:
setup-browser-cookies/SKILL.md workflownow sendsWORKFLOW_JUDGE_RESPONSE_SCHEMA, released on GStack Minder's ruling: "GStack Minder, 2026-10-29: release the GSTA-91 hold; a07 is matched by old-b; free-text parse errors cost train 42". Its model, thresholds (4/3/4), sample count and case kind are unchanged. The ruling is recorded intest/fixtures/judge-calibration/cookie-workflow/release.json, and the held comparison stays recorded as held.
Tests
test/cookie-workflow-judge-input.test.tsruns the registered cookie callback through the realcallJudgeand pins its request to the schema. It replays train 42's two replies (msg_011CgVnRtVj5vyLvb56m6KJH, msg_011CgVne5GStZ6f9pRoCvgWE): their free-text bytes do not parse, and the same judgment returned as schema output scores and passes.test/judge-calibration.test.tsreads the release record. Both fail without the transport change.
Gate integrity
- Gate edit: the cookie judge's response transport moves from free text to the JSON schema, on the ruling above. No threshold, sample, trial, deadline or case-kind change. The Haiku free-text failure pin in
test/llm-judge-frontier.test.tsis untouched.
[1.91.309.0] - 2026-10-29
The judged review and Eng prose each give one rule where the paid judges kept finding two, and a judge that runs out of time now says what it was waiting on. Every sample of two red panels on #3527's screens (review 40617200857, plan-eng-review 40634787316), attempt and rerun, named the same contradictions; a third red (ship, train 35 gate 40660626349) hit the 120 s judge deadline with nothing logged but "No completed model response".
Fixed
/reviewStep 5.8: an unresolved non-gate defect (an unanswered question) is recorded asopen, so every finding has a record action. A repeat pass's reruns of superseded probes are revalidation, so they run after smoke expiry, in the same probe directory; earlier provisional QA sections link checkpoints and only the final pass runs the once-onlymaterialize./plan-eng-review: the shared Voice now loads once. Eng no longer carries a near-copy whose only difference was its em-dash clause; the Scope gate's format precedence says required formats keep their em dashes./benchmarkPhase 6 example: the hero image recommendation no longer suggests lazy-loading (that delays the largest paint) and names one remedy, as the rule under it asks.
Changed
- Judge cancellations leave evidence. When a judge request is cancelled (the workflow judge deadline),
callJudgeprints onellm-judge-abortedline: elapsed time, wrapper attempts and 429 waits, HTTP requests and statuses (so the SDK's own retries show), connection, first and last stream event times, the open block type, thinking and text character counts, message and request ids, and the reason (at most 200 characters). Counts only, never content; an observer that throws cannot change a judge result. Deadlines, effort, samples and thresholds are unchanged.
Tests
test/review-workflow-clarity.test.tsandtest/eng-scope-entry-ap.test.tspin the repaired rules; both fail with the prose change stashed.test/llm-judge-stream.test.tsandtest/llm-judge-abort.test.tsreplay a stream cancelled mid-thinking, a stream with no events, one cancelled after headers, an SDK-retried 429, a cancelled 429 wait, an event the observer cannot read and an overlong reason, with no-abort controls; each fails with the helper change stashed.test/workflow-judge-cache.test.ts's SDK stream stand-ins gain the real stream'son().- Focused paid judge runs: review 4/4/4 at 1bdc4ce and again at 3463250, plan-eng-review 3/5/4 at 1bdc4ce ($0.18).
Gate integrity
- No threshold, sample, trial, deadline or case-kind change.
scripts/harness-version.jsonrecords thellm-judge.tschange as non-behavioral (no series reset). Generated SKILL.md size pins for review and plan-eng-review were lowered to their new sizes on every host.
[1.91.308.0] - 2026-10-29
gstack-restamp no longer cuts a four-part package.json version to three parts in a repo whose convention is four. On garrytan/gbrain#7878, /ship restamped gbrain's package.json to "0.60.483" beside VERSION 0.60.483.0; gbrain requires the two to match and its CI version gate fails when they drift, so the stamp had to be reverted by hand. The version stage called gstack-version-bump write, which always stores the npm-valid three-part form in the manifest (decision 11, which is why gstack's own package.json reads 1.91.298).
Fixed
lib/restamp.ts: the version stage keeps the full version in the manifest when the policy lists it instamp_pathsorstamp_filesand the base's copy holds four parts, and the stage detail says so (wrote 0.60.483.0 (package.json keeps four parts: …)). The form is read at the base, like the policy, so a branch an earlier restamp already cut to three parts goes back to four. Every other repo, gstack included, still gets the npm-valid form, and a four-part manifest the policy does not list still migrates to three parts as decision 11 says.bin/gstack-version-bump write: new--manifest-form npm|full(defaultnpm);fullwrites the version as given to the manifest and its npm lockfiles. It has no effect when the version path is itself a JSON manifest.
Tests
test/restamp-four-part-manifest.test.ts: a gbrain-shaped fixture (four-partVERSIONandpackage.json, the manifest instamp_files, bun, no npm lockfile) restamped from an unstamped branch and from a branch already carrying its stamp (both failed before the fix with"0.60.483"), from a branch an older restamp cut to three parts, and with the manifest listed throughstamp_paths. gstack's shape (three-part manifest and lockfile) and an unlisted four-part manifest keep their current results.test/gstack-version-bump.test.ts:--manifest-form fullkeeps four parts in the manifest and lockfile; an unknown form exits 2 before anything is written.
[1.91.307.0] - 2026-10-29
/ship now reviews in proportion to what the diff can break: light, standard or full depth. A diff with 50 or fewer runtime lines gets one batched specialist plus the native adversarial pass, a larger runtime diff gets the class's specialists scoped to their hunks, and gate code or any classifier error gets the full review as before. The receipt records the depth and the queue refuses a receipt below what the head needs. Before this, a 12-line fix paid for the same reviewer fan-out as a change to the merge gate. The backtest that would have let light depth drop the adversarial pass was inconclusive (9 light-eligible PRs, 5 with attributable findings, below the 15 the plan required), so light keeps it.
Added
- Review depth (
lib/review-depth.ts,lib/review-collect.ts,gstack-review-plan):REVIEW_DEPTH:(depth, runtime lines, the rules hash, reasons),GATE_SCAN:bound to HEAD, oneDEPTH_ERROR:per input that fails closed to full (with the input, the cause and the repair), and per-reviewerDIFF_CMD:pathspecs. Runtime lines leave out docs, tests and outputs registered with a command in the base branch's.gstack/generated.json, read at the base commit.--depth-floor standard|fullonly raises the depth. A fixed or open blocker, or a CRITICAL, raises light to standard for the rest of the invocation. - Receipt fields:
gstack_versionandreview_depth({ depth, class, runtime_lines, rules, base, registry, gate_scan: { tagged, head }, reasons }), computed at the checked-out head.write --headmust be HEAD.review_loop_exception(write --review-loop-exception) records an owner-accepted stop after a fix-check edit with the fix-check's head and findings, and the PR body repeats its line word for word (Fixes #3559). - Queue checks (
gstack-ship-queue ready,train build): the depth the head needs is recomputed from git and a lower receipt isQUEUE_RECEIPT_DEPTH_RAISED, with the receipt's depth, the required depth, reasons and inputs on aREVIEW_DEPTH:line. A malformed owner exception, a body that dropped its line, or a fix-check head that is not the bound head or its ancestor isQUEUE_RECEIPT_EXCEPTION_INVALID. The queue reads the same committed range as the writer and trusts a recorded gate scan only when it names the full bound commit. A receipt with neither new field predates depth receipts and is accepted as legacy.
Changed
- Carry and depth: a carry recomputes the depth at the new head, rebinds the gate scan, and refuses when the new head needs more (a test change that skips a test is gate class). It also refuses a
--headother than the checked-out HEAD, a receipt withgstack_versionbut noreview_depth, and an owner exception that no longer stands, since the queue would refuse each of them. Tracked edits in the checkout make the write-time gate scan unavailable, which recordsfull. gstack-diff-scope <base> --head <sha>: the scope signals for the committed range only, with no working-tree or untracked files; an unknown sha isSCOPE_ERROR=no_headand a missing merge baseSCOPE_ERROR=no_merge_base..gstack/ship-policy.json:min_gstack_versionrises from 1.91.146.0 to 1.91.299.0.
Tests
test/ship-receipt-depth.test.ts: write records the depth bound to HEAD and refuses another--head. The queue refuses light on a standard head, a current receipt with no depth and an unbound gate scan, and accepts a legacy receipt. A plain test change carries and rebinds the scan, while a skipped test refuses the carry. The review-loop exception is refused without a fix-check, with a foreign head or without its body line, and the queue refuses a body that dropped the line.test/review-depth.test.ts,test/review-collect.test.ts,test/review-plan-cli.test.ts: the depth matrix, the fixed light set, fail-closed errors and the registry read at the base commit. Apackage.jsonversion line that also carries other keys is not stamp-only.test/diff-scope.test.ts:--headreads the committed range and ignores working-tree edits, and refuses an unknown sha.
[1.91.306.0] - 2026-10-29
A /ship receipt now survives a base merge that only regenerates outputs, and a rebase onto the tree it reviewed. On gstack-evals, two full /ship reruns came from a merge of main that changed a generated file's diff (U1 paid about 28M tokens for its rerun), and one came from a rebase whose tree was byte-identical to the reviewed one (about 60M). Each re-reviewed code the receipt already covered. For crews the rule is now a single line. Merge main into a reviewed branch, and never rebase it.
Changed
gstack-ship-receipt carry: an output of an entry with acommandin origin/'s.gstack/generated.jsoncounts asgenerated, not product, when the--pregateresult for HEAD lists it under theregencheck's newprovenpaths and that check ran the same base registry. Without that evidence, for a file that matches an output glob but that the command never writes, and for an entry with no command or one only the branch registers, the output stays product.gstack-pregateregencheck: a fresh entry with touched outputs runs its command a second time in the scratch worktree with those outputs deleted, and records the ones it recreates byte-identically asproven. The verdict still comes from the first run, so a generator that reads its own output passes as before and proves nothing.- Carry across rewritten history:
writerecordshead_treeandproduct_patch_id, and each carry rebinds both and keeps earlier trees incarry.trees. A head that is no longer an ancestor carries only when its tree is one the receipt covers and its product patch-id against the current base matches; it recordscarry.ancestry: rewrittenand needs no old commit, so a fresh clone carries too. A different tree is the newRECEIPT_CARRY_TREE_MISMATCH. The reviewed tree on a base that moved under it isRECEIPT_CARRY_PRODUCT_CHANGED. - Docs: docs/ship-policy.md#receipt-carry opens with a four-row table: merge with the product unchanged, merge that changes product, rebase onto a covered tree, and any other rebase. docs/captain.md and captain/templates/CREW.md say to merge main in and never rebase a reviewed branch, and the troubleshooting entries for the carry refusals match the new rules.
Tests
test/ship-receipt-carry-rewrite.test.ts: a rebase onto the covered tree carries from a fresh clone that never fetched the old head, a different tree refuses withRECEIPT_CARRY_TREE_MISMATCH, the reviewed tree on a moved base refuses, and a merge that changes only a registered output's diff carries with a pregate whose regen check proved it and refuses without one or with a pregate from another registry, and a hand-written file under an output glob that the generator never writes stays product.test/gstack-ship-receipt.test.ts: the written receipt's key order includeshead_treeandproduct_patch_id.
[1.91.305.0] - 2026-10-29
You can now render gstack with whole skills, skill sections, model overlays or preamble pieces left out, as a byte-exact tree with a lock file, so an eval can measure which instructions a model actually needs. Garry asked for "95% of the outcome but with 50% of the token use", and the free ceiling measurement on train gate run 40705984271 found skill text is about 21% of billed eval cost (35 of 103 tests), so trimming it per model is worth measuring. Nothing changes for anyone today. Every model rung and unknown models load full, and the committed SKILL.md files are byte-identical to the previous release. A smaller loadout ships only after GSTA-2 measures it.
Added
bin/gstack-modules:listprints every module id (skill:,section:,overlay:,preamble:) with its source and pin;validatechecksmodules/loadouts.json;render --host <h> (--loadout <name> | --modules full,-<id>,+<id>) --out-dir <d>renders one loadout with the same--model,--install-rootand--plan-modesetup uses, and writesloadout.lock.json(spec sha256, excluded ids, per-file sha256 and bytes).modules/loadouts.json(with a JSON schema): rungsfrontier,strong,mid,light, the model-id table, pinned modules and named loadouts. Every rung andunknownmap tofull.- Safety pins: the start command, plan-mode rules, the question format, completion status, the unattended profile, /ship's review army and adversarial pass, the router and
/gstack-upgradecan never be excluded, directly or by excluding the skill that holds them (MODULE_PINNED). - Renders refuse instead of guessing: an unknown loadout or module, a malformed spec, a rendered file that still points at an excluded skill or section (
MODULE_EXCLUSION_UNSAFE), or an--out-dirthat an earlier render did not write (RENDER_DEST_NOT_OWNED) each exit 2 with a fix line and adocs/troubleshooting.mdanchor, and never fall back tofull. A failed render leaves the earlier one in place. docs/loadouts.md: terms, commands, how to build an eval arm, and how a loadout changes (only with a cited GSTA-2 run).
Changed
gen:skill-docsaccepts--loadoutand--moduleswith an--out-diroutside the checkout; a selection with exclusions aimed at the committed tree is refused. Excluded sections render a one-lineNot loaded in the <loadout> loadoutstub, and{{IF_SECTION:<id>}}guards remove skeleton text that belongs to a section (office-hours' second-opinion offer and visual-design phase, plan-design-review's review-sections self-check).gstack/llms.txtlists only the skills a render includes.
For contributors
- New
test/module-loadouts.test.tscovers the manifest, selection, pins, the render filter, the CLI and the byte-identicalfullrender..gstack/pregate.jsonallows the two newmodules/files as strays.test/gen-skill-docs-prune-stale.test.ts's copied fixture now linksscripts/modules.ts; no assertion, threshold or budget changed.
[1.91.304.0] - 2026-10-29
Running the Capy installer for a second workflow on the same machine no longer takes away the first one's admission. /ship's docs step runs scripts/install.sh --for document-release, and that run replaced the --for ship install verdict with its narrower one, so the rest of /ship refused with "the install verdict certified for=document-release, which does not cover codex that ship needs" until someone reran --for ship (#3561, seen on gstack-evals#13).
Fixed
bin/gstack-capy-install: an ok run keeps what an earlier ok install certified for the same checkout, project, HEAD and Bun. The verdict'srequiredlist becomes the union, pins count as planning-only only when both runs skipped them, andforlists every workflow (for=ship,document-release). The installer says so in one line. A failing run, a new HEAD or another Bun still replaces the verdict, and the review-voice profile still never narrows a fuller one.
Tests
test/gstack-capy-install.test.ts:--for shipthen--for document-releaseleaves one ok verdict that admits both workflows throughverdictProblem; a--check --for shipkeeps it; after a new commit,--for document-releasereplaces it and ship is refused again. It failed before this change.
[1.91.303.0] - 2026-10-29
gstack-pr-shots no longer edits your .gitignore in the middle of /ship, so the pregate stays fresh and the ship receipt gets written. When a repository tracks files under .gstack/ (pregate.json, ship-policy.json), git does not read .gstack/ as ignored, and the browse daemon that gstack-pr-shots starts appended .gstack/ to the tracked .gitignore. The tree changed after pregate and the receipt writer refused with PREGATE_STALE (#3560, seen on gstack-evals#13).
Fixed
browse/src/config.ts: the browse state dir still writes its own.gstack/.gitignore(*), and when git does not already ignore.gstack/the line goes to the repository'sinfo/exclude(resolved withgit rev-parse --git-path, so linked worktrees share it). The project's.gitignoreis never written. Outside a git repository nothing is written beyond the state dir.
Tests
test/pr-shots.test.ts: a repository that tracks.gstack/pregate.jsonrunsgstack-pr-shotswith a browse stub that runs the daemon's real state-dir setup; thegstack-wtreefingerprint and the.gitignoreare unchanged afterwards. It failed before this change.browse/test/config.test.ts: the cases that pinned the.gitignoreappend now pininfo/exclude: written once, no duplicate, a missing trailing newline added,info/created when absent, a warning inbrowse-server.logwhen it cannot be written, and nothing written outside a repository.
[1.91.302.0] - 2026-10-29
Three flaky gate cases from the 2026-10-28 daily flaky pass are repaired: shared-libs-review-index-flags, ship-exploratory-late-input (with ship-exploratory-plan-checks, which failed the same way), and the real-Chromium cookie-auth positive case. Each red was diagnosed from its captured run before the fix, and each repair has a free test that fails without it.
Fixed
- Shared-code reuse no longer lets a review rewrite the index flags it checks. In train gate 40619718717, the reviewer ran
git update-index --really-refreshwhile gathering evidence. That cleared the assume-unchanged flag the checker reads, so the trial's prerequisites went stale. Step 1 of the /review and /ship shared-code reuse section now says evidence gathering is read-only and names that command. Nearby wording was tightened so the section keeps its exact size. - The /ship exploratory-QA cases follow Step 9's review plan again. Since #3527, Step 9 runs
gstack-review-plan --base main. The fixture refused that command (paid screen 40707142223, both ship-exploratory-plan-checks trials) and never said that the plan's adversarial-native and outside-voice lines belong to Step 11, which is outside the fixture's Steps 8–9 excerpt. In gate 40664336141, ship-exploratory-late-input reported pass while listing that Step 11 pass as remaining work. Once the plan ran, it dispatched the state-machines specialist, and review-army tells the parent to write the merge-base sha into that specialist's diff command. The fixture refusedgit diff <merge-base sha>, which