Commit Graph
636 Commits
Author SHA1 Message Date
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
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] 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] 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] 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] 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] 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] 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
Garry Tanandcapy-ai[bot] cc0896560a /ship's review no longer stops when Capy's drive sync database grows past 100 MB (GST-3359) (#4606)
The review's download sweep now ignores Capy's own drive sync database
(`state.db` and its SQLite side files under `~/.capy/drive-engine`).

Why: that database grew past 100 MB during a review stage on a Capy
machine, the sweep took it for a reader's download, and the pass blocked
every later stage while the file existed.

Nothing to do: any other download of 100 MB or more, under
`~/.capy/drive-engine` or `~/.capy/work` included, still counts.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/adversarial-native#1 reader=adversarial-native
2026-11-21 10:23:54 +00:00
Garry Tanandcapy-ai[bot] 7fe1900f8b Fix ready notes, landing decisions, release PR descriptions and squash messages (GST-3343) (#4596)
Landing a ready PR now reads its gate decisions from the PR's ready
note, and the ready note, a reopened release PR and a stacked PR's
squash message now say the right thing.

Each of these stopped a landing or left a wrong public record until
someone fixed it by hand; the goal is unattended shipping that lands 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: p1/red-team#1 reader=red-team
2026-11-21 08:52:11 +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] 6af4d8a03f Eval graders treat the agent's repo as hostile, plus two more team-learned habits (GST-3354) (#4602)
Eval plans now say a grader that runs git in an agent's repo works on a
sanitized copy with no config, hooks or API keys; the agents' start card
says to find a drive copy in its version history before deleting the
source; and each eval result row takes its model from the captured
requests.

Why: one team reproduced a planted git setting running code next to the
key-holding proxy, and two lost drive writes. Nothing to do as a reader.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 08:37:12 +00:00
Garry Tanandcapy-ai[bot] 6cac5ab34c /cso never looks through a symlinked folder, and Capy release and triage steps stop writing to GitHub as the owner (GST-3344) (#4592)
/cso now checks every folder above a source file before it looks at the
file, and on Capy the release PR and /ship's triage issue no longer go
through gh as the owner.

Why: /cso could stat a path through a symlinked folder before failing
closed, and on Capy gh signs in as the owner's own GitHub account.

Nothing to do; whoever opens release PRs on Capy publishes the
`HOST_PUBLISH:` files with the PR tool, as other /ship steps already do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 07:40:37 +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] e096fa850c Skipped quarantined tests fail the run, and the upgrade snooze sticks for git installs (GST-3344) (#4590)
A quarantined test that the runner skipped now fails the run, and "Not
now" on the upgrade prompt now lasts its full snooze on git installs.

Why: four outside reports showed a false pass, a snooze that came back
after two hours, a model check that ignored `config.toml`, and two `$B`
rules missing from /browse.

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-21 07:26:14 +00:00
Garry Tanandcapy-ai[bot] 0adfab9dd9 Job-log tree.json step now recommends a 5-second sleep so slow-stamping runners still reuse CI results (GST-3339) (#4589)
When a repository's artifact storage is full, gstack's reuse of CI test
results reads tree.json from one log line, and the docs' `sleep 2` after
that line was too short on a Ubicloud runner, so gstack refused the run
and fell back to running tests locally.

The docs, the troubleshooting entry and the refusal's fix line now say
`sleep 5`, and a new test checks the documented sleeps against GitHub's
whole-second step times.

Repositories that copied the old step should change `sleep 2` to `sleep
5`.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 06:49:28 +00:00
Garry Tanandcapy-ai[bot] ebc867422e Teach agents nine habits that several teams learned the hard way (GST-3336) (#4585)
Agents using gstack now get nine working habits that three or four teams
each reached on their own: don't write a file back from a cut-off read,
change the design when reviews keep finding the same kind of bug, narrow
a safety guard only with a tested exemption, prove a change on the real
path, move timers and automations with a handoff, land base-branch
settings first, and check that a check can see your change.

Why: each habit cost one of those teams a lost file, a leaked key, an
outage or extra review rounds. Nothing to do as a reader.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: v1/adversarial-native#2 reader=adversarial-native
2026-11-21 06:11:31 +00:00
Garry Tanandcapy-ai[bot] 1a95eae330 Capy threads use halved token limits and follow three new rules on subagents, relays and going forward (GST-3323) (#4582)
Capy threads working on a PR now check in at 500M own tokens, standing
threads rotate at 250M, and any subagent past 50M gets a look;
`gstack-runaway scan` and /ship's default subagent cap use the new
lines.

Why: Capy's token counts have read about half what they did before
2026-11-15, so the old lines were double the ones in use, and three
standing rules (subagents, relays, going forward) were missing from the
factory rules every Capy thread reads.

Nothing to do: the new lines apply on the next gstack upgrade.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 01:23:36 +00:00
Garry Tanandcapy-ai[bot] ef4a7f5cbf Reviews stay valid after merging main when a stacked parent was already on main (GST-3315) (#4580)
/ship keeps a PR's review when the PR merges main and its stacked parent
had already landed before the review. It used to refuse over the
parent's files.

Why: yc-software/qm#3457 was asked to re-review files it never changed.
Nothing for readers to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 00:04:26 +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] 64795163af Redactor hides key=value secrets that follow a slash, so /cso history stops printing them (GST-3297) (#4571)
gstack's redactor now hides `password=…`, `api_key=…` and `token=…`
values that come after a `/`, such as a symlink target `../password=…`,
`cfg/api_key=…` or a Markdown link to such a path.

Why: `/cso`'s retained Git history went through this redactor and kept
those values, so `gstack-cso history` printed them; review packets,
telemetry and ship logs use the same redactor.

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-20 20:20:22 +00:00
Garry Tanandcapy-ai[bot] 69e67e264d Free Tests plans its shards beside the reuse and docs checks (GST-3303) (#4570)
Free Tests on a pull request now starts its test shards after one round
of small GitHub-hosted jobs instead of two, because the planner no
longer waits for the reuse and docs-only checks.

Why: faster PR feedback on the required `free-tests` check.

Nothing to do: no check is renamed, and the same tests run.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=state-machines
2026-11-20 20:08:03 +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
a529769efd /cso audits repositories that track symlinks, without following them (#4540) (#4567)
`/cso` no longer stops on a repository that tracks a symlink, such as
gstack's own `connect-chrome` or `CLAUDE.md -> AGENTS.md`: each link is
listed in the report by its target string, or as withheld when the
target matches a secret pattern, and it is never followed.

Why: a security audit that refuses ordinary repositories audits nothing,
and following a link would let it point the scanner at `/etc/passwd` or
out through `..`.

Nothing to do. FIFOs, sockets and devices are still refused, and
`--paths` now limits that check to the audited directories.

Co-authored-by: nathanshox <196341+nathanshox@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=security
Review-Finding: p1/red-team#3 reader=red-team
Review-Finding: p2/red-team#1 reader=red-team
Review-Finding: p3/outside-voice#1 reader=outside-voice
2026-11-20 18:26:22 +00:00
6287c75e2c Prompt-routing hook ignores words inside backticks (#4564) (#4566)
The prompt-routing hook no longer acts on words inside backticks or code
blocks, so a prompt that quotes a command (`Run `mycli check` now`)
stops getting a wrong "run /verify" or "run /review" line.

Why: routing is on by default, so any session that quotes commands got
these hints; this fixes the report in #4564 by @vilano93, rebuilt on
current main.

Nothing to do: plain requests ("run the checks", "review this pr", bug
reports in words) route as before.

Co-authored-by: vilano93 <244097767+vilano93@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=red-team
Review-Finding: p1/specialist-batched#2 reader=testing
2026-11-20 17:04:51 +00:00
Garry Tanandcapy-ai[bot] 6121a19591 /ship stops instead of running the whole test suite here when CI's run can't be reused (GST-3277) (#4565)
`gstack-ship-preflight` now stops with `SHIP_LANE_NOT_CARRIED` whenever
a test suite mapped to CI has no reusable CI run, in a full preflight as
well as `--tests-only`; `--run-uncarried-here` still runs it here.

Why: a full preflight on gbrain-evals#547 ran the whole suite locally
for 7 minutes after CI's run went stale, and the stop told an
outside-author PR to dispatch a workflow that has no `workflow_dispatch`
trigger.

Nothing to do: a workflow that can't be dispatched now gets "merge the
base and push it, or ask the author to" instead.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/adversarial-native#1 reader=adversarial-native
2026-11-20 16:15:08 +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