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
`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>
/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
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
/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>
/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
/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>
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
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
/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
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>
/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>
`/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
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
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>
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
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>
/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>
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
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>
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>
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
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
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
`/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
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
`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
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
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>
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
Since #4509, Claude Code skills run their start step as they load, so
the paid /plan-ceo-review auto-decide check could miss a run that really
did auto-decide. It now accepts the start output in the loaded skill
text.
Why: one of the five passing runs captured for that check was credited
only through the session journal, and that path needed a start command
in the tool calls.
Nothing to do: this changes test code and the journal reader the tests
use; no skill text changes.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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
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>
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
/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>
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
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
Free-suite CI stops failing before any test runs when archive.ubuntu.com
is slow, and four tests that failed and then passed in the last day are
fixed at their cause.
Why: 27 setup failures and 5 flaky reds on 2026-11-19 cost reruns and
blocked READY checks across PRs and main.
Nothing to do: the first run on each runner image fills the new package
cache.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
On Codex with gpt-6.1-sol, /review is no longer blocked at session end
for a missing second-model pass that it ran.
Why: with Sol, Codex starts subagents through its `collaboration` tools
and names a started agent by `task_name`, not `agent_id`, so the
checklist reader missed it; this blocks gstack-evals' Codex pin.
Nothing to do: the fix ships with the next gstack release.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
/ship's second review round now reviews a fix that touched a gate-class
path, instead of reporting done with nothing read.
A plan told "nothing was fixed" while the branch has new commits since
the reviewed head now refuses with `review_required_no_readers` rather
than printing done.
Nothing to do: the next /ship picks it up.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
On Codex, gstack's /review can no longer end a session with a required
step skipped: the end-of-session check reads Codex's own session log and
sends the agent back to finish, as it already does on Claude Code.
Why: Codex users got routing and the destructive-command check in #4512,
but not the /review checklist, so a review could stop after the diff
read with no second-model pass.
To use it: run `./setup` again and trust the new hook in Codex
(`/hooks`); turn it off with `GSTACK_SKILL_CONTRACTS=off`.
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
On Codex, gstack's routing hint now names each skill by the `name:` in
its installed SKILL.md (`review`), the name Codex lists, so `$review`
loads the suggested skill.
Before, the hint said `gstack-review` (the folder name), which Codex
doesn't list, so mentioning it loaded nothing.
Nothing to do: the next `./setup --host codex` picks it up. Claude
Code's hint is unchanged.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
When a second-model review fails, gstack now reports the failure that
actually ended it: Codex's final error decides, a stray "402" in a
request id no longer reads as a used-up budget, and a Claude Code 402 or
usage limit reads as a budget stop with no Codex advice.
Why: these were the four follow-ups ruled below the blocking bar on
#4515; each one could send someone to fix the wrong thing.
Nothing to do. The prose rule that reads "auth", "login" or "API key" in
stderr as a login failure is not changed here (see below).
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
On Capy, /ship's PR body edits, comments and new PRs no longer go out
through `gh` under the machine owner's GitHub account.
Each write runs its checks, saves the exact text to a private file and
prints a `HOST_PUBLISH:` line that names the repository (and host, off
github.com) it belongs to, so Capy's PR tool sends it to the same place
`gh` would have.
Nothing changes outside Capy (`GSTACK_CAPY` unset).
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#3 reader=specialist-batched
Review-Finding: p1/red-team#6 reader=red-team
Review-Finding: p1/specialist-batched#1 reader=testing
Review-Finding: p1/specialist-batched#2 reader=testing
In a folder a repo marks as published data (`review_content_patterns`),
source code in any language, agent instruction files, config and data
that kept code names by full path now stay in /ship's review.
Why: #4511 let a `.java` file, a binary `AGENTS.md` or a file named by a
kept script leave review there, and reviewers must see every line of
code a PR changes.
Nothing to do: no base policy sets the key yet.
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=specialist-batched
`./setup --host codex` now adds gstack's skill-routing hint and
destructive-command check to Codex's `~/.codex/hooks.json`, next to your
own hooks, so Codex users get the same guardrails Claude Code users
have.
Codex runs a hook only after you trust it, so nothing fires until you
accept gstack's hooks at Codex's startup prompt or in `/hooks`;
`gstack-doctor` shows whether you have.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#1 reader=red-team
When Codex reviews a change, gstack now keeps the review file the
reviewer wrote instead of replacing it with Codex's one-line closing
message, and a provider that refuses with HTTP 402 is reported as a
used-up budget instead of "exit 1" or a login failure.
Why: gstack-evals lost 22 review attempts to the overwrite and 5 of 45
sessions to a 402 from a metering proxy whose cause gstack threw away.
Nothing to do: a 401 or 403 is still a login problem. Open notes, one of
them a known gap, are listed below.
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
A repo can now list published-data folders under a new
`review_content_patterns` ship-policy key, so /ship leaves `.patch`
diffs, `MANIFEST.sha256` and extension-less licences out of review,
while source files there stay reviewed.
Why: gstack-evals #352 is 13.8 MB, 13.6 MB of it published session data,
and could never pass /ship's 2 MB review limit.
Nothing to do until a repo adds the key to its base-branch policy; a
pattern that keeps too many files now stops with
`REVIEW_EXCLUDE_KEEP_TOO_LARGE` instead of being dropped.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/red-team#2 reader=red-team
Review-Finding: p2full/red-team#1 reader=red-team
/ship's review pass now lets its readers start in a checkout of an
unrelated repository, and refuses to start them in any other checkout
that holds the review's diff base, such as a sibling worktree or a
separate clone of the shipped repository.
Why: a project whose default checkout is another repository needed a
fresh machine for every /ship review, while a worktree or clone of the
same history could read the wrong diff with no error.
Nothing to do: the pass still stops before anything starts if the
shipped checkout can't be reached.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>