Commit Graph
595 Commits
Author SHA1 Message Date
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] 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] 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] 00a6b7a353 Code review reads the design checklist and your repo's agents/ folder (#3924) (#4711)
Code review now checks frontend changes against the design checklist,
and the second-model review now reads code in a repository's own
`agents/` folder.

Before, the design reviewer was pointed at a file that doesn't exist,
and the second-model review skipped every `agents/` folder (#4410,
#3924).

Nothing to do as a user; it arrives with the next gstack update.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Replay: GSTA-812
Review-Finding: test/review-depth.test.ts:226:test-pin reader=core
2026-11-22 16:59:40 +00:00
Garry Tanandcapy-ai[bot] 5962f0d4f3 Four tests and two tools stop failing at random: gate-ahead worktrees and the gbrain MCP probe (GST-3543) (#4710)
Two gate-ahead preparations for one PR no longer fail each other, and
`gstack-gbrain-mcp-verify` no longer misreads a valid SSE reply as
broken.

Both turned up in the daily flaky-test pass from CI runs that failed
once and passed on retry. Two test fixtures that raced on timing are
fixed too.

Nothing to do for users; the version is written at 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/specialist-batched#2 reader=testing
Review-Finding: p1/red-team#2 reader=red-team
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
Review-Finding: p1/adversarial-native#3 reader=adversarial-native
Review-Finding: p1/adversarial-native#5 reader=adversarial-native
Also: the fixture trace test's control looks for the push by name, which the Windows runner spells differently (windows-scoped-shard, run 45036384878).
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#3 reader=red-team
2026-11-22 15:46:55 +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
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
b3323f47b8 Review and ship tools: read Codex numbered severities, check Remote Control sessions, see every worktree (#4681)
Five fixes from outside reports. The too-large-diff fix line now
suggests only folders the policy can exclude, Codex findings written as
`### 1. High` keep their severity, /autoplan's report check runs in
Remote Control sessions, /ship's version picker sees all worktrees, and
PR before/after images use the real base.

Why: each reproduced on main with a failing test and gave a wrong
answer.

Nothing to do after merge.

Co-authored-by: larsonthune <195244869+larsonthune@users.noreply.github.com>
Co-authored-by: vilano93 <244097767+vilano93@users.noreply.github.com>
Co-authored-by: szsunyuan <3579304+szsunyuan@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: p1/red-team#1 reader=red-team
2026-11-22 12:38:59 +00:00
Garry Tanandcapy-ai[bot] 25bf93c4e2 /ship can finish after a docs audit stopped before saving its snapshot (GST-3502) (#4693)
/ship no longer gets stuck when its docs audit edits a left-out docs
file and then stops: the second audit can now include the first audit's
edits, so /ship can record its result and finish.

Why: a gbrain release was blocked with no supported way forward.

Nothing to do: `gstack-docs-candidate snapshot` gains one optional flag
for this case, and /ship's Blocked recovery step names it.

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:16:34 +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
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
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] 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
ef72e4142f Docs link check stops hiding sections after inline code, /learn prune checks every learning, /retro counts Godot test runners (#4677)
Four small fixes from outside reports: the docs link and prose checks no
longer treat a line that starts with inline code as a code block, /learn
prune reads every learning instead of the first 100, /retro counts a
test runner in `tests/` and skips game-engine sidecar files, and five
tests that cannot work as root now skip there.

Why: each one was reproduced on main and gave a wrong answer (refused
valid links, skipped stale learnings, a test total of 0, red tests as
root).

Nothing to do after merge.

Co-authored-by: Davmunrey <108531295+Davmunrey@users.noreply.github.com>
Co-authored-by: huongtran84 <4927097+huongtran84@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-22 06:35:12 +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] 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] 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] 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] a1e2c7eeaa Plan reviews no longer read a /design-review audit summary as the design doc (#4615) (#4623)
After a /design-review run, /autoplan, /plan-ceo-review and
/plan-eng-review now read the branch's real design doc instead of the
one-line audit summary that /design-review saves next to it.

Plan reviews are only useful when they review the actual design, so
picking up a pointer file silently gave them nothing to work with.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 17:02:59 +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] 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] b281effa07 Fix /ship review counting, cleared reviewer notes and security findings in the posted PR description (GST-3343) (#4595)
/ship no longer stalls on summary notes a reviewer already cleared,
counts only full review passes as rounds, records a round approval
relayed during a stopped run, and keeps security findings out of the
ship record it posts in the PR description.

These four bugs each stopped a real /ship run until someone edited a
record by hand; the goal is unattended shipping that finishes on its
own.

Nothing to do as a reader.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: s11/outside-voice#1 reader=outside-voice
Review-Finding: s11/adversarial-native#2 reader=adversarial-native
2026-11-21 08:51:13 +00:00
Garry Tanandcapy-ai[bot] 19069a9810 Reader subagents on Capy stop sending telemetry, error runs report their error class, and test fixtures stop reading the owner's settings (#4597)
On a Capy machine, a shell that never loaded gstack's launch file (such
as a review subagent's) now sends no usage data instead of falling back
to the machine setting, as the privacy doc already promised.

Error runs now fill the existing error_class field from their exit
reason, and each setup step and outcome is reported at most once a day
per install, so a loop rerunning setup no longer floods the counts.

Tests no longer inherit the owner's preferences file, skill loadout or
plugin state, which caused false failures.

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/outside-voice#1 reader=outside-voice
2026-11-21 08:11:54 +00:00
Garry Tanandcapy-ai[bot] e057dfa100 Eval plans now pilot every arm, check the judge per arm, state their cost and take one planned look above 500 dollars (GST-3218) (#4591)
`/eval-plan` now refuses an eval plan that would waste money: every arm
gets a small uncounted pilot, the judge is checked on each arm's
outputs, the plan carries a cost line, and a run above 500 dollars takes
one planned look at half its units. Small questions get a 100-dollar
quick look that publishes no number.

Why: 23.7% of the 28,836 dollars spent on our last 30 evals settled
nothing, mostly through arms and judges that broke after the full run.
Nothing to do as a reader; plans frozen before 2026-11-21 keep their old
rules.

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-21 07:37:20 +00:00
Garry Tanandcapy-ai[bot] 92c57ca4ce Step 11.5 keeps a reviewed head current across base-only merges (GST-3308) (#4577)
When main is merged into a pull request after its code review, /ship no
longer throws that review away. If every commit since the review is a
clean merge of the base branch and the pull request's own changes are
byte-identical, `gstack-review-read` now reports the review as current,
so /ship finishes without another review round. Nothing to do.

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-20 22:44:14 +00:00
Garry Tanandcapy-ai[bot] 14a84980ee Telemetry can count gstack's own use on Capy, opt-in and kept out of public numbers (GST-3311) (#4576)
Agent-driven Capy sessions still send no telemetry. If the owner's
`preferences.yaml` holds `telemetry_capy: anonymous`, each skill run
sends one anonymous row labelled `source=capy`, or `source=gt` from
Garry's own machines.

Why: we couldn't see our own gstack use on Capy, and if we had sent it,
it would have been counted as real use.

Nothing to do yet: nothing changes until the owner adds that line, and
the ingest change ships in a separate deploy.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-20 22:27:26 +00:00
Garry Tanandcapy-ai[bot] ad65f62edf Results PRs with large agent transcripts can be reviewed again (GST-3273) (#4574)
Results PRs that commit captured agent sessions no longer stop at the 2
MB review limit: a data file kept in review only because a session
quotes a lint pragma, an env check or a `--no-verify` push now reaches
readers as those lines with context.

Why: harness-evals#494 (25 transcripts, 11.3 MB) could not be reviewed
at all. Only a strict set of files is cut, so anything in doubt still
goes to readers whole.

Nothing to do: the gate review still runs, and the change follows the
review policy you already have.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-20 21:34:22 +00:00
Garry Tanandcapy-ai[bot] acb1f4ece9 Owner rulings close a stopped review whose findings were logged in a findings file (GST-3296) (#4568)
When /ship's final review is logged with `--findings `, or the native
reader's row lists no findings, the owner's `gstack-approvals rule` rows
now close those rows at Step 11.5.

Why: harness-evals#515 had all 12 rulings recorded and green CI, yet
/ship stopped at Step 11.5 because the rulings had nothing to match.

Nothing to do: rows that already work read the same, and an unruled
blocker, a noted CRITICAL or an unfinished pass still refuses.

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-20 19:59:55 +00:00
Garry Tanandcapy-ai[bot] bd0428974a Review read names the findings that owner rulings leave open (GST-3267) (#4553)
When owner rulings don't clear a stopped review, `gstack-review-read`
now names each finding still missing a ruling (a `noted` CRITICAL
included), and for a gate finding the `gate_id` its gate disposition
needs.

Why: on harness-evals#498 all 22 rulings applied, yet both rows stayed
unverified because 7 duplicates were logged `noted` at CRITICAL, and
nothing said so.

Nothing to do: the review rules are unchanged; only the reason text gets
more specific.

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-20 10:03:45 +00:00
Garry Tanandcapy-ai[bot] a26529ac8e /ship accepts a stopped review once the owner rules its findings open notes (GST-3267) (#4552)
When the final review or the native reader stops on findings and the
owner records each one with `gstack-approvals rule` at that head, /ship
now counts those rulings when it binds the two reviews, so /ship can
finish.

Before, the review reader ignored rulings there, so a PR with green CI
and accepted findings could not finish /ship (harness-evals#498).

Nothing to do: a ruling for another branch, head or finding, or one
gstack wrote for itself, still counts for nothing.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-20 08:26:16 +00:00
Garry Tanandcapy-ai[bot] 1bd86d9a45 Run ids in /ship's follow-up review approvals are no longer flagged as phone numbers, and teams named GStack can record rulings (GST-3246) (#4549)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-20 02:24:04 +00:00
Garry Tanandcapy-ai[bot] 858679423c Review plan gives a preregistration with only its plain data the write-up review, and stops counting data rows as code (GST-3238) (#4544)
A preregistration whose diff is only its write-up, text and data files
now plans as a write-up (one reviewer, one round); scoring, judge, guard
and gate edits keep their full review, and CI is unchanged.

Results rows no longer count as runtime code, and a fix after an
approved review stop that changes only a data file now gets its
follow-up review instead of stopping.

Nothing to do for readers; this follows Garry's rule that
preregistrations without scoring code get one review round, and fixes a
stop reported by Founderstar.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: v1/outside-voice#1 reader=outside-voice
2026-11-19 23:17:49 +00:00