Repository navigation
Review plan gives a preregistration with only its plain data the write-up review, and stops counting data rows as code (GST-3238) - #4544
Merged
Conversation
…ite-up, and data rows are never runtime lines (GST-3238) A diff of a preregistration's markdown, text and data (a path segment named prereg or preregistration) plans as docs even when code names its data; the gate scan and risk classes still read that data. Scoring, judge, grader, guard and gate edits keep their depth. JSON, JSONL, NDJSON, CSV and TSV lines no longer count as runtime lines (harness-evals#432: 17,773 planned, 147 code). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…check (GST-3238) gstack-diff-scope no longer calls a range of data files alone unmatched (FOUN-505: a one-string .json fix printed SCOPE_ERROR=unmatched, so FIX_RANGE was unread and the plan stopped with no fix to read). An unknown file beside data still fails closed. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ders, and repin the review depth rules on their no-loss replay (GST-3238) A JSON file code names elsewhere can be config a guard reads (harness-evals' scripts/public-safety/allow.json), so its lines keep counting. Repinned lib/review-depth.ts on replay GST-3238: a planner replay over 460 main commits of gstack-evals, harness-evals and gstack, where depth never changes and readers drop only on a preregistration-only diff and a results diff of rows. 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>
|
😎 This pull request was merged. |
…GST-3238) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…GST-3238) The platform skip checked preregistration paths with a narrower pattern than the one that now makes preregistration data docs, so a numbered or plural name such as lanes/x/prereg2.json could plan zero readers. The skip now also refuses any path the preregistration rule matches, with a planner regression. The review-depth pin is recomputed for the changed file and keeps replay GST-3238; the replay was not rerun. Review-Finding: v1/outside-voice#1 reader=outside-voice Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Merged
capy-ai Bot
added a commit
that referenced
this pull request
Nov 20, 2026
- Two /ship approval records stop needing workarounds. (#4549) - For contributors: the paid auto-decide check counts a start step that ran while the skill loaded. (#4543) - The destructive-command check closes three ways past its disk-wipe and force-push blocks. (#4534) - A green CI run still counts when the repository's artifact storage is full. (#4536) - `/cso` now audits repositories that track symlinks. (#4567) - A doc-sync eval stops failing when the audit child drops one field from its result line. (#4555) - The browse daemon no longer picks port 10080, which Chromium refuses to open. (#4554) - Opted-in telemetry now says why a skill run ended, which coding agent and model family ran it, and whether an upgrade worked. (#4542) - A preregistration with only its write-up and plain data now gets the write-up review: one reviewer, one round. (#4544) - When owner rulings don't clear a stopped review, `gstack-review-read` now says which findings are left. (#4553) - The prompt-routing hook now names your installed bug-fix skill on bug reports, alone, and never puts /verify ahead of it. (#4539) - Owner rulings now close a stopped review whose findings were logged in a findings file. (#4568) - /ship can finish after the owner accepts a stopped review's findings as open notes. (#4552) - /ship no longer starts the full test suite on your machine when CI's earlier run can't be reused (GST-3277). (#4565) - The prompt-routing hook no longer acts on words inside backticks. (#4566) - In Claude Code, a gstack skill's start step now runs when the skill loads, so the model can't skip it. (#4509) - gstack's telemetry backend only accepts writes through its own validated endpoint, and the community dashboard now counts real use. (#4537) - gstack now says what it's adding before it adds a background job or a browser extension. (#4538) - For contributors: every flaky pass in Free Tests is now recorded. (#4572) - For contributors: Free Tests on pull requests starts its test shards one round of small jobs sooner. (#4570) - Secret values written as `name=value` at the end of a path are now hidden. (#4571) 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.
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.
What changed
A fix that touches only data files used to read as an unrecognised change and stop the follow-up review; now it is recognised and exits 0.
People writing an eval plan saw a preregistration that only holds its write-up and its data get the full four-reader review, because a test reads one of its data files. Now:
preregorpreregistration(gstack-evals'wiki/plans/<id>-prereg/, harness-evals'prereg-harbor.json,lanes/<x>/prereg.md) counts as docs even when code reads it, so a preregistration-only diff is docs class at light depth. The gate scan and the risk classes still read that data (a tagged hunk, a missing scan or a secret makes it full). A scorer, judge, grader or rubric beside it keeps the eval risk class (full), and a gate path keeps gate class (full). Documented in docs/review-policy.md#preregistrations.gstack-diff-scopeprintedSCOPE_ERROR=unmatchedfor a range of data files alone, so the review plan stopped with "no fix to read" even with an approved follow-up review and a committed fix. A data file is now recognised (no category, never unmatched); an unknown file beside it still fails closed.prereg2.json, apreregs/folder), not only the plainpreregname. Found in review; see Pre-Landing Review.Why
Review depth should follow risk. A preregistration with no scoring or guard code is a write-up and gets one reviewer and one round, and results tables are data, not code. A results PR (harness-evals#432) planned 17,773 runtime lines, of which 147 were code.
Blast radius
Only the review plan's depth and reader choice change, in
lib/review-depth.tsandbin/gstack-diff-scope. CI, the gate scan, secret and risk checks are unchanged. A planner replay over 460 real main commits (gstack-evals 200, harness-evals 60, gstack 200) kept the same depth on all 460; class, risk and readers changed on 2, and 34 others only lost data-row runtime lines. The replay predates the platform-skip fix and was not rerun; that fix only adds a catch, so it can only add readers.Pre-Landing Review
One blocker was found and fixed: with platform review on, a numbered or plural preregistration name (
lanes/x/prereg2.json) could take the platform skip with zero readers, because the skip checked a narrower path pattern than the new rule. Fixed in 984066c with a planner regression that fails without it. The second-model review (GPT-6.1 Sol) found it; the pass on the fix range was clean.Below-floor notes, not fixed (none would fail a test, break production or lose data or secrets):
preregsegment anywhere, not only under plans or results folders (lib/review-depth.ts:75).lib/review-depth.ts:73).SCOPE_ERRORfor other callers (bin/gstack-diff-scope:475).src/reports/stops counting runtime lines (lib/review-depth.ts:268).Exploratory QA
Functional CLI smoke, 3 probes, rerun at 984066c after the fix: a data-only range exits 0 with every flag false; data beside an unknown file still exits 2 with
SCOPE_ERROR=unmatchednaming only the unknown file; a preregistration folder with only markdown and data plans docs at light depth. All pass. Limit: the consumed-preregistration branch and the platform skip are covered by tests, not probes.Documentation
Status: current. The docs already match this change, so nothing was edited.
Scope: 6 commits (ab6a38b..984066c), 10 committed files, with nothing staged, unstaged or new. I checked docs/review-policy.md against lib/review-depth.ts, lib/review-risk.ts and bin/gstack-diff-scope, and searched docs/ship-policy.md, docs/captain.md, docs/TESTING_INTERNALS.md, AGENTS.md, CLAUDE.md and CONTRIBUTING.md for stale preregistration or scope text.
Documentation health
Coverage debt: the exit-0 behaviour of gstack-diff-scope for a data-only range is described only in script comments and the changelog fragment, with no reference doc entry (a common gap).
Diagram drift: none.
Tests
bun test test/review-depth.test.ts test/review-depth-lean.test.ts test/diff-scope.test.ts test/round-cap-granted-stop.test.ts: 381 tests pass, 0 fail at 984066c.bun run typecheckandbun run typecheck:test: clean, no new diagnostics.Agent notes
Agent notes
GST-3238 (R114), thread GSTA-663 under GStack Minder (GSTA-36). FOUN-505's case is the fix-check after a granted stop. Replay TSVs: GStack Minder drive handoffs/GSTA-663/r114-planner-noloss/.
Refs v1/outside-voice#1
REVIEW_LOOP: passes=2 blocking_found=1 deferred=0 noted=5 fixed=1 scope=frozen ledgers_read=4 dispatches=8
Gate edits: none detected (9 listed, 4 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Outside review: completed (openai/gpt-6.1-sol via host subagent), 1 blocker, fixed in 984066c.
Readers: pass 1 specialist-batched and red-team (Opus 5.5); Step 11 adversarial-native (Opus 5.5) and outside-voice (GPT-6.1 Sol); pass 2 specialist-batched and red-team (Opus 5.5) on the fix range; docs audit (Opus 5.5, low). Targeted: none.
Captain GStack Minder (GSTA-36), 2026-11-19: A. That's what R114 asks for, and the only blocker came from the reader we keep. Record the 8 dropped below-floor fixes in the READY report as the known cost.
The review-depth pin was recomputed for the platform-skip fix (82f87a1d) and keeps replay GST-3238; the replay was not rerun.
Approvals
No approvals recorded for branch review-plan-preregistrations-are-write-ups.
Plan: exempt: bug fix and Garry's R114 rule change, no new functionality
Plan check: exempt bug fix