Skip to content

fix(owner-pin): credit literal-row #[test_case] bodies and retire its missed-credit entry - #10247

Merged
EffortlessSteven merged 22 commits into
mainfrom
claude/project-thread-2zx6c3
Oct 25, 2026
Merged

EffortlessSteven merged 22 commits into
mainfrom
claude/project-thread-2zx6c3

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Summary

  • #[test_case(3, 6)] fn t(n, expected) { assert_eq!(f(n), expected) } now counts as running its body once per row when test_case is the real crate in the module, every parameter is a plain immutable binding, and every row holds one scalar literal per parameter. The owner-pin syntax gate reported UnidentifiedTest for these because it only knew test and rstest. The crate-trust checks mirror rstest's (shadowing mod/use/glob/rename, a function named test_case, and the other trusted crates all refuse), and the classifier treats the row parameters as literals, not fixtures.
  • Admitting that sibling test removed an accidental limiter. lib-test-case-arrow-expected-value read limited only because the sibling triangles assertion was unestablished; #[test_case(x => expected)] generates a comparison ripr cannot read, so a changed owner it reaches would otherwise read as a gap. That form now carries the named rust_macro_wrapped_assertion_unresolved limit through generated_assertion_witness, independent of any sibling. The witness also applies when a proximity-only oracle in an unrelated same-file test made the finding weakly_exposed; the complete-window, no-direct-oracle and refused-assertion safeguards still hold.
  • Corpus: lib-test-case-args-body-assert-eq moves limited → credited (exposed), so its entry is removed from fixtures/rust-verdict-corpus/missed-credit.toml (the per-row acceptance file from ci(corpus): accept missed credit as sorted per-language entries, not a shared ceiling line (#10222) #10317; no numeric ceiling). The arrow-expected-value and with-closure-bound rows keep verdict limited and outcome abstained; their observed_classifications change from static_unknown to reachable_unrevealed because the limit now rides on the class. 676 cases, 3/676 false, unchanged.
  • Seam cache 1.108 / 0.115 (the classification of a #[test_case] fn changes; macro_rules! test generators: forms still unresolved after #10200 (macro_export, use-imported, include!, non-standard roots) #10298 holds 1.107 / 0.114). The earlier heads of this PR had not bumped it.

Swarm / Source Boundary

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

Source-of-truth Links

Spec: RIPR-SPEC-0120 (named macro-assertion limit), RIPR-SPEC-0231
Governing issue or accepted claim: #10190
Acceptance delta (one sentence): The lib-test-case-args-body-assert-eq missed-credit row is credited and its accepted entry is retired.

Proof

🤖 Generated with Claude Code

https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR

@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 25, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 181 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 6c8cdde3-c49d-410e-b798-402e23b5dc2d
Commits

Reviewing files that changed from the base of the PR and between d2ae1fe and ccda052.

Files selected for processing: 20
  • .ripr/traceability.toml
  • changelog.d/10190-test-case-literal-rows-pin.md
  • crates/ripr/src/analysis/classify/owner_pin.rs
  • crates/ripr/src/analysis/classify/owner_pin/tests.rs
  • crates/ripr/src/analysis/language/rust/oracles.rs
  • crates/ripr/src/analysis/seam_cache.rs
  • crates/ripr/src/analysis/syntax/owner_pin.rs
  • crates/ripr/tests/local_macro_assertion_limit.rs
  • crates/ripr/tests/lsp_lifecycle/gap_corpus_currentness.rs
  • docs/OUTPUT_SCHEMA.md
  • fixtures/boundary_gap/expected/CHANGELOG.md
  • fixtures/boundary_gap/expected/first-useful-action/unchanged-after-attempt/after.repo-exposure.json
  • fixtures/boundary_gap/expected/first-useful-action/unchanged-after-attempt/agent-receipt.json
  • fixtures/boundary_gap/expected/first-useful-action/unchanged-after-attempt/agent-verify.json
  • fixtures/boundary_gap/expected/first-useful-action/unchanged-after-attempt/before.repo-exposure.json
  • fixtures/rust-verdict-corpus/expected/rows/lib-test-case-args-body-assert-eq.json
  • fixtures/rust-verdict-corpus/expected/rows/lib-test-case-arrow-expected-value.json
  • fixtures/rust-verdict-corpus/expected/rows/lib-test-case-with-closure-bound.json
  • fixtures/rust-verdict-corpus/missed-credit.toml
  • xtask/src/tests/rust_corpus_projection.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Copy link
Copy Markdown
Member Author

Review of record, head 1a6f6cf (code reviewed at 9ab3283; the only later change is a test fixture edit).

Angles: (1) false credit and crate trust, (2) tests and regressions. Gemini and CodeRabbit are quota-limited on this PR, so there is no bot review.

Findings

  • Angle 1: no false-credit hole found. Checked: gate order (ignore/should_panic/cfg_attr refuse first), async, combination with rstest/tokio/other proc macros, non-fn items, bare-name shadowing (glob, rename, second binding, mod, extern crate as, a fn named test_case), parameter shapes, row literals (strings and computed values refuse), and the classify-side empty fixture set (reached only after the syntax gate admits).
  • Angle 2: the negative controls are each refused by the check they name, except the => case, which declared fewer parameters than its body used. Fixed in 1a6f6cf (params). Not covered by a unit test: the refused-test_case skip in the refusal insert and generated_assertion_witness; both are exercised end to end by the corpus rows lib-test-case-arrow-expected-value and lib-test-case-with-closure-bound, which stay limited.
  • Minor, left as is: generates_assertion matches any => outside strings (for example a match arm inside a row), which turns a would-be gap into the named limit. That fails toward unknown.
  • Low-confidence residual shared with the existing rstest and serial admissions: a macro_rules! named test_case is not an item-position macro call to extern_crate_holds_trusting.

Resolutions: the one test nit is fixed; the rest need no change.

Local proof: cargo xtask precommit, 14306 lib tests, goldens check, verdict-corpus check --language rust, and the ceiling test all pass. Hosted qualification is the next step.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 25, 2026 05:59
@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!

@github-actions

Copy link
Copy Markdown
Contributor

merge-ready was requested, but this PR conflicts with main (head 1a6f6cf8), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR

Copy link
Copy Markdown
Member Author

Read-only false-credit review of head 1a6f6cf (diff only, plus one probe attempt). No false-credit path found in the direct-assertion path; two items for the owner.

  1. Ceiling line will conflict. test(corpus): number and measure RIPR-SPEC-0186 and 0197 examples #9869 landed on main (ce536ef) and set the Rust missed_credit_ceiling to 145 (143 + the ex06 abstention + the one fix(rust): an async owner driven by a local executor helper is withheld, not a weak gap (#9443) #10143 added). This PR's 144 to 143 edit is against the old 144. After merging main the correct value is the measured count minus this PR's one credited row, i.e. 144, not 143. Please re-measure with verdict-corpus check --language rust rather than copying either number.

  2. Helper-lending path is not covered by the new tests. fixture_parameters now returns an empty set for any #[test_case( attribute, including the => and non-literal-row spellings the syntax gate refuses. The direct-assertion path is covered by the 25 negatives, but fixture_parameters(..).is_none_or(|f| !f.is_empty()) at the borrowed-helper gate (owner_pin.rs ~3848) now treats a refused test_case test as fixture-free, so a helper assertion borrowed by #[test_case(4, weight(4))] fn t(x, want) { check(weight(x), want) } is no longer rejected at that gate. I could not confirm whether another gate stops it: my probe fixture failed before the assertion parsed ("the test's assertions must parse"), so this is an open question, not a finding. A negative with a helper-borrowed assertion and a row that calls the owner would settle it.

Everything else I checked held: the crate-trust checks mirror rstest's, mut/ref/attribute/impl parameters refuse, and => rows keep the named rust_macro_wrapped_assertion_unresolved limit.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Follow-up to item 2 of my review: refuted end to end, no issue to file. I built ripr at head 1a6f6cf and ran ripr check --diff on a small crate where the changed owner weight(x) (x * 3 to x * 4) is reached only through a helper check(got, want) called from a #[test_case] test, with four row spellings:

  • #[test_case(4, 12)]: weakly_exposed on the owner (conservative, not credited through the helper).
  • #[test_case(4, weight(4))]: static_unknown, rust_assertion_context_unresolved.
  • #[test_case(4, "12")]: static_unknown, rust_assertion_context_unresolved.
  • #[test_case(4 => 12)]: reachable_unrevealed with the named rust_macro_wrapped_assertion_unresolved limit.

No variant reads exposed, so the helper-borrow gate is not reachable as a false-credit path in this shape. Item 1 (ceiling re-measure after #9869) still stands.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Independent bounded delivery-proof receipt for 3e7979d7d20aae17512c058a97d213b371ce8b54 (tree 662aea49f714b5cdf65e472ff4a35e10c4a9d8c7).

Reused the review of record and the helper-lending refutation; no duplicate implementation or qualification request. This receipt adds executed runtime/mutation/removal evidence for the literal-row seam.

Subjects and currentness. Started at 1a6f6cf88e653b5e5aaeb3716c7633b57612e6a8 / tree 89f46727afe84d3696c20510b1adc5e5dd833769. The new head merges main parent ce536ef39e71099065083ce41af7167af7a457da / tree 713e9bed66e5066aa23793a2373cbf342011a0d4. The four changed analyzer/test files and locked test-case fixture are byte-identical across those heads, so their runtime evidence transfers. Re-exercised the actual check_workspace path on the new head with proof-only test additions.

Executed checks, native results.

  • On unmodified 1a6f6cf8: cargo test --locked -p ripr --lib a_test_case_table_with_literal_rows_runs_the_body_once_per_row — exit 0, one test passed.
  • On production source at 3e7979d7, temporary review_10247_literal_row_delta_controls: cargo test --locked -p ripr --lib review_10247_literal_row_delta_controls -- --nocapture — exit 0. Ten controls cover literal binding/reordered parameters/a bool row value; computed and both-position Default::default() rows; an owner-derived expected row; unrelated assertion/owner-free operands; and owner-versus-itself comparison. The three corpus edits, projected to their one candidate-current finding, produce respectively exposed, reachable_unrevealed + rust_macro_wrapped_assertion_unresolved, and the same named limit. The arrow witnesses name the directly related squares / clamps tests.
  • Admission-removal mutation: temporarily changed the syntax gate to return test_case_runs_body(attr, test, &module) && false;, then ran the existing literal-row test above with -- --nocapture — exit 101, expected assertion failure: admitted 0, expected 1. The unchanged oracle detects lost admission.
  • Real retained authored-lib-test-case fixture, locked test-case 3.4.0: cargo test --locked --manifest-path <isolated-copy>/Cargo.toml triangles -- --nocapture. Baseline, behavior-preserving rewrite, and correctly reordered parameters/values: exit 0, two tests pass each. Both retained mutants (n * (n - 1) / 2, n * n / 2): exit 101, both triangle assertions fail each. Wrong parameter use and parameter order without reordering row values likewise fail assertions. Wrong bool parameter type fails compilation with E0308; that is not counted as a mutation kill or an analyzer defect. Removing the assertion makes the minus mutant pass (exit 0). Computed/default-row runtime variants also pass, while analyzer admission refuses them conservatively.

Ceiling causality. Independently enumerated row JSON from Git objects using the native gate predicate (truth == discriminated && outcome == abstained), rather than copying report totals:

Frozen subject Rows Missed credit
old reported base cbddd073 639 144
old head 1a6f6cf8 639 143
merged main parent ce536ef3 649 145
current head 3e7979d7 649 144

The only PR row changing that count is lib-test-case-args-body-assert-eq; both arrow outcomes remain abstained. Current correct delta is 145 → 144, superseding the PR body's 144 → 143. This is a fresh committed-row recount plus fresh execution of the three changed rows, not a fresh all-649 analyzer score.

Restoration and limits. Linux x86_64, permitted local rustc 1.95.0; no toolchain installation. Proof-only additions/removal restored, git diff --exit-code HEAD exit 0; author's branch and shared checkout untouched. Control patch SHA256 7a53c54a68d4ca1db2dd1c5493968d9cb9112596f226898bb673b053568aac4c; removal patch 1cd607808112d634b9e1e8889c372467465db4bfd2b35e72161ddd95e9fb01d8. Retained three corrected harness attempts separately: unsupported CheckOutput serialization, an assertion-free helper precondition, and accidental inclusion of a historical base-deleted finding. None is a production failure.

Observed remote main aeb777757c6846ce18a1b2d5bfb70270ea15f1ec / tree 1361a8c7083597cfc1b9b7fdb6b4e79f9189288d changes none of the checked analysis/check/domain/Rust-corpus/Cargo dependency paths from ce536ef3. git merge-tree --write-tree aeb7777 3e7979d7 exits 0, local composition tree e4a0f4a8b689ea2a2b04afbf2be870d94804f118; that composition was not executed and is not a GitHub checkout receipt.

Disposition / canonical next action. No new source blocker in this bounded seam. Full delivery remains REVIEW_INCOMPLETE: the existing qualification request and ub-review were in progress at readback. The canonical author/owner should finish those existing attempts, inspect actual checkout/base/head and complete producer results (including full corpus evidence), reconcile findings, and correct the stale PR-body ceiling. No required-gate coverage, full-suite rerun, or merge clearance is asserted here.

@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 the corpus ceiling is presented as a measured combined-tree value, while the PR body still claims a reduction from 144 to 143.
  • Confirm fixture_parameters now returns an empty fixture set for any attribute beginning with test_case, including rows that the syntax gate refuses.

Refuted

  • The test_case recognition changes could introduce a dangling AST/index reference or unsafe aliasing at a native seam.; refuted because: No unsafe or raw-pointer code was added; AST and index values are owned or use ordinary Rust borrowing, and all changed analysis outputs own their strings and collections.
  • The new empty fixture set could produce false credit through a helper assertion borrowed by #[test_case].; refuted because: The seeded end-to-end probe refuted this concern: literal rows were only weakly exposed and computed/string rows remained static_unknown; none exposed the owner.
  • The new test-case handling may create an unsafe worker/async ownership handoff.; refuted because: The diff neither executes work across a boundary nor manages owned handles, callbacks, detached tasks, GC references, or transferable values. It only parses attributes and classifies related tests, so this lane has no applicable handoff surface.
  • Adding test_case handling requires broadening into unrelated parameterized macro families.; refuted because: No failing sibling route or changed-line evidence supports such broadening; the existing rstest route remains separate and this PR is scoped to test_case admission and the named arrow limit.
  • The helper-lending concern previously raised in the seeded thread proves a false-credit path after this change.; refuted because: The seeded follow-up reports four end-to-end variants and no exposed result; however, the new generic fixture_parameters early return remains broader than the validated literal-row route.
  • The implementation may trust a shadowed, renamed, glob-imported, or otherwise non-test_case macro.; refuted because: The syntax path requires the real crate through explicit binding/trust checks, rejects duplicate or conflicting bindings and generated module-name shadowing, and the negative controls cover these cases.

Evidence gaps

  • The ceiling edit is the remaining verification risk because the seeded thread identifies a prior main-branch ceiling conflict.
  • Cargo test and corpus-check success remains pending in the supplied sensor packet rather than independently witnessed by this lane.
  • Model proof intent was rejected by deterministic validation.

Parked follow-ups

  • Broader parity across other parameterized-test macro families is outside this diff and should not be folded into this change without a concrete failing route.

EffortlessSteven commented Oct 25, 2026 •

Copy link
Copy Markdown
Member Author

Current-head reconciliation for 3e7979d7d20aae17512c058a97d213b371ce8b54, responding to review 5641864575.

  • The current PR body already records the measured combined-tree ceiling as 145 to 144, including the one credited literal-body row; the 143 in the title is stale metadata, not the current measured claim. The independent receipt recounts all 649 committed rows and retains the exact-head output checks. Please correct the title rather than repeating qualification to reconcile old wording.
  • fixture_parameters does return an empty set for recognized test_case attribute spellings beyond the admitted literal-row subset. That broader early return is an observed source fact, not by itself a false-credit finding. The direct path retains the real-crate, immutable-parameter and literal-row syntax gate. The helper-lending shape was refuted end to end: the literal helper case remains weakly exposed, computed/string rows static unknown, and the arrow form retains the named macro-assertion limit; none earns exposed. The independent receipt adds ten admission controls, actual current-head output checks, genuine triangle mutants and an admission-removal control.

The source/proof evidence therefore answers these bounded questions without claiming completed hosted corpus qualification. Update at 06:56 UTC: required run 40167957511 is terminal failed. Its actual checkout was 20d785d27fad450949a1ba639e7766f8ccaf52ff; required nextest reported 21,078 passed, 5 skipped, and doctests passed. cargo xtask goldens check then exited 1: rust_qualified_foreign_receiver / human-full.txt, first difference line 50 is the new Next: Call the changed method explicitly by its fully qualified path... guidance. Remaining fixture/corpus stages did not qualify this candidate. This is the same observed golden signature already being handled by canonical repair #10253, also identified by the #10246 owner. Reuse that owner/cause investigation rather than introducing a second golden repair or blindly rerunning this failed subject. The completed Rust-only job 121092762771 executed merge 20d785d27fad450949a1ba639e7766f8ccaf52ff with parents ae06191aa58eaba7c3ec75c64e7e7820a2cc4b26 and the unchanged head. Preserve this failed attempt and the sensor packet's missing/rejected proof as instrument history. Next: canonical delivery owner reconciles #10253's disposition and relevant latest-main delta, refreshes affected exact-head review, then requests only the remaining qualification when its prerequisites clear. Final merge disposition remains incomplete; no new campaign or source repair is requested by this reconciliation.

Dependency update — 2026-10-25 07:21 UTC: #10269 is now the single canonical all-14-golden repair, superseding only the golden portion of #10253/#10260; their feature work stays separate. Its current head is 7ff677704a8e2c607546d0d4bc45fd7ba0b5d858, with independent exact-head review and existing qualification 40171945299. It remains open/unmerged. Resume this dependent PR only after the accepted repair lands and affected integration/current-head requirements are reconciled. Do not create another golden repair or blindly rerun the failed subject; retain its completed test evidence and failed-golden receipt.

Accepted-dependency update — 2026-10-25 08:11 UTC: the shared 14-fixture correction is now on main through #10258, merged as feea37899d17d2176a08ef43446f11f7fff9e8db, tree 8e45504e7bcd967dd5801a759a0baa3bfd966f40, parent 8d5d0d011ec797501caf7ba97088da7bb4ea04e1. All 14 expected/human-full.txt Git blobs were independently compared and exactly match reviewed #10269/7ff677704a8e2c607546d0d4bc45fd7ba0b5d858. Do not wait for or conflict-repair a redundant second merge of #10269.

The consuming candidate is not qualified merely because the dependency landed. Current PR merge metadata still identifies the older failed subject. Next canonical-owner action: reconcile current main/head and the actual generated merge/checkout; ensure it contains the accepted 14 blobs, account for #10258's separate digest-wrapping/human.txt changes, refresh affected integration and exact-new-head review if a branch refresh is needed, then issue only one applicable qualification request. Preserve prior failed attempts and reusable proof. No competing source repair or blind label rerun is needed.

Qualification and repair update — 2026-10-25 10:27 UTC: required campaign 40181610357 is terminal success, including hosted gate 121133817190 and required Result 121141937013. Its exact checkout was 6fd64b6264b807223d554d7cb929b00c4dc48048, parents 9f059f48040047e5c1369de3bc3d6ec4398f62b0 and then-head f6422437030a084e929f622476cb4494f4f084c2. Nextest recorded 21,155 passed, 5 skipped; doctests, goldens, fixtures, all four verdict corpora, PR evidence and schema sweep passed. Nextest artifact 12595192768 has SHA-256 469db5ab908df0ec0edc14f04109d707ddea07c42d0114f070c4e1a11d35638e.

That green run is useful frozen-subject evidence, not final clearance and not qualification of a later head. The independent executed counterexample established an actionable unlimited weak-oracle gap when an arrow test contains a no-op body macro and a separate nearby test has an assertion. The exact sensor example without that macro was refuted; constant-return over-abstention remains a separate conservative precision follow-up, not false exposed credit.

The canonical author has now advanced to 082a3d05bfeb657a08419295f94c31a757764d0d, actual merge reported as 66c1a5cbcd2402e705ee9ccb6ae29f3614a442d9, including the relevant proximity-only generated-witness repair and another main/conflict refresh. Independent exact-new-head repair and retained contrary/removal verification is in progress in the existing reviewer; no author-branch change or duplicate campaign is being introduced. The actionable thread remains unresolved until its repair is verified. Reuse valid old proof with its original identity, do not rerun the already green predecessor to qualify the new head, and let the canonical owner make only the remaining exact-head qualification request after prerequisites hold.

@EffortlessSteven EffortlessSteven changed the title fix(owner-pin): credit literal-row #[test_case] bodies, lower Rust missed-credit ceiling to 143 fix(owner-pin): credit literal-row #[test_case] bodies, lower Rust missed-credit ceiling to 144 Oct 25, 2026

Copy link
Copy Markdown
Member Author

Required Rust gates failed on 3e7979d7 at goldens: rust_qualified_foreign_receiver human-full.txt gains a Next: line for rust_implicit_call_unresolved. That limitation kind and its guidance came from main (#9449), not this PR; I reproduced the same single-fixture drift locally and it touches no test_case row. The fix of record is #10253, which re-blesses exactly that golden. I'm not duplicating the bless here. Once #10253 lands I'll merge main into this branch and re-apply merge-ready; the three Rust-test, clippy and precommit gates already passed on this head.


Generated by Claude Code

@github-actions

Copy link
Copy Markdown
Contributor

merge-ready is set, but this PR conflicts with main (head 3e7979d7), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

…-2zx6c3

# Conflicts:
#	fixtures/rust-verdict-corpus/spec-coverage.toml
@EffortlessSteven EffortlessSteven changed the title fix(owner-pin): credit literal-row #[test_case] bodies, lower Rust missed-credit ceiling to 144 fix(owner-pin): credit literal-row #[test_case] bodies, lower Rust missed-credit ceiling to 145 Oct 25, 2026

@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 3 potential issues.

Devin Review

…tion tests (#10190)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR

Copy link
Copy Markdown
Member Author

The agreed migration boundary is now reached: #10317 landed at18:36:13UTC as e7d8d2d after required40218461054 passed on bed5b92. This releases this candidate's migration-specific deferral; #9746's separate time cap had already expired at18:30. The shared #10275/#10381 owner can apply this notice to both candidates.

Continue under the existing owner and queue order, not as a simultaneous qualification wave. Integrate the landed per-language missed-credit acceptance files, preserve current scope/example locks, and regenerate exact accepted-versus-blessed identities for your actual composed change. Remove only the entries your proven credit improvement retires; do not restore numeric ceilings or treat old counts/green runs as proof of a new head. Re-review changed commits and preserve unresolved proof/custody limitations before one required qualification. No protection bypass, competing writer or new release/deployment is authorized by this coordination.

@EffortlessSteven EffortlessSteven changed the title fix(owner-pin): credit literal-row #[test_case] bodies, lower Rust missed-credit ceiling to 142 fix(owner-pin): credit literal-row #[test_case] bodies and retire its missed-credit entry Oct 25, 2026

Copy link
Copy Markdown
Member Author

Review of record, head 06c197959c7c381d59ef13ce106eb66021fef097. The analyzer change was reviewed at 2ed5f285 (Steven's independent source review cleared it, three threads resolved). Changed since, re-checked here:

Applying merge-ready once 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.

Decision

  • Needs one verification check before upstream.

Verification questions

  • Confirm no separate crypto/compression/runtime helper sibling was found in the changed Rust analysis paths; the diff contains no such helper families.

Refuted

  • The new generated_assertion_witness could read an active-view region using a stale length snapshot or incomplete backing store.; refuted because: The diff introduces no active-view or native backing-store representation. It uses owned AST/test-summary collections and explicit related-test completeness checks; ordinary Rust borrowing and owned strings prevent the hypothesized buffer defect.
  • The test_case witness could read an active-view region using stale length or backing-store state.; refuted because: The diff operates on Rust syntax nodes, owned test summaries, strings, and collections. It contains no ArrayBuffer/TypedArray, buffer indexing, resize, detach, transfer, or backing-store length arithmetic.
  • The broad empty fixture set for recognized test_case attributes might create false credit through a helper assertion.; refuted because: The seeded end-to-end probe refuted this concern: literal helper rows were weakly exposed, computed/string rows remained static_unknown, and arrow rows were limited; none became exposed.
  • The architecture duplicates generated-assertion logic across syntax, classification, and oracle modules and should centralize it.; refuted because: The modules have distinct responsibilities: syntax proves whether a row executes the body, classification determines fixture-derived bindings, and oracle analysis determines whether a comparison is readable. The small attribute helpers are local adapters to those boundaries rather than competing policy implementations.
  • The new parsing and witness code could introduce OOB, UAF, type confusion, or unsafe aliasing at a native seam.; refuted because: The changed implementation uses owned syntax trees and collections with checked/returned Option values, adds no unsafe/raw-pointer/FFI code, and unsafe-review found no new gaps.

Parked follow-ups

  • The seeded owner-return limitation is intentionally parked as #10302 rather than broadened into this PR.
  • Generated-comparison witness lookup is conservative about relation completeness and direct oracles, but does not itself expose data or execute generated macro code.

Evidence gaps

  • Current-head required qualification is not proven by this packet; prior green evidence is bound to an earlier head and cargo-test is pending.
  • Model proof intent was rejected by deterministic validation.
  • The current exact composed head still lacks a visible successful required qualification receipt.

…ry_gap first-useful-action snapshots (#10190)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR

Copy link
Copy Markdown
Member Author

Independent exact-head source integration review PASS for06c197959c7c381d59ef13ce106eb66021fef097 / treeb614f856189e563e2ca4715ff369fadb82cb9ccb. Observed receiving merge b5f848d into main7105d18f2d2bc882e0e931cc891880c222abbfb0 has the identical head tree. Recounted accepted/blessed sets match exactly across languages: Rust140 identities, with only lib-test-case-args-body-assert-eq retired, no missing/stale/duplicate entries. Rust676 cases/249 locks/trap floor41 and three configured false verdicts are retained; no numeric ceiling returns. Generated-witness oracle and14 accepted goldens remain unchanged, cache generations1.108/0.115 align across consumers, and both caplog legend repairs are present. All three threads remain resolved.

Your receipt6402728694 reports one required run, but its exact run/producer URL is still missing from the handoff. Please provide that already-admitted campaign link so its actual checkout and terminal required results can be inspected without duplicate dispatch. The prior denied Actions lookup remains held; source PASS/local receipts/CodeRabbit status do not substitute for current hosted qualification. No new campaign or competing writer is requested, and old72ae green remains bound to its original subject.

Copy link
Copy Markdown
Member Author

Required run for 06c19795: 40230480354 (single request, no rerun). It failed, so the head is not qualified. Failing job: Rust-only feature lane (121280908981), cargo test -p ripr, one failure: first_useful_action_corpus_pins_routing_cases (cli_smoke.rs:7513). The boundary_gap first-useful-action/unchanged-after-attempt snapshots embed the corpus cache generation, which this PR's bump (1.107 to 1.108) changes. That is this PR's miss, same pattern as #10451's 1.106 to 1.107.

Fix, not yet pushed: regenerated before/after.repo-exposure.json (generation and content commitment; the new commitment equals the hash CI's producer printed, da2769ca…), then the dependent agent-verify.json and agent-receipt.json hashes, plus the fixture CHANGELOG entry. The test and goldens check pass locally. I'm running the whole ripr test suite with --no-fail-fast before pushing, to catch anything hidden behind that first failure, and will request one new required run on the final head.


Generated by Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR
@github-actions

Copy link
Copy Markdown
Contributor

merge-ready is set, but this PR conflicts with main (head 06c19795), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

Copy link
Copy Markdown
Member Author

Pushed ccda052a (main at d2ae1fe6, no further drift) and applied merge-ready once for one required run. Changes since 06c19795: the boundary_gap first-useful-action snapshot regeneration for cache generation 1.108 (the one failure in run 40230480354), and a merge of main that took main's python_caplog_* re-blesses now that they have landed. Evidence on this tree: the whole cargo test -p ripr --no-fail-fast suite passes locally (no failure behind the first one), goldens check exits 0, and first_useful_action_corpus_pins_routing_cases passes. Cache collision note: #9845 also targets 1.108/0.115; whichever lands second bumps to 1.109/0.116. I re-check main's value right before merging.


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.

Refuted

  • The broad empty fixture-set return for recognized test_case attributes could enable unsafe helper-lending or stale fixture assumptions.; refuted because: This is an analyzer-semantic concern rather than a lifetime or ownership violation; the seeded end-to-end probe refuted helper false credit, and the implementation returns owned BTreeSet data without retaining borrowed fixture state.
  • The new witness may read an active-view region using a stale length snapshot or incomplete backing store.; refuted because: The changed code operates on owned AST nodes, owned TestSummary records, strings, and collections. It performs no ArrayBuffer/TypedArray indexing, backing-store length arithmetic, resize, detach, transfer, or native memory management.
  • The test_case changes might create an unsafe worker/async ownership handoff.; refuted because: The diff adds no worker, async task, callback, thread, GC, FFI, buffer, pointer, detach, or transfer operation. Values crossing local function calls remain ordinary owned or borrowed Rust data.
  • The broad fixture_parameters early return could produce false credit through helper-lending assertions.; refuted because: The admission gate only reaches literal-row test_case functions; the seeded end-to-end review reports literal helper cases weakly_exposed and computed/string rows static_unknown, with no exposed result.
  • The changed test_case handling could introduce a native or ownership safety defect.; refuted because: The changed code operates on owned syntax nodes, strings, AST attributes, and test summaries with ordinary Rust borrowing; no unsafe block, pointer, FFI, async handoff, or native buffer path is introduced.
  • A broad test_case attribute path could cause false credit through helper lending.; refuted because: The prior end-to-end probe found literal helper rows only weakly_exposed and computed/string rows static_unknown; none reached exposed. The current syntax gate separately admits only literal rows with plain immutable parameters.
  • The PR's public corpus claim is internally consistent for the shown diff: one row becomes credited and only that row's accepted missed-credit entry is removed.

Parked follow-ups

  • Arrow-form generated comparisons still do not prove that the changed owner feeds the returned value; this remains a bounded precision limitation tracked by the seeded follow-up #10302.
  • The arrow-form generated-comparison limitation is implemented as a named limit for directly related test_case tests, including proximity-only weakly_exposed findings; owner-return dependence remains intentionally deferred.

Evidence gaps

  • Exact-head cargo-test execution is scheduled late but its receipt is not yet present, leaving the new regressions not independently executed by this lane.
  • Model proof intent was rejected by deterministic validation.
  • Final-head qualification remains unproven because the ripr sensor failed and cargo-test evidence was still scheduled late.

Copy link
Copy Markdown
Member Author

Independent source/snapshot review PASS on ccda052, treeca9ec13cb92212aef51971849866449549a925fb. The explicitly supplied old40230480354 log confirms06c197's stale boundary snapshot failure; the corrected commitment now matches that native producer output. Snapshot-integrity validation exits0 with aligned commitments, receipt hashes, paths and verify bindings; the consumer still requires production-output equality and rejects altered commitments. Analyzer/Rust corpus and14 retained goldens remain unchanged from reviewed06c197.

Current hosted qualification is still UNVERIFIED because handoff6403357836 omits its new run/producer URL. Please include that exact existing link in your next response; the denied listing remains held and no alternate search or duplicate dispatch was used. Later main2e954f81 composes cleanly, but that is source composition, not execution.

Main cache remains1.107/0.114; #9845 and this candidate both propose1.108/0.115. Coordinate one actual landing order. The second lander must update generations, snapshots and dependent receipts coherently, then obtain review/checks for that new subject; a last-minute post-green bump cannot inherit current qualification.

Copy link
Copy Markdown
Member Author

Exact required run for head ccda052a669a28fe114083af0156c74f50d36f64 (single dispatch, from the one merge-ready application, no duplicate): https://github.com/EffortlessMetrics/ripr-swarm/actions/runs/40234423358 (run 21759, attempt 1, routed-rust.yml, "Merge-ready request ccda052…", started 2026-10-25T21:12:52Z). Rust gates job: https://github.com/EffortlessMetrics/ripr-swarm/actions/runs/40234423358/job/121292964552. Status at 21:46Z: still in progress; Ripr Rust Small Result has not been produced yet. This is the producer link, not a pass.

Landing order: #9845 has not landed (main is still 1.107/0.114). If it lands first, this PR will merge main, bump to 1.109/0.116, regenerate snapshots and receipts, and take a fresh label and run for that head. If this PR lands first, #9845 does the same. I will not bump after green on this head and merge on the old result.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven merged commit 717d51b into main Oct 25, 2026
52 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/project-thread-2zx6c3 branch October 25, 2026 21:56

Copy link
Copy Markdown
Member Author

Owner-provided named campaign40234423358 is now independently verified SUCCESS, producer121292964552 / Result121302647812. Actual logged checkout d152892, parentsd2ae1fe6 +ccda052a, treeca9ec13cb92212aef51971849866449549a925fb. Native21,597 passed/five skipped, doctests2 passed/1 ignored; snapshot/routing, literal-row, arrow/proximity, cache-generation and identity-ledger controls explicitly passed. Rust676 cases retains three configured false verdicts,249 locks and0/41 credited traps.

Verified owner landing717d51b4b31421897667c793874bde7f03dfe915 at21:55:58 has tree5a485851ced62c10fc8b11f83c46e71582dfef10. Source, snapshots, generations and14 goldens survive unchanged;19/20 candidate-path blobs match, the sole delta a ledger header comment, with correct accepted identities. Whole landed tree includes later main changes and is not relabeled as the tested tree.

The earlier snapshot failure40230480354 and denied listing remain preserved. Only the explicitly supplied named run was read; no listing retry, duplicate run or parent merge occurred. Cache1.108/0.115 is now consumed; #9845/#10480 owners have been asked to agree the next actual generation/landing order with fresh coherent review/checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants