Skip to content

Read the three oracle underclaims RIPR-SPEC-0227 and 0231 adopt - #7627

Merged
EffortlessSteven merged 12 commits into
mainfrom
claude/project-thread-vv94ve
Oct 14, 2026
Merged

EffortlessSteven merged 12 commits into
mainfrom
claude/project-thread-vv94ve

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Summary

Before: in three verdict-corpus cases, ripr related the test to the changed error but read no oracle. Each case runs against a changed Err(PayError::Insufficient):

  • check(300).unwrap_err();, with the value never compared;
  • assert_ne!(withdraw(10, 20), Err(PayError::Limit));
  • assert!(!matches!(withdraw(10, 20), Err(PayError::Limit))).

The scoreboard counted these as oracle underclaims.

After:

  • The uncompared unwrap_err() reads broad_error / weak (RIPR-SPEC-0227 decision 2).
  • Both inequalities read relational_check / weak, and the finding is weakly_exposed.
  • Every labeled Rust oracle row now matches: 37/37 on the current merged tree, with 0 overclaims and 0 underclaims. match_floor is 37 and overclaim_ceiling is 0. The floor tracks main's labeled-row count; this PR contributes the last three matches.

How:

  • unwrap_err. scan.rs::uncompared_unwrap_err is one shared predicate, used by both the line scanner and the parser path (ra.rs).
    • It admits a discarded value, a _-prefixed binding, or a binding that nothing later mentions.
    • Only adapters that keep an Ok an Ok (map_err, map, as_ref, .await, ...) may sit between the call and unwrap_err(). So check(x).and(Err(E::Other)).unwrap_err() and x.ok_or(E).unwrap_err() read nothing.
    • A binding that a later line compares stays that assertion's oracle (RIPR-SPEC-0106).
    • Lines that do not start a statement are refused: a .unwrap_err(); tail, a y).unwrap_err(); tail, or the value line after let e =.
  • Sibling exclusion. reveal.rs::excludes_only_sibling_variant admits the inequality before the RIPR-SPEC-0106 Part B sibling-variant gate drops it. It requires all of these:
    • one assert_ne! operand, or the whole matches! scrutinee, is exactly a bare owner call (message arguments are ignored);
    • the negated matches! is the whole assert! condition, and its pattern is unguarded;
    • no import, same-package name, nested fn or local binding shadows the owner;
    • no visible binding may rebind assert!, assert_ne! or matches!, checked through the shared assertion-context gates (admits_assertion_context);
    • the other side names the enum only through sibling variants.

Swarm / Source Boundary

  • ordinary feature, analyzer, editor, docs, spec, fixture, badge, dependency, or repo-ops development for ripr-swarm

Source-of-truth Links

Proposal: n/a
Spec: RIPR-SPEC-0227 (decision 2) and RIPR-SPEC-0231 (examples 19 and 20, plus a new section "Reveal admission of an excluded sibling")
ADR: n/a
Plan item: n/a
Governing issue or accepted claim: #6640
Acceptance delta (one sentence): the overstated-oracle scoreboard has no underclaims left, and its gates hold every labeled row as a match with 0 overclaims.

Candidate Relationships

Candidate branch: claude/project-thread-vv94ve
Stack parent or prerequisite PR (if any): none. This follows #7572 and #7631.
Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): n/a
Accepted winner and losing candidate disposition (when decided): n/a

Scope

  • How an uncompared unwrap_err() is read as an oracle.
  • Reveal admission for inequalities that exclude a sibling variant from the owner's result.
  • Oracle gates tightened to the measured state.

Scope Classification

  • One production behavior

Production delta:

  • An uncompared unwrap_err() read directly off a call reads broad_error / weak on both adapters.
  • A sibling-excluding inequality on the owner call reads relational_check / weak, under standard macro bindings.

Evidence/support delta:

  • A parity test checks that the scanner and parser adapters agree. It covers:
    • compared controls written across multiple lines and as a split let;
    • error-replacing adapters (.and(Err(..)), ok_or) as negatives;
    • map_err and a method receiver as positives.
  • Two integration tests: the positives, plus eleven refusal controls, including local macro_rules! for assert_ne, assert and matches.
  • Three case rows move from underclaim to match. The gate and the xtask population pin follow the merged tree.

Single acceptance criterion:

  • The corpus oracle underclaim count is 0, with no new overclaim or false verdict.

Non-goals:

Support-tier Impact

  • none

Claim/proof notes:

  • Both readings are weak, so neither change can produce exposed.

Policy Impact

  • none

Proof

cargo xtask verdict-corpus check-all   # exit 0; every labeled rust oracle row matches, overclaim 0, underclaim 0
cargo xtask goldens check              # exit 0
cargo test -p ripr --test '*' --no-fail-fast   # exit 0
cargo test -p ripr --lib               # all pass except 7 root-sandbox permission tests
cargo xtask precommit                  # exit 0

Result, failures, or skipped proof:

  • The 7 lib failures are tests of unreadable or unwritable paths. They cannot fail as intended when run as root in this container, and the same set fails on main.
  • Mutation checks: removing the guard, shadow or macro-binding gate makes spec_0231_sibling_inequality_off_the_owner_call_stays_refused fail. Skipping the receiver check makes the parity test fail.

Claim Boundary

May claim:

  • Every labeled Rust corpus oracle row matches the spec.

