Commit Graph
731 Commits
Author SHA1 Message Date
Garry Tanandcapy-ai[bot] af9c235399 Codex second-model reviews in /gstack-ship now count, and the shipping record carries them (GST-4148) (#4889)
When /gstack-ship's second-model review runs on Codex, the review record
now names the Codex model and its family, so it counts as a second-model
review instead of being recorded as unavailable.

Why: shipping records should say which second model reviewed a change;
Codex reviews were silently dropped from that record, and live records
never carried it.

Nothing to do: if Codex can't run, that is still recorded and never
blocks shipping.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=state-machines
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p2/outside-voice#2 reader=outside-voice
Review-Finding: p2/outside-voice#4 reader=outside-voice
Review-Finding: p3/outside-voice#1 reader=outside-voice
2026-11-29 01:30:01 +00:00
Garry Tanandcapy-ai[bot] 4a40464ea7 Code changes get a second-model review of their final fixes, and the shipping record names that model's family (GST-4140) (#4886)
When a code change's first review leads to fixes, the second-model
review now reads those fixes and the final review again, instead of
being skipped once it had run.

A reviewer from the same model family as the author (a Claude reader
checking Claude's work) no longer counts as the second model, and the
review record names the model family that reviewed.

Nothing to do: when the second model can't run (Codex down, rate-limited
or refused), that is still recorded and never blocks shipping.

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: s11/outside-voice#1 reader=outside-voice
Review-Finding: s11/outside-voice#2 reader=outside-voice
Review-Finding: s11/outside-voice#3 reader=outside-voice
Review-Finding: s11/outside-voice#4 reader=outside-voice
Review-Finding: s11/adversarial-native#1 reader=adversarial-native
Review-Finding: s11/adversarial-native#2 reader=adversarial-native
Review-Finding: s11/adversarial-native#3 reader=adversarial-native
Review-Finding: s11/adversarial-native#5 reader=adversarial-native
Review-Finding: s11/adversarial-native#7 reader=adversarial-native
2026-11-28 22:51:30 +00:00
Garry Tanandcapy-ai[bot] 942a12c618 Let a repo keep server-backed Playwright tests out of the local pre-merge run (GST-3553) (#4885)
A repo can list folders as `"local_skip": ["apps/web/e2e/**"]` in
`.gstack/pregate.json`, and /gstack-ship leaves the Playwright tests
under them out of the run on this machine, prints how many it left out,
and still expects them from CI.

Why: Playwright suites outside `test/` that need dev servers failed
green branches (#4709); only files Playwright plainly owns are ever left
out, so a too-wide folder never skips a unit test.

Nothing to do unless your repo has such a suite.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: s11/outside-voice#1 reader=outside-voice
Review-Finding: s11/outside-voice#2 reader=outside-voice
Review-Finding: s11/adversarial-native#1 reader=adversarial-native
Review-Finding: s11/adversarial-native#2 reader=adversarial-native
2026-11-28 21:06:10 +00:00
Garry Tanandcapy-ai[bot] adba58aa28 A file deleted or renamed after the final review can now ship as a ruled note (GST-4139) (#4884)
The owner's `edit:` ruling now covers a file deleted after the final
review, and a rename takes two rulings (old path and new), so folding or
renaming a `changelog.d` fragment no longer fails /gstack-ship with
`RULED_EDIT_REFUSED` and `RECEIPT_INVALID` (garrytan/gbrain#10623).

Why: shipping a small post-review cleanup should not force another full
review, but git has to prove the deletion is real and untouched since
the ruling.

Nothing to do: the ruling command is unchanged, and `gstack-review-plan
--post-review` now prints it for deleted paths too.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p1/outside-voice#3 reader=outside-voice
2026-11-28 20:30:31 +00:00
Garry Tanandcapy-ai[bot] 37cad2b526 /gstack-ship keeps a run's token cap when its budget start reruns mid-run, and four more budget-run fixes (GST-4132) (#4882)
A /gstack-ship run that reruns its budget start while it is still open
keeps its own token cap and clock instead of getting a fresh (or no)
cap.

Why: the budget cap is the money guard on /gstack-ship, and #4877 left
five ways around or past it, listed in its ruled notes.

Nothing to do: the fixes take effect on the next gstack upgrade.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=state-machines
Review-Finding: p1/specialist-batched#2 reader=testing
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: v2/targeted#1 reader=targeted
Review-Finding: v2/outside-voice#1 reader=outside-voice
Review-Finding: v2/outside-voice#2 reader=outside-voice
Review-Finding: v2/outside-voice#3 reader=outside-voice
Review-Finding: v2/outside-voice#4 reader=outside-voice
Review-Finding: v2/outside-voice#5 reader=outside-voice
2026-11-28 18:47:13 +00:00
Garry Tanandcapy-ai[bot] be9b34e3dc The secrets check stops reading camelCase run ids as phone numbers (#4861) (#4881)
The secrets check no longer reports an 11-digit GitHub Actions run id as
a phone number when code names it `runId`, `RunGithubID` or passes it to
a run call such as `resolveRunDetection(...)`.

Why: Go and TypeScript test fixtures tripped a phone-number finding, and
`gstack-post` asked for confirmation on PR bodies that quoted them.

Nothing to do; every number the check reported before still reports.

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#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/red-team#1 reader=red-team
Review-Finding: p2/adversarial-native#1 reader=adversarial-native
Review-Finding: p2/adversarial-native#3 reader=adversarial-native
2026-11-28 17:04:07 +00:00
Garry Tanandcapy-ai[bot] 4b8c7005dc /gstack-ship stops counting idle time and earlier runs against a run's limits, and a finished run no longer blocks the next one (GST-4109) (#4877)
/gstack-ship's 100-minute stop now counts only active minutes, and its
token cap counts only the run's own tokens. An agent waiting on CI or a
ruling, or reusing an earlier run's record, no longer stops mid-run.

A run that finished now ends its own run record, so the next
/gstack-ship on the same checkout starts without anyone abandoning it by
hand.

Nothing to do: it takes effect on the next gstack upgrade.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 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/outside-voice#4 reader=outside-voice
Review-Finding: p2/targeted#1 reader=targeted
Review-Finding: p4/targeted#1 reader=targeted
Review-Finding: ship-2-p1/red-team#1 reader=red-team
2026-11-28 16:56:16 +00:00
Garry Tanandcapy-ai[bot] e8319ea59a The factory scorecard counts each merge batch once in its red rate, not every re-run (GST-4128) (#4880)
The factory scorecard's red rate now counts each tested batch of PRs
once, by its branch, so re-testing the same batch (a bisect or a
rebuild) no longer moves it.

Why: a red batch that was bisected and rebuilt added extra runs to both
the red count and the total, so the rate could swing without any new
batch running (#4767).

Nothing to do: the row's name, its target and the published week's
number (1 red of 22, recounted) stay the same.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-28 16:34:00 +00:00
Garry Tanandcapy-ai[bot] dfbdccf4c1 Tests that copy their own bun no longer trip the review fetch check (GST-4112) (#4876)
A test that copies the host's own `bun` binary into a temp folder no
longer stops `/gstack-ship` with a fetch violation, and Codex prompt
files from `/plan-ceo-review` and `/plan-eng-review` can no longer be
committed by accident.

It keeps shipping runs from stopping for no reason and keeps scratch
files out of commits; the `/autoplan` guard now also treats Claude Code
2.1.326, the version CI runs, as checked.

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
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p2/outside-voice#2 reader=outside-voice
Review-Finding: p2/adversarial-native#3 reader=adversarial-native
Review-Finding: p2/outside-voice#3 reader=outside-voice
2026-11-28 15:09:08 +00:00
Garry Tanandcapy-ai[bot] 44df37961b /gstack-ship keeps settled review findings closed, and a missing run folder no longer costs a docs-audit attempt (GST-4111) (#4875)
A ruled finding stays ruled when edits above it move its line, a fix
with no trailer closes once a later full review reads it clean, and a
"found sound" list no longer counts as findings.

Why: these false blockers stopped finished PRs in other projects and
forced extra owner rulings and review rounds.

Nothing to do: the docs audit's snapshot also refuses a missing run
folder up front instead of spending an attempt.

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#2 reader=red-team
Review-Finding: p2/adversarial-native#1 reader=adversarial-native
Review-Finding: p2/adversarial-native#4 reader=adversarial-native
Review-Finding: p2/adversarial-native#10 reader=adversarial-native
Review-Finding: p2/adversarial-native#11 reader=adversarial-native
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/outside-voice#4 reader=outside-voice
Review-Finding: p3/red-team#2 reader=red-team
Review-Finding: p3/specialist-batched#1 reader=specialist-batched
Ship-Run: ship-4875
2026-11-28 14:06:26 +00:00
Garry Tanandcapy-ai[bot] 09e2f44f27 The PR body check ignores comment openers quoted in code, and the review plan refuses a wrong pass count (GST-4110) (#4874)
The PR body check no longer loses the closing Agent notes section when
the text quotes an HTML comment opener in inline code or a code block.

Why: a quoted opener hid that section, so bodies were refused for text
that sat in the right place; the review plan's `--pass` was also easy to
misread as the next pass.

Nothing to do: bodies and plans that passed before still pass.

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/specialist-batched#2 reader=specialist-batched
Review-Finding: p2/red-team#1 reader=red-team
2026-11-28 12:59:14 +00:00
Garry Tanandcapy-ai[bot] d785fc4acf Secrets check catches Google keys in encoded text, reads later declarators and reports provider keys once (GST-4104) (#4871)
The secrets check now catches more Google API keys in encoded text,
reads each declaration under the name its value is assigned to, reports
a provider key once, and stops matching look-alike values against your
environment's secrets.

Why: these gaps were left open on the last secrets-check change, and two
of them made a check fail in a way no allowlist entry could clear.

Nothing to do: the fixes ship in the next release.

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#2 reader=red-team
Review-Finding: p2/adversarial-native#1 reader=adversarial-native
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/outside-voice#4 reader=outside-voice
2026-11-28 11:20:26 +00:00
Garry Tanandcapy-ai[bot] dade7cacf1 Stop mistaking ordinary text for Capy ids and check every part of a public PR body (GST-4105) (#4872)
On public repositories, `/gstack-ship` no longer refuses or rewrites
ordinary text such as `SHA-256:abc` or `test/jam_fix.ts` as if it were a
Capy id, and it now checks every part of the PR body it posts.

Why: these are the follow-ups #4868 left open. It made public PR bodies
safe but caught too much and left a few corners unchecked.

Nothing to do: private repositories keep working with PR bodies written
before #4868.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=security
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/outside-voice#4 reader=outside-voice
Review-Finding: p2/adversarial-native#1 reader=adversarial-native
2026-11-28 11:12:04 +00:00
Garry Tanandcapy-ai[bot] 3af268b2b6 /review now always runs its Codex second-model review and the Red Team on large diffs (GST-4097) (#4870)
`/review` now always runs its Codex second-model review when Codex is
ready, runs the Red Team on diffs over 200 lines, and a headless session
can no longer end while its background reviewers are still running.

Why: in a recent headless eval, Claude Opus skipped both steps in every
run because `/review` called the Codex pass optional and its
end-of-skill check never looked for either.

Nothing to do: Codex users get the extra review automatically; a missing
or disabled Codex is still a recorded skip.

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: 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/outside-voice#4 reader=outside-voice
Review-Finding: p2/outside-voice#5 reader=outside-voice
Review-Finding: p2/adversarial-native#1 reader=adversarial-native
Review-Finding: p2/adversarial-native#3 reader=adversarial-native
Review-Finding: p2/adversarial-native#4 reader=adversarial-native
Review-Finding: p2/adversarial-native#5 reader=adversarial-native
Review-Finding: p2/adversarial-native#6 reader=adversarial-native
Review-Finding: p2/specialist-batched#1 reader=security
Review-Finding: p2/specialist-batched#2 reader=testing
Review-Finding: p2/red-team#1 reader=red-team
Review-Finding: p2/red-team#2 reader=red-team
Review-Finding: p2/red-team#3 reader=red-team
Review-Finding: p2/red-team#4 reader=red-team
2026-11-28 10:33:33 +00:00
Garry Tanandcapy-ai[bot] bbe63d1de3 Keep home paths and Capy ids out of PR bodies on public repos (GST-1955) (#4868)
On public repositories, `/gstack-ship` no longer publishes home folder
paths or Capy thread and message ids in PR bodies, and abandoning a run
can no longer mark someone else's PR.

Why: 20 of the last 60 merged gstack PRs carried `/home/user/...` in
their shipping record, and relayed rulings forced internal ids into
public PR text (CAPY-1 qm#3938, qm#3983).

Nothing to do: older shipping records that hold a full path still match
their run.

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: 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/outside-voice#4 reader=outside-voice
Review-Finding: p2/outside-voice#5 reader=outside-voice
Review-Finding: p2/outside-voice#6 reader=outside-voice
2026-11-28 09:59:33 +00:00
Garry Tanandcapy-ai[bot] f7beb0a71b Secrets check catches keys in JavaScript, TypeScript and Go declarations and stops flagging names, run folders and base64 noise (GST-3500) (#4869)
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: 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/outside-voice#4 reader=outside-voice
Review-Finding: p2/outside-voice#5 reader=outside-voice
Review-Finding: p2/outside-voice#6 reader=outside-voice
Review-Finding: p2/adversarial-native#1 reader=adversarial-native
2026-11-28 09:48:28 +00:00
Garry Tanandcapy-ai[bot] 36a8ae067c Ship's review records close five gaps, and --for gstack-ship installs the ship skill (GST-4093) (#4867)
`/gstack-ship` now agrees with itself in five review-recording cases
that let a stale or incomplete review count, and `--for gstack-ship`
installs the ship skill on Capy.

Why: each gap could let a saved review record or a sliced review vouch
for code nobody read, or price a sliced review as one reader.

Nothing to do: diffs that are not sliced, and edits with no ruling,
behave as before.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p2/red-team#1 reader=red-team
Review-Finding: p2/red-team#2 reader=red-team
2026-11-28 08:55:19 +00:00
Garry Tanandcapy-ai[bot] d0b59828d6 Approved edits after review no longer force a new full review, and ship works in git worktrees (#4862)
Small edits that a project lead approves after the final review no
longer force a whole new review. Shipping from a git worktree no longer
crashes, and merging main no longer throws away a finished review when
main already made one of the PR's exact changes.

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
2026-11-27 23:07:11 +00:00
e05aff972d Design lint prints missing paths relative to your folder, also through symlinks (#4859)
`gstack-design-lint` now names a file it cannot read relative to the
folder you ran it from, even when that file sits under a symlinked
folder (on macOS, anything under `/tmp` or `/var`). Before, it printed
the full absolute path.

The design-lint tests pass on a Mac again. Rebuilt from #4856 by
Akkyman2, with thanks. Nothing to do.

Co-authored-by: Akkyman2 <178076175+Akkyman2@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-27 16:43:08 +00:00
Garry Tanandcapy-ai[bot] e3f916bf0d Review diffs over the 2 MB ceiling in slices instead of stopping (GST-4019) (#4853)
`/gstack-ship` now reviews a reviewer diff over the 2,000,000-byte
ceiling in up to 8 slices that share no file and together cover every
file, instead of stopping with `REVIEW_DIFF_TOO_LARGE`.

Why: large results PRs (harness-evals#619 is 2.27 MB after exclusions)
and large pure-deletion PRs (#4837, #4833) could not be reviewed at all.

Nothing to do: diffs at or under the ceiling are reviewed exactly as
before, byte for byte.

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/specialist-batched#3 reader=testing
Review-Finding: p1/red-team#2 reader=red-team
2026-11-26 20:15:50 +00:00
Garry Tanandcapy-ai[bot] 77da8a0160 Let /gstack-ship handle very large results PRs (GST-4003) (#4847)
`/gstack-ship` now works on results PRs with tens of thousands of files
and hundreds of megabytes of diff: more exclusion patterns, a secrets
check with no size limit, a faster review plan and docs check, and
bulleted ruled notes.

Why: two 16,000-file results PRs hit each of these limits in real runs.

Nothing to do: existing policies keep working unchanged.

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: p2/adversarial-native#1 reader=adversarial-native
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/outside-voice#4 reader=outside-voice
Review-Finding: p2/specialist-batched#2 reader=specialist-batched
2026-11-26 16:54:59 +00:00
Garry Tanandcapy-ai[bot] 2fae1d78d6 Remove the /cso security audit skill, since a plain audit request finds more (#4833)
/cso is gone: the skill, its native helper programs, scanner images, CI
jobs, docs and the rest of its tests. Upgrading removes gstack's own
`/cso` entries and old helper files, and leaves a skill of your own
named `cso` alone.

Why: on 52 real security advisories, plainly asking the agent to audit
the code caught more than /cso (13 vs 7 on particle-1; 12 vs 8 of 51 on
Claude Opus 5.5, within the margin of error).

To do: nothing. Optional cleanup of old scanner images and reports is in
the changelog entry.

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/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/adversarial-native#2 reader=adversarial-native
2026-11-25 21:59:08 +00:00
Garry Tanandcapy-ai[bot] fd7e8c7b36 Remove the /cso test files, CI workflows and docs ahead of removing /cso (GST-3920) (#4837)
Deletes the tests, test fixtures, CI workflows, scripts and docs that
exist only for /cso. Nothing changes for anyone using gstack.

Why: this is the first half of removing /cso. The whole removal is too
big to review in one pull request, so #4833 removes the skill and its
helper code next.

Nothing to do: #4833 lands right after this one.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-25 21:09:24 +00:00
Garry Tanandcapy-ai[bot] 8aafd408e2 gstack-pr-wait ignores cancelled checks a newer pass replaced, and the npm git-dependency hint names allow-git (#4832)
`gstack-pr-wait` no longer blocks on a cancelled check that a newer run
of the same check replaced, and the `DEPS_MISSING` stop names npm 12's
`allow-git` setting when the lockfile installs a package from git.

The docs audit that /gstack-ship launches also starts after a reviewer's
install, and a refused launch no longer uses up its one retry.

Nothing for you to do. Fixes #4807 and #4815; thanks to exGeni for both
reports and the repro.

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-25 18:13:02 +00:00
Garry Tanandcapy-ai[bot] 76dd597ff1 Skill routing no longer fires on subagent hand-backs or passing mentions of a trigger (#4831)
Skill routing now ignores subagent reports that Claude Code delivers in
an `` block, and routes a noun-phrase trigger such as "code review" only
when the sentence asks for the work.

Each `routed` log line now records the prompt's length, the matched
trigger and the prompt's kind, so a false route can be checked from the
log alone. Reported by @sohampatwardhan.

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
Review-Finding: lib/skill-route.ts:568:completeness reader=core
2026-11-25 17:05:32 +00:00
Garry Tanandcapy-ai[bot] 7eba5caf6f /gstack-ship honours ruled edits after the final review and records second-model stops (GST-3814) (#4829)
/gstack-ship no longer asks for every reviewer again after an edit the
owner already ruled a note, and a stop on a second-model reviewer's
blocker now records instead of failing with STOP_UNBOUND.

Why: both forced hand-written workarounds after the final review (#4819,
yc-software/qm#3973, gskills#45 and #46).

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

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/outside-voice#2 reader=outside-voice
2026-11-25 16:21:05 +00:00
Garry Tanandcapy-ai[bot] ec5d7e6fbd /gstack-ship drops bought extra review rounds and the second-model trail check (GST-3829) (#4826)
/gstack-ship no longer lets anyone buy an extra review round or a narrow
re-check. After two review rounds, a blocking finding ships only as an
owner's recorded ruling, or the PR waits.

Why: these paths were switched off last release and kept breaking; four
PRs in one day tried to repair them. This is part 4 of the approved
/gstack-ship simplification.

Nothing to do: each removed flag now refuses with a message that names
what replaced 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: p2/outside-voice#3 reader=outside-voice
Review-Finding: p2/adversarial-native#1 reader=adversarial-native
Review-Finding: p2/adversarial-native#3 reader=adversarial-native
Review-Finding: p2/adversarial-native#6 reader=adversarial-native
2026-11-25 14:36:31 +00:00
Garry Tanandcapy-ai[bot] 64fe9e5231 /cso refuses npm apps whose installed packages don't match the lockfile (GST-3664) (#4797)
`/cso --comprehensive` now stops preparing an npm app when an installed
package doesn't match its `package-lock.json` entry, naming the package
and what differs.

This keeps /cso's dependency findings about the code that is actually
installed.

Nothing to do: apps whose installs match their lockfile prepare as
before.

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-25 13:00:00 +00:00
Garry Tanandcapy-ai[bot] a5acd49d9e Run newer Claude Code and Codex in CI, and read the Astra model from the registry (GST-3801) (#4822)
CI now runs Claude Code 2.1.326 and Codex 0.172.0, which know gstack's
newest default models, and the Capy installer reads its Codex model from
`lib/model-families.ts`.

Why: the old pins priced the default judge as an older Fable and had no
GPT-6.2 metadata, and the installer named the Astra id by hand.

Heads-up: the test harness's version moves to 8, so every paid case
starts a new pass-rate series.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: voices/outside-voice#1 reader=outside-voice
Review-Finding: voices/outside-voice#2 reader=outside-voice
Review-Finding: voices/outside-voice#3 reader=outside-voice
Review-Finding: voices/outside-voice#4 reader=outside-voice
2026-11-25 12:22:18 +00:00
Garry Tanandcapy-ai[bot] 2eb3e5ad12 Eval plans can check a code judge against a third model's labels, with frozen anchors (GST-3833) (#4824)
`/eval-plan` now accepts labels made blind by a third-family model
(Gemini 4 Neon by default) for a judge that grades code, but only when
the plan freezes known-answer anchors with a pass line the labeller must
meet first.

Why: Garry ruled that a third model replaces people for code labels, and
anchors catch a labeller that agrees on what it answers while dodging
the rest.

Nothing to do for existing plans; judges of anything other than code
still need people's or construction labels.

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=testing
2026-11-25 09:04:03 +00:00
Garry Tanandcapy-ai[bot] 47b464a0d4 Release notes keep quoted versions, count only real changes and print each heading once (GST-3686) (#4803)
A release no longer rewrites version numbers inside changelog entries,
no longer counts a subsection heading such as "### For contributors" as
a change, and prints each subsection heading once in the new CHANGELOG
section.

This keeps every release's notes true: v1.103.2.0 said 7 changes for 5
and printed a heading twice, and a gbrain correction note that quoted
v0.60.769.0 was rewritten to point at v0.60.770.0.

Nothing to do: the next release uses the fixed code.

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/outside-voice#3 reader=outside-voice
Review-Finding: p1/outside-voice#4 reader=outside-voice
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#2 reader=outside-voice
2026-11-25 08:03:59 +00:00
Garry Tanandcapy-ai[bot] 719b1f59f0 Install gstack's shipping skill as /gstack-ship so Claude Code's own /ship stops hiding it (#4775) (#4819)
gstack's shipping skill now installs as `/gstack-ship`, because Claude
Code keeps the name `/ship` for its own built-in and silently drops
gstack's.

Upgrading removes gstack's old `ship` entry and leaves your own `ship`
skill alone. The resume command and most recovery messages now say
`/gstack-ship`; nothing to do but upgrade.

This replaces #4813, which ran out of budget before its last fixes.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p2/adversarial-native#1 reader=adversarial-native
Review-Finding: p2/outside-voice#3 reader=outside-voice
Review-Finding: p2/outside-voice#4 reader=outside-voice
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#2 reader=outside-voice
Review-Finding: p2/red-team#1 reader=red-team
Review-Finding: p3/outside-voice#1 reader=outside-voice
Review-Finding: p3/outside-voice#3 reader=outside-voice
Review-Finding: p7/outside-voice#1 reader=outside-voice
2026-11-25 03:53:15 +00:00
Garry Tanandcapy-ai[bot] 9a550bca9c gstack picks the newest Opus, Fable, Sol and Astra everywhere (GST-3760) (#4811)
gstack now uses the newest model of each family it picks from: the Codex
second-model review defaults to `gpt-6.2-astra`, plan-review tiers move
to `claude-fable-5-2` and `gpt-6.2-sol`, and eval judges to
`claude-fable-5-2`.

Why: Garry's rule that gstack always uses the latest Astra, Sol, Fable
or Opus; one table now holds each family's newest model, so the next
release is a one-line change.

Nothing to do: models you pinned in your own config keep working.

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#2 reader=adversarial-native
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p1/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/outside-voice#3 reader=outside-voice
Review-Finding: p1/adversarial-native#4 reader=adversarial-native
Review-Finding: p1/adversarial-native#5 reader=adversarial-native
2026-11-25 02:06:47 +00:00
Garry Tanandcapy-ai[bot] 66b8f84376 Let an owner's ruling ship a small edit made after /ship's final review (GST-3775) (#4818)
An owner can now rule that a small edit made after /ship's read-only
final review ships as a disclosed note, and finish accepts exactly that
file at exactly the ruled bytes instead of forcing a whole new /ship.

This unblocks teams that hit "behavior, tests or build inputs changed
since review" over a one-line test change (garrytan/gbrain#10256), while
keeping the review stop for every other edit.

Nothing to do on merge; the changelog fragment is in
changelog.d/edit-ruling-fixes.md.

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#2 reader=red-team
Review-Finding: p2/outside-voice#2 reader=outside-voice
2026-11-25 01:52:24 +00:00
Garry Tanandcapy-ai[bot] 2679c6f7ad /autoplan stops asking the owner again for changes his "do it" already approved (GST-3753) (#4809)
When the review rounds run out and every decision in the last revision
is a recommendation the owner already took in his own words, /autoplan
now finishes instead of raising another approval gate, and leaves one
note saying no reviewer read that last revision.

Why: a run answered "do it" twice still got a third gate of 63 items,
three of them "accept the unreviewed changes" once per review phase,
which only the owner could answer.

Nothing to do: `gstack-autoplan status` shows the note as open until
`gstack-autoplan rule` closes it.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p1/adversarial-native#4 reader=adversarial
2026-11-25 01:21:46 +00:00
Garry Tanandcapy-ai[bot] afb68ac2b1 Label /autoplan approval choices past Z as AA, AB and so on (#4769) (#4798)
Approval asks from /autoplan with more than 26 choices now label them
AA, AB, … ZZ, AAA instead of punctuation and characters that don't
print.

Choice 33 used to share its answer with choice 1, so the owner couldn't
name every choice; now each label names exactly one.

Nothing to do: the next approval ask uses the new labels.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-24 21:59:05 +00:00
Garry Tanandcapy-ai[bot] beca1d6f15 First versions: check a ruled-out line against the one reply it cites (GST-3646) (#4800)
A first version's `ruled out : ""` line now counts only against the one
recorded owner reply its date names (record id, time, or day when he
sent one reply that day). Any other match asks him instead of hiding the
reviewer's finding.

Why: the line used to match words from any of his replies, so a ruling
could win on words he never tied to it.

Nothing to do: the date format plans already use still works when he
replied once that day.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=specialist-batched
2026-11-24 20:54:18 +00:00
Garry Tanandcapy-ai[bot] 284214fd89 Large added files pass the secrets check in overlapping parts instead of failing (GST-3665) (#4796)
The secrets check now scans an added file over 16 MiB in line-aligned,
overlapping parts and reports each finding at its line in the file,
instead of failing the whole file as HIGH with nothing to read.

Why: gstack-redact refuses any input over 16 MiB, so every pull request
that adds a large data file (harness-evals#609, a 60.5 MB trials.jsonl)
was blocked with no way through.

Nothing to do. A line that cannot be scanned with enough of the text
before it still fails, and so does any part the scanner does not report
on. Replaces #4792.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-24 19:33:34 +00:00
3b9d9757fd Windows: a python3 that won't run no longer deletes skills on update, and long test commands fail clearly (#4793)
On Windows, an update no longer deletes your brain-aware skills when
`python3` is the Microsoft Store alias, and a pre-ship test command too
long for Git Bash is split to fit or refused clearly instead of running
cut off.

Why: keeps install and upgrade working on Windows, where gstack promises
minimal support (#4752 by @Barack-zero-to-one, #4773 by @targetpark).

Nothing to do.

Co-authored-by: Barack-zero-to-one <121355791+Barack-zero-to-one@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: bin/gstack-config:1335:completeness reader=core
Review-Finding: lib/pregate/checks/lanes.ts:457:completeness reader=core
Review-Finding: lib/pregate/checks/lanes.ts:442:completeness reader=core
Review-Finding: lib/pregate/checks/lanes.ts:456:completeness reader=core
2026-11-24 18:45:33 +00:00
Garry Tanandcapy-ai[bot] df760be4d7 Aside screenshots and PDFs are no longer lost when the script ends (#4784) (#4786)
Screenshots, PDFs and page dumps that browsing skills take in the Aside
browser now reach your report folder instead of vanishing.

Aside deletes a script's working folder as soon as the script ends and
refuses to save anywhere else, so the old "save, then copy it out" step
always failed (#4784).

Nothing to do: skills pick up the new route on upgrade, and gstack's own
fallback browser is unchanged.

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
Review-Finding: p1/specialist-batched#3 reader=specialist-batched
2026-11-24 17:38:45 +00:00
Garry Tanandcapy-ai[bot] 5278bb4e1a v1.103.1.0 First versions: a ruled-out owner line counts only when he said it (GST-3646) (#4789)
A first version's plan can now mark a quote `ruled out : ""`, and that
line beats a reviewer only when one of the owner's recorded replies
holds the ruling.

Why: the line is written by whoever wrote the plan, so a misremembered
ruling could hide a real gap; when the ruling isn't on record, the owner
is asked once, with the ruling and the finding side by side and his
ruling recommended.

Nothing to do: plans without a ruled-out line read exactly 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-24 17:11:14 +00:00
Garry Tanandcapy-ai[bot] f34b7aac22 Let /cso prepare npm apps whose lockfile has bundled dependencies (#4777) (#4787)
`/cso --comprehensive` can now prepare npm apps whose
`package-lock.json` lists bundled dependencies, such as Next.js apps on
Tailwind CSS 4, instead of stopping with `UNPINNED_ARCHIVE`.

This keeps /cso's full audit usable on common JavaScript projects
without loosening its rule that every download is pinned to a hash.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-24 16:28:43 +00:00
Garry Tanandcapy-ai[bot] 7deee4292c After a fix, the second review round is always a full review (#4783)
After a blocking fix, /ship's second review round is now always a full
review, with every reviewer recorded alongside the pass, instead of a
narrower re-check whose reply could go missing.

Why: the narrower re-check ran one reviewer outside the pass record, so
a missing reply or a blocker it found never reached the verdict. Part of
the /ship simplification Garry approved; nothing for readers to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-24 08:52:13 +00:00
Garry Tanandcapy-ai[bot] 0603c27389 /ship instructions match the new review rules (GST-3562) (#4779)
/ship's instructions, docs and the Capy skill now describe the review
rules that already shipped: a change after the first review round gets a
full second round, the old extra-reviewer permission slips are retired,
and a clean merge from main counts as reviewed.

Why: agents follow these instructions, and they still taught the retired
steps. Part of the /ship simplification Garry approved; nothing for
readers to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#1,#2,#3, adversarial-native#2, red-team#1
2026-11-24 06:29:38 +00:00
Garry Tanandcapy-ai[bot] bb6d13ea30 A first version's public copy catches a short owner quote whose padding or quote marks are encoded (#4778)
A first version's public export now catches a short owner quote when its
padding or quote marks are encoded, such as `&nbsp;`, a zero-width
space, `&quot;` or a JSON `\"`.

Why: those spellings kept the owner's words in the public copy and
`validate --public` passed them; short quotes are now matched on the
same decoded text the long-quote scan reads.

Nothing to do: the redaction still replaces only the original characters
of the quote.

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-24 06:02:17 +00:00
Garry Tanandcapy-ai[bot] f3a89d2105 A first version's public copy keeps out a short owner quote padded with spaces inside its quote marks (#4776)
A first version's public export now also redacts a short owner quote
written with spaces just inside its quote marks, like `" water alerts
"`.

Why: those words reached the public copy and `validate --public` passed
it; this closes the gap left open on #4772.

Nothing to do: the change is one pattern in lib/autoplan-owner-words.ts.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-24 05:25:24 +00:00
Garry Tanandcapy-ai[bot] 6b7714c3e8 /ship catches a file-mode change from main on files whose names start with a colon (#4774)
/ship's file-mode check now reads file names literally, so a name like
`:!tool.sh` or `:(top)tool.sh` can no longer hide a mode change that a
merge brought in from main.

Why: this was the one open finding on #4754 that could let a changed
head count as reviewed. Nothing for readers to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/adversarial-native#1,#2,#3
2026-11-24 05:04:15 +00:00
Garry Tanandcapy-ai[bot] 84b4eab0a9 A first version's public copy keeps out the owner's short quotes, and phone first-use checks install a build the phone can run (GST-3646) (#4772)
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.

Why: a one- or two-word quote or a leave-out reason could reach the
public copy through the gate's choice titles, and the phone check named
a TestFlight build the cloud phone can't install.

Phone checks now need `--phone-build ` on `gstack-first-use start`;
phone runs started before this change must be started again.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p2/specialist-batched#1 reader=security
2026-11-24 04:19:06 +00:00
Garry Tanandcapy-ai[bot] 7c321fff5d A land that waits on an earlier CI run decides on what that run did, and main's reuse skips cancelled runs (GST-3634) (#4763)
A land that waits on an earlier CI run now goes by that run's real
result, and main's Free Tests run skips a cancelled run when it looks
for a land's run.

Why: a green run rerun at the moment land picked it up could have its
red result ignored, and a cancelled run made main rerun the whole suite.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-24 03:31:21 +00:00
Garry Tanandcapy-ai[bot] 6ef3861302 /ship counts a clean base merge as reviewed (GST-3562) (#4754)
When you merge main into a reviewed branch and your own lines, file
modes and symlink targets come through byte-identical, /ship now treats
the head as reviewed and lets CI check it, instead of asking for another
reader.

Why: these routine merges cost a reader stop on almost every PR that sat
a day, and the reader only ever re-read lines that had not changed.

Part of the /ship simplification Garry approved (items G and H); nothing
for readers 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
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p1/outside-voice#3 reader=outside-voice
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: p1/targeted#1 reader=targeted
Review-Finding: p1/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/adversarial-native#4 reader=adversarial-native
2026-11-24 02:41:52 +00:00