Skip to content

test(fixtures): inherent receiver fixtures 1/2 (#7415, split of #8004) - #11029

Merged
EffortlessSteven merged 19 commits into
mainfrom
rook/7415-s2-fixtures-a
Oct 30, 2026
Merged

EffortlessSteven merged 19 commits into
mainfrom
rook/7415-s2-fixtures-a

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Governing issue or accepted claim: #7415 (split of #8004; #8577 landed slice 1)
Acceptance delta (one sentence): Adds the first half of the #8004 inherent-receiver fixture directories (free_helper_identity, macro_discard, async_function, helper_scope_shadow, foreign_helper), now re-blessed against current main with classified reasons.

Recreates #8881. Merged with origin/main (fb0411e). Goldens re-blessed with cargo xtask goldens bless and a RIPR-SPEC-0005 reason each (recorded in each expected/CHANGELOG.md):

Proof on head 7ec7efa:

  • cargo xtask goldens check: 0 drift entries; the only failure is the sandbox-offline owner_return_pin_fallible_literal dependency preparation (network limit)
  • cargo xtask check-fixture-contracts: pass
  • cargo xtask check-changelog-fragments: pass

Related: async-hop fail-closed fix PR #11065 (fixtures async_function and friends are the decoys it covers). Draft.


https://claude.ai/code/session_013kSch2opYors8Yb2NR1ZMd


Generated by Claude Code

claude added 11 commits October 17, 2026 21:51
…oduction rule)

Refs #7415. First slice of the #8004 split: the production attribution rule,
owner-pin unit tests, source-snapshot syntax memo and corpus rows. Fixtures,
integration tests and spec/traceability follow in later slices.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XdFHetzhxrXVMQXg1meaVR
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XdFHetzhxrXVMQXg1meaVR
… shows once (#8583)

#8636 and #8642 both implemented the generic-client window/showMessage for
#8583. Both fired for one failure, so a generic client saw two warnings and
generic_client_analysis_failure_is_shown_once_and_only_to_generic_clients
failed on main. Keep #8642 (per-signature dedupe, plus the initialize and
config-reload paths) and remove #8636's latch, its notice helper, its test
module and its changelog fragment.

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

Main now fixes the #8636/#8642 duplicate itself, so this branch's own
removal of #8636's path is dropped in favor of main's version.

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

ripr check carries a 600s analysis budget below the 3600s producer timeout, so a
large analyzer diff stopped with analysis_timeout (exit 2). Set RIPR_CHECK_TIMEOUT
to the same 3600s ceiling.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XdFHetzhxrXVMQXg1meaVR
… once per file

inherent_receiver_call_resolves built a fresh OwnerPinSyntax per query, so the
workspace trusted-macro scan repeated for every (seam, test) pair. It now uses
an index-owned owner. macro_may_define_callee_name re-parsed the whole file for
every distinct callee name; the file's macro definitions and invocations are now
scanned once and queried per name.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XdFHetzhxrXVMQXg1meaVR
Take main's SyncMemo path_memo and macro_defined memos; keep this slice's
shared macro-site and file-scope owners, using SyncMemo/Arc so the run stays
Send. Drop the now-unused per-syntax file_scopes memo.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013kSch2opYors8Yb2NR1ZMd
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013kSch2opYors8Yb2NR1ZMd
Adds the free-helper-identity, macro-discard, async-function,
helper-scope-shadow and foreign-helper inherent-receiver fixtures from the
#8004 tracker.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013kSch2opYors8Yb2NR1ZMd
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013kSch2opYors8Yb2NR1ZMd
@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 30, 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 20 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 149 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: 99e49d4b-701f-49f7-9d67-c91938abab72
Commits

Reviewing files that changed from the base of the PR and between 4b12781 and 974274e.