Must not claim:

  • That reveal admits sibling exclusion for debug_assert_ne!.
  • That expect_err is read as result-side.
  • That ripr knows whether a test statement executes.

Rollback

Revert the squash commit. The rows and gates revert with it.

Spec-Test-Code Traceability

  • Spec: RIPR-SPEC-0227, RIPR-SPEC-0231
  • Tests: classify.rs::spec_0227_uncompared_unwrap_err_is_a_weak_broad_error_oracle, tests/error_path_sibling_variant.rs::spec_0231_* (2 tests)
  • Code: scan.rs, syntax/ra.rs, classify/reveal.rs, classify/owner_pin.rs, classifier/evidence.rs
  • Golden outputs: corpus rows
  • Metrics: verdict-corpus oracle scoreboard
  • ADR/learning: n/a

Static Language Check

  • Static output avoids killed, survived, untested, proven, and adequate.
  • Unknowns include stop reasons where applicable.

CI Economics

n/a

Engineering Check

  • No new panic, unwrap, expect, todo, or unimplemented in production code.
  • No new panic, unwrap, expect, todo, or unimplemented in tests.
  • Errors are reported with actionable context.
  • Public JSON/schema changes are documented (none).

Gates

  • cargo fmt --check
  • cargo xtask precommit

🤖 Generated with Claude Code

https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

An unwrap_err() whose value is never compared now reads broad_error /
weak on the line scanner and the parser path (RIPR-SPEC-0227 decision
2). A bound value that a later line compares stays that assertion's
oracle, and the tail line of a multi-line statement is not admitted.

assert_ne!(owner(..), Err(E::Sibling)) and
assert!(!matches!(owner(..), Err(E::Sibling))) against a changed
Err(E::Changed) now read relational_check / weak in reveal instead of
being dropped by the sibling-variant gate. The owner call must be the
whole operand or scrutinee, unguarded and unshadowed.

Verdict-corpus oracle matches go from 26/34 to 29/34 with no
underclaims; match_floor rises to 29.

Refs #6640

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

The included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.

Next included review available in 33 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 2a63b9e2-7c47-44dd-8308-45dc813ae73d
📥 Commits

Reviewing files that changed from the base of the PR and between 4711c12 and 6b59ee1.

📒 Files selected for processing: 21
  • .ripr/traceability.toml
  • changelog.d/6640-oracle-underclaims.md
  • crates/ripr/src/analysis/classifier/evidence.rs
  • crates/ripr/src/analysis/classify/owner_pin.rs
  • crates/ripr/src/analysis/classify/reveal.rs
  • crates/ripr/src/analysis/extract/mod.rs
  • crates/ripr/src/analysis/extract/oracles/classify.rs
  • crates/ripr/src/analysis/extract/oracles/mod.rs
  • crates/ripr/src/analysis/extract/oracles/scan.rs
  • crates/ripr/src/analysis/syntax/ra.rs
  • crates/ripr/tests/error_path_sibling_variant.rs
  • docs/specs/RIPR-SPEC-0227-result-side-oracles.md
  • docs/specs/RIPR-SPEC-0231-rust-oracle-kind-admission.md
  • fixtures/rust-verdict-corpus/cases/spec0227-check-variant-bare-unwrap-err.json
  • fixtures/rust-verdict-corpus/cases/spec0231-oracle-assert-ne-err-variant.json
  • fixtures/rust-verdict-corpus/cases/spec0231-oracle-negated-matches-err-variant.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0227-check-variant-bare-unwrap-err.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0231-oracle-assert-ne-err-variant.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0231-oracle-negated-matches-err-variant.json
  • fixtures/rust-verdict-corpus/spec-coverage.toml
  • xtask/src/reports/dx_scoreboard/population_tests.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

…sert!

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK
…o 34/0

