Repository navigation
A granted follow-up check that confirmed its blockers fixed now counts once the rest are ruled (GST-3501) - #4691
Merged
capy-ai[bot] merged 3 commits intoNov 22, 2026
Conversation
… the rest are ruled (GST-3501) holdsOpen kept a blocking finding open whatever its action, so a fix-check row that listed the blockers it confirmed fixed could never be cleared by rulings, and a fixed finding cannot be ruled (gbrain#10036). A blocking finding recorded as fixed no longer holds the row open. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
Review-Finding: p1/specialist-batched#1 reader=red-team Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…policy docs (GST-3501) 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's finish now accepts a granted follow-up check that confirmed its blocking findings fixed (or auto-fixed), once the findings left over have been ruled.
Why: gbrain#10036 stalled at the review limit with every finding either fixed or ruled, because finish kept printing "FIX_CHECK: not counted".
Nothing to do. A stuck PR reruns finish at the same head after upgrading gstack; no new review round is needed.
What changed
The new test fails on main and passes on this branch. A ruled follow-up check with fixed or auto-fixed blockers now reads CURRENT.
Before/after as text: The new test fails on main and passes on this branch: a ruled follow-up check with fixed or auto-fixed blockers now reads CURRENT
A PR whose follow-up check fixed its blockers and whose owner ruled the rest still could not finish, because finish said the check had unresolved findings. Owner rulings can clear a follow-up check's row, but the rule for what a ruling must cover counted every finding the reviewer had marked blocking, whatever its action, including the fixed ones. A fixed finding can't be ruled, so the row never cleared. Now
holdsOpeninlib/review-evidence.tsskips a blocking finding recordedfixedorauto-fixed, the two actions the rest of the code already treats as resolved. Blocking findings that are open, deferred, noted or skipped still need a ruling. The policy docs (docs/ship-policy.md,docs/troubleshooting.md) now say the same.Why
"FIX_CHECK: not counted (review has unresolved findings or did not finish clean)" kept printing on gbrain#10036 after every finding was fixed or ruled, so the PR sat at the review limit with nothing left to do. A row with no rulings already reads a fixed finding as resolved; rows with rulings now agree.
Blast radius
holdsOpenhas three callers:withoutRuledNotesandrulingGapinlib/review-evidence.ts, and the rulable list inlib/ship-release.ts:360, which checksRULABLEfirst and so is unchanged (file:line read). Gate findings are unaffected becausestampGateFindingsnever leaves a gate findingfixed; the 154 focused tests and the full CI run pass.Pre-Landing Review
One finding, below the blocking floor: the first version exempted only
fixed, butauto-fixeddeadlocked the same way (reproduced with a probe). Fixed in f2b1a70, and the follow-up check of that fix found nothing.Exploratory QA
Functional smoke on
holdsOpenandreviewFreshness: the success path passed; theauto-fixededge failed before the fix and passed after. Verdict: pass.Tests
bun teston the new test plus 7 neighbouring files (review-loop-binding, review-log-findings, review-fix-range, ship-finish-ruled-notes, ship-gate-dispositions, review-plan-cli, pr-round-cli): 154 pass, 0 failAgent notes
Agent notes
FIX_CHECK: not countedwith all four findings ruled, becausewithoutRuledNotesreturned the row unchanged whileholdsOpenheld the two fixed blockers. That's a reading of the code; finish wasn't rerun on GBRA-732's machine.Documentation
Status: updated. Two policy docs corrected to match the new fix-check ruling rule.
Scope: base 9cfbbb9 to f2b1a70 plus staged/unstaged changelog.d fragment:
lib/review-evidence.ts(holdsOpenexempts blockers recorded fixed/auto-fixed), new testtest/review-fixed-finding-ruled-row.test.ts, changelog fragment. Docs on fix-check rulings searched across docs/.Documentation health
docs/ship-policy.md: Updated. Fix-check binding and Step 11 native-row rulings no longer require rulings for blockers recordedfixedorauto-fixed.docs/troubleshooting.md: Updated.FIX_CHECK_OPENmeaning notes fixed/auto-fixed blockers never hold the row open.docs/review-policy.md: Current.changelog.d/fixed-findings-no-longer-block-the-follow-up-check.md: Current (parent-owned).Coverage debt: none; internal rule change with reference coverage in ship-policy and troubleshooting. Diagram drift: none.
Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
lib/review-evidence.ts:347A non-gate blocking finding with action kept or restored still holds a ruled row open; RULABLE excludes both, so a ruling cannot clear it (same class as fixed). Reachability for non-gate findings unknown; the PR makes nothing worse. Severity: Low. Blocks: no.lib/review-evidence.ts:347The exemption trusts a reader's fixed claim on a stopped fix-check row whose tree did not change; a later edit makes the row STALE and the same trust already applies to rows whose findings are all fixed. Severity: Low. Blocks: no.Approvals
No approvals recorded for branch fixed-findings-no-longer-block-the-follow-up-check.
Plan: exempt: bug fix (failing-first test, GST-3501)
Plan check: exempt bug fix