Commit Graph
850 Commits
Author SHA1 Message Date
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] 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] c34b967346 Weekly benchmark records can't slip text into the release log or lose a model row (GST-3606) (#4782)
Weekly benchmark records can no longer slip text into the stable release
job's log through their error messages, or silently lose a model row.

Why: holding on a measured drop gets switched on after two weekly
records, and it has to read those records exactly.

Nothing to do.

Issue: GST-3606
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-24 08:00:19 +00:00
Garry Tanandcapy-ai[bot] a9c746fa0c Show the weekly benchmark in every stable release plan, ready to hold a measured drop (GST-3606) (#4755)
Every stable release plan now prints the weekly benchmark's result:
whether this week's gstack measurably fixes more or fewer bugs than the
current stable release.

Why: about 30 PRs land a week and this is the first number that says
whether agents using gstack got better or worse; a measured drop should
not reach every stable install.

Nothing to do: holding is off for the first two weekly records, so this
only reports for now.

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/specialist-batched#1 reader=testing
Review-Finding: p1/specialist-batched#2 reader=security
2026-11-24 06:47:21 +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] 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
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
Garry Tanandcapy-ai[bot] aab606e651 Run Free Tests shards on 8-core runners again to cut CI cost (#4749)
Free Tests goes back to running its shards on 8-core runners with four
sub-shards each, the setup it used before #4600.

The 16-core runners made each shard faster but a whole run only about
0.4 minutes faster, while the median run cost about a third more.

Nothing to do as a reader: the same tests run in the same shards.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-23 23:33:05 +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] 8143a91809 Write up a failed or shelved attempt before closing it (GST-3576) (#4735)
gstack now asks for a short write-up before any attempt is closed as
failed, shelved, cut, null or not now, and the close links to it.

Why: a failed attempt is paid-for knowledge; without a page of notes the
next person repeats it or never learns which part worked.

To do: nothing. Workflows that close an attempt now point at the new
template, docs/shelved-attempt.md.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-23 05:50:32 +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] 8751b382dd Publish the test of /ship's review panel against two plain reads (GST-3467) (#4732)
Adds the results of the preregistered test: on Claude Opus 5.5 and
GPT-6.2 Sol, two plain reads plus /ship's second-model reviewer were not
shown to catch as many planted bugs as /ship's first review pass, and
they cost as much per run. /ship keeps its panel on both Claude Code and
Codex.

This answers the open question from the earlier /ship trial (#4680)
about whether the panel's readers earn their cost. Nothing in /ship
changes.

Nothing to do but read docs/evals/ship-panel-plain-reads-results.md.

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

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

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

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

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

What you do: nothing.

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

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

Nothing to do: the next /ship uses it.

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

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

What you do: nothing.

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

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

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

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

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

Nothing to do.

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

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

Nothing to do.

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

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

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

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

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

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

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/outside-voice#1 reader=outside-voice
2026-11-22 18:18:36 +00:00
Garry Tanandcapy-ai[bot] 4ae9ec7b00 /ship can finish when its docs audit fixes a reviewed doc after the last review round (GST-3532) (#4708)
/ship no longer gets stuck when its last-step docs audit corrects a line
in a doc the review read, after the PR's last allowed review round.

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

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

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

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

Nothing to do.

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

Why: in gstack-evals#426, on 183 real Python bugs, naming that skill got
its steps followed in 80% of sessions against 3%, but fixed no more bugs
(-1.5 points, 95% interval -3.8 to +0.9).

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

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

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

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

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

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

Nothing to do.

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

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

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

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

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

Nothing to do.

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

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

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

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

Nothing to do.

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

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

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

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

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

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

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

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

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

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

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

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

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 12:10:34 +00:00
Garry Tanandcapy-ai[bot] 19247f6a04 Prompt router names your bug-fix skill first and stops sending feature requests to it (GST-3462) (#4674)
gstack's prompt hook now recognizes more bug reports and names your
installed bug-fix skill first.

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

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

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

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

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

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

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

Co-authored-by: Mahmoud ElNeMR <83190847+ElNeMeR70@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1/red-team#2 reader=red-team
2026-11-22 11:39:46 +00:00