Brings in RIPR-SPEC-0231 rule 1 (#6670) and re-blesses its five spec0231
rows (the same content as #7631).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

Copy link
Copy Markdown
Member Author

Review of record — head c7b9a02

Angles:

  1. Correctness and edge cases of the reveal sibling exclusion.
  2. Parity of the unwrap_err reading across the two adapters, and whether it changes verdicts elsewhere.
  3. Spec, contract and corpus-row honesty.
  4. An exact-head re-review of the fixes (panics, strength ceiling, refusal holes).

Each angle was an independent reviewer agent reading the source. External bots (gemini, coderabbit) were quota-limited and produced no review.

Findings and resolutions:

  • Exclusion matched too much (angle 1). It accepted an owner call anywhere in the statement, including message arguments and nested calls. A guard, ^, or a shadowed owner also passed. Fixed in this PR:

    • the owner call must be the whole operand or matches! scrutinee, matched by delimiter parsing;
    • the pattern must be unguarded;
    • the negated matches! must be the whole condition;
    • a body shadow (nested fn or let, under either shadow authority) refuses.

    Eight refusal controls were added. Guard and shadow were mutation-checked.

  • Tail lines of multi-line statements admitted (angles 2 and 4). The line scanner admitted tail lines such as .unwrap_err();, y).unwrap_err();, and the value line after let e =. Fixed: such lines are refused when they don't start a statement, have a leading closer, or have unbalanced delimiters. Three compared multi-line controls were added on both adapters.

  • Quadratic rest-of-body rebuild (angle 2). Fixed: the rebuild now runs only for lines ending in unwrap_err();.

  • Stale hard_case texts and changelog overreach (angle 3). Updated.

  • debug_assert_ne! (angle 4 coverage). It is refused earlier by test assertion admission, so the claim is narrowed to assert_ne! and assert!. The spec and code now match.

  • Not fixed, recorded:

Strength ceiling: verified that no new path reaches exposed.

  • The reweight forces Weak.
  • owner_pin refuses assert_ne!.
  • Boundary pairing credits only Strong.

Merge of main: brings in #6670 rule 1. The five spec0231 rows it staled are re-blessed with the same content as #7631. Corpus oracle is now 34/34 with 0 overclaims, and the gates are tightened to match.

Nothing blocking remains.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 13, 2026 05:24
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 4 potential issues.

Devin Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision

  • Needs reviewer attention before upstream: findings remain.

Confirmed findings

  • expect_err reading parity: scan.rs::extract_assertions path does not route expect_err() through uncompared_unwrap_err; ra.rs::extract_parser_oracles only branches on unwrap/expect (smoke) and unwrap_err. A bare f().expect_err("x") whose value is never compared still reads smoke, not broad_error/weak. Tracked by #7604; not a #7627 regression but a sibling unfixed by this PR.

Verification questions

  • Confirm no new test in classify.rs exercises the parser path admitting assert!(!matches!(owner(..), Err(E::Bad))) (RIPR-SPEC-0231 examples 19/20 admit it; only the line scanner and the ra.rs method-call side are parity-tested). The admission correctness is covered by the integration test in error_path_sibling_variant.rs, so the gap is in lexical/parser parity, not in behavioral proof.
  • Confirm fixture rows re-bless three underclaims to matches and 5 overclaim rows to matches; spec-coverage.toml match_floor 26→34, overclaim_ceiling 5→0 matches the PR's precommit claim (oracle 29/34, overclaim 5/34 → 34/34, 0/34 post-#6670).

Refuted

  • Hypothesis: a Vec<&str> grown inside macro_arguments could be resized while downstream code holds a &str from it, producing a use-after-resize / stale active-view bug.; refuted because: Rejected: every &str pushed into parts is a sub-slice of the borrowed inner: &str; the Vec is consumed by as_slice() in the same function and not aliased elsewhere. No detach, transfer, or capacity reallocation surfaces in the diff.
  • Potential data race: test_body_shadows_owner reads test.body and test.nested_fn_names / test.let_bindings from a TestSummary that an async classify task might still mutate.; refuted because: analyze_related_assertions is a synchronous function called from the classifier driver; TestSummary is built once by the parser and only read thereafter. There is no async pipeline that retains a mutable handle, so the borrow is single-threaded and no race exists.

Evidence gaps

  • build/cargo-check/cargo-clippy/cargo-fmt skipped and ripr sensor failed exit 2, but no exploit primitive is affected; static analyzers and review remain sufficient for the security posture of this PR.
  • ripr sensor returned exit code 2; lane cannot read sensors/ripr/ receipts. This is the only evidence gap and is outside active-view jurisdiction.
  • Model proof intent was rejected by deterministic validation.

Parked follow-ups

  • Prior review thread confirms mutation-checked guards for the new sibling-exclusion rules; no stale-state or detached-view concerns were raised by the human reviewer of record.
  • Corpus rows spec0231-oracle-assert-ne-ok-value, -assert-ne-scalar, -ensure-not-equal, -assert-ne-struct-literal, and -helper-assert-not-equal now read relational_check/weak and outcome=match, dropping the overclaim count from 5 to 0. The PR re-blesses these without changing their test shape; spec_0231 rule 1 (overclaims) is owned by #6670, so this is a follow-on reweight, not a new admission.

…cing adapters before unwrap_err

- A test-visible binding that may rebind assert!, assert_ne! or matches!
  now refuses the RIPR-SPEC-0231 sibling exclusion (shared
  assertion-context gates via admits_assertion_context).
- An uncompared unwrap_err() reads broad_error only when nothing but
  Ok-preserving adapters (map_err, map, as_ref, .await, ..) sits between
  the call and unwrap_err(); .and(Err(..)) and ok_or(..) read nothing.
- Update the xtask population test that pinned the old 26/34 oracle rate.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
Member Author

Review of record, addendum for head 05b1586

The first required run failed in one xtask test, oracle_committed_rates_keep_labeled_and_unlabeled_cases. It pinned the old committed oracle rate of 26/34; this branch now has 34/34. Updated.

Devin's review (4 findings):

  • 🔴 Rebound assertion macro. Fixed. Sibling exclusion now requires the shared assertion-context gates. Controls cover local macro_rules! for assert_ne, assert and matches, and are mutation-checked.
  • 🔴 .and(Err(..)).unwrap_err(). Fixed. Only Ok-preserving adapters may sit between the call and unwrap_err(). Parity cases run on both adapters and are mutation-checked. SPEC-0227 now states the rule.
  • 🔴 Statements that never execute (if false). Not fixed here. This gap predates the PR and covers every oracle reading, and the new reading is capped at weak. Filed as rust: oracle extraction credits statements that never run (if false, uncalled closures) #7638.
  • 🟡 drop(e). Stays as is. It is refused, which is the conservative reading.

The github-actions review's one confirmed finding is the expect_err parity gap, a non-goal tracked in #7604.

Local proof on this head:

  • lib: 10193 passed. The 7 that fail are root-sandbox permission tests, the same set as on main.
  • Integration tests and verdict-corpus check-all pass, with oracle 34/34 and 0 overclaims. goldens check and precommit pass.
  • xtask: 3575 passed. Three tests fail in this container only: two root-sandbox write and read tests and a git-ref harness test. None touches oracle code.

Generated by Claude Code

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verification questions

  • Confirm ripr sensor itself failed with exit 2 in this run; the compiler receipts are advisory. Lane cannot independently witness re-blessing at the scoreboard level this round. Author's local proof (cargo xtask verdict-corpus check-all 34/34, overclaim 0, underclaim 0) is the only execution-grade evidence.
  • Confirm macro_arguments and group_end are factored in reveal.rs but scan.rs independently re-implements balanced_group_end and delimiters_balance. Same delimiter logic, two copies, no shared helper. Not a correctness issue (both paths are testable and mutated) but a sibling-helper duplication to note, not broaden in this PR.

Refuted

  • Hypothesis that uncompared_unwrap_err or excludes_only_sibling_variant could be coerced into an out-of-bounds read, type confusion, or panic-as-DoS via crafted source.; refuted because: Both helpers operate on borrowed &str slices; identifier slicing uses .bytes().take_while(is_ident_byte).count() which is bounded by len(). delimiters_balance/balanced_group_end track depth and return None on imbalance. start_with(['.', ')', ']', '}']) and starts_with('(') on the trimmed string are pure boundary checks. No unsafe, no unwrap on user data, no panicking index.
  • macro_arguments returns a Vec<&str> borrowed from masked while exclude_only_sibling_variant still references the same masked buffer, so dropping the Vec or moving the masked String would alias and cause UB; refuted because: Caller in reveal.rs keeps masked as a local; macro_arguments borrows from it and the Vec is consumed in the same statement-level match. No reallocation, no move across the borrow. Depth counter uses saturating_sub on i64, so even a malformed tail cannot underflow into a negative depth that escapes the function.
  • Lane focus (JS worker/async/GC/detach/transfer) is inapplicable: the diff is a Rust-only ripr analyzer change with no JavaScript, no workers, no async runtime, no transferable boundary, no GC-managed heap.
  • A JS-backed worker crossing or transferable boundary could expose an unsoundness around the new shared uncompared_unwrap_err helper.; refuted because: Repo has no JS runtime, no Worker, no SharedArrayBuffer, no transferable, no off-thread handoff. The diff is pure Rust analyzer code with &str slices in the same process; no memory crossing applies.
  • Off-topic: PR #7627 is a Rust analyzer oracle-classification change, not a JS/resizable-buffer change; ub-active-view has no RIGHT-side surface in this diff to comment on.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.

Parked follow-ups

  • expect_err parity gap (Devin/github-actions confirmed) is a known sibling, not a regression of this PR; tracked in #7604.
  • Parked follow-ups to track rather than broaden: #7604 expect_err reading parity, #7638 dead-branch / unreachable-statement reach (covers every oracle reading, not only unwrap_err), and the conservative refusal of let e = unwrap_err(); drop(e). All three are documented as non-goals in the PR body and changelog; broadening them in #7627 would expand scope beyond the three underclaims it owes.
  • Two byte-walker helpers (group_end, balanced_group_end) and one comma-splitter (macro_arguments) were added in reveal.rs while equivalent walkers already exist in extract/. Consolidating onto the extract/ side is a one-file follow-up; the duplication is shallow and parity-tested, so it does not block the PR.
  • scan.rs and reveal.rs each ship a balanced-parenthesis helper (balanced_group_end + delimiters_balance vs group_end + macro_arguments) with the same depth-walk algorithm. No shared util across crates/ripr/src/analysis/extract/; mutation coverage does not catch a future copy drift. Not a correctness issue today; flag as a sibling-helper consolidation candidate for a follow-up, not a #7627 change.

#7631 landed with match_floor 31; this branch reads 34/34, so the gate and
its xtask pin stay at 34.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK
@EffortlessSteven
EffortlessSteven marked this pull request as draft October 13, 2026 07:52
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 13, 2026 07:52
Main now labels 35 oracle rows and reads 32/35; the three remaining were
this branch's underclaims, so the merged tree reads 35/35. Raise
match_floor and the xtask pin to 35.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK
@EffortlessSteven
EffortlessSteven marked this pull request as draft October 13, 2026 22:32
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 13, 2026 22:32
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

# Conflicts:
#	fixtures/rust-verdict-corpus/spec-coverage.toml
#	xtask/src/reports/dx_scoreboard/population_tests.rs
…nd pass)

