Skip to content

After a fix, the second review round is always a full review - #4783

Merged
capy-ai[bot] merged 3 commits into
mainfrom
round-two-is-always-a-full-review
Nov 24, 2026
Merged

capy-ai[bot] merged 3 commits into
mainfrom
round-two-is-always-a-full-review

Conversation

@garrytan

@garrytan garrytan commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

After a blocking fix, /ship's second review round is now always a full review, with every reviewer recorded alongside the pass, instead of a narrower re-check whose reply could go missing.
Why: the narrower re-check ran one reviewer outside the pass record, so a missing reply or a blocker it found never reached the verdict. Part of the /ship simplification Garry approved; nothing for readers to do.

What changed
  • lib/review-depth.ts: where round 2 used to be a scoped pass (a small blocking fix on a diff below full depth), it is now a full pass on the fix range. It keeps every reader the old pass ran: a full-effort Red Team that excludes nothing, the native adversarial again when the fix range has runtime lines, any force-included specialist with its full set of paths, and the second-model reviewer when published numbers changed. The fix-checking reviewer that ran outside the manifest is gone.
  • bin/gstack-review-dispatch and lib/review-pass.ts: on a round 2 that reads only the fix range, a native adversarial or second-model reviewer that hasn't run yet in this /ship run reads the whole PR from the merge base, so its first read covers every change. Once Step 11 has run, it reads the range as before.
  • ship/DRIVER.md, ship/sections/review-army.md, docs/review-policy.md, docs/ship-policy.md and gstack-review-plan's help say round 2 is always a full recorded round. The scoped step stays in the dispatcher for one release so an in-flight run can finish.
Blast radius

/ship's review plan after a round-1 fix, and which commit the first-time second-model and adversarial reviewers read on round 2. Every change adds reading; none removes a reviewer. No command, flag or file format changes.

Tests
  • No-loss replay (test/review-depth-lean.test.ts, recorded as GST-3562-part-3): 5,760 cases across docs, tests, code, risk and mixed changes, three panel settings, light and standard depth, fix ranges of 0 to 150 lines, Step 11 run or not, number changes, targeted classes and forced specialists. 2,304 cases moved from the old narrow pass to a full pass, and every reader the old pass ran is still dispatched with no narrower set of paths (one base difference is in the Review notes). The earlier GST-3562 grid's counts are unchanged.
  • Rewritten for the full round 2: the D6 block in test/review-depth.test.ts, the round-2 cases in test/review-pass.test.ts, test/review-pass-program-steps.test.ts and test/review-plan-cli.test.ts. New: a forced specialist keeps its paths, and first-time Step 11 reviewers read the merge base, then the range once Step 11 has run. With either fix reverted, its new test fails.
  • Focused: 937 pass, 0 fail across 13 files. CI free-tests at this tree: run 45353429635, 39418 tests.
Agent notes

Agent notes

Review

Full panel (gate class), two rounds. Round 1 at 8fdec0c: the batched specialist and red team found three tests outside the diff still expecting the scoped step (CRITICAL, failing). The second-model review (GPT-6.2 Sol) found the same tests, plus first-time Step 11 voices narrowed to the fix range (High) and a forced specialist losing its paths on a docs-only fix (Medium). The native adversarial found 3 Low. All were fixed in 67e0361 except adversarial #3 (the replay-only scoped branches, noted). Round 2 at 67e0361 (specialist and red team on the range): clean, with 2 informational notes below. After review, the docs audit corrected one line in docs/review-policy.md (057d694). finish asked for one scoped reader on that edit (not a round), and it came back clean.

Review notes

  • INFORMATIONAL (round 2, red team) lib/review-pass.ts:158: the merge-base rule for pending voices also applies to the lean mode's single reviewer on a range round, so it reads the whole PR. That's more reading, nothing lost.
  • INFORMATIONAL (round 2, red team) ship/sections/review-army.md:45-49 still says every prompt uses RANGE_BASE from pass 2 on. The rendered briefs carry the right commit; the prose exception goes in the GST-3562 deletion PR.
  • From the cross-family trail read (GPT-6.2 Sol): before Step 11 has run, the old scoped pass let a force-included specialist read the whole PR from the merge base, because only its Red Team took the fix range. The full round 2 that replaces it gets the range from the driver, so that specialist rereads only the fix. Round 1 already read the whole PR with the same checklist, so nothing goes unread, but this round reads less than the old one did. The replay compares readers and paths, not their bases. Below the floor (no test fails, nothing breaks for users); two rounds are spent, so it goes to the Captain.
  • LOW (round 1, native adversarial) The step === 'scoped' branches in lib/review-depth.ts, bin/gstack-review-plan and bin/gstack-review-dispatch are reachable only from the no-loss replay's frozen table; they go with the deletion PR.

Documentation

Status: updated: one factual correction in docs/review-policy.md, no blockers.

Scope: the 23 files changed from c2e6187 to 67e0361 (review planner, dispatcher, pass manifest, /ship driver and review-army templates, review and ship policy docs, changelog fragments, tests and review pins), plus a search of every tracked authored Markdown and template file for leftover references to the retired scoped pass.

Documentation health

File Status
docs/review-policy.md Updated: the dispatch section now says the native adversarial pass and the outside voice keep the merge base before Step 11 has run
docs/ship-policy.md Current
ship/DRIVER.md.tmpl Current
ship/sections/review-army.md.tmpl Current
changelog.d/round-two-is-always-a-full-review.md Current
capy/skill/gstack/SKILL.md Current

Coverage debt: none. The retired scoped pass and the full round 2 that replaces it have reference coverage (the transition table, the review-plan help text), explanation (the scoped-pass anchor) and a behavior-change entry.

Diagram drift: none found.

Validation notes

  • Local full suite not run (this touches no file on the list that needs one locally). CI free-tests ran the full suite green at this tree (run 45353429635).
  • Step 6 evals: covered by CI's pull_request evals workflow, green at 057d694.
  • Rule 15: no-loss replay GST-3562-part-3 recorded and lib/review-depth.ts and ship/sections/review-army.md repinned to it, under Captain GStack Minder's ruling of 2026-11-24.

Approvals

Plan: exempt: bug fix follow-up to #4781 (no plan needed)

{
  "schema_version": 1,
  "pr": 4783,
  "head": "057d69412e14b55ac844c32f3d2528f26f7353ef",
  "version": "1.103.1.0",
  "base": "main",
  "calls": 42,
  "session_kind": "unattended",
  "run": "rship",
  "head_tree": "64807a810602e010c91f9925a603416741035388",
  "product_patch_id": "c8542e9179947d6496d77327d2bd152540a1bb54",
  "gstack_version": "1.103.1.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 132,
    "rules": "33831f8248a814fd",
    "base": "c34b967346f1e0514c2f1eed3836e91a62ac08e3",
    "registry": "c34b967346f1e0514c2f1eed3836e91a62ac08e3",
    "gate_scan": {
      "tagged": 0,
      "head": "057d69412e14b55ac844c32f3d2528f26f7353ef"
    },
    "reasons": [
      "gate-class",
      "runtime=132"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @64807a810602 (8 checks, current for 057d69412e14)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/45353429635/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/45353429844/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=64807a810602 tests=39418 skipped=104 runs=45353429635/1 profiles=ci-reuse/free-tests heads=057d69412e14 base_moved=c34b967346f1 verified=2026-11-24T08:29:37.697Z"
  ],
  "docs": {
    "status": "updated",
    "scope": "README.md and docs/ (bench/README.md listed, absent); updated docs/review-policy.md"
  },
  "review_loop": {
    "passes": 2,
    "blocking_found": 6,
    "deferred": 2,
    "noted": 1,
    "fixed": 9,
    "scope": "frozen",
    "rounds": 2,
    "dispatches": {
      "specialist": 2,
      "red-team": 2
    }
  },
  "gate_dispositions": []
}

garrytan and others added 3 commits November 24, 2026 07:21
… with every reader recorded

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…tep 11 reviewers read the whole PR

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@capy-ai
capy-ai Bot merged commit 7deee42 into main Nov 24, 2026
54 checks passed
@garrytan garrytan mentioned this pull request Nov 24, 2026
capy-ai Bot added a commit that referenced this pull request Nov 24, 2026
- make-pdf no longer lets a NUL character hide an `onerror` handler, a `javascript:` link or a `<script>` tag from its sanitizer. (#4762)
- After a blocking fix, /ship's second review round is always a full review whose every reader is recorded with the pass, instead of a narrower re-check whose result could go missing. (#4783, replacing #4781)
- /ship's instructions now match how it reviews code. (#4779)
- A weekly benchmark record can no longer slip text into the release job's log through its error messages, or lose a model row to an odd model name. (#4782)
- Every stable release plan now prints the weekly benchmark's result, so you can see whether this week's gstack measurably fixes more or fewer bugs than the current stable release. (#4755)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant