Repository navigation
fix(analysis): a bare call bound by a test-local const, static or tuple struct is not a call of the owner (#14087) - #14164
Conversation
…le struct is not a call of the owner (#14087) A `const`, `static` or tuple `struct` of the changed function's name in a scope around the test binds the bare call to itself: it beats a glob and every enclosing scope, so the changed function never runs. The shared call identity read such a scope as "defined here" and, finding no placed `fn` in that module, left the call unsettled; for an owner without same-named rivals an unsettled bare call kept the name-only admission, and a boundary change read `exposed`. - name scopes record which items bind a non-fn value (`value_items`); - `resolve_bare` settles a bare call bound by one away from every definition, keeping both readings when the same module also holds a placed `fn` of the name (a `cfg` alternative); - diff-mode related tests and repo-mode test grip drop a test whose every call of the owner's name settles that way; a qualified call of the owner, the owner passed as a value, a nested-block item and another helper-chain entry keep the prior relation. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVhf8XbwpLXQG3rPuwz
|
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 40 minutes. View limit details
Pre-merge checks:
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Author self-review of the source and oracle on the exact head. Hosted qualification has not run yet and is the remaining evidence for the final merge review.
reviewed_head_sha: 4d6b0af
integration_basis: branch base cb95c5b0; a trial merge with main abf2c72d is conflict-free (git merge-tree).
claim_boundary: #14087 shape A only. A bare call bound by a const, static or tuple struct of a free owner's name, at module level or at the top of the test body, is not a call of the owner.
changed_surfaces_and_semantic_owners_inspected:
syntax/name_scope.rsrecord_item:value_itemsis a strict subset ofdefines; unit and braced structs, enums, unions, traits, type aliases andfnare not in it. A unit struct is not callable and a braced struct has no constructor function, so neither can bind a bare call.classify/call_identity.rsresolve_bare: the new branch sits before thedefinesbranch and after imports and local bindings, so an explicituseof the owner or aletof the name still decides first. For a module that also holds a placedfnof the name the result is the union of both readings, whichtarget_ofreads as unsettled. A function body's item never unions with the module's definitions.test_calls_only_a_local_value_item: free owners only; returns true only when a scope around the test holds such an item andresolve_testisOther.resolve_test_uncachedanswers unsettled when the body has no call of the name, when any call is unsettled, or when the owner is reached as a value, so a test related for another reason keeps its relation.- Consumers: diff mode
classify/related_tests.rs(after the rival-identity exclusion) and repo modetest_grip_evidence/related_tests.rs(before the registered-proptest retain).qualified_owner_calls_resolvereads the same identity, so the boundary input is declined by the same rule.
findings: none that require a change.
non_blocking_suggestions:
- Repo mode keeps only
HelperOwnerCallrelations past the new retain. A test that both spells the bound bare name and reaches the owner through a helper could lose a relation recorded under a direct-call reason. This errs toward withholding credit. Recorded for #14087 follow-up.
proof_and_ci_observed (local, details in the PR body):
- 6 new tests; with the
resolve_barerule disabled 5 of them go red and the scope-fact test stays green, as intended. cargo test -p ripr --lib: 19018 passed, 1 environment-gap panic unrelated to this diff (fixture dependencies not fetched), 3 ignored.- Rendered behavior:
ripr checkon 226 single-file probe crates compared withrustc --test; only the value-item shapes changed verdict, and the qualified-call, sibling-module and braced-struct controls kept theirs. cargo fmt --checkclean.
proof_or_review_missing:
- Hosted exact-head qualification (Clippy, fixtures, goldens, policy checks). Local
cargo xtask precommitstopped when the container ran out of memory building the library tests for acovered_byenumeration. - No external reviewer output yet.
affected_currentness_dimensions: production implementation, test stimulus, test oracle and public claim are current on this head.
residual_assumptions_and_non_claims:
- Nested-block items, macro-emitted items and raw-identifier imports are out of scope and unchanged.
- A
constthat aliases the owner itself is withheld, since the initializer is not read. - No cache schema bump, following #14062 and #14034.
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! |
ripr static exposure checkCommit Took 77s. |
… owner's name; spec the rule (#14087) Two integration tests already carried this shape and pinned the weaker prior outcome (the test stays related but lends no credit). With the call-identity rule the test is no longer related at all: - recording_double_credit: the module const, static and tuple-constructor redirects now assert that the exact test is not related and that no finding is exposed. - returned_element_field_pin: the callable-const decoy gets its own test asserting no reach and no_static_path. RIPR-SPEC-0172 gains the rule under Same-package call identity, and the traceability entry maps the four call_identity tests. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVhf8XbwpLXQG3rPuwz
|
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Author self-review of the source and oracle on the exact head, refreshed for the one commit added since my earlier review of 4d6b0af6. Production code is unchanged between the two heads; the earlier inspection of name_scope.rs, call_identity.rs and both related-test consumers stands.
reviewed_head_sha: 5e02f78
integration_basis: PR base abf2c72d; trial merge with current main is conflict-free.
claim_boundary: #14087 shape A only.
changed_since_the_earlier_review (commit 5e02f785, tests and docs only):
crates/ripr/tests/recording_double_credit.rs: the moduleconst, modulestaticand tuple-constructor redirect cases moved out of the "related, yet not exposed" loop into a loop that asserts the exact test is not related and that no finding on the changed call isexposed. The other three cases of that test keep the original assertion. The helper keeps its nonempty-findings premise, so the new assertion cannot pass on an empty subject.crates/ripr/tests/returned_element_field_pin.rs: the callable-constdecoy leaves the shared loop (whose helper requires the test to reach the owner) and gets its own test asserting afield_constructionfinding on line 6 exists, its reach does not name the test, and its class isno_static_path(wasweakly_exposed). The trait decoy keepsweakly_exposed.docs/specs/RIPR-SPEC-0172: one bullet under "Same-package call identity" stating the rule and its limits..ripr/traceability.toml: the fourcall_identitytests mapped under RIPR-SPEC-0172.
Why the two integration tests changed: both were written for this same shape and pinned the weaker earlier outcome (test related, credit withheld by a later check). The rule now withholds the relation itself, which is the stronger form of the same intent, so their expectations moved with it. Hosted CI on the earlier head surfaced exactly these two targets and no others.
findings: none that require a change.
automated_review: three Devin threads, each answered with traced evidence and resolved. The formatter-reach case is lost upstream of this change (no formatting entry hop is built once the body spells the owner's name) and is recorded on #14087; the spec and traceability point is addressed in this head; the honesty-corpus case is recorded on #14087. CodeRabbit and Gemini were rate-limited and gave no review.
proof_observed_locally_on_this_head:
cargo test -p ripr --test recording_double_credit --test returned_element_field_pin: 14 and 12 passed.cargo xtask check-traceability,check-spec-format,check-pr-shape: pass.cargo fmt --check: clean.- Library tests and the removal experiment were run on
4d6b0af6;crates/ripr/srcis byte-identical on this head.
proof_or_review_missing:
- Hosted exact-head qualification for
5e02f785.
residual_assumptions_and_non_claims: as listed in the PR body (nested-block items, macro-emitted items, raw-identifier imports, a const aliasing the owner, no cache schema bump).
Generated by Claude Code
…_element_loop) (#14087) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVhf8XbwpLXQG3rPuwz
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Author self-review of the source and oracle on the exact head, refreshed for the one commit added since my review of 5e02f785. That review and the one on 4d6b0af6 stand for everything else; crates/ripr/src is byte-identical across all three heads.
reviewed_head_sha: f81270a
integration_basis: PR base abf2c72d; trial merge with current main is conflict-free.
claim_boundary: #14087 shape A only.
changed_since_the_earlier_review (commit f81270a0, one test file):
crates/ripr/tests/returned_element_field_pin.rs: after the callable-constdecoy moved to its own test,a_decoy_the_shared_checks_catch_keeps_the_gaplooped over a single case, which Clippy'ssingle_element_looprejects under-D warnings. The loop is unrolled into oneassert_eq!with the same inputs, expected class (weakly_exposed) and label. No assertion was removed or weakened.
Hosted run on 5e02f785: formatting, user-text, precommit, promotion honesty, agent skills, dependencies, process and network policy all reported success; the all-features Clippy step stopped on that lint, so Clippy proper, the Rust tests, goldens and fixtures did not run on that head.
findings: none that require a change.
proof_observed_locally_on_this_head:
cargo clippy -p ripr --all-features --all-targets -- -D warnings: clean (this is the command the hosted step runs).cargo test -p ripr --test recording_double_credit --test returned_element_field_pin: 14 and 12 passed.cargo fmt --check: clean.
proof_or_review_missing:
- Hosted exact-head qualification for
f81270a0.
residual_assumptions_and_non_claims: as listed in the PR body.
Generated by Claude Code
|
The required Generated by Claude Code |
|
Disposition: parked, not merge-ready. This PR is CONFLICTING with Owner: coding ripr-swarm. Revisit by 2026-11-21, or close it earlier as superseded if another candidate lands the same issue. No code was rejected here; this records the unowned state rather than leaving it silent. |
EffortlessSteven
left a comment
There was a problem hiding this comment.
VERDICT: APPROVE f81270a — no blocking findings on this head.
The change adds a value_items set to NameScope (a const, a static, or a tuple struct — the items whose name a bare call runs as a value, not a function) and makes resolve_bare settle such a name away from every indexed definition. The sentinel ELSEWHERE = usize::MAX is safe: target_of only tests set.contains(&0) and set.len(), so {ELSEWHERE} is Other, {0, ELSEWHERE} is Unsettled, and no consumer indexes the set. The item check runs before defines and before globs, which matches Rust's rule that an explicit item beats a glob in the same scope; a module that also holds a placed fn of the name keeps both readings and stays Unsettled, as documented.
The withhold is narrow: test_calls_only_a_local_value_item requires a free-function owner, a solo owner identity, a value item in one of the test's scopes, and resolve_test == Other. A qualified call of the owner, the owner passed as a value, a nested-block binding, an unparseable file, or a helper-chain hop keeps the prior relation. Both integration sites apply it as a drop-only filter, and test_grip_evidence keeps HelperOwnerCall candidates unconditionally.
The controls are discriminating: a_bare_call_bound_by_a_local_value_item_never_names_the_owner covers const, static and tuple struct; a_local_value_item_withholds_only_the_bare_calls_it_binds keeps the qualified call, the value use, the sibling module and the cfg alternative; a_local_value_item_beats_a_glob_of_the_owners_module proves the item beats a same-scope glob while the glob-only control still credits the owner; related_tests_drop_a_test_whose_bare_call_a_local_value_item_binds covers the retained selection path. The two existing tests that changed (recording_double_credit.rs, returned_element_field_pin.rs) now assert the intended stronger outcome (unrelated / NoStaticPath) rather than weakening an expectation.
Hosted evidence at this head: Ripr Rust Small on GitHub Hosted / Rust gates SUCCESS, all four test shards SUCCESS, Rust test shards verify SUCCESS, Ripr Rust Small Result SUCCESS, Admit PR Candidate SUCCESS. The only red is cargo-deny on RUSTSEC-2026-0486 (xattr unsound), which this PR does not introduce — it changes no dependency or lockfile — and is the same inherited advisory seen on other heads today.
No unresolved review threads at this head.
Static inspection of the head plus hosted run conclusions; no build or test run of my own. Head pinned at f81270a; repo clean.
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
VERDICT: APPROVE f81270a — no blocking findings on this head.
The change adds a value_items set to NameScope (a const, a static, or a tuple struct — the items whose name a bare call runs as a value, not a function) and makes resolve_bare settle such a name away from every indexed definition. The sentinel ELSEWHERE = usize::MAX is safe: target_of only tests set.contains(&0) and set.len(), so {ELSEWHERE} is Other, {0, ELSEWHERE} is Unsettled, and no consumer indexes the set. The item check runs before defines and before globs, which matches Rust's rule that an explicit item beats a glob in the same scope; a module that also holds a placed fn of the name keeps both readings and stays Unsettled, as documented.
The withhold is narrow: test_calls_only_a_local_value_item requires a free-function owner, a solo owner identity, a value item in one of the test's scopes, and resolve_test == Other. A qualified call of the owner, the owner passed as a value, a nested-block binding, an unparseable file, or a helper-chain hop keeps the prior relation. Both integration sites apply it as a drop-only filter, and test_grip_evidence keeps HelperOwnerCall candidates unconditionally.
The controls are discriminating: a_bare_call_bound_by_a_local_value_item_never_names_the_owner covers const, static and tuple struct; a_local_value_item_withholds_only_the_bare_calls_it_binds keeps the qualified call, the value use, the sibling module and the cfg alternative; a_local_value_item_beats_a_glob_of_the_owners_module proves the item beats a same-scope glob while the glob-only control still credits the owner; related_tests_drop_a_test_whose_bare_call_a_local_value_item_binds covers the retained selection path. The two existing tests that changed (recording_double_credit.rs, returned_element_field_pin.rs) now assert the intended stronger outcome (unrelated / NoStaticPath) rather than weakening an expectation.
Hosted evidence at this head: Ripr Rust Small on GitHub Hosted / Rust gates SUCCESS, all four test shards SUCCESS, Rust test shards verify SUCCESS, Ripr Rust Small Result SUCCESS, Admit PR Candidate SUCCESS. The only red is cargo-deny on RUSTSEC-2026-0486 (xattr unsound), which this PR does not introduce — it changes no dependency or lockfile — and is the same inherited advisory seen on other heads today.
No unresolved review threads at this head.
Static inspection of the head plus hosted run conclusions; no build or test run of my own. Head pinned at f81270a; repo clean.
…tests and exports Conflicts were in classify/call_identity.rs (two appended test blocks) and classify/mod.rs (the call_identity re-export list). Both sides are kept. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVhf8XbwpLXQG3rPuwz
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Source review of head 37004c4, which merges main 9738c3e into the candidate that passed hosted qualification as f81270a.
Inspected on this head:
- The merge. Two conflicts, both additive. In
classify/call_identity.rsmain appended the #14069 rename tests where this change appended the #14087 value-item tests; both blocks are kept. Inclassify/mod.rsboth sides edited thecall_identityre-export list; the list now carries main'sbare_owner_call_settles_on_ownerandqualified_owner_calls_resolveplus this change'stest_calls_only_a_local_value_item. The diff against main is the same 11 files, 566 insertions and 40 deletions as before the merge. - Interaction with what landed since. #14131 (renaming import) and #14744 (test-local rival calls) both edit
related_tests.rsnear this change's guard. The guard still runs as a drop-only filter on a free-function owner with a solo identity, and the rename rule and the value-item rule read different binding kinds, so neither masks the other. The focused library run below covers both rule sets together. - Semantic owner and consumers:
NameScope::value_itemsfeeds onlyresolve_bare; theELSEWHEREmember is tested by membership and length only; diff mode and repo mode both call the one shared reader. - Oracles: the four
call_identitytests, thename_scopefact test, the repo-mode test and the two integration targets each carry a control that keeps the owner credited (qualified call, value use, sibling module,cfgalternative, glob only).
Run on this head: cargo fmt --check clean; cargo test -p ripr --lib -- value_item call_identity name_scope related_tests test_grip_evidence 1224 passed, 0 failed; cargo test -p ripr --test recording_double_credit --test returned_element_field_pin 14 and 12 passed; cargo clippy -p ripr --all-targets --all-features -- -D warnings clean; cargo xtask check-traceability and check-spec-format pass; CLI acceptance probe: the bare call under the const reads no path, the super::render(..) control reads exposed.
Missing on this head and requested now: hosted Ripr Rust Small Result (whole library suite, goldens, fixtures, policy gates).
Generated by Claude Code
|
Unparked. Head Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY
Final review of head 37004c4.
- Source and oracle review: recorded on this head in the earlier source review (the merge of main 9738c3e, the interaction with #14131 and #14744, the semantic owner and its two consumers, and the controls in each new test). Nothing has changed on the branch since.
- Hosted evidence on this exact head, run 44252946685:
Admit PR Candidatesuccess,Rust gatessuccess,Rust tests shard 1 of 2andshard 2 of 2success,Rust test shards verifysuccess,Ripr Rust Small Resultsuccess,vscode surfacesuccess. No check on this head is red. - Review threads: three, all answered and resolved. The formatter-reach residual, the honesty-corpus case and the nested-block
constare recorded on #14087 as follow-ups and listed under Non-goals in the PR body. - Conversation: the 2026-11-14 parking note named the conflict with main as its only reason; this head resolves that conflict.
- Claim boundary: static evidence only. The change withholds a relation and promotes nothing.
Next transition: enqueue this head in the merge queue.
Generated by Claude Code
Conflict in classify/call_identity.rs tests: both sides appended tests to the same module (#14164 value-item tests, std glob tests); both kept. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVik5xc8L9CULj2YqUa
Requested by Steven Zimmerman · project thread
Summary
const,staticor tuplestructof the changed function's name binds no longer reads as a call of that function. On main a boundary change inrenderreadexposedfor a test whoserender(..)wasconst render: fn(i32) -> i32 = super::other;(shape A of rust: a bare call bound to a test-localconst/staticfn pointer, a raw-identifier import or a macro-emitted item readsexposedfor the changed function of that name #14087).Swarm / Source Boundary
dependency, or repo-ops development for
ripr-swarmsurface
Source-of-truth Links
Proposal: none
Spec: docs/specs/RIPR-SPEC-0172-cross-crate-dependency-edge-relation.md ("Same-package call identity" section; one bullet added)
ADR: none
Plan item: none
Governing issue or accepted claim: #14087 (shape A; claim comment #14087 (comment))
Acceptance delta (one sentence): A test whose every call of a free function's name is a bare call bound by a
const,staticor tuplestructof that name in a scope around the test is not a related test of that function and lends it no boundary input.Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication):
claude/project-thread-aydlx6Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): none
Accepted winner and losing candidate disposition (when decided): none
Neighbouring claim: #14069 (landed as #14131) covers a renaming
useof a differently named function. It is a different binding kind; this head merges it and keeps both rules and both test blocks.Scope
syntax/name_scope.rs:NameScope::value_items, the subset ofdefinesthat binds a callable non-fn value (const,static, tuplestruct).classify/call_identity.rs:resolve_baresettles a bare call bound by such an item away from every definition (Matches::elsewhere), keeping both readings when the same module also holds a placedfnof the name (acfgalternative); new shared readertest_calls_only_a_local_value_item.classify/related_tests.rs(diff mode) andtest_grip_evidence/related_tests.rs(repo mode): drop a test the reader withholds.Scope Classification
Production delta:
resolve_barefound the name inscope.defines, asked for thefndefinitions in that module, got none and answered unsettled; an owner without same-named rivals keeps the name-only admission on an unsettled bare call, so the test related asdirect_owner_calland itsrender(100)supplied the boundary input.qualified_owner_calls_resolvedeclines the call as an owner input.Evidence/support delta:
call_identity.rs, 1 inname_scope.rs, 1 repo-mode test intest_grip_evidence/tests.rs, changelog entry.tests/recording_double_credit.rs(moduleconst,staticand tuple-constructor redirects: the exact test is not related and nothing isexposed) andtests/returned_element_field_pin.rs(the callable-constdecoy: no reach,no_static_path; wasweakly_exposed)..ripr/traceability.tomlmappings for the fourcall_identitytests.Single acceptance criterion:
mod tests { const render: fn(i32) -> i32 = super::other; #[test] fn t() { assert_eq!(render(100), 10); assert_eq!(render(99), 0); } }with the diff changingrender's boundary,ripr checkno longer printsexposed, while the same test callingsuper::render(..)still does.Non-goals:
const/staticfn pointer, a raw-identifier import or a macro-emitted item readsexposedfor the changed function of that name #14087, and theuse-imported module path pin noted there.const/staticinside a nested block of the test body: block-bound names stay unsettled as before (still a falseexposed; recorded on rust: a bare call bound to a test-localconst/staticfn pointer, a raw-identifier import or a macro-emitted item readsexposedfor the changed function of that name #14087).fn t() {line is a call fact namedt). The diff-mode exclusion works around it without changing it. One consequence stays: a test that declares such a local item and also reaches the owner through aDisplay/Debugformatter readsno_static_pathinstead ofpropagation_unknown, because no formatting entry hop is built for it (recorded on rust: a bare call bound to a test-localconst/staticfn pointer, a raw-identifier import or a macro-emitted item readsexposedfor the changed function of that name #14087).const/staticfn pointer, a raw-identifier import or a macro-emitted item readsexposedfor the changed function of that name #14087).Support-tier Impact
docs/status/SUPPORT_TIERS.mdClaim/proof notes:
rustc --testwith the changed line mutated, used as the oracle for the probe matrix, not a ripr claim.Policy Impact
Ledger or exception notes:
CACHE_SCHEMA_VERSION. A warm repo-mode cache can keep the old relation for an unchanged file until the next invalidation.Proof
Result, failures, or skipped proof:
37004c4bmergesmain9738c3eb. Headf81270a0passed hostedRipr Rust Small Resulton 2026-11-11 and then conflicted withmain. The two conflicts were both sides appending tests inclassify/call_identity.rsand both sides editing thecall_identityre-export list inclassify/mod.rs; both sides are kept and no production line of this change moved.37004c4b:cargo fmt --checkclean;cargo test -p ripr --lib -- value_item call_identity name_scope related_tests test_grip_evidence1224 passed, 0 failed;--test recording_double_credit --test returned_element_field_pin14 and 12 passed; the all-features, all-targets Clippy command above is clean;check-traceabilityandcheck-spec-formatpass; the acceptance criterion probed through the CLI (bare call under theconst:no path;super::render(..):exposed).37004c4b: the whole library suite,cargo xtask precommit, the removal experiment and the 226-case probe matrix. The lines below are their results on the earlier heads; hosted qualification covers the suite and gates on this head.cargo xtask precommit(on4d6b0af6): exit 1, from this container's memory limit and not from a reported source failure. The policy checks that ran before it passed; the run stopped atpolicy/non-rust-allowlist.toml:867("test-valued covered_by could not be enumerated: cargo test -p ripr --lib analysis::scip::admission::tests") because theriprlibrary test build it spawns was OOM-killed (15 GB container).cargo test -p ripr --lib(on4d6b0af6): 19018 passed, 1 failed, 3 ignored. The one failure isseam_inventory::tests::fallible_literal_full_and_compact_warm_caches_invalidate_changed_inputs, which panics with "environment gap, not a source regression: prepare canonical fixture dependencies first" (fixture dependencies are not fetched in this container).4d6b0af6failedRust-only feature laneon exactly two targets,--test recording_double_creditand--test returned_element_field_pin; both were repaired in5e02f785. Hosted run on5e02f785stopped at Clippysingle_element_loopinreturned_element_field_pin.rs; repaired inf81270a0, which passed.4d6b0af6): with theresolve_barerule disabled, 5 of the 6 new tests fail (thename_scopefact test still passes, as it should); restored before commit.cb95c5b0against4d6b0af6. Changed verdicts only, all on tests thatrustcshows do not run the owner:constfn pointerexposed->no_static_pathinfection_unknown->no_static_pathstaticfn pointerexposed->no_static_pathinfection_unknown->no_static_pathconstat the top of the test bodyexposed->no_static_pathinfection_unknown->no_static_pathconst/staticbesideuse super::*;exposed->no_static_pathinfection_unknown->no_static_pathweakly_exposed->no_static_pathconstbeside a glob of the owner's module, with a same-named rivalinfection_unknown->static_unknowninfection_unknown->static_unknownControls unchanged: a qualified
super::render(..)beside theconststaysexposed; aconstin a sibling module staysexposed; a bracedstruct render { .. }besideuse super::*;staysexposed; the other import and shadowing probes (226 in all) keep their verdicts.cargo xtask fixtures/goldens check(hosted qualification covers them).Claim Boundary
What may be claimed after this PR? What must not be claimed yet?
const,staticor tuplestructof the owner's name at module level or at the top of the test body is read as not calling the owner, in diff mode and repo mode.constaliasing the owner itself (const render: fn(i32) -> i32 = super::render;) is credited. It is withheld, because the initializer is not read.Rollback
How can this PR be reverted safely?
Spec-Test-Code Traceability
call_identity::tests::{a_bare_call_bound_by_a_local_value_item_never_names_the_owner, a_local_value_item_withholds_only_the_bare_calls_it_binds, a_local_value_item_beats_a_glob_of_the_owners_module, related_tests_drop_a_test_whose_bare_call_a_local_value_item_binds},name_scope::tests::records_const_static_and_tuple_struct_items_as_value_items,test_grip_evidence::tests::given_integration_test_when_bare_call_is_bound_by_a_local_value_item_then_owner_gets_no_related_test,tests/recording_double_credit.rs::hidden_execution_and_module_value_twins_cannot_supply_credit,tests/returned_element_field_pin.rs::a_callable_const_that_takes_the_bare_call_leaves_no_static_pathcrates/ripr/src/analysis/syntax/name_scope.rs,crates/ripr/src/analysis/classify/call_identity.rs,crates/ripr/src/analysis/classify/related_tests.rs,crates/ripr/src/analysis/test_grip_evidence/related_tests.rsStatic Language Check
killed,survived,untested,proven, andadequate.CI Economics
n/a
Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code.panic,unwrap,expect,todo, orunimplementedin tests.Candidate SHA: 37004c4
🤖 Generated with Claude Code
https://claude.ai/code/session_016EQRVhf8XbwpLXQG3rPuwz