Repository navigation
fix(owner-pin): credit literal-row #[test_case] bodies and retire its missed-credit entry - #10247
Conversation
… form's generated assertion (#10190) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 44 minutes. View limit details
Comment |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR
|
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
Resolutions: the one test nit is fixed; the rest need no change. Local proof: Generated by Claude Code |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
|
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR
|
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.
Everything else I checked held: the crate-trust checks mirror rstest's, Generated by Claude Code |
|
Follow-up to item 2 of my review: refuted end to end, no issue to file. I built
No variant reads Generated by Claude Code |
|
Independent bounded delivery-proof receipt for 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 Executed checks, native results.
Ceiling causality. Independently enumerated row JSON from Git objects using the native gate predicate (
The only PR row changing that count is Restoration and limits. Linux x86_64, permitted local rustc 1.95.0; no toolchain installation. Proof-only additions/removal restored, Observed remote main 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. |
There was a problem hiding this comment.
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.
|
Current-head reconciliation for
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 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 Accepted-dependency update — 2026-10-25 08:11 UTC: the shared 14-fixture correction is now on main through #10258, merged as 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 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 |
|
Required Rust gates failed on Generated by Claude Code |
|
|
…-2zx6c3 # Conflicts: # fixtures/rust-verdict-corpus/spec-coverage.toml
…tion tests (#10190) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR
|
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. |
…d-credit entry (#10190) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR
…hon_caplog legend re-bless Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR
|
Review of record, head
Applying Generated by Claude Code |
There was a problem hiding this comment.
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
|
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. |
|
Required run for Fix, not yet pushed: regenerated Generated by Claude Code |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR
|
|
|
Pushed Generated by Claude Code |
There was a problem hiding this comment.
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.
|
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. |
|
Exact required run for head 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 |
|
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. |
…9/0.116 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FMEkYAqTh9LZtLbF2mzCYW
Summary
#[test_case(3, 6)] fn t(n, expected) { assert_eq!(f(n), expected) }now counts as running its body once per row whentest_caseis 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 reportedUnidentifiedTestfor these because it only knewtestandrstest. The crate-trust checks mirror rstest's (shadowingmod/use/glob/rename, a function namedtest_case, and the other trusted crates all refuse), and the classifier treats the row parameters as literals, not fixtures.lib-test-case-arrow-expected-valuereadlimitedonly because the siblingtrianglesassertion 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 namedrust_macro_wrapped_assertion_unresolvedlimit throughgenerated_assertion_witness, independent of any sibling. The witness also applies when a proximity-only oracle in an unrelated same-file test made the findingweakly_exposed; the complete-window, no-direct-oracle and refused-assertion safeguards still hold.lib-test-case-args-body-assert-eqmoveslimited→credited(exposed), so its entry is removed fromfixtures/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). Thearrow-expected-valueandwith-closure-boundrows keep verdictlimitedand outcomeabstained; theirobserved_classificationschange fromstatic_unknowntoreachable_unrevealedbecause the limit now rides on the class. 676 cases, 3/676 false, unchanged.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 holds1.107/0.114). The earlier heads of this PR had not bumped it.Swarm / Source Boundary
ripr-swarmSource-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-eqmissed-credit row is credited and its accepted entry is retired.Proof
verdict-corpus check --language rust,committed_ceilings_equal_the_blessed_missed_credit,check-traceability,check-output-contracts,goldens check, seam-cache lib tests (199 passed);cargo xtask precommitexit 0 on the tree before the last merge of main.python_caplog_builtin_beside_fixturesandpython_caplog_renamed_fixturegoldens (fix(python): treat a fixture renamed to caplog as an override #10444/fix(cli): define finding, unsuppressed, unknown, base-side and candidate line in the evidence legend (#9244 S5) #10426 crossed); the two re-blesses are ported here, with fix(rust): refuse helper-chain forwarding through rebinding or opaque-macro wrappers #10351 the fix of record, and they no-op once it lands.a_test_case_table_with_literal_rows_runs_the_body_once_per_row(positives plus 25 negative controls),only_the_arrow_forms_of_test_case_generate_an_assertion,a_generated_comparison_keeps_its_limit_beside_a_proximity_oracle, and the end-to-enda_generated_test_case_comparison_beside_a_proximity_oracle_keeps_its_limit.🤖 Generated with Claude Code
https://claude.ai/code/session_01PAyB2anhicgEbMidNUN6ZR