Repository navigation
Credit an exact pin of the variant a changed error arm removed - #12120
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AoapkiftDmzBaXiATmb2KP
|
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 25 minutes. View limit details
|
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the negative fixture's input selects the explicit "" arm, not the changed fallback arm, so it cannot prove that a sibling-arm pin is excluded.
- Confirm positive and negative fixtures cover the key boundary: a removed-variant pin selecting the changed arm is credited, while the same pin through another arm is not.
- Confirm error_path_arm_probe reconstructs an arm by substring replacement and only checks that the expression occurs once in one source line.
Parked follow-ups
- No changed crypto, compression, runtime, or sibling helper entry points are present; changes are limited to classification logic, docs, and fixtures.
Evidence gaps
- Late cargo-test evidence is still absent, leaving compilation and fixture behavior unconfirmed by this lane despite the PR body's claimed precommit and goldens checks.
- Model proof intent was rejected by deterministic validation.
- Fixture and unit-test receipts are not independently available because ripr failed and cargo-test is receipt-absent.
- The supplied review packet lacks the scheduled cargo-test receipt, and the ripr sensor failed with exit code 2.
- The packet has no completed late cargo-test receipt, so claimed test execution is not independently established in the supplied sensor evidence.
- Fixture coverage checks both a changed-arm removed-variant pin and a same-variant pin through another arm, but independent execution evidence is absent because cargo-test is receipt-absent.
- Executable validation is incomplete because cargo-test has no receipt and the ripr sensor failed.
…gative fixture (#12110) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AoapkiftDmzBaXiATmb2KP
…in the arm view test (#12110) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AoapkiftDmzBaXiATmb2KP
|
Review of record, head 66a1120 (includes current main) Angles: (1) false-credit hunt by an independent read-only reviewer over about 25 scratch subjects (wrong arm, earlier/later arm, another arm still returning the removed variant, Findings and resolutions:
Gates on the pre-merge-of-main tree: Disposition: nothing blocks. Generated by Claude Code |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY — head 66a1120
Independent review of record on the exact head (includes current main, base 177c334).
Fix confirmed. error_path_arm_probe now requires enclosing_match(..).match_is_tail, so a let r = match ..; r.map_err(..) owner gets no arm view and no removed-variant credit. Pinned by a unit assertion (remapped owner → None) and the fixture error_path_removed_variant_remapped_not_credited.
Ran the head binary (built from this tree) on the three new fixtures
…_pinned_credited:error_path=exposed(credited), as expected.…_other_arm_not_credited:error_path=reachable_unrevealed,match_arm=weakly_exposed; not credited.…_remapped_not_credited:error_path=reachable_unrevealed; not credited. Itsmatch_armreadsexposed, the pre-existing remap gap filed as #12143, not this PR's claim.- Each output's classes equal the committed
expected/check.json.
Corpus, exact head, via xtask verdict-corpus: Rust 818 cases, false verdicts 0/818, contradictions 0/1006, operator-grid traps credited 0/46, oracle overclaim 0/49. The PR touches no corpus case, expected file or known-false row (0 files under verdict-corpus/known-false paths), so no relabel. I did not run TypeScript/Python/Perl corpora; this change is Rust error_path/match_arm only.
Read of the production path: the credit needs an exact error-variant assertion naming the removed variant, a selector that observes inputs and is not bound to the owner result, no import/cross-package shadow defeat, and an arm-selecting input or pattern pin; family == ErrorPath is the only entry. MatchArm and other ErrorPath behaviour is unchanged (field_oracle_needs_admission is now explicitly MatchArm-gated). Spec 0106 Part D, the changelog fragment and traceability match.
Not run: lib tests (workspace OOM on this host), goldens check; hosted Ripr Rust Small Result on this head is still required, and the seam-cache version must be bumped to the next free value before merge since classification output changes (it isn't bumped in this diff). No blocking findings.
Generated by Claude Code
…rs, clear the obsolete missing fact; bump cache schema (#12110) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AoapkiftDmzBaXiATmb2KP
Delta review of record — 9534ee8Delta since the REVIEW_READY at 66a1120: merge of current main, Angles: operand scoping, owner shadowing, stale-fact consistency.
Proof on this head: Generated by Claude Code |
There was a problem hiding this comment.
Refuted
- The changed implementation has no ArrayBuffer, TypedArray, resize, detach, transfer, or backing-store length-snapshot surface; the lane-specific UB class is inapplicable.
Parked follow-ups
- The remapped-owner companion match_arm exposure is pre-existing and outside this PR's error_path claim; it should remain parked as #12143.
Evidence gaps
- Exact-head compilation and fixture behavior lack an available independent receipt.
- Model proof intent was rejected by deterministic validation.
- Exact-head compile and fixture behavior remain unverified in this lane because the ripr sensor failed and the cargo-test receipt is absent.
- The scheduled cargo-test evidence has no completed receipt, while the deterministic ripr sensor failed with exit code 2.
- Late cargo-test execution evidence is still unavailable in the supplied packet, so fixture goldens and compilation are not independently confirmed by this lane.
- The late cargo-test receipt is absent, leaving the central build and fixture witness unconfirmed despite deterministic source inspection.
- Compilation and fixture execution are not independently evidenced in this lane because cargo-test has no receipt and ripr failed.
- Independent executable verification is incomplete because ripr failed and cargo-test has no receipt.
- The scheduled cargo-test receipt is absent, while the ripr sensor failed; independent compilation and fixture execution remain unverified in this packet.
…fixtures (#12110) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AoapkiftDmzBaXiATmb2KP
Delta review of record — 8c5f85c (supersedes the 9534ee8 note on CI state)The Local proof on this head: the previously failing Generated by Claude Code |
There was a problem hiding this comment.
Refuted
- The changed code only classifies Rust error-path assertions and match-arm selections; it does not introduce or modify JS-backed memory or worker handoff behavior.
Parked follow-ups
- A broad scan for crypto/compression/runtime sibling helpers was not warranted for this classifier-only change; no changed helper entry points or memory-sensitive operations are present.
Evidence gaps
- Compilation and fixture behavior on the current exact head remain independently unverified in this lane because cargo-test has no completed receipt and the ripr sensor failed.
- Exact-head compilation and the five new fixture expectations lack an available independent cargo-test receipt.
- Model proof intent was rejected by deterministic validation.
- Exact-head compilation and fixture execution are not independently evidenced in this packet.
- Exact-head compilation and fixture execution are not independently evidenced because cargo-test has no completed receipt and ripr failed.
- Exact-head compilation and fixture execution are not independently evidenced in the supplied packet.
- The central build and fixture behavior lacks a completed independent receipt in this packet.
Governing issue or accepted claim: #12110
Acceptance delta (one sentence): An
error_pathchange that swaps one error variant for another on a tail-matcharm is now credited when a test pins the removed variant through an owner call whose input selects that arm, and still is not credited for a pin reached through another arm or after a remapping of the match result.What changed
error_path_arm_probe(arm_selection.rs) gives anerror_pathprobe on a whole arm line aMatchArmview, with the removed expression restored as its old text. It requires the enclosingmatchto be the owner's tail expression, so alet r = match ..; r.map_err(..)owner gets no view (found by the independent review).ArmSelector(RIPR-SPEC-0229) is built for that view; reveal consults it only for the newremoved_variant_selectedper-assertion fact, which widens theExactErrorVariantgate forerror_pathonly.match_armbehavior andfield_oracle_needs_admissionare unchanged.error_path_removed_variant_pinned_credited,..._other_arm_not_credited,..._remapped_not_credited; unit test for the arm view.Why
Held #12056 (per-assertion "pins another function" refusal) removes a coincidental credit from corpus row
old-unit-assert-matches-macro; this makes its real pin (Err(UnitError::Unknown)onparse_unit("q")) count. Repro on main with the coincidentalTagError::Blankassertion deleted:error_pathwasweakly_exposed, nowexposed. No known_false row, no relabel.The independent review also found that
match_arm(noterror_path) already readsexposedon main for the remapped shape; that predates this PR and is filed as #12143. The remap fixture claims only theerror_pathfinding.Proof
cargo xtask precommitexit 0;goldens check: 0 drift; verdict corpus: 0 false verdicts (Rust 818, TypeScript 371, Python 361, Perl 94).🤖 Generated with Claude Code
https://claude.ai/code/session_01AoapkiftDmzBaXiATmb2KP