Commit Graph
766 Commits
Author SHA1 Message Date
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
Garry Tanandcapy-ai[bot] aea71f414e Make the /ship conductor trial stop only at the final remote-gate refusal (GST-3003) (#4609)
The /ship conductor trial plan now ends a trial only at the final step's
remote-gate refusal, tells both arms the same thing about following
their brief, and counts every report the no-gstack arm returns.

Why: in the second uncounted pilot one trial stopped before review on an
earlier refusal, and one trial in each pilot read the plan while looking
for context.

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 11:21:20 +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] baef51fe0e Let the /ship conductor trial end at the remote gate when a case's base isn't main (GST-3003) (#4605)
The /ship conductor trial plan now ends a trial at the remote gate when
the case base isn't main, gives the no-gstack arm bun and its
dependencies, and audits every counted trial for exposure to the plan.

Why: in the uncounted pilot no trial could finish shipping, because the
remote test gate can't pass on a non-main base; one arm also read the
plan on main.

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 09:46:20 +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] 387a65c9a2 README and docs no longer say gstack makes your agent fix more bugs (GST-3261) (#4598)
The README now says plainly that gstack doesn't make a coding agent fix
more everyday bugs, and describes `/review` and `/ship` by what they
check and record.

Why: our own test on 100 GitHub bugs and features found no gain (Claude
Opus 5.5 fixed 58 with gstack, 61 of 99 without), so the README
shouldn't promise one.

Nothing to do: docs only.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 08:47:05 +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] c0fd3bfd14 Pilot every arm of the /ship conductor trial and add one planned halfway look (GST-3003) (#4587)
The /ship conductor trial plan now runs an uncounted pilot in every arm
and checks its judge on those outputs before any counted trial, and
takes one planned look at half the cases.

Why: two rules adopted on 2026-11-19 (an uncounted pilot per arm, and
one halfway look for runs over $500) apply to plans whose counted runs
have not started, and this one has not.

Nothing to do: no bar, arm or decision changes; no paid call has run.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p2/outside-voice#2 reader=outside-voice
2026-11-21 08:23:26 +00:00
Garry Tanandcapy-ai[bot] 09bd0fad0f Run Free Tests shards on 16-core runners to cut about a minute (GST-3303) (#4600)
Free Tests now runs its shards on 16-core Ubicloud runners with eight
test workers each, up from 8-core runners with four. In two trial runs
this took about a minute off the slowest shard; the first five pull
request runs after it lands are the real check.

This is part of making pull request CI faster. Splitting the slowest
test file (#4588) is what made the bigger runner pay off; before that
split, the same trial saved only 16–22 s.

Nothing to do. If the first five pull request runs save less than 45 s
on the slowest shard job, this gets reverted.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 08:06: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] ffdd5354b8 Split the slowest free test file so no shard waits on it (GST-3303) (#4588)
Free Tests no longer waits on one 263-second test file. Its 79 tests (80
cases) now run as six files of 25 to 40 seconds, so the shard planner
can spread them out.

This is part of making pull request CI faster: a file that big puts a
floor under one shard, and that floor matters most on bigger runners.

Nothing to do.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: v1/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/red-team#1 reader=red-team
2026-11-21 07:30:51 +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] 41729a023e New page on running gstack work across more than one agent system (GST-3323) (#4583)
Adds docs/working-across-agent-systems.md, one short page on running
gstack work when two or more agent systems share a repository, with
pointers to it from the README and the controller manual.

Why: the practices that kept cross-system work cheap and correct (one
sender per side, answers on the pull request, filtered wake-ups instead
of polling, pinned harness versions) were written nowhere in gstack, and
other systems can't read our private notes.

Nothing to do: any agent can be pointed at the page with "read
docs/working-across-agent-systems.md first".

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-21 01:24:32 +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] 507ebfc16d The weekly test-time recording can land again on its own (GST-3303) (#4581)
The weekly job that re-records how long each test file takes can land
its update again without someone fixing it by hand. Free Tests uses
those times to split the suite evenly.

It had not landed an update since 11-09: the Windows half kept failing,
and its pull request waited for a maintainer whenever a new file ran
past 60 seconds.

Nothing to do. The bot's commit and pull-request step runs for real only
on the weekly schedule, so the next Monday run is its first live test.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Refs: GST-3303
2026-11-21 00:13:49 +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] faae7f725a Trunk flaky-test upload runs after Free Tests, off the pull request's checks (GST-3303) (#4579)
Pull requests no longer wait on the upload that sends Free Tests results
to Trunk. It now runs on its own after Free Tests finishes.

The quick test tier's flaky passes now reach Trunk too, so a test that
fails once and passes on its retry shows up there wherever it ran.

Nothing to do: no required check changes, and the upload still never
affects whether a check passes.

Refs: GST-3303
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/red-team#2 reader=red-team
2026-11-20 23:33:09 +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] 87a473e5aa Free Tests splits the suite from freshly recorded test times (GST-3303) (#4578)
Free Tests should report about 45 seconds sooner. It splits the suite
into shards using a record of how long each test file takes, and that
record was eleven days old and missing 67 files, so some shards got far
more real work than others.

The times are now re-recorded for every file, so the shards should
finish close together and the slowest one sets the result less often.

Nothing to do: every test still runs, and no check name changes.

Refs: GST-3303
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-20 22:26:09 +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] 593d7e1634 Windows Setup E2E runs its long cases on parallel runners (GST-3303) (#4575)
Pull requests that touch install files get their Windows Setup E2E
result about 3 minutes sooner: its long cases now run on parallel
Windows runners instead of one after another.

This goes toward PR feedback in minutes: Windows Setup E2E was the last
check to finish on 77 of the 234 pull request heads it ran on.

Nothing to do: every case still runs on every in-scope pull request, and
no required check changes.

Refs: GST-3303
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-20 21:11:40 +00:00
Garry Tanandcapy-ai[bot] 6a64c49213 Every flaky pass in Free Tests is now recorded in Trunk or the flaky-test log (GST-3303) (#4572)
Free Tests now records every test that failed and then passed on its
retry: dispatched runs upload their test results to Trunk, and the quick
tier keeps its flaky-test log.

Why: a retried flake must always leave a record. Of the 13 retried
flakes since Trunk uploads began (11-09), Trunk saw 11; one missing was
on a dispatched run, the other on a main push from before the uploader
reached main. The quick tier's flaky-test log was never uploaded at all.

Nothing to do: no check, test or retry rule changes.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-20 20:08:58 +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
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
Garry Tanandcapy-ai[bot] 9ea26ecc42 Telemetry records why skill runs end, which host and model ran them, and how upgrades went (GST-3234) (#4542)
gstack's anonymous usage telemetry now records nine more fields: the
host and model family, how a skill was started, why it ended, whether
checks passed, how skill routing is set up, a random per-session id, and
for upgrades the version left and any error.

This tells us where skills stop working and which setups break upgrades,
which the current outcome-only data can't show.

Deploy in order after merge: apply migration 009, deploy the
telemetry-ingest function, then release the client; apply migration 007
after that.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#2 reader=specialist-batched
Review-Finding: p1/specialist-batched#3 reader=specialist-batched
Review-Finding: p1/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: v1/outside-voice#1 reader=outside-voice
Review-Finding: v1/outside-voice#2 reader=outside-voice
2026-11-19 23:10:19 +00:00
5df6b5a8cf The prompt-routing hook names your installed bug-fix skill on bug reports, and never puts /verify first (GST-3237) (#4539)
On a bug report, the routing hook now names the installed bug-fix skill
(prove-it, or any skill whose triggers claim bug fixing) alone, so
/verify is never ranked ahead of it.

Why: in B1d, Opus 5.5 loaded prove-it in 29 of 33 sessions when the hook
named it alone and 0 of 20 when it didn't; the old matcher named it on
only 40 of B1's 60 prompts.

Nothing to do: the hook line's wording is unchanged.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: Lubos Buracinsky <159481718+lubosxyz@users.noreply.github.com>
Review-Finding: p1/outside-voice#1 reader=outside-voice
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p1/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/adversarial-native#4 reader=adversarial-native
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p2/red-team#1 reader=red-team
Review-Finding: p2/specialist-batched#1 reader=testing
2026-11-19 22:04:13 +00:00
Garry Tanandcapy-ai[bot] 12cc21872d Telemetry backend only accepts writes through its own endpoint, and tests stop sending to it (GST-3234) (#4537)
The telemetry backend now takes writes only through its validated
endpoint, signed-in Supabase users can read or write nothing, and
gstack's tests can no longer send telemetry to the live project.

Why: a signed-in prober read two views on 2026-11-19, probes wrote about
2,000 junk rows through the open insert policy, and 41% of all skill-run
rows were test-suite traffic.

Nothing changes for users until the migrations and edge functions are
deployed; the deploy order is under Deploy.

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: supabase/migrations/008_close_anon_writes.sql:9:published-number reader=core
Review-Finding: p2/outside-voice#3 reader=outside-voice
2026-11-19 20:31:31 +00:00
Garry Tanandcapy-ai[bot] dab7549451 A green CI run still counts when the repository's artifact storage is full (GST-3231) (#4536)
When a private repository's GitHub Actions artifact storage is full, a
green run uploads no `tree.json`, so /ship and the merge checks could
not reuse it and refused it as `artifact_missing`.

A run profile can now set `tree_log_step`, and gstack reads `tree.json`
from the one `GSTACK_TREE_JSON` line that step printed in the job log,
only when the run has no artifact and only when GitHub's own log
timestamp puts the line inside that step.

To use it, add the one-line workflow step described under
`tree_log_step` in the docs, and raise `min_gstack_version` to the
release that ships this.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-19 20:10:49 +00:00
Garry Tanandcapy-ai[bot] 2714e9f7f3 READY prints real trial merges and the second-model trail read, plus six small ship-tool fixes (GST-3200) (#4529)
READY now prints each open PR's trial-merge result and the reader of the
second-model trail read, or a loud MISSING line, instead of lines left
to fill in.

Why: agents dropped those lines as noise and skipped the trail read on
three gate-class PRs. Six more small ship-tool bugs from 2026-11-19
reports are fixed here too.

Nothing to do: pass `--trail ` to `gstack-ship-queue ready` on
risk-class PRs.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#1 reader=outside-voice
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p1/outside-voice#3 reader=outside-voice
Review-Finding: p1/outside-voice#4 reader=outside-voice
Review-Finding: p1/outside-voice#5 reader=outside-voice
Review-Finding: p1/red-team#1 reader=red-team
Review-Finding: p1/adversarial-native#4 reader=adversarial-native
2026-11-19 17:05:16 +00:00
50cc282273 Test runs whose workers start in their own session are no longer killed as stalled (GST-3213) (#4533)
/ship's test check no longer kills a quiet, working test run as stalled
when the test command starts its workers in their own session, as pnpm
11's `pnpm exec` does for Vitest.

Why: the stall check read CPU time from the command's process group
only, where just the idle launcher was left; it now counts every process
descended from the command.

Nothing to do: a truly hung run is still killed at the same stall
timeout, and every threshold is unchanged.

Co-authored-by: dtoelke <14206719+dtoelke@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-19 16:54:44 +00:00
Garry Tanandcapy-ai[bot] 9610ba43db gstack's Codex hooks keep working with unusual folder paths and after uninstall (GST-3197) (#4528)
gstack's Codex hooks no longer block every prompt when your Codex
folder's path has a `(` or `&`, and uninstall keeps your own Codex hooks
trusted.

Why: both broke Codex sessions; setup also now matches Codex's hook
rules, and the /review checklist on Codex reads shell commands more
carefully.

Nothing to do: plain paths keep the exact hook command they had, so
Codex asks for no new trust.

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: lib/codex-rollout.ts:217:functional-contract reader=qa
2026-11-19 15:42:21 +00:00
Garry Tanandcapy-ai[bot] bd449234aa Pre-commit /verify fails on a timeout, and the review collector stops reading reviewers' scope lists as findings (GST-3201) (#4527)
Pre-commit /verify now fails a check that times out and runs its checks
on one time budget; a reviewer's scope-list bullets no longer need an
owner ruling to clear; stack tests fail when git can't list a PR's
tests.

Why: each let a result read clean with nothing proving it, or block on
nothing (#4518, #4519). Goal: gates never pass on missing evidence.

Nothing to do; `gstack-checks quick --timeout` is now one budget the
checks share (540 s default).

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
2026-11-19 15:17:30 +00:00
Garry Tanandcapy-ai[bot] 17303862d0 Destructive-command check closes the parsing gaps found after #4513 and blocks wipefs -a in every spelling (GST-3190) (#4525)
The destructive-command check now blocks force-pushes to main written
with `--repo=`, after a `cd`, or with `--all`, and asks again for the
other shapes that slipped past it after #4513.

`wipefs -a` is blocked in every spelling, including targets fed by
`xargs`; only existing image files it names outside `/dev` are exempt.
Dry runs and greps for SQL text stop over-blocking.

Nothing to do: the check runs in every session already.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-19 14:00:44 +00:00