Commit Graph
1429 Commits
Author SHA1 Message Date
Garry Tanandcapy-ai[bot] 50204fd64f Release check's docs-audit tests accept /ship's step for a stopped docs audit (GST-3569) (#4731)
The release check's three ship doc-sync tests pass again when the model
follows /ship's instruction for a docs audit that stopped before its
snapshot.

Why: these tests have held the stable release since main 5962f0d4; the
test fixture left out the `--run` record /ship always passes, and its
command checker didn't know the new snapshot flag.

Nothing to do: test-harness change only; product code is unchanged.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-23 03:30:20 +00:00
Garry Tanandcapy-ai[bot] 0408128f2f /plan-ceo-review explains its mode recommendation by what that mode does that the closest other mode wouldn't (GST-3536) (#4730)
`/plan-ceo-review` now explains its review-mode recommendation by naming
a fact from your plan and what the recommended mode does with it that
the closest other mode wouldn't, instead of by the plan's category.

Why: category-only reasons ("the plan fits no clear category") scored 3
of 5 on the recommendation-substance check, so the AskUserQuestion
format eval failed about 3 runs in 10 and could block release cuts.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-23 03:17:56 +00:00
Garry Tanandcapy-ai[bot] dd1b610a3a The recommendation judge's calibration test checks two real captured questions (GST-3447) (#4705)
The recommendation judge's calibration test now checks two real captured
questions, one on each side of the pass line, so a judge-model change
can't silently change what the AskUserQuestion format eval passes.

Why: after the judge moved to Haiku 5.5, the format eval started failing
on recommendations the old judge passed, and no calibration case covered
that boundary.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#1 reader=outside-voice
2026-11-23 02:37:11 +00:00
Garry Tanandcapy-ai[bot] ccd80de8eb A used review grant can no longer be claimed again, plus two /ship finish fixes (GST-3560) (#4722)
A grant for one follow-up review of a fix can no longer be claimed again
once that review ran, so one grant still buys one round.

/ship finish no longer calls the docs audit stale for a file a clean
follow-up review read, and the CI-record timeout no longer counts local
test runs.

Nothing to do: the merge checks only get stricter, and the timeout
setting keeps its name and default.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: pass1/outside-voice#1 reader=outside-voice
Review-Finding: pass1/outside-voice#2 reader=outside-voice
Review-Finding: pass1/outside-voice#3 reader=outside-voice
Review-Finding: pass2/outside-voice#2 reader=outside-voice
2026-11-23 01:08:54 +00:00
Garry Tanandcapy-ai[bot] 79f3052f35 The stale-test-value check matches tests by resolved import, not file name (GST-3563) (#4723)
The check that flags tests still holding a changed constant's old value
now matches tests by the import that resolves to the changed file, not
by file name.

Why: when two files share a name (two `config.ts`), it flagged tests of
the wrong file and a JSON golden nobody could waive, and a list that
only gained an item flagged every test still naming the kept item.

What you do: nothing.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: lib/pregate/checks/literals.ts:197:core reader=core
2026-11-22 23:36:37 +00:00
Garry Tanandcapy-ai[bot] 50cc296700 After a pull request's second review round, an approved extra check now leads to a /ship sign-off (GST-3546) (#4717)
After a pull request's two review rounds, an approved extra check of the
fixes now ends in a /ship sign-off instead of a dead end.

Why: three projects (gbrain #10068, gskills #23–#25, gstack #4712) had
no way to finish after a ruling at the round limit and skipped the
sign-off or bent their records.

Nothing to do: the next /ship uses it.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=security
Review-Finding: p1/specialist-batched#2 reader=state-machines
Review-Finding: p1/specialist-batched#3 reader=state-machines
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#2 reader=outside-voice
Review-Finding: p2/outside-voice#3 reader=outside-voice
Review-Finding: p2/adversarial-native#1 reader=adversarial-native
2026-11-22 21:59:41 +00:00
Garry Tanandcapy-ai[bot] c2da82e49c A disabled_skills verify entry keeps /build-check off, and gstack stops claiming verify prompts (#4593) (#4719)
A `disabled_skills: verify` entry now turns off `/build-check`, and
gstack's router and skill description no longer claim prompts that say
"verify my change".

Why: this finishes the #4593 rename, so Claude Code's built-in `/verify`
gets those prompts and an old opt-out keeps working.

What you do: nothing.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 20:40:54 +00:00
Garry Tanandcapy-ai[bot] 9d758432eb /verify is now /build-check, so Claude Code's built-in /verify works again (#4593) (#4714)
gstack's build-and-check skill is renamed from `/verify` to
`/build-check`, so typing `/verify` opens Claude Code's own built-in
skill again and Claude Code stops running gstack's skill before every
commit.

Why: Claude Code ships a skill named `verify`, and gstack's skill with
the same name hid it. Fixes #4593.

What you do: use `/build-check` from now on. If your gstack config has
`disabled_skills: verify`, change it to `build-check`. Upgrading removes
gstack's old `verify` entry but never a `verify` skill of your own.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: test/skill-descriptions.test.ts:16:testing reader=core
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/outside-voice#1 reader=outside-voice
2026-11-22 19:40:36 +00:00
Garry Tanandcapy-ai[bot] 20ab591412 Undo the revert drill docs sentence (#4716)
Removes the one sentence the revert drill added to docs/ship-policy.md,
so the revert drill section reads as it did before.

Why: this revert is the timed half of the first revert drill, which
shows that a bad change on main can be undone within 30 minutes.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 18:58:25 +00:00
Garry Tanandcapy-ai[bot] b5ad880f09 Note in the revert drill docs that drill PRs change nothing else (#4715)
Adds one sentence to the revert drill section of docs/ship-policy.md: a
drill's two PRs change nothing else, so either one can land or revert at
any time.

Why: this is the harmless docs PR the first timed revert drill lands and
then reverts, to show a bad land on main can be undone within 30
minutes.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 18:49:21 +00:00
Garry Tanandcapy-ai[bot] 2ab2aad705 A crashed merge no longer blocks every other merge, and a one-call count of PRs waiting to merge (GST-3549) (#4712)
When `gstack-ship-queue land --pin` dies in the middle of a merge, the
next merge now takes over its lock by itself (the process has exited,
its machine restarted, or 90 minutes passed) and logs it; a merge that
is still running is never interrupted.

New `gstack-ship-queue count` says how many finished PRs are waiting to
merge, and the docs now say how to drain that queue and how to time a
revert drill.

Nothing to do: the next `land --pin` uses the new lock on its own.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=security
Review-Finding: p1/specialist-batched#2 reader=testing
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: p1/red-team#3 reader=red-team
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#3 reader=outside-voice
Review-Finding: p2/outside-voice#4 reader=outside-voice
Review-Finding: p2/red-team#1 reader=red-team
Review-Finding: p2/adversarial-native#1 reader=adversarial-native
Review-Finding: p2/outside-voice#5 reader=outside-voice
Review-Finding: p2/outside-voice#6 reader=outside-voice
Review-Finding: p2/specialist-batched#2 reader=testing
2026-11-22 18:37:39 +00:00
Garry Tanandcapy-ai[bot] d3aed00dbe CI reuse: a neutral run no longer blocks a passing one, and workflow_call checks clear only at the exact commit (GST-3554) (#4713)
A newer CI run that concluded `neutral` no longer blocks reusing a
passing run on the same commit, and a check that only runs inside
another workflow (`workflow_call`) now clears only from a run that
tested your exact commit.

Why: gbrain kept hitting `newer_run_vetoes` on passing runs (#9827,
#10058, #10021), and a calling workflow's green run from any commit
could clear such a check.

Nothing to do: gbrain's skipped-run case was already fixed on main by
#4695; this adds `neutral`, the exact-commit rule and regression tests
built from gbrain's real runs.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/outside-voice#1 reader=outside-voice
2026-11-22 18:18:36 +00:00
Garry Tanandcapy-ai[bot] 00a6b7a353 Code review reads the design checklist and your repo's agents/ folder (#3924) (#4711)
Code review now checks frontend changes against the design checklist,
and the second-model review now reads code in a repository's own
`agents/` folder.

Before, the design reviewer was pointed at a file that doesn't exist,
and the second-model review skipped every `agents/` folder (#4410,
#3924).

Nothing to do as a user; it arrives with the next gstack update.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Replay: GSTA-812
Review-Finding: test/review-depth.test.ts:226:test-pin reader=core
2026-11-22 16:59:40 +00:00
Garry Tanandcapy-ai[bot] 5962f0d4f3 Four tests and two tools stop failing at random: gate-ahead worktrees and the gbrain MCP probe (GST-3543) (#4710)
Two gate-ahead preparations for one PR no longer fail each other, and
`gstack-gbrain-mcp-verify` no longer misreads a valid SSE reply as
broken.

Both turned up in the daily flaky-test pass from CI runs that failed
once and passed on retry. Two test fixtures that raced on timing are
fixed too.

Nothing to do for users; the version is written at merge.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1/specialist-batched#2 reader=testing
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: p1/outside-voice#1 reader=outside-voice
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p1/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/adversarial-native#2 reader=adversarial-native
Review-Finding: p1/adversarial-native#3 reader=adversarial-native
Review-Finding: p1/adversarial-native#5 reader=adversarial-native
Also: the fixture trace test's control looks for the push by name, which the Windows runner spells differently (windows-scoped-shard, run 45036384878).
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#3 reader=red-team
2026-11-22 15:46:55 +00:00
Garry Tanandcapy-ai[bot] 4ae9ec7b00 /ship can finish when its docs audit fixes a reviewed doc after the last review round (GST-3532) (#4708)
/ship no longer gets stuck when its last-step docs audit corrects a line
in a doc the review read, after the PR's last allowed review round.

Why: gbrain#10059 had to skip its /ship record to land, because the only
fix /ship offered was a third review round, which the two-round limit
forbids.

Nothing to do: the next /ship run asks for one small read of the audit's
change on its own.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/adversarial-native#1 reader=adversarial-native
Review-Finding: p2/adversarial-native#2 reader=adversarial-native
2026-11-22 15:25:28 +00:00
Garry Tanandcapy-ai[bot] a88cc7c1be Secrets check reads files whose names hold a space or an accent (GST-3528) (#4701)
The secrets check now reads a file whose name holds a space, an accent,
a quote or a backslash, such as `src/clé.rs` or `src/my file.rs`.

Why: git writes those names quoted or with a trailing tab, so the file
reached the scanner with no type and a key in it passed; the push check
also listed it as an unknown file.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1b/red-team#1 reader=red-team
Review-Finding: p2v/outside-voice#2 reader=outside-voice
Review-Finding: p2v/outside-voice#3 reader=outside-voice
2026-11-22 15:04:03 +00:00
Garry Tanandcapy-ai[bot] ab5abf0c3b Prompt router stops naming your bug-fix skill on bug reports, and CLAUDE.md drops the failing-test-first step (#4707)
gstack's prompt hook no longer names an installed bug-fix skill
(prove-it and the like) on bug reports, and the CLAUDE.md bug line drops
"a focused failing test first".

Why: in gstack-evals#426, on 183 real Python bugs, naming that 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).

Nothing to do: /review, /qa and /verify route exactly as before.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=red-team
Review-Finding: p1/specialist-batched#2 reader=api-contract
2026-11-22 14:58:06 +00:00
1d3350c5d7 Deleted tests still check the files that list them, and Playwright fixture specs run under Playwright (#4702)
Deleting or renaming a test now runs the tests of files that still list
it even when another test already covers it, and Playwright specs that
take `test` from a local fixtures file run under `playwright test`.

Why: a deleted test could pass the local checks while a stale curation
list failed after merge (#3536), and fixture-based Playwright specs went
to the unit runner and failed (#4347).

Nothing to do. A repo whose specs import `@playwright/test` directly
sees no change.

Co-authored-by: Yuan S. <3579304+szsunyuan@users.noreply.github.com>
Co-authored-by: marcode <244097767+vilano93@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: review-p1/specialist-batched#1 reader=specialist-batched
Review-Finding: review-p1/specialist-batched#2 reader=specialist-batched
Review-Finding: review-p1/red-team#1 reader=red-team
Review-Finding: review-v1/outside-voice#1 reader=outside-voice
Review-Finding: review-v1/outside-voice#2 reader=outside-voice
Review-Finding: review-v1/outside-voice#3 reader=outside-voice
Review-Finding: review-v1/outside-voice#4 reader=outside-voice
Review-Finding: review-p2/specialist-batched#1 reader=specialist-batched
Review-Finding: review-p2/red-team#1 reader=red-team
2026-11-22 14:41:01 +00:00
Garry Tanandcapy-ai[bot] 17afb6831b /ship reruns the test gate when its record was taken against a different base branch (GST-3493) (#4706)
/ship no longer accepts a test-gate record taken against a different
base branch: it reruns the gate against the base it ships to.

Why: a record cleared while a pull request was stacked on another branch
still verified after the pull request was retargeted at main with the
same code, though it used the other branch's policy and CI run profiles.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#2 reader=testing
Review-Finding: p1/outside-voice#1 reader=outside-voice
Review-Finding: p1/specialist-batched#1 reader=security
Review-Finding: p1/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/outside-voice#2 reader=outside-voice
2026-11-22 14:34:48 +00:00
Garry Tanandcapy-ai[bot] 45e33b5e7b /ship keeps its review count and grant claims honest, and a symlinked harness pin needs a fresh review (GST-3463) (#4703)
/ship now keeps a PR's earlier runs when it rewrites the PR description,
so later runs count review rounds correctly, and it refuses to start
reviewers when it could not save a granted round's claim.

Why: both slips let a PR get more review rounds than the two-round limit
allows, without anyone seeing it.

Nothing to do: the fixes apply on the next /ship run.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#3 reader=red-team
2026-11-22 13:59:38 +00:00
Garry Tanandcapy-ai[bot] f528f5bacc /ship counts a clean recheck of granted fixes even when its brief was written just before the review started (GST-3523) (#4698)
When an owner grants one recheck of a fix and it reads the fix clean,
/ship now counts it, even when the review pass wrote the recheck's brief
a moment before it took the review's start token.

Why: /ship only accepted the record of what the reviewer read if it was
written after that start, so a clean recheck was not counted and the PR
needed an owner's exception to finish (gbrain#10057).

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=red-team
2026-11-22 13:26:02 +00:00
Garry Tanandcapy-ai[bot] 44e244d603 Review exclusions stay in place when the repo's own policy test pins an excluded path (GST-3512) (#4699)
An excluded data file no longer comes back into review just because the
repo's own test for `review_exclude_paths` pins that exact path in its
pattern list.

Results PRs that exclude a single data file and pin the list in a test
now stay under the reader limit; code that reads the file, and example
paths the test checks against the patterns, still keep it in review.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=security
Review-Finding: p1/specialist-batched#2 reader=testing
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#2 reader=outside-voice
2026-11-22 13:19:58 +00:00
Garry Tanandcapy-ai[bot] 3c9cda0a2d Free test shards stop failing when a test's browser exits during the cleanup check (GST-3447) (#4666)
Free test shards no longer fail with "native process identity
unavailable" when a browser a test started exits while the runner is
checking it, and the Free Tests planning job gets 10 minutes instead of
5.

Why: these were the two causes left of main's flapping Free Tests runs;
the other four flaps from 11-18 and 11-19 were fixed earlier by #4490
and #4530.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 13:02:19 +00:00
Garry Tanandcapy-ai[bot] 63900b308c A fix closes its review finding only after a finished full review, and a security finding never closes this way (GST-3260) (#4700)
A commit that says it fixes a review finding now closes that finding
only after a full review that finished, made no fixes of its own, and
read the fix. A security finding never closes this way, so its file and
line can't reach the public PR body.

Why: three gaps on main let a finding close too easily: a review that
was still fixing things, a security finding's location, and a follow-up
check whose record of what it read was missing.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
2026-11-22 12:53:49 +00:00
Garry Tanandcapy-ai[bot] 596ff8a7cc Prompt router stops sending feature requests to your bug-fix skill (#4694)
The prompt hook no longer treats a feature request as a bug report just
because its body mentions an error, so your bug-fix skill isn't named
for "Add …", "Support …" or "[Feature]: …" requests.

Why: in our eval runs, 13 of 27 feature-titled tasks were routed to the
bug-fix skill, so the model started a bug-fix workflow on a feature.

Nothing to do: the change is in the hook's scoring. This builds on #4674
and should land after it.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=red-team
Review-Finding: v1/outside-voice#1 reader=outside-voice
Review-Finding: v1/outside-voice#2 reader=outside-voice
Review-Finding: v1/outside-voice#6 reader=outside-voice
Review-Finding: v1/adversarial-native#1 reader=adversarial-native
Review-Finding: v1/adversarial-native#2 reader=adversarial-native
2026-11-22 12:47:36 +00:00
b3323f47b8 Review and ship tools: read Codex numbered severities, check Remote Control sessions, see every worktree (#4681)
Five fixes from outside reports. The too-large-diff fix line now
suggests only folders the policy can exclude, Codex findings written as
`### 1. High` keep their severity, /autoplan's report check runs in
Remote Control sessions, /ship's version picker sees all worktrees, and
PR before/after images use the real base.

Why: each reproduced on main with a failing test and gave a wrong
answer.

Nothing to do after merge.

Co-authored-by: larsonthune <195244869+larsonthune@users.noreply.github.com>
Co-authored-by: vilano93 <244097767+vilano93@users.noreply.github.com>
Co-authored-by: szsunyuan <3579304+szsunyuan@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1/red-team#1 reader=red-team
2026-11-22 12:38:59 +00:00
4bd15f8a3d Test selection finds tests for NodeNext .js imports and Rails specs (#4679)
In TypeScript repos that import `./x.js` for `x.ts` (NodeNext) and in
Rails repos, touched source files now get their tests instead of none.

Why: `/verify` and `/ship` found no tests for these files even though
tests covered the files (#4398, #4211).

Nothing to do: a Rails file maps only when its spec exists at the
conventional path.

Co-authored-by: mikhailsal <14850941+mikhailsal@users.noreply.github.com>
Co-authored-by: Ikraam Ghoor <34813339+ikraamg@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1v/adversarial-native#1 reader=adversarial-native
Review-Finding: p1v/adversarial-native#2 reader=adversarial-native
Review-Finding: p1v/adversarial-native#3 reader=adversarial-native
Review-Finding: p1v/outside-voice#2 reader=outside-voice
Review-Finding: p1v/outside-voice#3 reader=outside-voice
2026-11-22 12:32:40 +00:00
Garry Tanandcapy-ai[bot] 7530280407 A skipped CI run no longer blocks reusing a passing run on the same commit (GST-3514) (#4695)
When one commit gets two runs of the same workflow and the newer one
skipped every job, the passing run can now be reused, and the CI wait no
longer reports that commit red.

gbrain hit this when a pull request run that skipped all its jobs,
created in the same second as a passing manual run, blocked that passing
run.

Nothing to do: a newer failed, cancelled or still-running run still
blocks reuse exactly as before.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=red-team
2026-11-22 12:24:05 +00:00
Garry Tanandcapy-ai[bot] 25bf93c4e2 /ship can finish after a docs audit stopped before saving its snapshot (GST-3502) (#4693)
/ship no longer gets stuck when its docs audit edits a left-out docs
file and then stops: the second audit can now include the first audit's
edits, so /ship can record its result and finish.

Why: a gbrain release was blocked with no supported way forward.

Nothing to do: `gstack-docs-candidate snapshot` gains one optional flag
for this case, and /ship's Blocked recovery step names it.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
2026-11-22 12:16:34 +00:00
Garry Tanandcapy-ai[bot] 3d3ce73eb9 Local checks reuse every green CI run at your code, not only the first (GST-3381) (#4671)
Local checks before opening a PR now reuse the newest verified CI run
per eligible profile at your exact code, so files an end-to-end run
already passed beside the test run no longer run again on your machine.

Before, only the first matching profile's run counted; a failed run, a
run of different code, or a run that changes while it is being read
still counts for nothing.

Nothing to do: this changes what runs locally, not what CI runs.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 12:10:34 +00:00
113deeaf9c Fix eight problems users reported in skill instructions (#4686)
Fixes eight user-reported problems in skill text agents follow: Aside
asks you to open the app when it's closed, /test-audit finds your
branch's test plan, and /codex reads your repo's own `agents/` folder.
Goal: gstack skills do what their docs promise.

Nothing to do as a user; it arrives with the next gstack update.

Co-authored-by: thehashrocket <342353+thehashrocket@users.noreply.github.com>
Co-authored-by: ElNeMeR70 <83190847+ElNeMeR70@users.noreply.github.com>
Co-authored-by: szsunyuan <3579304+szsunyuan@users.noreply.github.com>
Co-authored-by: atharva081106 <176514655+atharva081106@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=red-team
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#3 reader=outside-voice
2026-11-22 12:04:24 +00:00
Garry Tanandcapy-ai[bot] 19247f6a04 Prompt router names your bug-fix skill first and stops sending feature requests to it (GST-3462) (#4674)
gstack's prompt hook now recognizes more bug reports and names your
installed bug-fix skill first.

Why: in our Codex run the model loaded whichever skill the hook named
first, and on 7 bug tasks that was /verify, never prove-it.

Nothing to do: the change is in the hook's scoring, with no setting or
install change.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=red-team
2026-11-22 11:58:15 +00:00
9055979608 Destructive-command check catches more force pushes and outside deletes, and stops asking about quoted spellings (#4604)
The destructive-command check now catches force pushes to main hidden
behind abbreviated or misplaced dry-run flags, and asks before deletes
that reach a system folder through a `cd` (including `cd ../../etc`) or
a device node under /dev.

Quoting no longer changes its decision: a quoted build-folder delete or
a quoted `gh` title or body gets the same answer as its unquoted
spelling, which was already allowed. Fixes #4628, fixes #4601.

Nothing to do; no command that main asks about or blocks becomes allowed
except those same-command spellings.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: TayTaySwizzle <45181777+TayTaySwizzle@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
2026-11-22 11:52:02 +00:00
Garry Tanandcapy-ai[bot] 3cff6a47f6 Review keeps a file that a branch swaps from our own code to upstream bytes (GST-3298) (#4690)
A branch that replaces your own file, or drops a local patch, so the
file now matches an upstream copy byte for byte no longer leaves review:
a changed file counts as vendored only if it was already vendored and
verified at the merge base, or is new on the branch.

This closes the gap the second-model review of #4665 found, so readers
always see your own lines leave. Nothing to do for repos without
`review_vendored`, which is every repo today.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#1 reader=outside-voice
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p1/red-team#1 reader=red-team
2026-11-22 11:45:47 +00:00
3759f657f7 Changed-constant check stops flagging unrelated tests for one- and two-digit numbers (#4683)
Changing a small constant such as `MAX_ITEMS = 10` no longer flags every
test that mentions its module and holds a `10` somewhere; only lines
that use something taken from the module, or name the constant, count.

Why: one-line raises of two-digit constants were blocked by dozens of
false matches (#4312); on gstack itself, changing `RECEIPT_RUNS_KEPT`
(30) flagged 20 test files and now flags 4.

Nothing to do. Three-digit and longer values keep the old rule, and a
test that imports the module and asserts the old value is still caught.

Co-authored-by: Mahmoud ElNeMR <83190847+ElNeMeR70@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1/red-team#2 reader=red-team
2026-11-22 11:39:46 +00:00
3deb055529 browse --session before the command, Gemini AQ. keys, /verify trust across worktrees, and two more fixes from outside reports (#4684)
Five bugs reported by outside contributors are fixed, each with a test
that fails on main: `browse --session` before the command, a stray blank
tab in the handoff window, new Gemini keys refused by `$D setup`,
`/verify` asking for trust again in every worktree, and
`/context-restore` missing a second Claude profile's transcripts.

Nothing to do after merge.

Co-authored-by: Basim Rauf <22585821+Simba3696@users.noreply.github.com>
Co-authored-by: Lockyer <135391289+Lockyer228@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1v/outside-voice#1 reader=outside-voice
Review-Finding: p1v/outside-voice#2 reader=outside-voice
Review-Finding: p1v/outside-voice#3 reader=outside-voice
Review-Finding: p1v/outside-voice#4 reader=outside-voice
2026-11-22 11:33:35 +00:00
Garry Tanandcapy-ai[bot] f59520e759 Plan a test of whether /ship's reviewers beat two plain reads (GST-3467) (#4676)
Adds the plan for a 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.

It settles the open question from the last trial, where a single plain
read came close to the panel at a fraction of the cost, before anything
in /ship changes.

Nothing to do but read docs/evals/ship-panel-plain-reads-prereg.md; no
paid run starts until this merges.

Refs: GST-3467
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: outside-voice#1 reader=outside-voice
Review-Finding: outside-voice#2 reader=outside-voice
Review-Finding: outside-voice#3 reader=outside-voice
Review-Finding: outside-voice#4 reader=outside-voice
Review-Finding: outside-voice#5 reader=outside-voice
Review-Finding: outside-voice#6 reader=outside-voice
Review-Finding: docs/evals/ship-panel-plain-reads-prereg.md:195:number-mismatch reader=checklist
2026-11-22 11:25:58 +00:00
Garry Tanandcapy-ai[bot] af5cacafa9 /cso keeps going when a .env-style file cannot be read, and reports it as unread (#4688)
/cso's `start` no longer aborts when a tracked secret-like file
(`.env.example` and the like) cannot be read because of a sandbox deny
rule or file permissions; the file is listed as unread and the run's
source coverage reads partial.

Why: with Claude Code's sandbox and a `Read(**/.env*)` deny rule, /cso
could not run at all on any repo tracking such a file.

Nothing to do after merge.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
2026-11-22 11:19:14 +00:00
Garry Tanandcapy-ai[bot] 5b88fa8a00 /cso finish no longer closes an audit after a refused submit (GST-3504) (#4692)
When the /cso helper refuses a submission, `finish` now keeps the audit
open and asks for a corrected submit, instead of closing it and losing
the evidence.

Why: an eval session hit `exclusions must be an array`, ran `finish` in
the same command, and its corrected resubmit was then refused because
the audit had closed.

Nothing to do for users; `finish` still closes the audit once the audit
deadline passes.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 11:13:13 +00:00
Garry Tanandcapy-ai[bot] 296b252a34 Skills load their declared gbrain context at start, and harness status says unknown when its list fails (#4687)
`/office-hours`, `/plan-ceo-review`, `/design-shotgun`,
`/design-consultation` and `/retro` now load the brain context they
declare when they start, skill start stops telling a read-only repo to
run a sync that can't help, and `gstack-harness status` says `unknown`
when a harness's skill list fails.

Why: three outside reports (#4329, #4419, #4412), each reproduced on
main by a test that fails before this change and passes after it.

Nothing to do; `gstack-config set gbrain_context_load off` turns the
context load off.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=security
2026-11-22 11:06:56 +00:00
95cf15b3c9 gbrain memory lookups find the artifacts source, product pages and newest timeline rows (#4685)
`/sync-gbrain` and `gstack-decision-search --semantic` now find a brain
host's artifacts source through `GSTACK_BRAIN_SOURCE_ID`, planning
skills read their product and brand digests from current gbrain, and the
brain gets each sync's newest artifacts and timeline rows.

Why: five outside reports (#4443, #4327, #4265, #4179, #4362), each
reproduced on main by a test that fails before this change and passes
after it.

Nothing to do unless your artifacts source lives outside
`~/.gstack-brain-worktree`; then set `GSTACK_BRAIN_SOURCE_ID` to its id.

Co-authored-by: Barack-zero-to-one <121355791+Barack-zero-to-one@users.noreply.github.com>
Co-authored-by: exGeni <135786749+exGeni@users.noreply.github.com>
Co-authored-by: atharva081106 <176514655+atharva081106@users.noreply.github.com>
Co-authored-by: extremenelson <2460114+extremenelson@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1v/outside-voice#2 reader=outside-voice
2026-11-22 11:00:45 +00:00
Garry Tanandcapy-ai[bot] 094263d71b /eval-plan checks follow the plan's own dates and models, and plans name their grader (GST-3464) (#4673)
`/eval-plan dry-run --prereg ` now reads the plan's frozen date and
Models section, so plans frozen before the model-generation rule, and
competitor vendor defaults, pass as the rule allows; priced families
refuse unpriced older generations; and a new `grader:` line is required
for plans frozen from 2026-11-23.

Nothing to do for readers; plans frozen before 2026-11-23 need no
`grader:` line.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=specialist-batched
Review-Finding: p1/red-team#1 reader=red-team
2026-11-22 10:54:45 +00:00
f7e16a54fc Review and shipping tools: seven small fixes to exclusions, issue links, PR description checks, build outputs, known-red tests and telemetry (GST-3464) (#4672)
Fixes seven small bugs in the review and shipping tools: bad exclusion
keys now refuse, `Review-Finding:` lines are no longer issue references,
older commits' issue mentions name their commit, and wording checks skip
the PR's short opening lines.

A native binary the checkout builds at a path its committed `.gitignore`
names is no longer flagged as a download; the grouped-merge test gate
can read the list of tests already failing on main from a file; and
telemetry no longer logs a duplicate onboarding event when a run crosses
midnight.

Nothing to do; each fix has a test that fails on main.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: Davmunrey <108531295+Davmunrey@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p2/red-team#1 reader=red-team
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#2 reader=outside-voice
2026-11-22 10:48:36 +00:00
Garry Tanandcapy-ai[bot] 8ffd2b85f1 Defaults name current models, and review stops reading "the HIGH branch" as a HIGH finding (GST-3462) (#4678)
Three defaults gstack picks now name current models, and a reviewer's
mention of a code name like "the HIGH branch" no longer becomes a HIGH
finding.

Why: our rule is no older-generation model in a role we choose, and the
review parser forced a ruling on two notes that only quoted code.

Nothing to do: no settings change; overrides work as before.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/outside-voice#1 reader=outside-voice
Review-Finding: p1/adversarial-native#5 reader=adversarial-native
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/adversarial-native#6 reader=adversarial-native
Review-Finding: p1/outside-voice#3 reader=outside-voice
2026-11-22 10:41:12 +00:00
24b15c6823 Windows hooks start under unconverted paths, and six more setup and install fixes from outside reports (#4682)
Seven install and setup bugs reported by outside contributors are fixed,
each with a test that fails on main: Windows hooks under an apostrophe
home or with path conversion off, two misleading `./setup --status`
rows, owner-only files in Bun's shared cache, a leftover
`/connect-chrome` alias, a doctor false alarm, and harness installs
ignoring `disabled_skills`.

Nothing to do after merge; the next `./setup` or upgrade picks it up.

Co-authored-by: Arnuv <69417158+abyss-node@users.noreply.github.com>
Co-authored-by: Mahmoud ElNeMR <83190847+ElNeMeR70@users.noreply.github.com>
Co-authored-by: Yuan S. <3579304+szsunyuan@users.noreply.github.com>
Co-authored-by: Alexander William Haire <141470777+alexanderhaire@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1v/outside-voice#1 reader=outside-voice
Review-Finding: p1v/outside-voice#3 reader=outside-voice
2026-11-22 10:31:18 +00:00
Garry Tanandcapy-ai[bot] 9d9ba2f057 /ship can clear its test gate from CI on a branch stacked on another branch (GST-3381) (#4689)
When a branch is stacked on another branch, /ship can now clear its test
gate from a green CI run instead of refusing with `base_mismatch`.

Teams that ship stacked branches were stuck: the record named the
stacked base, but the check read run profiles from the default branch.

Nothing to do: branches based on main behave exactly as before.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#1 reader=outside-voice
Review-Finding: p1/adversarial-native#3 reader=adversarial-native
2026-11-22 10:24:56 +00:00
Garry Tanandcapy-ai[bot] 54723680fc /ship keeps a PR's review after a main merge that only updates a shared harness pin, and warns when reviewers ran unlogged (GST-3463) (#4669)
A pull request no longer needs a fresh /ship when merging main only
updates a harness pin file it shares with another PR, and /ship's review
summary now warns when reviewers produced output that the run never
logged.

Why: #4652 paid for a full new review after such a merge, and a
harness-evals run lost its granted follow-up review because nothing was
logged.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
2026-11-22 10:18:51 +00:00
Garry Tanandcapy-ai[bot] 75410da71f Secrets check flags keys in Rust let, const and static bindings and stops flagging Rust type annotations (GST-3474) (#4675)
The secrets check now catches a key written as `let token = "";` (or
`let mut`, `const`, `static`) in a Rust file, and no longer flags Rust
type annotations like `token: Option,` or match arms like
`Token::Char(c) =>`.

Why: a real key in that Rust form passed the check, while every Rust
change needed allowlist entries for type annotations (seen on
garrytan/gbrain#10028).

Nothing to do: files in other languages are checked as before.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=specialist-batched
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: p1/red-team#3 reader=red-team
2026-11-22 10:12:32 +00:00
Garry Tanandcapy-ai[bot] 7df6466b99 The merge queue checks a pull request against the branch it targets, not the default branch (GST-3445) (#4663)
`gstack-ship-queue ready` now checks a pull request against the branch
it targets, so a PR into a branch other than main is no longer refused
when its /ship review was done against that branch.

Why: Founderstar #1024 targets `garrytan/v0.2-plan-wip`, and ready
refused its correct /ship review record because it compared that record
against main.

Nothing to do: until this lands, passing `--base ` to ready works around
it.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=specialist-batched
Review-Finding: p1/specialist-batched#2 reader=specialist-batched
2026-11-22 09:46:02 +00:00
Garry Tanandcapy-ai[bot] 465d911d9c A granted fix round that a follow-up check reads clean now closes the findings it fixed (GST-3260) (#4664)
/ship now closes a review finding when its fix round was granted and a
follow-up check read the fix clean, or when the fix commit names the
finding and a later full review reads it clean. Before, someone had to
write a ruling by hand.

Why: since this was missing, PRs whose findings were already fixed and
checked stalled at the round limit (#4537, harness-evals#508, #4597,
harness-evals#504, #4612).

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=security
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#2 reader=red-team
2026-11-22 09:38:36 +00:00