Files selected for processing: 72
  • changelog.d/7415-inherent-receiver-fixtures-a-rebless.md
  • fixtures/inherent_receiver_async_function/SPEC.md
  • fixtures/inherent_receiver_async_function/controls/activated-unsupported.rs
  • fixtures/inherent_receiver_async_function/controls/entry.rs
  • fixtures/inherent_receiver_async_function/controls/intermediate.rs
  • fixtures/inherent_receiver_async_function/controls/last-hop.rs
  • fixtures/inherent_receiver_async_function/controls/method-entry.rs
  • fixtures/inherent_receiver_async_function/controls/method-last-hop.rs
  • fixtures/inherent_receiver_async_function/controls/method-sync.rs
  • fixtures/inherent_receiver_async_function/controls/mixed-direct.rs
  • fixtures/inherent_receiver_async_function/controls/mixed-helper.rs
  • fixtures/inherent_receiver_async_function/controls/named-intermediate.rs
  • fixtures/inherent_receiver_async_function/controls/named-method-last-hop.rs
  • fixtures/inherent_receiver_async_function/controls/named-sync-chain.rs
  • fixtures/inherent_receiver_async_function/controls/sync-chain.rs
  • fixtures/inherent_receiver_async_function/controls/sync-keyword.rs
  • fixtures/inherent_receiver_async_function/controls/sync-with-dormant-block.rs
  • fixtures/inherent_receiver_async_function/diff.patch
  • fixtures/inherent_receiver_async_function/expected/CHANGELOG.md
  • fixtures/inherent_receiver_async_function/expected/check.json
  • fixtures/inherent_receiver_async_function/expected/human.txt
  • fixtures/inherent_receiver_async_function/input/Cargo.toml
  • fixtures/inherent_receiver_async_function/input/src/lib.rs
  • fixtures/inherent_receiver_foreign_helper/SPEC.md
  • fixtures/inherent_receiver_foreign_helper/controls/local-helper.rs
  • fixtures/inherent_receiver_foreign_helper/controls/shadowed-owner-type.rs
  • fixtures/inherent_receiver_foreign_helper/diff.patch
  • fixtures/inherent_receiver_foreign_helper/expected/CHANGELOG.md
  • fixtures/inherent_receiver_foreign_helper/expected/check.json
  • fixtures/inherent_receiver_foreign_helper/expected/human-full.txt
  • fixtures/inherent_receiver_foreign_helper/expected/human.txt
  • fixtures/inherent_receiver_foreign_helper/input/Cargo.toml
  • fixtures/inherent_receiver_foreign_helper/input/src/lib.rs
  • fixtures/inherent_receiver_free_helper_identity/BOUNDARIES.md
  • fixtures/inherent_receiver_free_helper_identity/SPEC.md
  • fixtures/inherent_receiver_free_helper_identity/cases.json
  • fixtures/inherent_receiver_free_helper_identity/controls/generic-root.rs
  • fixtures/inherent_receiver_free_helper_identity/controls/genuine-root.rs
  • fixtures/inherent_receiver_free_helper_identity/controls/imported-foreign.rs
  • fixtures/inherent_receiver_free_helper_identity/controls/imported-root.rs
  • fixtures/inherent_receiver_free_helper_identity/controls/intermediate-foreign.rs
  • fixtures/inherent_receiver_free_helper_identity/controls/intermediate-root.rs
  • fixtures/inherent_receiver_free_helper_identity/controls/qualified-test-module-helper.rs
  • fixtures/inherent_receiver_free_helper_identity/controls/same-line-callers.rs
  • fixtures/inherent_receiver_free_helper_identity/controls/same-line-foreign.rs
  • fixtures/inherent_receiver_free_helper_identity/controls/test-module-helper.rs
  • fixtures/inherent_receiver_free_helper_identity/controls/unique-foreign-value.rs
  • fixtures/inherent_receiver_free_helper_identity/diff.patch
  • fixtures/inherent_receiver_free_helper_identity/expected/CHANGELOG.md
  • fixtures/inherent_receiver_free_helper_identity/expected/check.json
  • fixtures/inherent_receiver_free_helper_identity/expected/human.txt
  • fixtures/inherent_receiver_free_helper_identity/input/Cargo.toml
  • fixtures/inherent_receiver_free_helper_identity/input/src/lib.rs
  • fixtures/inherent_receiver_helper_scope_shadow/SPEC.md
  • fixtures/inherent_receiver_helper_scope_shadow/controls/genuine-module.rs
  • fixtures/inherent_receiver_helper_scope_shadow/controls/receiver-type-parameter.rs
  • fixtures/inherent_receiver_helper_scope_shadow/diff.patch
  • fixtures/inherent_receiver_helper_scope_shadow/expected/CHANGELOG.md
  • fixtures/inherent_receiver_helper_scope_shadow/expected/check.json
  • fixtures/inherent_receiver_helper_scope_shadow/expected/human.txt
  • fixtures/inherent_receiver_helper_scope_shadow/input/Cargo.toml
  • fixtures/inherent_receiver_helper_scope_shadow/input/src/lib.rs
  • fixtures/inherent_receiver_macro_discard/SPEC.md
  • fixtures/inherent_receiver_macro_discard/controls/sibling-shadow.rs
  • fixtures/inherent_receiver_macro_discard/controls/standard.rs
  • fixtures/inherent_receiver_macro_discard/diff.patch
  • fixtures/inherent_receiver_macro_discard/expected/CHANGELOG.md
  • fixtures/inherent_receiver_macro_discard/expected/check.json
  • fixtures/inherent_receiver_macro_discard/expected/human-full.txt
  • fixtures/inherent_receiver_macro_discard/expected/human.txt
  • fixtures/inherent_receiver_macro_discard/input/Cargo.toml
  • fixtures/inherent_receiver_macro_discard/input/src/lib.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