# Conflicts:
#	fixtures/rust-verdict-corpus/spec-coverage.toml
#	xtask/src/reports/dx_scoreboard/population_tests.rs

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision

  • Needs reviewer attention before upstream: findings remain.

Confirmed findings

  • reveal.rs::macro_arguments and group_end duplicate scan.rs::balanced_group_end / delimiters_balance logic in two places; no memory-lifetime impact but a drift risk if either changes the other path.
  • Duplicated macro_arguments/group_end logic between reveal.rs and scan.rs; both safe (depth-bounded) but a shared helper in extract:: oracles would keep one source of truth and shrink the contract this PR adds.

Verification questions

  • Confirm expect_err parity gap (scan.rs vs ra.rs only branch on unwrap/expect, not expect_err) confirmed by github-actions review; tracked as #7604 non-goal, not a #7627 regression. Live as a sibling unfixed by this PR.

Refuted

  • PR could introduce a JS-backed worker handoff, postMessage/transferable, or async detach/GC boundary relevant to UB review; refuted because: All changed files are Rust ripr analyzer source, tests, docs, fixtures, and xtask scoreboard code. No wasm-bindgen, napi, neon, deno_core, worker, SharedArrayBuffer, or async runtime boundary is added or modified. Helpers added (uncompared_unwrap_err, receiver_keeps_call_error, balanced_group_end, delimiters_balance, macro_arguments, group_end, is_whole_owner_call, has_word, excludes_only_sibling_variant, test_body_shadows_owner, admits_assertion_context) are pure &str -> Option/Vec<&str>/bool functions over masked test source. The line scanner and parser path share the predicate so behavior is identical across both adapters; there is no transferable ownership change, no detach, no GC root. The ub-worker-handoff surface is absent.
  • Could excludes_only_sibling_variant credit a sibling-only inequality because context_ambiguities missing on certain masked sources; refuted because: reveal_evidence now invokes admits_assertion_context which checks rebinding for assert_ne/assert/matches; tests cover three local macro_rules! variants.
  • Hypothesis that a Vec<&str> grown inside macro_arguments or any new helper could panic under memory pressure or be coerced into a type-confusion.; refuted because: macro_arguments pushes &str borrows into a Vec with no allocation of user data: capacity growth uses std::vec::Vec default which aborts on OOM, not a security primitive. No transmute, no unsafe, no lifetime extension across the borrow. Memory pressure in this analyzer is not a DoS surface relevant to the change.

