Commit Graph
810 Commits
Author SHA1 Message Date
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
Garry Tanandcapy-ai[bot] f59520e759 Plan a test of whether /ship's reviewers beat two plain reads (GST-3467) (#4676)
Adds the plan for a test of whether /ship's review panel finds more
planted bugs than two plain review reads plus its second-model reviewer,
on Claude Opus 5.5 and GPT-6.2 Sol.

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

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

Refs: GST-3467
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: outside-voice#1 reader=outside-voice
Review-Finding: outside-voice#2 reader=outside-voice
Review-Finding: outside-voice#3 reader=outside-voice
Review-Finding: outside-voice#4 reader=outside-voice
Review-Finding: outside-voice#5 reader=outside-voice
Review-Finding: outside-voice#6 reader=outside-voice
Review-Finding: docs/evals/ship-panel-plain-reads-prereg.md:195:number-mismatch reader=checklist
2026-11-22 11:25:58 +00:00
Garry Tanandcapy-ai[bot] 296b252a34 Skills load their declared gbrain context at start, and harness status says unknown when its list fails (#4687)
`/office-hours`, `/plan-ceo-review`, `/design-shotgun`,
`/design-consultation` and `/retro` now load the brain context they
declare when they start, skill start stops telling a read-only repo to
run a sync that can't help, and `gstack-harness status` says `unknown`
when a harness's skill list fails.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Nothing to do.

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

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

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

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

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

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

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

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

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=security
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#2 reader=red-team
2026-11-22 09:38:36 +00:00
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] 540da9b5b1 /ship runs in the pull request's own thread, with no helper agent (GST-3466) (#4670)
On Capy, /ship now runs in the thread that owns the pull request,
starting its reviewers as that thread's own subagents, instead of
handing the whole run to a separate helper agent.

Why: a 30-run trial found no clear difference in cost or bugs caught, so
the extra agent layer goes; the project owner chose this.

Nothing to do: /ship's review plan, review rounds, final sign-off and
checks are unchanged.