…7415)

macro_discard ignored_operand weakly_exposed -> reachable_unrevealed (decoy
demotion, #9342); async_function/foreign_helper/free_helper_identity/
helper_scope_shadow are wording-only (#10886, #10887). free_helper_identity
cases.json records the native sync chain as helper_owner_call.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013kSch2opYors8Yb2NR1ZMd
…all on main (#7415)

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

@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 a broad repository-wide sibling sweep for alternative inherent-receiver helper forms is not evidenced by the supplied lane artifacts, so completeness beyond the enumerated controls cannot be claimed.

Refuted

  • An async helper call or dormant macro operand crosses a JS worker/GC/detach/transfer boundary in these fixtures.; refuted because: The changed sources contain no JS runtime, worker, GC, detach, or transfer code; async futures are local Rust values, and the activation control explicitly polls one future before execution.
  • The macro-discard fixture credits a tautological assertion and therefore overstates oracle coverage.; refuted because: The assertion is deliberately expanded by a local empty macro, so its operand is never observed. The checked-in golden reflects that limitation with reachable_unrevealed, no oracle/discriminator, and no credit.
  • Re-blessing macro_discard could accidentally promote a discarded shadow-macro assertion into owner coverage.; refuted because: The new golden moves both findings to reachable_unrevealed, and the return-value finding explicitly says the assertion is not credited because macro binding is unestablished.
  • Adding many Rust fixture controls could expand an unsafe or type-confusion attack surface.; refuted because: The files are isolated test fixtures, not production source; they contain no unsafe or FFI operations, and the controls deliberately prevent decoy receivers/helpers from being credited as the owner.
  • The five fixture directories duplicate identity-boundary policy and should be collapsed into a shared implementation or fixture harness.; refuted because: The split uses a shared cases matrix and BOUNDARIES.md for the broad identity corpus while each fixture retains a focused SPEC and native controls; this avoids coupling unrelated fixture claims while preserving one authoritative boundary description.
  • The changed fixtures should broaden admission to all sibling helper forms.; refuted because: The boundary documents intentionally exclude trait dispatch, general value flow, complete macro expansion, and unresolved nested execution; those variants are parked rather than included.
  • The fixtures may incorrectly equate a dormant, foreign, or shadowed call with genuine execution of the private inherent owner.; refuted because: The documented controls preserve separate native truth and static-admission axes: dormant/foreign/shadowed controls survive the owner mutant, while genuine direct/helper controls reject it; the macro-discard golden also demotes the ignored operand to reachable_unrevealed.
  • The macro-discard fixture may credit the shadowed assert_eq! macro as an oracle.; refuted because: The checked golden explicitly reports no established oracle for the return-value finding and classifies both probes reachable_unrevealed, consistent with the documented demotion.
  • Discarding or polling an async future in the new controls might reveal an active-view stale-length or detachment bug.; refuted because: The fixtures concern future execution and receiver attribution; they do not use buffers, typed arrays, slices, resizing, detaching, transferring, or cached lengths. Rust's ordinary borrow rules govern the local Option values, with no unsafe code introduced.

Evidence gaps

  • A fresh route witness for the re-blessed helper relations remains unavailable because the planned RIPR sensor exited 2; the supplied golden outputs and native-control matrix are consistent with the claims.
  • Model proof intent was rejected by deterministic validation.

…iff-path bridge (#7415)

Verified: the lib identity matrix (repository seam walk) leaves the sparse
sync chain uncredited, while the diff path credits helper_owner_call.

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

@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 focused proof failure resolved before upstream.

Verification questions

  • Confirm the available evidence does not prove that the enumerated helper forms exhaust all repository-wide inherent-receiver sibling paths.
  • Confirm no repository-wide sibling sweep is evidenced by this fixture-only diff, so completeness beyond the enumerated helper forms should not be claimed.

Refuted

  • Re-blessing this fixture introduces a native memory-safety regression.; refuted because: The changed Rust files are local test subjects and contain no unsafe code, raw pointers, interior mutability, concurrency, FFI, lifetime annotations, or production ownership transfer. Their mutable state is limited to a locally pinned future whose borrow remains within the test.
  • An async helper call or dormant macro operand crosses a JavaScript worker, GC, detach, transfer, or backing-store boundary.; refuted because: The changed Rust fixtures contain no JavaScript runtime or buffer APIs; the only activated future is local and polled once, while the macro-discard path intentionally has no effective assertion.
  • An async helper or dormant macro operand crosses a JS worker/GC/detach/transfer boundary.; refuted because: No changed Rust file contains JS or worker-transfer APIs. Async values remain local Rust futures; dormant macro operands are discarded before observable execution, and the fixture metadata explicitly avoids owner credit.
  • Re-blessing macro_discard promotes a discarded shadow-macro assertion into owner coverage.; refuted because: The expected goldens explicitly classify both findings as reachable_unrevealed, report no oracle/discriminator for the local macro, and do not credit the assertion; controls/sibling-shadow.rs supplies the paired positive behavior outside the discarded fixture.
  • The macro-discard re-bless promotes a tautological shadowed assertion into owner coverage.; refuted because: The checked-in golden reports zero exposed findings, two reachable_unrevealed findings, and explicitly states that the macro assertion is not credited because macro binding is unestablished.

Test proof

  • Focused HEAD proof failed (exit 101): cargo test --locked --package ripr --test inherent_receiver_fixtures. This is a current failure, not a red/green witness.

Parked follow-ups

  • The full native control matrix may have false negatives outside the enumerated helper, shadowing, dormant-body, and async forms.

Evidence gaps

  • Full native truth for the 34-control identity matrix is asserted but not independently witnessed in this lane.
  • 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.

Independent review (fresh-context reviewer, head 7ec7efa): REPAIR_REQUIRED — fixture-only claim holds, but the fixture boundary documents assert a matrix size that is false at this head and drop disclosures the maintainer already disposed.

Inspected: closely read — fixtures/inherent_receiver_{free_helper_identity,macro_discard,async_function,helper_scope_shadow,foreign_helper}/{SPEC.md,BOUNDARIES.md,cases.json,diff.patch,input/src/lib.rs,expected/{check.json,human.txt,human-full.txt,CHANGELOG.md}} at head 7ec7efa; the fixture harness that actually consumes them (xtask/src/reports/fixtures.rs fixture_dirs/run_fixture/run_fixture_check/fixture_golden_comparisons, xtask/src/fixture_contracts/mod.rs contract validator, xtask/src/main.rs bless-reason validator); policy/proof-packs.toml:78-85 (the analysis-fixture pack that owns fixtures/**); .ripr/traceability.toml; sibling splits #9613/#9614/#11030/#11031/#9611 and parent #8004 for ownership and content comparison. Sampled — production owner crates/ripr/src/analysis/classify/related_tests.rs and test_grip_evidence (not modified by this PR); CRub review and the #9613 maintainer disposition comment for prior-art findings.

Blocking:

  • fixtures/inherent_receiver_free_helper_identity/BOUNDARIES.md:3 — states "The 34 entries in cases.json"; that file has 50 entries at this head (gh api .../cases.json --jq length = 50; 50 "path" keys). The sibling copy of the same file in #9613 (head 894f239) already carries the corrected "50 entries" after the maintainer's P1 disposition on 2026-10-26 ("BOUNDARIES.md now says 50 entries, matching grep -c '"path"' on cases.json (50)"). A reader sizing the identity matrix from this document understates it by 16 entries and contradicts the cases.len() == 50 assertion the #11031 consumer test makes at crates/ripr/src/analysis/test_grip_evidence/tests.rs.
  • fixtures/inherent_receiver_async_function/SPEC.md:37 — "Preserve all original 34 executable identity controls and their truth labels" names a count that is not reproducible from this tree: the five fixture dirs added here own 32 controls/*.rs files (15/2/11/2/2), while the shared matrix those controls belong to has 50. The Must-Not clause therefore pins a number over a corpus this PR only partly owns, so a sibling-half control change violates it with no gate able to notice. The sibling copy (#9613) deliberately states this count-free ("Preserve every existing matrix entry and its truth label").
  • fixtures/inherent_receiver_free_helper_identity/BOUNDARIES.md:4 — the native_reaches disclosure is gone. It is accurate that no gate reads the field: neither #11031 test file references native_reaches (the matrix Case struct has only path/name/relation). Without the disclosure the document presents an unchecked field as part of the checked contract, and the reader loses the instruction to review such a value against the native replay instead of mechanically. This is the maintainer's disposed P2 (option (b)) from 2026-10-26, reverted by this copy.
  • fixtures/inherent_receiver_free_helper_identity/SPEC.md:29 — "and exercised by inherent_executable_owner_identity_boundary_matrix and the production-path integration executable_owner_identity_boundaries_agree_in_diff" points at two test functions that do not exist at this head (crates/ripr/tests holds only inherent_receiver_parsing_cost.rs; both functions live in #11031/#9614). The sibling copy qualifies the same sentence with "which land in the stacked test slice (#9614), not in this fixture slice"; without it, the fixture's declared discriminating control is unresolvable in the reviewed PR and its coverage claim is unverifiable from this head.
  • fixtures/inherent_receiver_free_helper_identity/SPEC.md (after :31) — the "## Matrix polarity" section is dropped. It is the only place stating that relation is the repository-report row and that the diff consumer must not credit helper-only reach as a direct or helper owner call — the exact constraint the same PR's async_function/SPEC.md:25 relies on when it says the diff path "credits it helper_owner_call / high". Dropping it while asserting that credit leaves the polarity unstated.
  • fixtures/inherent_receiver_free_helper_identity/{BOUNDARIES.md,cases.json} and the four sibling fixture dirs — duplicate ownership with #9613 (open draft, head 894f239): 61 of #11029's 72 files are the same paths #9613 writes, with divergent bytes (BOUNDARIES.md 34 vs 50 entries; SPEC.md differs). Two open drafts writing one path cannot both land; whichever lands second conflicts, and the corpus meanwhile carries two divergent copies of the boundary document, only one of which is correct.

Non-blocking:

  • .ripr/traceability.toml — the five new fixture dirs are not registered in any behavior's fixtures array, while the equivalent sibling #9613 registers all eleven (under RIPR-SPEC-0005 and RIPR-SPEC-0101). check-traceability does not require registration of a newly added fixture, so this is not a gate failure, but the dirs land untraceable if #11029/#11030 land without #9613.
  • fixtures/inherent_receiver_async_function/SPEC.md:23 — the sparse controls/sync-chain.rs reconciliation text is accurate against the artifact (cases.json records relation=null, native_reaches=true for that path, and helper_owner_call for named-sync-chain.rs), and the diff-path credit claim matches the stated #8633 bridge (12e63da is present on main). No change requested; noted so the reconciliation is not re-litigated.

Not run: cargo xtask goldens check, cargo xtask fixtures, cargo xtask check-fixture-contracts and the workspace test suite — not executed; the build is long and the checkout is shared with concurrent agents, so static reading and GitHub API evidence carried this review. The PR body's "Proof on head" claims are therefore local-only and remain unverified here. I did run cargo in an isolated scratch package outside this repository to reproduce the hosted lane's exit code: cargo test --package <pkg> --test <missing> exits 101 with "error: no test target named ...", which matches the ub-review lane's reported failure exactly.

Hosted evidence: every CI workflow on this head is skipped (CI, Coverage, Security, Windows/macOS Advisory, Test Analytics, Future Clippy, Droid) because the PR is a draft without the merge-ready label; only the ub-review lane ran, and its own body records "Focused HEAD proof failed (exit 101): cargo test --locked --package ripr --test inherent_receiver_fixtures" and the decision "Needs focused proof failure resolved before upstream". That command names a test target that exists neither at this head nor on main, so the failure is a mistargeted proof command rather than a source failure; the repo-native owner of fixtures/** is the analysis-fixture pack (policy/proof-packs.toml:79-83, required commands cargo test --workspace, cargo xtask fixtures, cargo xtask goldens check, cargo xtask check-fixture-contracts, lane routed-rust-small), whose lane was skipped. Green hosted proof is therefore absent for this head.

Re-bless correctness (corroborated, no finding): the goldens were re-blessed in the conservative direction only. macro_discard's ignored_operand finding moved weakly_exposed -> reachable_unrevealed and its input deliberately shadows assert_eq with an empty macro_rules!, and the golden's own evidence records "assertion not credited: assert_eq! in ignored_operand at src/lib.rs:16: src/lib.rs:13 defines a macro named assert_eq" with observe/discriminate = no — the expected value follows the semantics and is not a copy of whatever the analyzer happened to print. The other four fixtures keep classifications weakly_exposed, weakly_exposed (verified class-by-class against the sibling), with only recommended_next_step/suggested_next_action and summary wording changed, attributable to the landed main commits e7a35fb (#10886) and 701102d (#10887). The fixtures reach the production path: xtask/src/reports/fixtures.rs:1242-1280 runs the real ripr check --root <fixture>/input --diff <fixture>/diff.patch --mode fast binary and compares against expected/check.json and expected/human.txt, so a regression in the analyzer drifts these goldens.


Reviewed by an independent Mavis review agent on behalf of the maintainer; bound to head 7ec7efa3. Not an approval.

…view

Correct BOUNDARIES.md entry count (50), restore native_reaches disclosure
and Matrix polarity section, qualify test references as landing in the
integration-tests slice (#11031), make async_function Must-Not count-free,
and re-bless inherent_receiver_macro_discard human.txt against main.

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

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013kSch2opYors8Yb2NR1ZMd
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 30, 2026 06: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!

@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 fixture completeness beyond the enumerated controls is not established by the supplied evidence.
  • Confirm some fixture subjects contain self-equal assertions that validate syntax/existence but do not discriminate the changed owner behavior.
  • Confirm fixture completeness beyond the enumerated sibling forms is not established by this fixture-only diff.

Test proof

  • Focused HEAD proof failed (exit 101): cargo test --locked --package review-control --test inherent_receiver_review_last_hop_and_wrapper_controls. This is a current failure, not a red/green witness.

Refuted

  • Async or macro-discard fixture paths could cross a worker, GC, detach, transfer, or lifetime boundary and create native UB.; refuted because: The changed Rust is fixture-only and contains no JS runtime, transfer APIs, unsafe code, raw pointers, interior mutability, or cross-thread ownership; async futures are local and the macro operand is deliberately unobserved.
  • An async helper or dormant macro operand crosses a JS worker, GC, detach, transfer, or backing-store boundary.; refuted because: Refuted: the changed files contain no JS runtime or buffer APIs; futures and macro operands are local Rust constructs, with the activated future explicitly polled once.
  • The enumerated controls prove all repository-wide inherent-receiver sibling paths are covered.; refuted because: The supplied evidence is fixture-scoped and BOUNDARIES.md explicitly lists unsupported helper-flow classes, so completeness must not be claimed or broadened into this fixture slice.
  • Dormant or discarded helper paths might cross an exploitable native boundary or hide execution of the private owner.; refuted because: The changed Rust consists of bounded local fixture subjects without unsafe code, raw pointers, FFI, concurrency, external input, or ownership transfer; dormant paths are intentionally refused while native mutation truth is kept separate from static advice.
  • The changed fixtures might contain an unsafe native memory-safety boundary or a runtime ownership-transfer regression.; refuted because: The changed Rust sources are local fixture subjects with no unsafe code, raw pointers, FFI, threads, JavaScript runtime, or ownership-transfer operation; async values remain local and the only activated future is explicitly polled.
  • An async helper call or dormant macro operand crosses a JS worker/GC/detach/transfer boundary.; refuted because: The changed Rust fixtures contain no JS runtime or transfer APIs; async futures are local values, with only the explicitly polled control executing locally.

Evidence gaps

  • Repository-wide helper-form completeness is not established by this fixture-only slice and should not be claimed.
  • 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.

Independent review (fresh-context reviewer, head 974274e): REVIEW_INCOMPLETE — delta review of the move from head 7ec7efa3. Every finding the prior review raised against this candidate is repaired and verified at this head, and the hosted head is green including the lane that was red before. Merge readiness is still not established, because this PR and open draft #9613 own the same fixture paths; that duplication is an owner decision the maintainer reserved on #9614 on 2026-10-30, not a defect repairable inside this PR.

Inspected:

  • fixtures/inherent_receiver_free_helper_identity/BOUNDARIES.md:3 — now reads "The 50 entries in cases.json"; cases.json at this head has exactly 50 entries (50 "path" keys, 50 distinct). The prior head asserted 34, understating the matrix by 16. Corrected.
  • fixtures/inherent_receiver_free_helper_identity/BOUNDARIES.md:4-7 — the native_reaches disclosure is restored, in the maintainer's option-(b) wording ("no gate reads it, so a changed value is reviewed against the native replay and is not checked mechanically"). Corrected.
  • fixtures/inherent_receiver_free_helper_identity/BOUNDARIES.md:8-10 — new: cases.json's references to the module_type_shadow, dormant_body, async_operand and async_operand_helper dirs are attributed to the sibling fixtures slice (#11030). I confirmed cases.json references exactly those four sibling dirs (20 of its 50 paths). Corrected.
  • fixtures/inherent_receiver_free_helper_identity/SPEC.md:31-32 — the two referenced test functions are now qualified as landing "in the integration-tests slice (#11031), not in this fixture slice". I verified #11031 head cf220b7f really carries both inherent_executable_owner_identity_boundary_matrix and executable_owner_identity_boundaries_agree_in_diff (crates/ripr/src/analysis/test_grip_evidence/tests.rs, crates/ripr/tests/private_inherent_receiver.rs), so the slice reference is accurate. Corrected.
  • fixtures/inherent_receiver_free_helper_identity/SPEC.md:34-42 — the "## Matrix polarity" section is restored. Corrected.
  • The five fixture SPEC.md files at this head — the un-reproducible "34 executable identity controls" count no longer appears in any of them. Corrected.
  • fixtures/inherent_receiver_free_helper_identity/cases.json — 50 entries; 20 of its paths are in the four sibling dirs named by BOUNDARIES.md:8-10.
  • Overlap against #9613 (open draft, head 894f239): 61 of this PR's 72 files are the same paths, and both BOUNDARIES.md and SPEC.md differ between the two drafts — the corpus still carries two divergent copies of the boundary document.
  • Hosted check-runs at 974274e5 — Ripr Rust Small Result, Ripr Rust Small on GitHub Hosted / Rust gates, all four Rust tests shard N of 4, Rust test shards verify, Rust-only feature lane and ub-review are success. ub-review is the lane the prior review found failing at 7ec7efa3 with exit 101 on a mistargeted cargo test --package ripr --test inherent_receiver_fixtures; it is green here.

Blocking:

  • None. No defect in this candidate is outstanding at this head; all five prior findings are repaired and verified above.

Non-blocking:

  • Ownership, not repairable in this PR: #9613 writes 61 of the same 72 paths this PR writes, with divergent bytes. #7415's lane record of 2026-10-29 places the remaining fixture/integration/spec slices under the #8004 tracker, whose declared successors name #9613 as the inherent_receiver_* fixtures slice; this PR's body claims #7415 as its governing claim. On #9614 (2026-10-30T07:27Z) the maintainer wrote that the duplicate-ownership note on #11031 "is the maintainer's call and I have not touched it". The conflict is therefore known, open and owner-reserved. I am not issuing a READY verdict while it is unresolved, because READY would assert that this is the slice that lands; closing or superseding one of the two drafts is the decision that resolves it.
  • .ripr/traceability.toml — unchanged from the prior review: the five new fixture dirs are still absent from every behavior's fixtures array, while the equivalent #9613 registers its eleven. check-traceability does not require registration of a newly added fixture, so this is not a gate failure, but the dirs land untraceable if this PR lands without the sibling.
  • The PR body's "Proof on head" claims remain local-only; the hosted evidence above is what this review relies on.

Not run: cargo xtask goldens check, cargo xtask fixtures, cargo xtask check-fixture-contracts, cargo xtask check-traceability and the workspace test suite — not executed. This host has no Rust toolchain (rustc/cargo/rustup are absent from PATH) and the checkout is shared with concurrent agents, so the hosted check-runs above carry the proof instead.


Reviewed by an independent Mavis review agent on behalf of the maintainer; bound to head 974274e5c30c4a30115be419c8e7e9495d18bea2. Not an approval.

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