Parked follow-ups

  • Change-skipped surface: ra.rs extract_parser_oracles only branches on unwrap/expect/unwrap_err name; does_err_or_panic_text path for expect_err remains — confirmed a tracked gap not a #7627 regression.
  • Spec-coverage match_floor raised 34→37 while PR body and prior reviews cite 34/34. Delta is +3 (the 3 underclaim→match re-blessings), but the parallel 'overclaim 0' count is not gated, so the floor arithmetic is correct but the stated 34/34 framing in the PR body is stale relative to 37/37.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • match_floor=37 + overclaim_ceiling=0 are the proof surface; xtask pins (37,37) on oracle_accuracy and 0 numerator on oracle_overclaim_rate. The numeric re-blessing is the only authoritative integration evidence; ripr sensor failed (exit 2) so this lane cannot independently witness the new numbers.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK
@EffortlessSteven
EffortlessSteven marked this pull request as draft October 14, 2026 03:37
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 14, 2026 03:37
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
Member Author

Review-of-record addendum for head e325248cf.

Delta since the reviewed head 05b1586dc:

  • two merges of main;
  • gate calibration to the merged tree (match_floor 37, overclaim_ceiling 0, with the xtask population pin following it);
  • a one-paragraph changelog fragment fix. The fragment said 35/35; it now states 37/37 and the two gate values.

I diffed the PR's own changes to crates/, docs/specs/ and changelog.d/ between the two heads against their merge bases. They are identical except for the fragment text. git merge-tree against current main is clean.

Angles:

  • correctness: unchanged code;
  • tests and regressions: the corpus gate and pin match the measured tree;
  • spec and contract: the changelog claim now matches the gate.

No blocking findings. Merging once required CI is green on this head.


Generated by Claude Code

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed findings

  • Duplicated balanced-paren/group walker across scan.rs and reveal.rs; depth-bounded and tested today, so not exploitable, but a future drift in either copy could open a parsing-confusion / DoS class issue. Out of scope to fix in this PR.
  • delimiters_balance / balanced_group_end in scan.rs duplicate group_end / macro_arguments in reveal.rs; both safe (depth-bounded, balanced, no UB), but a shared helper in extract::oracles would shrink the contract this PR adds.

Verification questions

  • Confirm scan.rs::balanced_group_end / delimiters_balance and reveal.rs::group_end / macro_arguments re-implement the same delimiter-balance logic in two places; no shared helper, drift exposure when one side changes.
  • Confirm expect_err has no decision-2 sibling helper. scan.rs checks unwrap_err(); ra.rs only branches on unwrap/expect plus unwrap_err. expect_err still reads older expect_ admission, not broad_error/weak.
  • Confirm no new unsafe, no wasm/JS/async/postMessage/SharedArrayBuffer boundary, no secret material, no I/O or network code touched. Diff is pure Rust ripr-internal analyzer code plus tests/fixtures/docs.
  • Confirm three corpus rows re-bless from underclaim to match (broad_error weak / relational_check weak). The PR contract claim (axiom 37/37, 0 overclaim) is realized by spec-coverage.toml match_floor=37 and oracle_committed_rates population pin; author run is the only execution-grade signal.
  • Confirm drift risk: scan.rs::balanced_group_end and reveal.rs::group_end (with delimiters_balance) are independent implementations of the same balanced-paren walker with subtly different surfaces (square brackets included in reveal, paren-only in scan). Not a security defect today (both depth-bounded, both tested, both mutated) but a divergence hotspot.