Refs: GST-3466
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1/specialist-batched#2 reader=testing
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: fc/fix-check#1 reader=fix-check
Review-Finding: fc/targeted#1 reader=targeted
2026-11-22 09:17:44 +00:00
Garry Tanandcapy-ai[bot] 0b4f0ceeec Publish the /ship conductor trial results (GST-3003) (#4680)
Adds the results of the preregistered trial of /ship with and without
its conductor subagent: running /ship in the pull request's own thread
showed no clear difference in cost or bugs caught over 30 paired runs of
the review and fix phases.

The verdict hangs on one scoring ruling made after seeing data, so the
page gives both readings; nothing in /ship changes here. This replaces
#4667, closed after a correction of its own.

Nothing to do but read docs/evals/ship-conductor-fold-results.md.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: docs/evals/ship-conductor-fold-results.md:40:Completeness Gaps reader=core
Review-Finding: docs/evals/ship-conductor-fold-results.md:134:documentation reader=core
Review-Finding: s11/outside-voice#1 reader=outside-voice
Review-Finding: p11/outside-voice#1 reader=outside-voice
2026-11-22 06:48:26 +00:00
Garry Tanandcapy-ai[bot] 9cfbbb94fd Review leaves out copied open-source files that match their upstream byte for byte (GST-3298) (#4665)
Files a repo copies unchanged from an allowlisted open-source project,
and that gstack verifies byte for byte against the pinned upstream
commit, can now be left out of `/ship`'s review under
`review_exclude_paths`.

Why: verified upstream code doesn't need a reviewer, so its bytes no
longer count toward the 2 MB reader limit, while every other keep rule
still applies.

Nothing to do for repos without `review_vendored`: their review
selection is unchanged (216 of 216 replayed commits identical).

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/red-team#1 reader=red-team
Review-Finding: s11/outside-voice#1 reader=outside-voice
2026-11-22 05:58:38 +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] c2b4f0d2ad /ship's review plan finishes on repositories with large trial files (HARN-98) (#4651)
/ship's review plan no longer runs out of time on results repositories
whose trial files name many data files. On harness-evals #551 the scan
now takes about 40 s instead of running past its limit.

Why: harness-evals #551 is blocked on it. git's `grep -o` with about 80
file names took 220 s on one 16 MB trials file, and the plan timed out
at 1,703 s.

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/red-team#1 reader=red-team
Review-Finding: v1/outside-voice#1 reader=outside-voice
2026-11-22 04:43:46 +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] 23ee4c3dec Second-model review defaults to GPT-6.2 Sol instead of GPT-6.1 Sol (GST-3384) (#4636)
When you don't name a second-model reviewer, the review step in /ship
and /review on Capy now uses GPT-6.2 Sol instead of GPT-6.1 Sol, still
at medium reasoning. A reviewer you name yourself is used exactly as
given.

Why: reviews should run on the current frontier model, not an older
generation.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 04:30:21 +00:00
Garry Tanandcapy-ai[bot] 6963fa8089 Add a weekly report of the wrong edits gstack's tests fail to catch (GST-3386) (#4652)
A new weekly Mutation report plants small wrong edits in the five `lib/`
files with the most landings in the last 30 days and lists the edits no
test caught.

Why: agents write most of our code and tests, and a green suite only
means something if the tests reject plausible wrong code; this trial
measures where they don't.

Nothing to do: it runs Saturdays on main, is never a required check, and
never blocks a merge.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 04:06:55 +00:00
Garry Tanandcapy-ai[bot] 6484fd58ae Nightly Windows tests stop timing out: shards pack by Windows test times (GST-3440) (#4661)
The nightly Windows test run no longer cancels a shard at its 15-minute
limit: files without a Windows time use their Linux time instead of a
161 s guess, and the plan adds shards past eight until no shard holds
more than 12 minutes.

Why: one shard on #4646's tree held 946 s of Windows work against a 900
s job and was cancelled twice (run 44971202453); any PR adding test
files could trip it.

Nothing to do: the Windows run is nightly-only and this changes no test
selection, timeout or retry.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 03:32:40 +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] 7abc1949e1 Skip the second Free Tests run when a PR lands onto a moved main (GST-3303) (#4655)
When the land tool merges a PR whose base moved, it has already run Free
Tests on the exact merged tree. Main's push run now reuses that run
instead of running the whole suite again, and still runs it whenever
main moved again before the merge or the newest land run wasn't green.

This also fixes the outdated `QUEUE_LAND_MERGED_CHECKS` row in the
maintainers' land guide. Nothing to do: the next stale-base land shows
`REUSE: accepted run …` on main's push run.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 02:33:20 +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] 8d0e827cc3 Hash manifests no longer keep excluded results files in review, and the data-file scan cap can be raised (HARN-64) (#4643)
A results PR whose `pins.sha256` lists its data files now gets
`review_exclude_paths` instead of a refused 13.3 MB review, and
hash-manifest lines no longer read as money, auth or data for review
depth.

Why: harness-evals #538 kept all 2,140 excluded result files in review
because the name scan timed out on a 2,140-path manifest and would have
counted that manifest as code anyway.

Nothing to do; `GSTACK_REVIEW_CONSUMER_SCAN_CAP` is a new optional
override.

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 02:22:41 +00:00
Garry Tanandcapy-ai[bot] 973b49eabb Pull requests get a Test changes summary of deleted or skipped tests and edits to their own checks (GST-3386) (#4645)
Every gstack pull request now gets a flag-only Test changes check
listing removed or skipped tests, loosened limits and edits to the files
that run its own checks.

Why: agents write most of our tests, and a pull request shouldn't be
able to quietly weaken them or grade itself with an edited checker; this
two-week trial measures how often that happens.

Nothing to do: the check isn't required, and a flag never turns it red.

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/gate-diff/git.ts:314:stale-comment reader=core
Review-Finding: p3/outside-voice#1 reader=outside-voice
2026-11-22 02:14:15 +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] d8abe59096 Router tests use synthetic prompts instead of real benchmark tasks (GST-3402) (#4642)
gstack's current files no longer contain real benchmark tasks: the
router tests' 63 SWE-rebench prompts are replaced with synthetic ones
covering the same routes.

Why: every install is a clone of this repository, so those tasks sat in
each user's home and in every eval run that installed gstack,
contaminating any eval that uses them.

Nothing to do; a new check fails if a SWE-bench-style task id appears
under `test/` or `browse/test/` again.

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
Review-Finding: p1/outside-voice#2 reader=outside-voice
2026-11-22 00:19:20 +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
Garry Tanandcapy-ai[bot] c8641cc486 Large repos can raise the review-plan time limit for every /ship step (GST-3398) (#4632)
`GSTACK_REVIEW_PLAN_TIMEOUT_MS` now raises the review-plan time limit in
every place /ship runs the plan, not just two of them.

Why: on a 301,669-file repository the plan takes 255 to 316 s on a
2-core machine; the plan and the review pass read the variable, but
render and preflight still cut it off at 180 s.

Nothing to do unless your repository is large; then set the variable
(docs/troubleshooting.md#review-plan-stopped).

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 22:00:53 +00:00
Garry Tanandcapy-ai[bot] 5db285c1a4 /eval-plan refuses gpt-4o and older-generation models in every role, and asks for 100 judge labels from 2026-11-22 (GST-3384) (#4630)
/eval-plan now refuses gpt-4o and older-generation models in every role
a plan picks (arms, judge, readers, simulators) and names the
replacement; a competitor tested as its vendor ships it keeps its
built-in model on its own arm.

Why: eval numbers should come from current frontier models, and from
2026-11-22 a model judge must agree with 100 hand labels, not 40.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: lib/eval-plan-checks.ts:153:functional-contract reader=qa
Review-Finding: p1/red-team#2 reader=red-team
2026-11-21 21:33:01 +00:00
Garry Tanandcapy-ai[bot] 6263e0ef33 gstack stops offering to add skill routing rules to your project's CLAUDE.md (GST-3382) (#4629)
gstack no longer asks to append a `## Skill routing` section to your
project's CLAUDE.md; its prompt-routing hook, on by default, now starts
the right skill by itself.

Why: in a preregistered test on Opus 5.5 the hook loaded the bug-fix
skill in 45 of 60 and 48 of 60 sessions, past the section's 39 of 60
(results).

Nothing to do: a section an older gstack added stays as you left it and
keeps working; delete it if you like.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 19:57:14 +00:00
Garry Tanandcapy-ai[bot] f71e785e4e Node test files run with node --test in repos that use vitest (#4586) (#4626)
Test files that use Node's built-in test runner (`node:test`) now run
with `node --test` in repos whose package.json declares vitest or jest,
so /ship's pre-merge test check stops failing on them.

Before, a root `.js`, `.mjs` or `.cjs` file that loads `node:test` was
handed to vitest, which found no tests and failed every PR that touched
one. Reported by @eoin-obrien in #4586.

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: p2/outside-voice#1 reader=outside-voice
2026-11-21 17:34:50 +00:00
Garry Tanandcapy-ai[bot] 515244505a /plan-tune's dream cycle now logs each send of your typed answers to Anthropic (#4617) (#4621)
`gstack-distill-free-text`, which /plan-tune's dream cycle runs, now
writes an entry to gstack's send log (`gstack-egress list`) before it
sends your typed answers to Anthropic, and sends nothing if it can't
write that entry.

Why: the README promises that every off-machine send is logged, and this
was the one sender that skipped it. Reported by @robbiesierra in #4617.

Nothing to do: these sends now show up in `gstack-egress list`.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 16:56:50 +00:00
Garry Tanandcapy-ai[bot] de9a7b4adc /review on Codex with OpenAI models no longer blocks a review that ran its adversarial pass (GST-3375) (#4622)
/review on Codex no longer blocks or logs a miss for sessions that
really ran the adversarial review, when the model is an OpenAI one.

Why: Codex encrypts the message it sends a new subagent for OpenAI
models, so the check never saw the review brief's text; it now accepts a
started subagent named `adversarial` whose message is encrypted.

Nothing to do: Claude Code's check is unchanged, and a plaintext,
missing, failed or differently named subagent still counts as missing.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 16:54:58 +00:00
Garry Tanandcapy-ai[bot] 27e5db9902 /office-hours checks for a real user first and ends startup sessions with a dated test (GST-3024) (#4468)
/office-hours now opens every startup session with one reality-check
question (a paying user, or someone who used it this week unasked) and
sends founders with no outcome yet, or a new **Pivot** goal, to a
one-page decision memo instead of a design doc. Every startup session
ends with a dated KILL/CONTINUE or SUCCESS line, which the next session
on that project brings back once the date passes.

Why: founders were getting a polished design doc before anyone had used
or paid for what they were building.

Nothing to do. #4463, which this builds on, is already on main.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: q1/specialist-batched#1 reader=security
Review-Finding: q1/specialist-batched#2 reader=testing
Review-Finding: q1/red-team#1 reader=red-team
Review-Finding: q1/red-team#2 reader=red-team
Review-Finding: q1v/adversarial-native#1 reader=adversarial-native
Review-Finding: q1v/outside-voice#1 reader=outside-voice
2026-11-21 14:11:18 +00:00
Garry Tanandcapy-ai[bot] 4363c51257 Give the /ship conductor trial's judge one more attempt on fresh labels (GST-3003) (#4611)
The /ship conductor trial plan gives its real-problem judge one more
attempt, checked once on fresh labels, and stops the trial incomplete if
it misses its bar again.

Why: the judge agreed with the hand labels at kappa 0.20, then 0.48
after one revision, against a 0.6 bar, while a second blind labeller
matched the first at 0.84.

Nothing to do: no bar, arm, decision or catch rule changes, and no
counted trial has run.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 13:57:57 +00:00
Garry Tanandcapy-ai[bot] df4d0bd0b1 Make /ship's preflight honor the repo's CI rerun time limit and name the install command in a fresh worktree (GST-3360) (#4608)
/ship's preflight now stops its rerun of CI-skipped test files at the
repository's own `ci_record_timeout_s` limit instead of a fixed 600 s,
and prints the limit it used.

In a fresh worktree with no installed packages, preflight stops with the
exact install command instead of failing later with missing tools.

Why: several /ship runs on one machine hit both problems (one repository
sets 900 s; each new worktree needed `bun install`). 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: p3/outside-voice#1 reader=outside-voice
Review-Finding: p3/outside-voice#2 reader=outside-voice
2026-11-21 11:23:30 +00:00
Garry Tanandcapy-ai[bot] cbe37f2c0a Tell /ship review readers never to kill processes they didn't start (GST-3360) (#4607)
/ship's review readers are now told, in every brief, never to stop or
signal a process they didn't start: no `pkill`, `killall` or kill by
name.

Why: a reader on a machine shared by several /ship runs ran `pkill -x
sleep` and ended other runs' processes.

Nothing to do: the rule rides in the workspace paragraph that closes
every dispatched brief.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 11:22:34 +00:00