Repository navigation
/ship accepts a stopped review once the owner rules its findings open notes (GST-3267) - #4552
Merged
Merged
Conversation
… notes (GST-3267) gstack-review-read now applies the owner's gstack-approvals rule rows to each review row whose range holds the ruling's head, so Step 11.5 binds a final review and native reader that stopped on findings the owner accepted (harness-evals#498). Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
… (GST-3267) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This was referenced Nov 20, 2026
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.
When the final review or the native reader stops on findings and the owner records each one with
gstack-approvals ruleat 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.
What changed
Step 11.5 now accepts a stopped review once the owner has ruled every one of its findings.
Tests
bun test test/ship-finish-ruled-notes.test.ts: all 27 tests passed, none failed (run by the reviewers on this tree).Before/after as text: Step 11.5 now accepts a stopped review once the owner has ruled every one of its findings
An owner could rule every finding of a stopped review as an open note, and /ship still refused to bind that review, because the review reader never looked at the rulings.
gstack-review-readnow applies the owner's rulings to each review row. A ruling counts when the row carries that finding and the ruling's head is inside the row's range (its own commit for a first pass), the same test gate dispositions already use. The row lists the rulings it applied inruled_notes, and Step 11.5 compares a ruled native record at the one tree its stopped pass read. docs/ship-policy.md says Step 11.5 reads rulings too.Why
"The final review stopped, the owner ruled every finding, CI is green, and /ship still says the reviews are unverified" (harness-evals#498). Now a review whose findings the owner has ruled reads current at the tree it reviewed, so /ship can finish, while every unruled finding still keeps the review unverified.
Blast radius
gstack-review-readfeeds Step 11.5, the review dashboard and the review-scope summary;ship-releaseworks out freshness on its own and is unchanged. It is safe because the new path only reads approved rows from the owner's record (gstack's own rows are dropped), skips gate findings, drops anyruled_notesa row carried itself, and falls back to no rulings when the record can't be read (file:line read by four reviewers; test/ship-finish-ruled-notes.test.ts ran with all 27 tests passing).Test Coverage
Tests: 1837 → 1837 (+0 new)
Coverage: 73% value-weighted (73% including 0 weakly covered paths)
Test value: 0 tests written, 0 rejected by the authoring gate, 0 existing tests extended, 0 paths weakly covered (weak = ★, gate-failing or unrated).
Proposed tests for the three gaps (the audit ran read-only, so none were written):
range_baseset, with one ruling insiderange_base..commit(applies) and one before it (does not).gstack-review-read; rows should still print with no rulings applied.Tests ran: free 1718
Pre-Landing Review
No issues found. The batched testing, security and state-machine reviewer and the red-team reviewer found nothing; the native adversarial reviewer raised two low-severity notes below the blocking floor (listed under Review notes); the second-model review (GPT-6.1 Sol) returned CLEAN.
Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
ship/SKILL.md.tmpl:224Step 11.5 wording names ruled_notes where the status lives in review_freshnesslib/gate-dispositions.ts:215a ruling at an earlier pass's stop head also covers the same fingerprint on the next pass whose range starts there (the same inclusive range gate dispositions use)Exploratory QA
Functional smoke on
gstack-review-read, 2 probes inside the 5-minute budget, verdict pass:bin/gstack-review-readon this branch exits 0 and prints its rows and the config, head and tree trailer (checkpoint 001).ruled_notes, with no owner ruling stored, prints with that field removed and reads unverified, so a logged row can't claim a ruling (checkpoint 002).Not probed here: the owner-ruling success path, partial rulings and wrong-scope rulings, which the focused test file covers.
Eval Results
No paid evals ran. The PR eval router in CI (evals.yml run 44697085577) selected no PR slices for this diff;
bun run eval:selectlists the dependent behavior cases as scheduled release coverage, not PR checks.Scope Drift
Scope Check: CLEAN
Intent: let Step 11.5 bind a stopped final review and native reader whose findings the owner ruled (harness-evals#498).
Delivered:
gstack-review-readapplies owner rulings to review rows, Step 11.5 prose and docs/ship-policy.md describe it, with focused tests.Verification Results
No plan verification items (a bug fix with no plan file). Automatic QA above: both probes passed; none failed, was blocked or went unrun.
TODOS
No TODO items completed in this PR.
Documentation
Status: current. The change is already documented, so no doc edits were needed.
Scope: the committed diff from 1bd86d9 to 6cf77df on fix/ruled-notes-bind-step-11-5 (12 files; no staged, unstaged or new files). It covers
gstack-review-readnow applying the owner'sgstack-approvals rulerulings to Step 9 and Step 11 review rows, the newruledOnandrowRangeinlib/gate-dispositions.ts, and the updated binding check in /ship Step 11.5. Docs that mentiongstack-review-readacross docs/ and the skill templates were checked.Coverage debt: the new
ruled_notesfield on review rows has reference and explanation coverage in docs/ship-policy.md only. There is no troubleshooting entry for a ruled review that still reads unverified at Step 11.5. This is a common gap: reference-level coverage only, nothing filled in. Diagram drift: none; the changed modules appear in no diagram.Agent notes
Issue GST-3267. Out of scope: fix-checks closing their own findings, and run liveness markers (GST-3260).
Refs GST-3267
Approvals
No approvals recorded for branch fix/ruled-notes-bind-step-11-5.
Plan: exempt: bug fix (GST-3267); bug fixes skip plan review
Plan check: exempt bug fix
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=2 fixed=0 scope=frozen ledgers_read=2 dispatches=2 est_input_tokens=16041
Gate edits: 6 listed, 4 read, 0 findings — 0 kept, 0 restored, 0 open
🤖 Generated with Claude Code