Refuted

  • Tests do not prove that the parser-path parity for unwrap_err matches lexical under shadow/import/foreign-body conditions; refuted because: spec_0227 unit test exhaustively covers 12 shapes on both adapters via RaRustSyntaxAdapter.summarize_file; the integration test error_path_sibling_variant.rs exercises 14 full-pipeline cases including all shadow and macro_rules rebinding shapes. Behavioral evidence holds for the PR claim. Parity gap is a coverage observation, not a blocker on the red/green proof.
  • No unsafe, no Box::from(slice), no wasm-bindgen, no napi/neon, no SharedArrayBuffer, no worker/postMessage, no async runtime boundary was added or modified by this PR.
  • Crafted source can coerce uncompared_unwrap_err or excludes_only_sibling_variant into OOB read, type confusion, info disclosure, or panic-as-DoS via crafted source.; refuted because: Both helpers operate on borrowed &str slices. Identifier slicing uses bytes().take_while(is_ident_byte).count() bounded by len(). balanced_group_end/group_end track paren depth and return None on imbalance; delimiters_balance returns false on negative depth. is_whole_owner_call requires rest starts with '(' and group_end == end(). mask_comments_and_strings runs before any name/operand check. No unsafe added, no allocations on the hot path, no panicking indexing (.get / len-bounded everywhere). Author's mutation checks (skip receiver_keeps_call_error, drop assertion-context gate, drop shadow gate) flip the relevant control from pass to fail. No JS/worker/SAB boundary; no secret material; no I/O or network surface touched.
  • All changed helpers are pure &str slice operations with depth-bounded delimiter parsing and return None on imbalance. No native seam is touched.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disposition: REPAIR_REQUIRED. Verified P2 oracle-credit regression filed as #7872; retain the current writer of claude/project-thread-vv94ve.

Blocking finding — grouping bypasses the receiver adapter gate. In scan.rs::receiver_keeps_call_error, the first opening parenthesis can be a grouping expression rather than the initial call. Its matching close leaves no suffix, so the whitelist is never inspected inside the group. On this exact head, the production API reports:

withdraw(10, 20).and(Err::<u64, _>(PayError::Insufficient)).unwrap_err();
// reachable_unrevealed; unknown/none
(withdraw(10, 20).and(Err::<u64, _>(PayError::Insufficient))).unwrap_err();
// weakly_exposed; broad_error/weak

Nested grouping also overcredits. Independently executed Rust controls show the second statement passes for both the baseline error and a wrong Ok(0) result. It therefore does not observe the owner's error side. This is an incorrect weak oracle, not a strong/exposed escalation. The same exact shared predicate admits parenthesized .ok_or(..) while refusing its plain twin; that Option result is a predicate-level control, not a claimed full-pipeline finding.

Identity and integration: reviewed head e325248cf94338cd5462f909f100e1597e3d0ea0, rechecked open and unchanged immediately before publication at 2026-10-14 04:03 UTC. Git-observed main 405deb02681372f9b6f684d4d22c53e82b260ad6; actual merge base 4711c122a0248d75807ba2e0401169a2f46743aa. git merge-tree --write-tree succeeded with tree b03d18c2d32b58f60350d721a1e6dadb392fee04. Head-bound execution below does not claim a combined-tree build.

Inspected ownership and consumers: #6640, both specs, changed-file inventory and extraction/reveal wiring; shared uncompared_unwrap_err through lexical extraction and RA statement admission; ClassifiedProbeEvidence supplies assertion-context admission to sibling exclusion; reveal carries oracle kind/strength into related tests and discrimination; owner-pin and boundary pairing distinguish weak readings from exact pins. Existing integration tests exercise check_workspace, the actual changed ErrorPath finding and public CheckOutput oracle values. No new platform/process/network surface is introduced by these helpers.

Actual bounded results: task-local Rust 1.95.0 (59807616e), isolated detached review tree and separate Cargo target; unchanged submitted production bytes. Selected command cargo +1.95.0 test --locked -p ripr --test error_path_sibling_variant --jobs 2 -- --nocapture exited 0: 13 existing tests plus one initial probe, 14 passed / 0 ignored. This covers existing exact/sibling error variants, ok_or variants, and the new inequality positives/refusal controls. The initial probe used sibling Limit, whose independent sibling gate suppresses the defect; it is not evidence against #7872. The subsequent discriminating seven-shape probe using Insufficient exited 101: three correct positives, one correct plain-.and negative, and three incorrect grouped-chain credits (.and with one/two groups, and .or). Its one test failed / 13 filtered out, after successful compilation. Exact-predicate and independent runtime controls both exited 0 and recorded the counterexample.

Existing findings: prior macro-rebinding, nested/message-call, guard and shadow fixes have substantive controls that passed here. Delimiter-helper duplication remains a maintenance suggestion, not independently established exploitability. #7604 expect_err, #7638 dead statements and conservative drop(e) are existing tracked/non-goal boundaries; this pass does not relabel them as newly repaired. The authored committed rows count 37 matches and the floor/ceiling are 37/0; that is source evidence, not a fresh verdict-corpus execution or a general zero-overclaim guarantee.

Missing proof: at inspection, exact-head Routed Rust Small run 38507219403, job 115667436002, had successful policy/honesty/check/clippy steps, required Rust tests in progress, and doctest/golden/corpus steps pending. No duplicate CI was triggered. This pass did not rerun the full corpus, lib matrix or combined-tree qualification. The grouping controls have not yet been added to the authored scanner/parser parity test.

