Repository navigation
/ship reviews fixes with full rounds instead of narrow re-checks (GST-3562) - #4741
Merged
Merged
Conversation
A fix after round 1 gets a full round 2 and a fix in round 2 gets one read-only full review. Steps that stand where a fix-check was carry a structured keepReader flag, so each keeps one full-effort reviewer; the bot-review skip applies only to a run's first review. The no-loss replay checks steps over 3,932,160 histories and dispatches over every panel, prior-round, round-grant and bot-review shape (GST-3562 A). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
The read-only final review now always reads the whole PR diff and applies no fixes, and a lean second round on a docs or tests change keeps the targeted reader. Review-Finding: p1/outside-voice#1 reader=outside-voice Review-Finding: p1/outside-voice#2 reader=outside-voice Review-Finding: p1/red-team#1 reader=red-team Review-Finding: p1/targeted#1 reader=targeted Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…help Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This was referenced Nov 23, 2026
Merged
capy-ai Bot
added a commit
that referenced
this pull request
Nov 24, 2026
- `/ship` now tells you what to change when GitHub refuses a push for email privacy. (#4748) - The release gate's /cso check accepts the low-confidence hypotheses /cso now reports. (#4753) - /cso reports every security finding the code supports instead of dropping most of them. (#4739) - /cso can search the whole repository in one call, and a daily report now lists its low-confidence hypotheses. (#4742) - A first version's plan and try-it message now open with the owner's own words, and the build is tried the same way he will try it before he is asked. (#4759) - A first version's public export now keeps out the owner's short quotes and his reasons to leave something out, and a phone first-use check installs a build the cloud phone can actually run. (#4772) - Three intermittent test failures are fixed. (#4745) - Free Tests runs its shards on 8-core runners again. (#4749) - A land that waits on an earlier CI run now decides on what that run actually did. (#4763) - Landing a PR no longer starts a new CI run when one for the same merged code is already running or has passed. (#4760) - /ship no longer misses a file-mode change from main on files whose names start with `:`. (#4774) - make-pdf keeps quotes in alt text, link titles and raw HTML attributes inside the attribute, so a Markdown file can no longer add an `onerror`, `onload` or `javascript:` link that runs in the print browser. (#4761) - Posting a PR body that lists earlier /ship runs no longer stops for a phone number that isn't there. (#4747) - A first version's public export now catches a short owner quote whose padding or quote marks are encoded. (#4778) - A first version's public export now also keeps out a short owner quote written with spaces just inside its quote marks. (#4776) - Posting a PR body that lists earlier /ship runs no longer stops for a card number that isn't there. (#4751) - /ship no longer asks for an extra reader when you merge the base branch next to code that was already reviewed. (#4754) - /ship no longer plans narrow re-checks after a fix. (#4741) - /ship can't quietly gain new refusals. (#4740) - `gstack-upgrade` no longer refuses to run after you disable skills. (#4743) - The free test suite splits its shards from this week's recorded test times. (#4744) - gstack now writes up a failed or shelved attempt before closing it. (#4735) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/ship no longer plans a narrow re-check after a fix: a fix after round 1 gets a full round 2, and a fix in round 2 gets one read-only full review of the whole PR, so fixed code never ships unread.
Why: the narrow re-check read only the fixed lines, and each round now keeps at least one full-effort reviewer, the one the re-check was.
Part 1 of the /ship simplification Garry approved, rebuilt after #4737; nothing for readers to do.
What changed
lib/review-depth.ts plans no new narrow re-check. A fixed blocker, a gate-class edit or a below-floor fix after round 1 gets a full pass on the fix range as round 2; a light diff whose below-floor fixes touch no runtime lines still ships them as notes. A fix in round 2 gets one read-only full review, and a fix after that review stops for the PR's owner. The per-PR round cap counts the same way across /ship runs.
Each planned step that replaces a re-check, and the read-only final review, carries a structured
keepReaderflag, and both dispatchers add the Red Team reader at full effort when no full-effort reader that excludes nothing is planned. A lean round on a docs or tests change also keeps the targeted reader main runs. The read-only final review carries areadOnlyflag: bin/gstack-review-dispatch stages it on the PR's merge base whatever--diff-baseit is given and printsREAD_ONLY:, and Step 3's edit guard in ship/sections/review-army.md applies no fix on such a pass. The bot-review skip (review.platform on) applies only to a run's first review.Why
A narrow re-check read only the lines a fix changed, so a fix could break code next to it and ship unread. Full rounds read the whole range again with the same readers, which is what the two-round cap (R51) already assumes.
Blast radius
It changes how /ship plans review after a fix, on every repo. Re-check rows and grants recorded before this change still verify for one release; part 3 removes them. A replay of main's planner against this branch over 3,932,160 review histories found no case that drops a read of changed code (test/review-depth-lean.test.ts, test/helpers/gst3562-replay.ts).
Documentation
Status: updated. Two authored docs got factual corrections so they describe GST-3562 A (full rounds instead of fix-checks, plus the read-only final review at the cap).
Scope: the diff from af6deb9 to c51a6ab on branch ship-full-rounds: 33 committed files and no staged, unstaged or new files. Docs audited: docs/review-policy.md, docs/ship-policy.md, docs/troubleshooting.md (PR_ROUND_CAP), docs/model-policy.md, the changelog.d fragment and ship/sections/review-army.md.tmpl.
Documentation health
PR_ROUND_CAPmeaning no longer says a below-floor fix finishes with notes.READ_ONLY:cap rule is documented.Coverage debt: the new
READ_ONLY:dispatch line andplanReviewAthave reference coverage only, in review-policy and the review-army template; there is no how-to. The K1scoped-fix-checktable row, the--fix-checksparagraph and the scoped-pass dispatch text may be stale after GST-3562 A and need a policy decision before anyone edits them.Diagram drift: none. No diagram names the changed review-depth entities.
Agent notes
Deferred findings
Blocking findings in code this PR did not change (review scope: frozen). They stay on this PR and are not filed as issues.
lib/review-depth.ts:432A newly issued stop grant still routes to a narrow fix-check before the round cap is checked. This is the one-release compatibility path for grants recorded under the old rule; part 3 removes it.Review notes
Below the blocking floor; recorded here and not fixed in this PR (each goes to part 2 or part 3).
lib/review-depth.ts:457prCapped's cross-run read-only final review (a new /ship run on a PR whose rounds are spent) carries noreadOnlyflag, so that path gets noREAD_ONLY:line and the dispatcher still honors--diff-basethere (round 2, Red Team).bin/gstack-review-plan:303The PR_ROUND_CAP suffix still offers a fix-check round grant after the reason text stopped offering one.lib/review-depth.ts:466A round grant's fix round followed by a below-floor fix stops with a misleading read-only-review reason.docs/review-policy.md:355Docs say the fix-check is retired while grantedStop still plans one for one release.lib/review-depth.ts:672A panel docs round 2 prints red-team in SKIP and also dispatches it.lib/review-depth.ts:500Below-floor light fixes without --range-base now cost a full round.docs/review-policy.md:101,194,202The new policy text says every fix at round 2 or the cap gets the read-only review; the code still lets a light diff's below-floor fixes with no runtime lines ship as notes (the prose is stricter than the code; scoped docs reader).Review
Two full rounds, both at this PR's own heads. Round 1 at 33a781b (panel: batched specialist, Red Team, targeted gate reader, native adversarial, second-model review) found three blockers; two were fixed in c51a6ab (the read-only review's whole-diff scope and edit guard, and the lean targeted reader) and one is deferred above. Round 2 at c51a6ab (batched specialist, Red Team, targeted) found no blockers. The docs audit's two edits (955bc8d) were read by one scoped reader, clean.
No-loss replay (CREW rule 15)
Step table: main's table frozen at 0408128 against this branch over 3,932,160 histories at c51a6ab: 2,757,344 identical, every other case one of five allowed kinds, 0 unclassified. Dispatch: test/review-depth-lean.test.ts over 5 diff shapes x review.panel all, risk and off x review.platform off and on x published numbers or none x a targeted class, an already-read one or none x 0-2 prior full rounds x round grant or none x every in-run history: 61,704 changed cases, all allowed kinds. Rule-15 ruling: approval a-6ec01c09edf8.
History
#4737 was the first attempt; it keyed the keep-a-reader rule on reason text and missed three corners. Write-up: org research/findings/gstack-2026-11-23-full-rounds-first-attempt.md. Split ruling: Captain GStack Minder (GSTA-36), 2026-11-23.
Validation notes
bun run testat 955bc8d on the build machine exited 1 with 150 failing tests in 50 files (browse/ tests needing the Playwright Chromium this machine lacks, cso-* tests needing the optional native helper, gbrain-sync-skip, codex-hooks-setup, model-policy-cli and one design round-trip). None is in review-depth, review-dispatch or ship-release code. CI ran the same tree green: 39,239 passed, 104 skipped (free-tests run 45202049902).incompleteat tree 75f34f76: that is the logger's state for a pass that applied fixes (converged false). Round 2's rows areverifiedat c51a6ab.Approvals
Plan: approved (record r-e4cfb8408c4d)
Plan check: approved (record r-e4cfb8408c4d)
Closed by fix c51a6ab: p1/outside-voice#1 (a later full review at c51a6ab read it clean)
Closed by fix c51a6ab: p1/outside-voice#2 (a later full review at c51a6ab read it clean)