Commit Graph
1303 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] fb4474ec6c browse can keep untrusted pages off local and private network addresses (#4812) (#4888)
Adds an opt-in `browse --public-only` mode (or `BROWSE_PUBLIC_ONLY=1`):
every connection the browser makes goes through a guard that refuses
loopback, private, link-local, cloud-metadata and this machine's own
network addresses.

Why: an agent reading an untrusted page should not let that page reach
services on your machine or network (#4812). Default mode is unchanged.

Nothing to do unless you want the mode; see BROWSER.md "Public-only
mode".

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: p1b/red-team#2 reader=red-team
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
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/adversarial-native#5 reader=adversarial-native
Review-Finding: p2/specialist-batched#1 reader=specialist-batched
Review-Finding: p2/red-team#1 reader=red-team
2026-11-28 23:48:49 +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] 5bf787370c The paid shared-code review test counts a caller file printed with cat -A (GST-4120) (#4878)
The release gate's shared-code review test no longer fails a correct
review that printed a caller file with `cat -A` in a batched read that
ended in an error.

Why: release gate run 46089594210 failed this case once on main (its
rerun passed); the review was right, and only the test's evidence check
missed the read.

Nothing to do: this changes a test helper and adds one captured fixture;
no shipped skill or binary 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: p1v/outside-voice#1 reader=outside-voice
2026-11-28 15:23:35 +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] 586e51b10e Update marked, socks, ngrok, @types/bun and five CI actions to checked releases (#4873)
Updates four packages and five GitHub Actions to new releases, each
checked against its real publisher and pinned commit. Playwright 1.65.1
and Trunk's analytics-uploader 3.0.0 are left out: each needs more than
a version change.

This replaces Dependabot PRs #4838, #4757 and #4758, which failed CI or
dropped an install patch. Nothing for you to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-28 11:55:48 +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] 260a5054c3 The stable release no longer skips a tested commit because a report-only workflow failed (#4865)
The daily stable release now ignores failures from workflows that are
documented as never blocking, starting with the weekly mutation report
that held back v1.104.2.0, and the mutation report runs again.

Why: stable releases should ship every fully tested commit, and today's
cut of 778934c0 was refused only because a report-only check failed on
it. Nothing to do after merge; the next daily run can cut v1.104.2.0.

Issue: GST-4095
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
2026-11-28 08:09:25 +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
9befb56288 Pages from /design-html no longer crash on their first Pretext call (#4860)
Pages `/design-html` builds from the bundled Pretext copy now run
instead of throwing `prepareWithSegments is not defined` on their first
text-layout call.

The skill pasted the bundle into the page's own module script, where its
renamed exports never define those names; it now ships a small scaffold
that loads the bundle as its own module, still with no network requests.

Nothing to do: the next `/design-html` run uses the new recipe. Found
and diagnosed by @Akkyman2 in #4855.

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:54:24 +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] e07ed78d64 Stop two gstack tests from failing at random (#4857)
Two tests no longer fail at random: the QA-only cleanup check stops
mistaking a terminal agent that is mid-exit for a running one, and the
contributor-mode test no longer waits on the network.

Why: both failures were timing accidents, not broken code, so a red run
should now mean something actually broke.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-27 15:57:11 +00:00
Garry Tanandcapy-ai[bot] 8b5a70c492 Free Tests installs saved system packages that upgrade the runner's own (GST-4075) (#4858)
Free Tests' Linux jobs no longer fail on a runner whose saved system
packages include a newer version of one the image already has.

Why: dpkg refused libasound2-data 0.5 because it breaks the installed
libasound2t64 0.3, left the package database broken, and every later
apt-get exited 100 (run 46017056376).

Nothing to do: the fix is in the workflow only.

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-27 15:38:51 +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] be64b10297 /codex cleanup stops asking for /careful approval, and plan-mode Codex reviews start again (#4851)
`/codex challenge` and `/codex consult` no longer stop for a /careful
delete warning on every run, and the Codex second-model review in
`/plan-eng-review` and `/plan-ceo-review` works in Claude Code plan mode
again.

Why: both broke a core review path on every use; the reports came from
@dmfrede and @mcp10.

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=security
2026-11-26 17:11:46 +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] 0febbce1e4 Upgrading from inside the gstack checkout no longer reinstalls Codex you removed (#4835) (#4850)
Running `./setup --refresh-registered` (what `/gstack-upgrade` runs)
from inside the gstack checkout no longer puts Codex skills back into
`~/.codex/skills` after you removed them.

Why: upgrades should refresh only the installs you have. Reported by
@schubter. Fixes #4835.

Nothing to do: the next upgrade refreshes only the installs you actually
have.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-26 16:46:54 +00:00
Garry Tanandcapy-ai[bot] aa503e29f4 The release gate's live /autoplan guard test runs on Haiku 5.5 (GST-3441) (#4846)
The live /autoplan guard test in the release gate now runs its scripted
actor on Claude Haiku 5.5 instead of Haiku 4.5.

On Haiku 5.5 the actor used to act before the background reviewer
finished, so the test failed 8 of 8 release gate attempts; the test now
waits on the reviewer's hand-back itself, whatever the model's speed.

Nothing to do; it passed one paid run on Claude Code 2.1.326.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: test/helpers/autoplan-guard-pty.ts:161:Completeness Gaps reader=core
Review-Finding: test/autoplan-guard-pty-fixture.test.ts:202:Completeness Gaps reader=core
Review-Finding: p1v/outside-voice#1 reader=outside-voice
Review-Finding: p1v/outside-voice#2 reader=outside-voice
2026-11-26 16:18:25 +00:00
Garry Tanandcapy-ai[bot] 89825888c5 Make the plan-review test judge reject failed sessions and steady two flaky tests (#4849)
The plan-review test judge now fails a Claude Code session whose final
result reports an error, even when the process exits 0, so a broken
session can no longer pass a quality check. Two tests that failed at
random are steadier, and one of them now says why when it fails. Nothing
to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-26 16:01:53 +00:00
Garry Tanandcapy-ai[bot] f5b42d682c make-pdf blocks javascript: links written with tabs or entity letters, plus four small fixes (GST-3641) (#4848)
make-pdf now removes `javascript:` links in untrusted Markdown even when
the scheme is split by a tab or line break or written with entity
letters, and it fixes curly quotes at the start of a paragraph, SVG
sizing, one learnings crash and one lost timeline event.

Why: these spellings still produced live links in the HTML make-pdf
prints, and the other four bugs were verified on main by an independent
check.

Nothing for readers to do; ordinary Markdown prints the same apart from
opening quotes, which now curl the right way.

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/outside-voice#1 reader=outside-voice
Review-Finding: p2/outside-voice#3 reader=outside-voice
Review-Finding: p3/red-team#1 reader=red-team
2026-11-26 15:54:32 +00:00
Garry Tanandcapy-ai[bot] 4ec576aaa5 Setup works on Windows when the home folder name has an apostrophe (#4386) (#4845)
`./setup` on Windows now installs when your home folder has an
apostrophe in its name, such as `C:\Users\O'Brien`.

Git Bash turns `/c/...` paths into `C:/...` before starting Bun, but
skips any path holding an apostrophe, so setup stopped with `Module not
found`.

Nothing to do: re-run `./setup` after upgrading.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
2026-11-26 15:34:41 +00:00
Garry Tanandcapy-ai[bot] fd81a04ba7 Upgrading removes the leftover ship and cso skill folders (GST-3999) (#4844)
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-26 14:33:22 +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] a48df18f51 /careful no longer asks before deleting a file inside another worktree of the same repo (#4827) (#4834)
/careful no longer asks before every plain `rm` of a file inside another
`git worktree` of the same repository, so people who run several
worktrees side by side stop clicking through a prompt on each cleanup.

It keeps the safety check quiet only where it was wrong (gstack's goal:
guards that stop real mistakes, not routine work), and every other
delete still asks.

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: p1/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/adversarial-native#2 reader=adversarial-native
Review-Finding: p2/red-team#1 reader=red-team
2026-11-25 18:47:20 +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] 959df8ccc4 Stop six gstack tests from failing at random in CI (GST-3852) (#4830)
Six gstack tests that failed at random in CI now pass reliably, so a red
check on a pull request means a real problem again.

Why: random failures cost reruns and hide real breakage, and the
project's goal is a test suite people can trust.

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
Review-Finding: p1/outside-voice#2 reader=outside-voice
2026-11-25 17:35:14 +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] 47189a18e2 Stop the QA-only cleanup test from failing at random on a fast terminal-agent exit (GST-3830) (#4823)
The QA-only cleanup test's missing-terminal case now waits for the
terminal agent to publish its port before it deletes the agent's record,
so it no longer fails at random in CI.

Why: a red test should mean something broke, and this race turned the
merged-tree check for #4803 red twice in a row.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-25 07:54:11 +00:00
Garry Tanandcapy-ai[bot] 789e9badaa Stop three gstack tests from failing at random in CI (GST-3655) (#4821)
Three of gstack's own tests failed now and then on unchanged code. They
now pass on every run, so a red check means something really broke.

Why: a contributor should only see a failed check when their change
caused it.

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: p1/outside-voice#1 reader=outside-voice
Review-Finding: p1/outside-voice#2 reader=outside-voice
2026-11-25 06:49:46 +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