Commit Graph
319 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] 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] 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] 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] 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] 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] 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] 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] 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] 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
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] 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] 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] 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] 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
Garry Tanandcapy-ai[bot] e78a1bfe32 First versions open with the owner's own words, and the try-it check follows his exact steps (GST-3608) (#4759)
When we hand someone the first version of something, the approval page
and the try-it message now open with their own quoted requests, each
marked "does it" or a lettered choice.

Before they're asked to try it, gstack-first-use has an agent from
another model family follow the exact numbered steps on their real
setup, and holds the message until no step is broken, wrong or needs a
lookup.

Nothing to do: this changes /autoplan's first-version gate,
gstack-first-use and the guides that point to it.

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: p1/red-team#3 reader=red-team
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p2/outside-voice#1 reader=outside-voice
Review-Finding: p3/red-team#1 reader=red-team
Review-Finding: gsta825-ship2/p1/outside-voice#2 reader=outside-voice
Review-Finding: gsta825-ship2/p1/outside-voice#3 reader=outside-voice
Review-Finding: p1/specialist-batched#1 reader=state-machines
2026-11-24 02:26:57 +00:00
Garry Tanandcapy-ai[bot] 1cb381b048 Landing a PR reuses an earlier CI run on the same merged code instead of starting another (GST-3634) (#4760)
When main has moved, `gstack-ship-queue land --pin` now reuses an
earlier CI run on the same merged code: it lands at once on a green run,
waits on one still queued and refuses on a red one, instead of starting
a new run on every try.

Why: GitHub's macOS runner queue has been slower than land's 45-minute
wait, so lands kept timing out while the run they started finished green
unused.

Nothing to do. Rerunning a timed-out land now waits on the run it named.

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-24 00:53:39 +00:00
Garry Tanandcapy-ai[bot] 78ee2966d3 Stop false card-number holds on /ship run ids in PR bodies (#4751)
Posting a PR body that lists earlier /ship runs, or the /ship result
record, no longer stops for a "card number" that is really a /ship run
id.

About 1 in 10 run ids passes the card-number checksum, so those bodies
still waited for a confirmation after #4747's phone-number fix (#4725).

Nothing to do after merge.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-24 00:41:30 +00:00
100e109ccd Clearer errors for GitHub email-privacy pushes, approval refusals and bisect case names (#4748)
/ship now tells you to fix your commit email when GitHub refuses a push
with GH007, instead of sending you into a pointless merge;
`gstack-approvals` says which `--owner-ref` check failed; and the merge
queue's bisect accepts a red judge case whose name has a space.

Why: three small, plainly correct fixes from outside reports (#4738,
#4718 with #4720, #4724 for #3580), taken as one batch.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: Barack-zero-to-one <121355791+Barack-zero-to-one@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#3 reader=adversarial-native
Review-Finding: p1/specialist-batched#1 reader=testing
2026-11-23 19:26:27 +00:00
0d6cc1be56 Stop false phone-number holds on /ship run ids and name interactive /autoplan runs (#4747)
Posting a PR body that lists earlier /ship runs no longer stops for a
"phone number" that is really a run id, and an interactive /autoplan
approval is imported under its own run id instead of `autoplan`.

Every /ship that rewrote a body holding earlier runs waited for a
confirmation (#4725; about 1 in 10 run ids also reads as a card number
and still asks, fixed in a follow-up), and interactive /autoplan runs
could not be cited by run id (#4402).

Nothing to do after merge.

Co-authored-by: thomsjack <325974127+thomsjack@users.noreply.github.com>
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/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-23 19:03:59 +00:00
Garry Tanandcapy-ai[bot] 1cb0a3e36a /ship reviews fixes with full rounds instead of narrow re-checks (GST-3562) (#4741)
/ship no longer plans a narrow re-check after a fix: a fix after round 1
gets a full round 2, and a fix in round 2 gets one read-only full review
of the whole PR, so fixed code never ships unread.

Why: the narrow re-check read only the fixed lines, and each round now
keeps at least one full-effort reviewer, the one the re-check was.

Part 1 of the /ship simplification Garry approved, rebuilt after #4737;
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/red-team#1 reader=red-team
Review-Finding: p1/targeted#1 reader=targeted
2026-11-23 16:33:29 +00:00
Garry Tanandcapy-ai[bot] c4cfe6d1c9 gstack-upgrade works again after you disable skills (#4704) (#4743)
If you turned off skills with `gstack-config set disabled_skills ...`,
every `gstack-upgrade` stopped with "tracked files changed: SKILL.md".
It now upgrades, and your skills stay off afterwards.

Why: gstack has to keep itself up to date without a person cleaning up
after its own setup.

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
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1/specialist-batched#2 reader=testing
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
2026-11-23 15:29:30 +00:00
Garry Tanandcapy-ai[bot] 261f380002 A green CI run now counts for your branch when only main moved under it (GST-3567) (#4728)
/ship's final CI check (`gstack-ship-release accept`) now accepts a
green pull request run that tested your branch merged onto a newer main,
when main changed none of your lines.

Why: before, it refused that run and you had to merge main and rerun CI,
which never settles on a busy repo (harness-evals #576, gstack #4722).

Nothing to do. Repos with a land step still re-check the merged tree;
repos with `land: null` get no merged-tree check.

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/pregate/run-check.ts:70:functional-contract reader=qa
Review-Finding: p2/outside-voice#1 reader=outside-voice
2026-11-23 03:51:23 +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] 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] 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] 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] 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
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] 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] 82cc62d829 A granted follow-up check that confirmed its blockers fixed now counts once the rest are ruled (GST-3501) (#4691)
/ship's finish now accepts a granted follow-up check that confirmed its
blocking findings fixed (or auto-fixed), once the findings left over
have been ruled.

Why: gbrain#10036 stalled at the review limit with every finding either
fixed or ruled, because finish kept printing "FIX_CHECK: not counted".

Nothing to do. A stuck PR reruns finish at the same head after upgrading
gstack; no new review round is needed.

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 09:31:55 +00:00
Garry Tanandcapy-ai[bot] 7c0659a69f Merge queue ready fetches missing pull request heads in one go, says so, and stops after 60 seconds (GST-3460) (#4668)
`gstack-ship-queue ready` no longer goes silent for minutes on a long
merge queue: it fetches every missing pull request head in one `git
fetch`, prints a progress line first, and stops after 60 seconds.

Why: on gbrain #10011 ready printed nothing for minutes, so nobody could
tell a slow fetch from a hang.

Nothing to do; `GSTACK_TRIAL_FETCH_TIMEOUT_MS` changes the limit.

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 05:46:02 +00:00
Garry Tanandcapy-ai[bot] e8e755473f A stopped or crashed /ship run no longer blocks the next run or its granted fix round (GST-3260) (#4654)
A /ship run that stopped or crashed no longer blocks the next run or the
fix round it stopped for, and a run that is still working past two hours
stays protected.

Why: a leftover "run in progress" note blocked fix-round grants on four
PRs, and the old 2-hour timer could mark a live run as finished.

Nothing for readers to do; a run that really died is ended with
`gstack-ship-run abandon`.

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/specialist-batched#3 reader=state-machines
Review-Finding: p1/specialist-batched#4 reader=state-machines
Review-Finding: lib/ship-run-record.ts:167:correctness reader=core
2026-11-22 04:37:26 +00:00
Garry Tanandcapy-ai[bot] 69ad1031a1 Repos can prove copied open-source files match their upstream byte for byte (GST-3298) (#4646)
New `gstack-vendored-verify` checks that every file a repo copies from
an open-source project is byte-for-byte that project's file, at a commit
on its default branch, a tag or a branch the base names, from a
repository the base branch trusts.

Why: harness-evals copies 1,056 upstream test files into its eval tasks
and today hides them from review in tar archives; this proves the claim
the archives only assert (1,054 of 1,056 verify on #504 in 19 seconds; 2
are upstream executables).

Nothing to do unless you vendor code: the new `review_vendored` policy
key is off by default.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p11/outside-voice#1 reader=outside-voice
Review-Finding: p11/outside-voice#2 reader=outside-voice
Review-Finding: p11/outside-voice#3 reader=outside-voice
Review-Finding: p11/adversarial-native#3 reader=adversarial-native
Review-Finding: p11/adversarial-native#1 reader=adversarial-native
Review-Finding: p11/adversarial-native#5 reader=adversarial-native
2026-11-22 02:45:30 +00:00
Garry Tanandcapy-ai[bot] 6e90fa3d31 /ship can finish again when a docs check ran before a base merge (GST-3260) (#4648)
Pull requests that merged their base after /ship's docs check can finish
/ship again, instead of being refused with no way out.

Before this, a docs check that edited a file, followed by a base merge
and a re-check with no edits, made /ship's final record refuse with a
`field=review_exclude` error.

Nothing for readers 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 02:28:18 +00:00
Garry Tanandcapy-ai[bot] abdc09dad1 Land checks a PR whose base moved in a separate clone, then with full CI, before merging (GST-1766) (#4649)
When main has moved since a PR's last CI run, `gstack-ship-queue land`
now runs its local merge checks in a throwaway clone and can then run
the full CI suite on the merged code before it merges.

Why: the old checks shared the checkout's git directory, so a PR's own
test commands could plant a hook that later ran with land's tokens, and
a PR could reach main on a base its full suite never saw.

Nothing to do: gstack's own policy turns the CI run on; other repos opt
in with `land.merged_ci`.

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=security
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: p1/red-team#3 reader=red-team
Review-Finding: p2/specialist-batched#1 reader=security
Review-Finding: p2/red-team#1 reader=red-team
Review-Finding: p2/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/adversarial-native#1 reader=adversarial-native
Review-Finding: p2/adversarial-native#2 reader=adversarial-native
Review-Finding: p2/adversarial-native#3 reader=adversarial-native
Review-Finding: p2/adversarial-native#4 reader=adversarial-native
2026-11-22 01:27:38 +00:00
Garry Tanandcapy-ai[bot] dd611038ca A base branch with too many review_exclude_paths patterns no longer stops every /ship (GST-3399) (#4637)
When the base branch's ship policy fails only because of its
`review_exclude_paths` or `review_content_patterns` list (for example 65
patterns, one over the limit of 64), /ship now reviews every file
instead of stopping.

Why: harness-evals main went to 65 patterns, and every /ship there
stopped with POLICY_INVALID, including the PR that shortens the list.

Nothing to do: the plan prints a `REVIEW_EXCLUDE: fallback (WARNING:
...)` line naming the error and the fix, and `gstack-ship-policy
validate` still reports the list.

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: lib/ship-receipt-depth.ts:69:stale-comment reader=core
2026-11-21 23:28:07 +00:00