Repository navigation
fix(admission): read a VERDICT first line as a disposition carrier (#8157) - #14740
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 44 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Head 673d6f9
Scope and proof for this head are in the linked conversation review record.
|
Review record (owning-session review): the change is additive and explicit - a column-zero first-line VERDICT: APPROVE with the exact head SHA (including the observed em-dash tail form) becomes a positive carrier, VERDICT: BLOCK/BLOCKED becomes negative, all other VERDICT prose stays neutral, and the existing plain-marker carrier and its screening are unchanged. Regression coverage includes the 13-case sequence test through the real CLI, verbatim live-body fixtures from PR #14652, re-pinned corpus counts, and a live negative control: the isolated marker+VERDICT pair on #13898 refuses under the base verifier and admits under this change. The broader STATE_LINE negation-screening redesign is declared residual in the body, not silently included. Final judgment follows the hosted Result on this head. |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
… of verdict carriers (#8157)
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Head 17d7ab1
Scope and proof for this head are in the linked conversation review record.
|
Final integration judgment on head 17d7ab1 (conditional-tail and carrier-veto repairs on 673d6f9): REVIEW_READY. Hosted Ripr Rust Small Result SUCCESS on this head, both Devin threads repaired and resolved with regression cases, no unresolved material findings. Enqueuing in the native merge queue; landing is conditional on the queue merge-group qualification. |
|
Lens note at 17d7ab1 (read-only; not a review, and it does not touch the source marker). I ran this head's Live instance of the bug this fixes. #14725 at
So #14725 cannot pass source admission as it stands, and this PR is the fix. Shapes checked at 17d7ab1, all as intended. The observed marker-then-verdict body still attests. A verdict-then-marker body now attests (the 673d6f9 head vetoed it). Two non-blocking observations.
Not checked: I did not run |
|
Factual review-provenance checkpoint at The available review record explicitly identifies an owning-session review (comment 6885925646). The successor readiness review at 00:33:14Z points to a conversation review record without identifying an independent reviewing session. The useful adversarial-parser lens note 6887190664 explicitly says it is not a review. No independently identifiable exact-head review receipt was found in the available PR record. Independence is therefore unverified by this reconciliation, not disproven; the shared GitHub login alone establishes neither outcome. An attributable retained reviewer-session receipt bound to this head would close that evidence gap without duplicating tests or replacing existing ownership. This is an evidence-status comment, not a source-review attestation, new implementation finding, clearance, or instruction to another agent. No queue, label, review-disposition or CI changes made. |
|
Independent check of the #14733 displacement against this head, using the real review sequence rather than a synthetic fixture. I loaded
Not checked: no workflow run, no merge-group admission, no hosted qualification. This is the verifier's own logic evaluated on real review bodies, not a CI result. Wrote: this comment; temp copies of the two script versions and the review JSON under |
Rebased onto #14740's verdict carrier (17d7ab1). This commit carries only the two mechanisms #14740 does not: - `reviews_allow_source_attestation` selects the latest *stated* review per login, not the latest review, so a neutral, empty or prose follow-up no longer erases that login's marker; a later stated review still supersedes it. - A mis-formatted positive marker (`REVIEW_READY <sha>`, `REVIEW_READY - <sha>`, `REVIEW_READY head <sha>`) is neutral: it attests nothing and cannot veto another login's marker or the description carrier. A contradicting tail (`REVIEW_READY: no`, `pending the fix`) still refuses. The verdict carrier, `VERDICT_APPROVE` and `verdict_tail_allowed` are dropped; #14740 owns that grammar. Self-test and the admission suite cover the same-login matrix and the neutral tail.
Rebased onto #14740's verdict carrier (17d7ab1). This commit carries only the two mechanisms #14740 does not: - `reviews_allow_source_attestation` selects the latest *stated* review per login, not the latest review, so a neutral, empty or prose follow-up no longer erases that login's marker; a later stated review still supersedes it. - A mis-formatted positive marker (`REVIEW_READY <sha>`, `REVIEW_READY - <sha>`, `REVIEW_READY head <sha>`) is neutral: it attests nothing and cannot veto another login's marker or the description carrier. A contradicting tail (`REVIEW_READY: no`, `pending the fix`) still refuses. A plain-English blocker ("do not merge", "The build is red.") has no state line and no verdict field, so it is neither ready nor negative; it is now a stated review for selection purposes, so it supersedes that login's earlier marker instead of falling back to it. It never attests and never vetoes another login. The verdict carrier, `VERDICT_APPROVE` and `verdict_tail_allowed` are dropped; #14740 owns that grammar. Self-test and the admission suite cover the same-login matrix, the neutral tail and the blocker-prose supersession.
Rebased onto #14740's verdict carrier (17d7ab1). This commit carries only the two mechanisms #14740 does not: - `reviews_allow_source_attestation` selects the latest *stated* review per login, not the latest review, so a neutral, empty or prose follow-up no longer erases that login's marker; a later stated review still supersedes it. - A mis-formatted positive marker (`REVIEW_READY <sha>`, `REVIEW_READY - <sha>`, `REVIEW_READY head <sha>`) is neutral: it attests nothing and cannot veto another login's marker or the description carrier. A contradicting tail (`REVIEW_READY: no`, `pending the fix`) still refuses. A neutral body that blocks or defers supersedes that login's earlier marker instead of falling back to it: a plain-English blocker ("do not merge", "The build is red.") and a hedged approve ("VERDICT: APPROVE <sha> — pending the fix", "— after the rebase", "— once CI passes", "— if the shards pass"). It never attests and never vetoes another login, so a benign-tailed carrier still wins. The verdict carrier, `VERDICT_APPROVE` and `verdict_tail_allowed` are dropped; #14740 owns that grammar. Self-test and the admission suite cover the same-login matrix, the neutral tail, the blocker and hedge supersession, and the benign carrier.
EffortlessSteven
left a comment
There was a problem hiding this comment.
VERDICT: APPROVE 17d7ab1 — no blocking findings on this head.
Reviewed the exact head, the module at 17d7ab15, the two new fixtures and the Rust sequence test. python review_disposition.py --self-test passes. I probed the new predicates directly: the observed #14652/#13898 lines parse as intended — the 40-hex APPROVE carrier attests, the em-dash BLOCK/BLOCKED carrier refuses, in either order with a same-login marker; wrong-head, untrusted, abbreviated and non-carrier forms stay neutral or refuse. The fixture counts (13 ready / 8 refuse) match the 21 files.
Non-blocking:
- The APPROVE tail screen is best-effort:
— not safe to mergeand— one finding remains openstill attest, although the docstring says a tail with blocker text attests nothing. The canonical "no blocking findings on this head" tail is safe. - A BLOCK carrier with a space-separated reason (no comma/dash before it) is neutral rather than negative. The canonical and observed em-dash forms are covered, so this stays inside the PR's "non-exact forms stay neutral" boundary; a later
| Verdict | BLOCK |row is likewise unscreened (the acknowledged broader STATE_LINE residual). docs/CI.mdsays "VERDICT: BLOCK... on that first line is a negative statement", which reads broader than the exact grammar; naming the separator would keep the doc and code aligned.
Hosted checks pass on this head (Admit PR Candidate, Rust Small and all four test shards). No unresolved threads. Static review only: I did not run cargo locally.
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Rebased onto #14740's verdict carrier (17d7ab1). This commit carries only the two mechanisms #14740 does not: - `reviews_allow_source_attestation` selects the latest *stated* review per login, not the latest review, so a neutral, empty or prose follow-up no longer erases that login's marker; a later stated review still supersedes it. - A mis-formatted positive marker (`REVIEW_READY <sha>`, `REVIEW_READY - <sha>`, `REVIEW_READY head <sha>`) is neutral: it attests nothing and cannot veto another login's marker or the description carrier. A contradicting tail (`REVIEW_READY: no`, `pending the fix`) still refuses. A neutral body that blocks or defers supersedes that login's earlier marker instead of falling back to it: a plain-English blocker ("do not merge", "The build is red.") and a hedged approve ("VERDICT: APPROVE <sha> — pending the fix", "— after the rebase", "— once CI passes", "— if the shards pass"). A mis-formatted marker followed by a plain-English blocker stays a stated negative, as main already reads it; only a body with no blocker is chatter. A benign-tailed carrier still wins. The verdict carrier, `VERDICT_APPROVE` and `verdict_tail_allowed` are dropped; #14740 owns that grammar. Self-test and the admission suite cover the same-login matrix, the neutral tail, the blocker and hedge supersession, and the benign carrier.
Rebased onto #14740's verdict carrier (17d7ab1). This commit carries only the two mechanisms #14740 does not: - `reviews_allow_source_attestation` selects the latest *stated* review per login, not the latest review, so a neutral, empty or prose follow-up no longer erases that login's marker; a later stated review still supersedes it. - A mis-formatted positive marker (`REVIEW_READY <sha>`, `REVIEW_READY - <sha>`, `REVIEW_READY head <sha>`) is neutral: it attests nothing and cannot veto another login's marker or the description carrier. A contradicting tail (`REVIEW_READY: no`, `pending the fix`) still refuses. A neutral body that blocks or defers supersedes that login's earlier marker instead of falling back to it: a plain-English blocker ("do not merge", "The build is red.") and a hedged approve ("VERDICT: APPROVE <sha> — pending the fix", "— after the rebase", "— once CI passes", "— if the shards pass"). A mis-formatted marker followed by a plain-English blocker stays a stated negative, as main already reads it; only a body with no blocker is chatter. A later native withdrawal (CHANGES_REQUESTED or DISMISSED) from the same login also supersedes its marker. A benign-tailed carrier still wins. The verdict carrier, `VERDICT_APPROVE` and `verdict_tail_allowed` are dropped; #14740 owns that grammar. Self-test and the admission suite cover the same-login matrix, the neutral tail, the blocker and hedge supersession, the native withdrawal and the benign carrier.
) Rebased onto #14740's verdict carrier (17d7ab1). This commit carries only the two mechanisms #14740 does not: - A later same-login trusted COMMENTED body at the head supersedes that login's earlier statement by default. Only a small enumerated chatter allowlist ("Thanks, will look.", "No code change needed.", "Exact-head review (head <sha>)", and an empty body) preserves the earlier statement. Unknown prose revokes the marker, so an objection outside the blocker vocabulary still refuses; the failure direction is over-refusal. - A login whose latest statement is a blocker (`comment_body_negative` or `comment_body_blocks`) vetoes, whatever another login posts later. A hedge supersedes without vetoing. A mis-formatted positive marker (`REVIEW_READY <sha>`, `REVIEW_READY - <sha>`, `REVIEW_READY head <sha>`) is neutral: it attests nothing and cannot veto another login's marker or the description carrier. A mis-formatted marker followed by a plain-English blocker stays a stated negative, as main reads it. A later native withdrawal (CHANGES_REQUESTED or DISMISSED) from the same login supersedes its marker. The verdict carrier, `VERDICT_APPROVE` and `verdict_tail_allowed` are dropped; #14740 owns that grammar. Self-test and the admission suite cover the same-login matrix, the chatter allowlist, the objection class, the per-login veto, the native withdrawal and the benign carrier.
) Rebased onto #14740's verdict carrier (17d7ab1). This commit carries only the two mechanisms #14740 does not: - A later same-login trusted COMMENTED body at the head supersedes that login's earlier statement by default. Only a small enumerated chatter allowlist ("Thanks, will look.", "No code change needed.", "Exact-head review (head <sha>)", and an empty body) preserves the earlier statement. Unknown prose revokes the marker, so an objection outside the blocker vocabulary still refuses; the failure direction is over-refusal. - A login vetoes if it has a negative statement at the head that no later positive statement from that same login clears. A blocker never clears a negative; a blocker alone, with no prior negative, does not veto. A later native withdrawal (CHANGES_REQUESTED or DISMISSED) also supersedes. A mis-formatted positive marker (`REVIEW_READY <sha>`, `REVIEW_READY - <sha>`, `REVIEW_READY head <sha>`) is neutral: it attests nothing and cannot veto another login's marker or the description carrier. A mis-formatted marker followed by a plain-English blocker stays a stated negative, as main reads it. The verdict carrier, `VERDICT_APPROVE` and `verdict_tail_allowed` are dropped; #14740 owns that grammar. Self-test and the admission suite cover the same-login matrix, the chatter allowlist, the objection class, the per-login veto, the native withdrawal and the benign carrier.
) Rebased onto #14740's verdict carrier (17d7ab1). This commit carries only the two mechanisms #14740 does not: - A later same-login trusted COMMENTED body at the head supersedes that login's earlier statement by default. Only a small enumerated chatter allowlist ("Thanks, will look.", "No code change needed.", "Exact-head review (head <sha>)", and an empty body) preserves the earlier statement. Unknown prose revokes the marker, so an objection outside the blocker vocabulary still refuses; the failure direction is over-refusal. - A login vetoes if it has a negative statement at the head that no later positive statement from that same login clears. A blocker never clears a negative; a blocker alone, with no prior negative, does not veto. A later native withdrawal (CHANGES_REQUESTED or DISMISSED) also supersedes. A mis-formatted positive marker (`REVIEW_READY <sha>`, `REVIEW_READY - <sha>`, `REVIEW_READY head <sha>`) is neutral: it attests nothing and cannot veto another login's marker or the description carrier. A mis-formatted marker followed by a plain-English blocker stays a stated negative, as main reads it. The verdict carrier, `VERDICT_APPROVE` and `verdict_tail_allowed` are dropped; #14740 owns that grammar. Self-test and the admission suite cover the same-login matrix, the chatter allowlist, the objection class, the per-login veto, the native withdrawal and the benign carrier.
Summary
VERDICT: APPROVE <full 40-hex SHA equal to that review's head>as a positive source-review carrier in the admission verifier, andVERDICT: BLOCK/VERDICT: BLOCKED <sha>as a negative statement, so a standalone automated VERDICT review no longer supersedes an earlier plainSOURCE_REVIEW_READYmarker from the same login as neutral chatter (observed 3x on perf(xtask): scope check-fast Clippy to impacted packages (#14644) #14652 and once on test(agent): pin whole-journey byte budget (#13673) #13898, each wasting a full green qualification). Every otherVERDICT:prose stays neutral.Swarm / Source Boundary
Source-of-truth Links
Proposal: none; bounded fail-closed repair
Spec:
docs/CI.mdsource-review attestation rules (one paragraph added for the verdict carrier shape)ADR: none
Plan item: #11566 (queue reliability)
Governing issue or accepted claim: #8157
Acceptance delta (one sentence): A standalone
VERDICT: APPROVE <head>review now attests and a standaloneVERDICT: BLOCK <sha>review refuses through the real admission CLI, in either order relative to a plain readiness marker from the same login.Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): fix/8157-verdict-carrier
Stack parent or prerequisite PR (if any): none. Equivalence check before implementing: all-state searches for
8157,review_disposition,VERDICT carrier,explicit-review-resolutionandfix/8157*found no equivalent carrier in flight — #14653 (labelled state-field values refuse) and #14674 (closed verdict grammar after a marker; an APPROVE field is explicitly not a carrier there) keep the plain marker mandatory, and #14605 stages a default-off explicit-resolution mode. This PR composes with them and touches different lines.Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): not applicable
Accepted winner and losing candidate disposition (when decided): not applicable
Scope
.github/actions/pr-candidate-admission/review_disposition.py: exact first-line VERDICT carrier parsing, admission integration, refusal-message text, and self-test sequences.tools/repo-policy/tests/fixtures/review_bodies/ready-verdict-approve-pr14652.md,refuse-verdict-block-pr14652.md: full-body carrier fixtures; ready/refused counts move 12/7 to 13/8.tools/repo-policy/tests/review_disposition_admission.rs: real-CLI sequence test (marker/verdict in both orders, standalone, cross-reviewer, wrong-head, untrusted, abbreviated controls).docs/CI.md: one paragraph for the verdict carrier shape.changelog.d/8157-verdict-carrier.md.Scope Classification
Production delta:
Evidence/support delta:
Single acceptance criterion:
[SOURCE_REVIEW_READY@t1, VERDICT: APPROVE <head>@t2]and the reverse order admit through the real CLI,[.., VERDICT: BLOCK @t2]refuses, and wrong-head or untrusted-association verdicts refuse.Non-goals:
Support-tier Impact
Policy Impact
Ledger or exception notes:
Proof
python -I .github/actions/pr-candidate-admission/review_disposition.py --self-test cargo test -p repo-policy --test review_disposition_admission python -I .github/actions/pr-candidate-admission/review_disposition.py --repository EffortlessMetrics/ripr-swarm --pr 13898 --head 0a0499776e6d0f72bd65880b849b794c60157777 cargo xtask check-pr-shape --body-file pr-body-8157.mdResult, failures, or skipped proof:
python -I .github/actions/pr-candidate-admission/review_disposition.py --self-test— pass (exit 0).5907172573(SOURCE_REVIEW_READY) and5907231583(VERDICT: APPROVE 0a049977… — no blocking findings on this head.) extracted alone admit with this change (exit 0) and refuse on the base verifier (exit 1, negative control). The full live--repository/--pr 13898read also exits 0; it has since gained later plain markers, so the isolated pair is the carrier evidence.cargo test -p repo-policy --test review_disposition_admission— 11 passed, 0 failed (467s on this Windows host; every case spawns the real CLI).cargo fmt --check,git diff --check— clean.cargo xtask check-pr-shape --body-file pr-body-8157.md— pass (exit 0).Claim Boundary
Rollback
Revert this PR.
Spec-Test-Code Traceability
docs/CI.mdsource-review attestation contract, fix(ci-admission): reject negated, quoted and superseded review-ready text #8157tools/repo-policy/tests/review_disposition_admission.rs, module--self-test, full-body fixtures undertools/repo-policy/tests/fixtures/review_bodies.github/actions/pr-candidate-admission/review_disposition.pyStatic Language Check
killed,survived,untested,proven, andadequate.CI Economics
Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code.panic,unwrap,expect,todo, orunimplementedin tests.Residuals
merge-readyrequest, no hosted qualification requested by this worker.Gates