Next executable action: the current candidate writer should recursively validate grouped receiver chains, add the #7872 scanner/parser and production controls while preserving grouped bare-call/map_err positives, then run focused proof and refresh affected head/integration receipts. Parent retains Ready and protected merge authority. Local patch, logs, source harnesses and the compiled control witness are retained in the delegated environment; #7872 contains the durable reproduction, results and repair handoff.

A leading parenthesized group hid an error-replacing adapter from the
receiver whitelist: (check(x).and(Err(E::Other))).unwrap_err() read
broad_error/weak although it passes whatever check returns. The first
group must now be a call on a plain path.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK
@EffortlessSteven
EffortlessSteven marked this pull request as draft October 14, 2026 04:42
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 14, 2026 04:42
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
Member Author

The repair for the REPAIR_REQUIRED finding (#7872) is pushed as head 6b59ee182.

Fix: scan.rs::receiver_keeps_call_error now requires the text before the first ( to be a plain call path, checked by is_call_path. Accepted forms are an identifier, a.b, a::b or a turbofish. A leading grouping, !, & or an operator is refused, so the adapter inside a group can no longer escape the whitelist. The receiver gate is otherwise unchanged.

Controls:

  • Parity test, run on both adapters:
    • grouped_fallback_error, nested_grouped_fallback_error, grouped_or_else and grouped_option_converted read nothing;
    • negated_call reads nothing;
    • turbofish_call reads broad_error/weak.
  • New end-to-end test spec_0227_uncompared_unwrap_err_reads_broad_error_only_off_the_owner_call, using your Insufficient shapes:
    • the bare withdraw(10, 20).unwrap_err() reads weakly_exposed with broad_error/weak;
    • the plain .and, the single- and double-grouped .and, and the grouped .or read neither.
  • RIPR-SPEC-0227 decision 2 and the changelog fragment state the rule.

Proof on this head:

  • Mutation check: disabling the new gate (if false && ...) fails both the parity test (grouped_fallback_error: line scanner read [(BroadError, Weak)]) and the end-to-end test (WeaklyExposed). Restoring the gate passes both.
  • cargo test -p ripr --test error_path_sibling_variant: 14/14 passed.
  • cargo xtask verdict-corpus check-all: exit 0. Oracle 37/37, overclaim 0, underclaim 0.
  • cargo xtask precommit: exit 0.

Disposition: the blocking finding is repaired. Merging waits on required CI on this head.


Generated by Claude Code

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reporter summary

The PR correctly fixes the three oracle underclaims per RIPR-SPEC-0227/0231 with documented mutation-checked guards (receiver whitelist via is_call_path, shared assertion-context gates for macro rebinding, bare-call operand matching for sibling exclusion). However, every specialist lane reports provider-preflight failure and no execution-grade witness on this head: the deterministic late cargo-test receipt exited 101, the ripr sensor exited 2, and all heavy witnesses (cargo-check/clippy/fmt/build/miri) remain disabled under the gh-runner profile. The author attributes the cargo-test 101 to 7 root-sandbox permission failures that also fail on main, but no lane could confirm that; the duplicated delimiter walker between scan.rs/reveal.rs, the expect_err parity gap (#7604), and the statement-reach gap (#7638) remain live sibling issues that this PR scopes out. No UB/memory-lifetime/security regression is observable (pure &str analyzer logic with depth-bounded byte iteration), but the lane cannot affirm the new receiver-path controls and the 37/37 verdict-corpus gate hold on this exact HEAD without re-execution. Verdict is uncertain pending a clean cargo-test run (non-root or pre-filtered) plus cargo-check/clippy/fmt on this head and reproduction of the three re-blessed corpus rows against the merge base.

@EffortlessSteven
EffortlessSteven merged commit 1848e63 into main Oct 14, 2026
34 of 35 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/project-thread-vv94ve branch October 14, 2026 08:55
EffortlessSteven pushed a commit that referenced this pull request Oct 14, 2026
Main's committed rows hold 40 oracle matches of 41 labeled cases since
#7627 and #7859 landed together, but the population test still pinned 37,
so the required Rust gates fail on main and on every PR merged with it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP
EffortlessSteven added a commit that referenced this pull request Oct 14, 2026
#7133) (#7848)

* fix(classify): bind the log-capture limit to the record's own template (#7133)

Round-3 review of #7711 found three ways an assertion on a different
record could still withhold the gap:

- a `target: "..",` or `key = value;` prefix made the first quoted text
  the target or key, not the format template;
- template fragments were matched anywhere in the assertion operands,
  in any order and across separate literals;
- a template whose static text is only punctuation (`"{}: {}"`) bound
  to any record.

The template is now read past those prefixes, its fragments must appear
in order inside one string literal of the operands, and a template with
no alphanumeric static text keeps the gap. Mutation runs kill every new
guard; corpus rows are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* fix(classify): read log templates and asserted literals with the shared lexical scan (#7133)

Review of 920d3d2 (Devin, two review agents, and the review on the PR)
found more ways the log-capture limit could bind the wrong text:

- the private literal scanner ended a nested block comment at its first
  `*/`, so a commented-out expected record read as live, and it split
  raw strings at their inner quotes;
- separators were found on unmasked text, so a `;` or `,` in a comment
  or character literal moved the template start, and a comment before
  the template hid it;
- `find("!(")` could land in a nested `format!(` when the record used
  `log::info! (`;
- fragments matched as unanchored substrings, so "audited {}" bound
  "unaudited 42".

`extract::string_literal_spans` now exposes the shared mask scanner's
literal spans; the template and the asserted literals are read from it,
and separators from the masked view. The template is read right after
`log::<level>!(`. A template that starts or ends with static text
anchors the literal's start or end, and a fully static template must
equal it.

New authored corpus subject `authored-log-template` with twin cases:
a targeted record the test never checks (main: limited; now: gap) and a
targeted record the test captures and asserts (limited on both).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* fix(classify): leave a log template with an escape at either edge unbound (#7133)

An escape that starts or ends the template (`"\"audited {}\""`) left
that edge unanchored, so the record could bind another record's literal
("unaudited 42"). Such a template is now not bound and keeps its gap.
Adds a keyed `ch = ','` positive and states the anchoring and raw/cooked
behaviour in the changelog fragment.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* test(corpus): pin raw-literal capture of a quoted log record (#7133)

Adds `quote` to the authored-log-template subject: a record with escaped
quotes whose test asserts it with a raw literal. Runtime: both mutants
are killed. Observed: limited on main 4711c12, gap (false_actionable)
on 920d3d2 where the private scanner split the raw literal, limited on
this head. Re-pins the subject and regenerates the two earlier diffs'
index lines; their rows are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* fix(classify): compare log templates and asserted literals as decoded text (#7133)

Review of 492bfd6 found escapes still acted as wildcards: an escape
ended a fragment, so whitespace after an edge escape (`"audited\n "`,
`" \taudited {}"`) left the edge unanchored, and a mid-template escape
(`"audited\n{}"`) let other words through.

Templates and cooked asserted literals are now unescaped first
(`\n \t \r \0 \\ \" \'`); any other escape leaves the text unbound.
`string_literal_spans` reports whether a span is raw, so a raw literal's
value is its contents. Fragments split only at placeholders, and any
static text at an edge, whitespace included, anchors that edge.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* fix(classify): leave repeated log arguments and format! asserts unbound (#7133)

Review of fe1b2af found two older over-binding routes:

- `"{0} audited {0}"` treated both placeholders as independent gaps, so
  it bound "alice audited bob"; a template that uses one named or
  positional argument twice is now not bound;
- a `format!("received map {}", m)` template inside the assertion was
  read as asserted text; literals that open a `format!` or
  `format_args!` call are now skipped.

Also notes the `string_literal_spans` offset contract at its re-export.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* fix(classify): count implicit log arguments and catch raw format! templates (#7133)

An implicit {} placeholder now takes the next positional index, so a
template mixing {} with {0} is refused like any repeated argument. The
format! skip in assertion operands now recognises raw templates,
path-qualified and spaced invocations, and bracket or brace delimiters.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* fix(classify): leave log templates with tied placeholders unbound (#7133)

A width or precision taken from an argument ({:.*}, {:w$}) and a template
mixing named with positional placeholders can tie two placeholders to one
value, like a repeated argument, so such templates keep the gap.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* test(xtask): calibrate oracle population totals to 40 matches (#7133)

* test(xtask): pin the committed oracle accuracy at main's 40/41

Main's committed rows hold 40 oracle matches of 41 labeled cases since
#7627 and #7859 landed together, but the population test still pinned 37,
so the required Rust gates fail on main and on every PR merged with it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* test(verdict-corpus): raise the Rust oracle match floor to main's 40

Main's committed rows hold 40 oracle matches, and the oracle gate test
requires match_floor to equal the committed count, so the floor at 37
failed the required Rust gates on main and on this PR.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven added a commit that referenced this pull request Oct 14, 2026
…7935)

* Read through grouped unwrap_err receivers instead of refusing them (#7872)

The #7627 repair refused every parenthesized receiver, so
(check(x)).unwrap_err() and (check(x).map_err(f)).unwrap_err() lost
their broad_error/weak reading. The group's contents now pass the same
call-plus-Ok-preserving-adapters test, and a raw identifier call path
(r#check) is admitted. (check(x).and(Err(..))).unwrap_err() still reads
nothing.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Require an identifier after a raw-identifier prefix in is_call_path

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Refuse grouped comparisons, ranges, jumps and tuples as unwrap_err receivers

Independent review found that reading through groups admitted
(a < check(x)), (a..check(x)), (return check(x)) and (x < y, check(x)):
is_call_path accepted spaces, commas and angle brackets anywhere. Outside
a ::<..> turbofish the path is now ident, '.', ':' and r# only. A raw
identifier must start with a letter or '_'. Pins the depth-8 bound.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Pin the oracle population to the merged tree's 40/41 (port of #7932's pin)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Validate the turbofish in is_call_path instead of skipping its tail

Graphite review: (x::<A> < y, check(300)).unwrap_err() passed because only
the text before the first ::< was held to plain-path bytes. The scan now
tracks <..> depth and holds everything outside it to the plain path.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Pin grouped fallback shapes behind an Ok-preserving adapter as non-credits

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Raise the oracle match_floor to the committed 40 matches

The committed-labels test pins match_floor to the observed match count;
the restored grouped and raw-identifier positives raise it from 37 to 40.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants