diff --git a/changelog.d/scoped-review-runs-its-fix-reader.md b/changelog.d/scoped-review-runs-its-fix-reader.md new file mode 100644 index 000000000..edd5b7248 --- /dev/null +++ b/changelog.d/scoped-review-runs-its-fix-reader.md @@ -0,0 +1 @@ +**A small second review round checks the fix again.** When /ship's second round is a short pass over a small fix, its instructions once more tell the agent to run the reviewer that checks that fix; the last release's wording had dropped that step. diff --git a/ship/DRIVER.md b/ship/DRIVER.md index b13dba283..a5c842007 100644 --- a/ship/DRIVER.md +++ b/ship/DRIVER.md @@ -83,7 +83,7 @@ On `plan=none` Steps 8.1, 8.2 and 9.2.1 are skipped (L). The core checklist, Ste 9.3, 9.4 and the repeat decision as written (`JUDGMENT: ok` before any fix), fixes and persistence in one program. Prints `Pre-Landing Review:`, `Gate edits:`. `NEXT: stop` stops; `full` or `scoped`: one program runs the failing test, fix, `--tests-only` and Phase 3, each gated (`diffBase` RANGE_BASE on a `full` round 2 only, never -on a scoped pass or the `READ_ONLY:` final review, which reads the whole PR and takes no fix); `fix-check` (only a pre-GST-3562 grant's, deprecated): the pass with `fixCheck: {fix_list, hunks, tests, callers}`; `done` or `voices`: that program runs Step 11 from +on a scoped pass or the `READ_ONLY:` final review, which reads the whole PR and takes no fix), and `scoped` also runs its `FIX_CHECK:` reader; `fix-check` (only a pre-GST-3562 grant's, deprecated): the pass with `fixCheck: {fix_list, hunks, tests, callers}`; `done` or `voices`: that program runs Step 11 from `sections/adversarial.md` as written (above), only the voices the last full-pass plan lists (none: `ADVERSARIAL: skipped (review plan)`). diff --git a/ship/DRIVER.md.tmpl b/ship/DRIVER.md.tmpl index 2cb4423b3..a6896d606 100644 --- a/ship/DRIVER.md.tmpl +++ b/ship/DRIVER.md.tmpl @@ -81,7 +81,7 @@ On `plan=none` Steps 8.1, 8.2 and 9.2.1 are skipped (L). The core checklist, Ste 9.3, 9.4 and the repeat decision as written (`JUDGMENT: ok` before any fix), fixes and persistence in one program. Prints `Pre-Landing Review:`, `Gate edits:`. `NEXT: stop` stops; `full` or `scoped`: one program runs the failing test, fix, `--tests-only` and Phase 3, each gated (`diffBase` RANGE_BASE on a `full` round 2 only, never -on a scoped pass or the `READ_ONLY:` final review, which reads the whole PR and takes no fix); `fix-check` (only a pre-GST-3562 grant's, deprecated): the pass with `fixCheck: {fix_list, hunks, tests, callers}`; `done` or `voices`: that program runs Step 11 from +on a scoped pass or the `READ_ONLY:` final review, which reads the whole PR and takes no fix), and `scoped` also runs its `FIX_CHECK:` reader; `fix-check` (only a pre-GST-3562 grant's, deprecated): the pass with `fixCheck: {fix_list, hunks, tests, callers}`; `done` or `voices`: that program runs Step 11 from `sections/adversarial.md` as written (above), only the voices the last full-pass plan lists (none: `ADVERSARIAL: skipped (review plan)`). diff --git a/ship/sections/review-army.md b/ship/sections/review-army.md index f852e53b1..f9cc70928 100644 --- a/ship/sections/review-army.md +++ b/ship/sections/review-army.md @@ -25,7 +25,7 @@ before the first dispatch (`GRANT_SPENT` stops the run), then follow the plan's class the plan's `REVIEW_DEPTH:` misses (spend it reserves or binds: `money`), and give Step 16's receipt write the same flag; a repeat uses the plan run that picked it. A `scoped` repeat is a full pass on the range: its `fix-check` dispatch is one full-effort reviewer on the -`gstack-review-plan --fix-check-prompt` prompt with `git diff $RANGE_BASE` as the hunks, inside this pass, never a step of its own. +`gstack-review-plan --fix-check-prompt` prompt with `git diff $RANGE_BASE` as the hunks; the pass's manifest leaves it out (`FIX_CHECK: planned`), so run it yourself beside the pass. Save its `REVIEW_PLAN:` line and fingerprint, `REVIEW_DEPTH:` (depth, `runtime_lines`, `rules`) and `GATE_SCAN:`. Dispatch exactly its `DISPATCH:` lines (specialists, Red Team, Step 11's voices), each at its `effort=` on the same model diff --git a/ship/sections/review-army.md.tmpl b/ship/sections/review-army.md.tmpl index 3dc5a032b..1e2831152 100644 --- a/ship/sections/review-army.md.tmpl +++ b/ship/sections/review-army.md.tmpl @@ -23,7 +23,7 @@ before the first dispatch (`GRANT_SPENT` stops the run), then follow the plan's class the plan's `REVIEW_DEPTH:` misses (spend it reserves or binds: `money`), and give Step 16's receipt write the same flag; a repeat uses the plan run that picked it. A `scoped` repeat is a full pass on the range: its `fix-check` dispatch is one full-effort reviewer on the -`gstack-review-plan --fix-check-prompt` prompt with `git diff $RANGE_BASE` as the hunks, inside this pass, never a step of its own. +`gstack-review-plan --fix-check-prompt` prompt with `git diff $RANGE_BASE` as the hunks; the pass's manifest leaves it out (`FIX_CHECK: planned`), so run it yourself beside the pass. Save its `REVIEW_PLAN:` line and fingerprint, `REVIEW_DEPTH:` (depth, `runtime_lines`, `rules`) and `GATE_SCAN:`. Dispatch exactly its `DISPATCH:` lines (specialists, Red Team, Step 11's voices), each at its `effort=` on the same model diff --git a/test/fixtures/review-pins/files/ship/sections/review-army.md.json b/test/fixtures/review-pins/files/ship/sections/review-army.md.json index d462d6b12..499c26f46 100644 --- a/test/fixtures/review-pins/files/ship/sections/review-army.md.json +++ b/test/fixtures/review-pins/files/ship/sections/review-army.md.json @@ -1 +1 @@ -{"sha":"fc0bcf40ab6b935550a3293fda04890a6f9ec9cbb63b5d901325b7d4233127c4","replay":"GST-3562-part-2"} +{"sha":"bcb16b5626ab4227c31224103ff77fe0ac7a57d9049701b5dbc4c8727038857f","replay":"GST-3562-part-2b"} diff --git a/test/fixtures/review-pins/replays/GST-3562-part-2b.json b/test/fixtures/review-pins/replays/GST-3562-part-2b.json new file mode 100644 index 000000000..5f3e54da4 --- /dev/null +++ b/test/fixtures/review-pins/replays/GST-3562-part-2b.json @@ -0,0 +1 @@ +{"replay":"GST-3562-part-2b","justification":"GST-3562 part 2 follow-up (Captain GStack Minder's choice A on #4779, 2026-11-24; same CREW rule 15 ruling a-6ec01c09edf8). Deterministic no-loss replay, no paid run. ship/sections/review-army.md: one workflow-prose line. A scoped repeat's fix-check reader is left out of the staged manifest by bin/gstack-review-dispatch (FIX_CHECK: planned), and #4779's text said it ran inside the pass; the line now tells the runner to dispatch it beside the pass, as the dispatcher expects. This restores a reader and drops none. Every reviewer brief cut from the section renders byte-identical to its pinned body (brief-bodies pins unchanged)."} diff --git a/test/size-ledger/ship/scoped-review-runs-its-fix-reader.json b/test/size-ledger/ship/scoped-review-runs-its-fix-reader.json new file mode 100644 index 000000000..8a8d8279e --- /dev/null +++ b/test/size-ledger/ship/scoped-review-runs-its-fix-reader.json @@ -0,0 +1,4 @@ +{ + "bytes": 51, + "why": "a scoped round 2 runs its fix-verifying reader beside the pass (Step 3.5 follow-up to #4779)" +}