Repository navigation
fix(rust): fence qualified receiver initializers and annotations - #8833
Conversation
|
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 4 minutes. View limit details
Comment |
There was a problem hiding this comment.
Confirmed findings
- Helper naming
qualified_head_prefixcollides loosely withtype_head's segment-level module detection. The two layers operate on different text spans (full-text prefix vs. parsed segment list), so this is acceptable, but a one-line doc comment clarifying thatqualified_head_prefixchecks the textual prefix..::/..#and does not parse segments would prevent future refactorers from conflating the two.
Verification questions
- Confirm the new fixture's two related-test pins in the honesty corpus both set relation_reason weak_token_substring with strong oracles; the fixture's expected check.json keeps one finding classified weakly_exposed with four related-test rows — proves non-promotion but not that any single foreign row would have promoted under the old matcher.
- Confirm fixture + honesty corpus + spec updates co-pin the same contract: classification stays
weakly_exposed, both related-test rows remainweak_token_substring. Checked the corpus JSON assertions (must_not_report_clean, expected_finding_count=1, must_not_promote, expected_class, two expected_related_test pins) line up with the expected/check.json fields and the SPEC.md language. - Confirm fixture boundary is a real workspace:
foreignis a path dev-dependency so Fast mode does not need cross-crate indexing; the second localOtherIterator::size_hintensures competing-name dispatch without depending on dependency indexing. This is the correct micro-scale mirror of the prod invariant.
Refuted
- Adding qualified-prefix refusal could introduce a worker/postMessage/SharedArrayBuffer detach hazard via some hidden JS channel in the ripr analyzer; refuted because: crates/ripr has no JS runtime, no transferable handle, and no FFI; the change is a pure text-match refinement in initializer_type_head and bracketed_expr_has_type that only reads &str.
- Sibling helper / runtime-adjacent families (allocation, hashing, compression, RNG, time, syscalls) might share a related-test regression path through
method_call_resolves_to_implorinitializer_type_head; refuted because: The diff is confined to one matcher (initializer_type_head/let_statement_type_head/bracketed_expr_has_type/type_head) plus four matrix flips and a new two-crate fixture. NoBox::from,Hash*,flate2,rand,Instant,read,write, orunsafe-adjacent symbol is touched in the right side. Helper families have no shared symbol to regress through this change. - This change touches a resizable buffer / ArrayBuffer / TypedArray / SharedArrayBuffer / wasm active-view surface and must be reviewed against detach, transfer, or stale length scenarios.; refuted because: The diff is entirely a Rust static text-classifier fix (related_tests.rs), TOML/XML/Markdown docs and a small fixture workspace; no JS, WASM, FFI buffers, or runtime object model is touched. The lane's resizable/active-view hypotheses have no applicable surface, so no candidate finding is filed.
- No transferable JS, WASM, or SharedArrayBuffer surface exists in the ripr analyzer; worker/async/detach/transfer UB concerns do not apply to this qualified-receiver-initializer fence.
- introduced Box::from(slice) / Box::<[u8]>::from(slice) would silently truncate on allocation failure; refuted because: the diff contains no Box::from or Box::<[u8]>::from(slice); only Vec growth which aborts on OOM. No fallible-conversion regression introduced, and the new qualifier/refusal logic is pure borrow arithmetic over text slices.
Evidence gaps
- Native foreign tests pass 2/2 with both original and independently changed local return (per PR body). This is the load-bearing oracle-strength claim; without it the weak_token_substring pin would be unfalsifiable.
- Model proof intent was rejected by deterministic validation.
Parked follow-ups
- Sibling-path parking note: the PR body and RIPR-SPEC-0005 section both state this is item 1 only. Out-of-scope siblings (#8577/#8004 broader inherent-receiver authority; #8782 items 2–4 covering direct UFCS/unit-value paths, borrowed helper context, unique-name attribution, uppercase module/enum ambiguity) remain open issues under the same tracking ticket and are explicitly deferred. Lane notes them as parked, not silently broadened.
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm skip_annotation_generic_args groups ()/[]/{} with strict equality and excludes
>preceded by-sofn() -> ()cannot close a generic; depth decrement is saturating, returning None on imbalance rather than panicking. - Confirm
skip_annotation_generic_argskeeps balanced angle-bracket counting within() /[] /{}so stray tokens in fn-pointer/const-expression annotations cannot leak past a closing>, so a tail:: Foreignis still observed and rejected byqualified_head_prefix. - Confirm annotation_compatibility_does_not_expand_initializer_admission proves that preserving full annotations does not widen constructor recognition across the six identified regressions.
- Confirm pR body self-reports REPAIR_REQUIRED for the previously published 91942d7 with six bare-generic-annotation regressions; the current branch advertises a scoped repair but the proposed branch head vs basis is not visible in the diff, so residual trust risk remains on the human reviewer to verify the commit graph and any re-run evidence.
Refuted
- The annotation-compatibility widening might let
Site<u8> == make()be admitted as bare Site becausefind('=')would now see==as a terminator; reviewed and refuted because tail.starts_with('=') && !tail.starts_with("==") && !tail.starts_with("=>") is explicitly guarded.; refuted because: Both==and=>patterns are excluded in let_statement_type_head; the annotation_compatibility_does_not_expand_initializer_admission test pins this for Site == make() and Site => make() expecting non-resolution. - rslice(begin..end) allocation in skip_annotation_generic_args / type_head_tail could return an empty or stale backing-store view, causing later segment lookups to mis-attribute a qualified head.; refuted because: These functions operate on &str byte slices of already-borrowed source text; they only adjust end offsets and trim, they never reallocate or detach any backing store. No JS/TS active-view or typed-array lifecycle applies, and the new
if rest.starts_with("::") { return None; }guard actively blocks absolute-path heads from claiming a compact type name. - A worker / postMessage / transferable boundary could mishandle a
WhileSomecloned across crates and cause double-drop or use-after-free of JS-backed resources.; refuted because: The PR diff and seeded thread describe a pure Rust analyzer over a Rust workspace fixture; there is no JS runtime, no shared-memory object, no WebAssembly component, and no manualunsafeblock newly introduced — theBox::from(slice)/ allocation-failure branch is not exercised here, so it is refuted as a stale, off-scope objection. - Annotation preservation (skip_annotation_generic_args + let-statement full-span reading) would silently re-widen initializer admission by accepting let x: Site<fn() -> ()> or const-expression tails.; refuted because: annotation_compatibility_does_not_expand_initializer_admission explicitly asserts the opposite for 11 bodies including unbalanced
Site<fn() -> ()],=>/==tails, and Site::<{ const_expr }>.
Parked follow-ups
- Test documentation overlap: qualified_head_prefix checks textual
..::/..#suffix while type_head also ends paths on::; refactorers could conflate the two and lose the prefix-only module check. Recommend one-line doc comment on qualified_head_prefix.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Disposition: REVIEW_INCOMPLETE solely for missing hosted qualification and final integration judgment. No blocking finding remains in the observed source, independent runtime controls or retained local proof. This author-posted COMMENT records independent agent review; it is not an approval or merge clearance.
Reviewed head: bf8e66c
Integration basis: 4ad2635
Claim: #8782 item 1, qualified initializer/type-annotation compact-tail identity only.
Independent reviewer inspected the full production/test delta, both binding consumers, test-grip/transitive-reach consumers, exact Rust whitespace predicate/re-export, fixture/corpus/goldens, specs, traceability and changelog. Separately designed controls exposed earlier annotation compatibility, specialization-widening and Unicode-whitespace defects; those findings are repaired on this head.
Final runtime evidence: 52/52 CLI controls (22 direct positives / 30 weak refusals), each exit0 and one nonempty finding; all five non-ASCII Rust whitespaces across foreign record/tuple refusals and bare positives. A copied committed public fixture reports one weakly_exposed finding/four weak_token_substring oracle rows. CLI SHA256: 20e78e25dfb9086df285a82dfd720a6ba76ab242ea2698bcf46b81fb12bac740. Scratch lexical controls were not all natively compiled; the committed two-crate foreign fixture passed its native tests in both local-return states.
Reviewer independently inspected final receipts: focused tests309/69/4 pass, check-fast15 gates with successful19-path selector, full precommit golden comparison504 fixtures/no INCOMPLETE gap, honesty pass and advisory dogfood pass. Native pipeline31512 exit0 is retained; reviewer did not rerun Cargo.
Advisory verification questions: generic parsing tracks paired ()/[]/{} groups and refuses mismatched closers; angles inside grouped const expressions are deliberately not generic delimiters, and -> cannot close the outer generic. Full annotation consumption and the legacy-admission intersection prevent qualified tails and new initializer authority. Committed matrices plus independent rendered controls cover these cases. qualified_head_prefix intentionally checks the textual ::/# suffix separately from type_head's segment parsing; the suggested extra comment is nonblocking.
Residuals: unique-name, direct UFCS/unit/helper context, factories, generic nominal identity and uppercase module/enum ambiguity remain outside this slice. Gemini/CodeRabbit quotas are missing provider review. No general type-resolution, runtime-adequacy or release claim.
Retained review: /workspace/receiver-8782-evidence/review-bf8e.md and review-bf8e.json; final-local-proof.json, raw outputs and witness hashes retained in the same task directory. Parent campaign lead owns subsequent selected qualification/integration.
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- Submaterial polish: rust_source_whitespace_cannot_hide_receiver_qualification only iterates five non-ASCII whitespaces (NEL, LRM, RLM, LS, PS) and only one initializer shape per whitespace; U+000B VT, U+000C FF, U+0020 space, U+00A0 NBSP are already ASCII-or-trivial and the design note in text/wildcard.rs covers them. No missing-evidence gate.
- Honesty metadata (weak_token_substring + weakly_exposed) is the sole mechanism preventing a false promotion in rust_qualified_foreign_receiver; the native foreign tests do not break under the pre-repair classifier, so discrimination lives entirely in corpus pins and spec text rather than native test outcome.
Verification questions
- Confirm initial RED proof only exercised one body and a short --exact selector ran zero cases; later repairs added a lint fix and bare-generic-annotation regressions. Red/green pair is real but thin on independent re-red runs.
- Confirm fixture expects 4 related-test rows (3
foreign_size_hint_is_observedexact_value pins + 1unicode_module_receiver_is_not_the_local_typewhole_object_equality) allweak_token_substring. Honesty corpus pins only 2 distinct names; ifforeign_size_hint_is_observedproduces 3 rows they must all stayweak_token_substring. Prior PR-body claim asserts the candidate reports 4 weak rows vs retained pre-repair 4 direct_owner_call rows, but the diff also flips a non-foreign compact tail test (Render::render(&m::Site(1))) from true to false — meaning Fast mode will indexm::Siteas bare miss, not as foreign. No fixture test directly asserts that 3-segment qualified paths still don't bind, only 2-segment. Same expected_json pre-existed for this fixture; integrity depends on goldens being current with960e5fe84check output.
Refuted
- qualified_head_prefix + widened let_statement_type_head annotation consumption could return a &str backed by a buffer that gets resized/detached elsewhere, causing a stale active-view read in classify::related_tests.; refuted because: All return values remain &str slices into the caller-owned body: indexer retains observer state, only adjusts slice ranges within the existing allocation; no reallocation, detach, transfer, or capacity change is performed. Re-exports widen visibility but do not introduce or consume any byte buffer that could be resized mid-observation. There is no active-view UB pathway in this PR.
- The two foreign tests would still pin local WhileSome::size_hint because Fast mode indexes dependency code and finds the foreign size_hint, letting the local change be falsely credited.; refuted because: The fixture's foreign crate is only a dev-dependency, and PR body + SPEC.md + honesty corpus pin that the finding stays weakly_exposed with weak_token_substring on all four rows; Fast mode does not depend on foreign dependency indexing per the SPEC's 'A second local method ensures Fast mode exercises competing names; dependency indexing is not assumed' clause.
Parked follow-ups
- Author's PR body and prior github-actions review already enumerate parked follow-ups (UFCS, unit-value, borrowed helper, unique-name, generic nominal, uppercase module ambiguity, #8782 items 2–4). No new parked follow-ups to add from this lane.
- Spec, fixture SPEC.md, traceability, and changelog entry co-pin the same single acceptance ('module-qualified receiver initializers and type annotations cannot establish competing owner identity solely through a matching compact type name') and reject the same false positives. The fixture introduces OtherIterator to force ambiguous-name matching in Fast mode without depending on foreign dependency indexing.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Disposition of github-actions review submitted 2026-10-19 03:08:36 UTC, at unchanged bf8e66c: no material source blocker established. Independent reviewer and delivery owner checked the following against committed source and retained actual outputs.
- Whitespace coverage: rust_source_whitespace_cannot_hide_receiver_qualification loops both record and tuple initializers, all five legal non-ASCII Rust whitespaces, foreign refusals and bare positives. NBSP/U+00A0 is excluded by the exact Rust whitespace predicate; adding it as a legal-whitespace positive would be incorrect.
- Three-segment paths: the committed matrix contains crate::m::Site(1), and the new refusal matrix contains foreign::é::Site(1). The claim of no such coverage is refuted.
- Prevention is production behavior: the independent copied public fixture and separate scratch inputs have no honesty corpus, yet the real final CLI reports weakly_exposed and all four weak_token_substring rows. The corpus validates that output; it does not supply the classifier decision.
- Fixture/oracle distinction: the foreign native tests intentionally continue passing when the local implementation changes; they establish that those tests exercise the other owner. The frozen pre-repair and final classifier outputs on the same fixture provide the attribution discriminator. Initial unit RED executed one fully qualified test, failing at its first matrix body; it does not claim every body independently re-red. Separate retained CLI witnesses cover the discovered annotation, specialization and whitespace regressions.
- Golden currentness: this fixture's expected/check.json is newly added relative to basis4ad2635. The final504-fixture comparison is bound to bf8e66c, not the superseded960e head.
- All four current rows are observed weak in both the fresh CLI output and complete golden comparison. Nuance retained: expected_related_test uses any-match per name, so its two name pins alone do not universally quantify the three same-name rows. The current full-output evidence supplies that dimension.
Rust-only hosted CI passed. Its actual terminal Cargo result rows sum to11,227 passed /0 failed /2 ignored across103 rows (96 nonempty and7 zero-pass targets); these are execution-row totals, not a unique-subject count or a full required matrix. Every new receiver control is present as executed okay in the log.
ub-review's own reporter is INCOMPLETE despite the successful advisory wrapper: RIPR sensor failed(exit2), cargo-test sensor timed out(900s), multiple proof targets were unsupported, red/green proof was deferred and one head-only receipt was recorded. These limits are not promoted to clean review or discrimination proof; no rerun or approval bypass was requested.
REVIEW_INCOMPLETE remains for pending Windows native verdicts, the required Rust Small producer (Ready-only; Draft retained under the current instruction), and final integration judgment. No merge clearance. Exact-head independent review, local RED/CLI witnesses and decoded hosted logs remain retained.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Final hosted extension at bf8e66c: REVIEW_INCOMPLETE; no merge clearance.
The single Draft merge-ready request is terminal. CI Rust-only, three-platform paste, Security and Source of Truth passed; existing same-head read-only wheel evidence passed and was reused. Independent review inspected their raw logs and subject bindings. Required Rust Small was not produced and cannot be replaced by these optional results while Draft.
Windows wrapper success retains actual failures: gap-artifacts84, Cargo-home7 and cache-warning1 pass; Clippy exits101 at inherited#8840 (identical affected test blob on head/main/merge); selector exits1. The selector receipt independently matches the raw log and exact bf8 head/tree/version/binary. Build passed, then malformed explain recovery comparison failed: "printed command lost frozen root/diff/JSON scope". Recovery replay/context never ran. Its free-function fixture and unchanged recovery/workflow surfaces support attribution outside the receiver-initializer patch, but no exact printed-stderr mismatch or native-main baseline result is established from the retained hashes. Do not credit native Windows qualification.
ub-review remains INCOMPLETE by its own reporter despite wrapper success. Source comments were dispositioned in review5566535481; independent source/runtime verdict remains non-blocking. No new source change, rerun, Ready toggle or qualification bypass occurred.
Retained final decoded receipts: /workspace/receiver-8782-evidence/draft-qualification-20261019/. Parent owns routing the separate Windows/selector gaps and selecting the next admitted required qualification/integration transition. Narrow claim/source/RED witnesses remain retained.
…olding (#8782) Merging main made the unresolved foreign-owner receivers report static_unknown (gap_evidence_unresolved) instead of weakly_exposed. Still no promotion to exposed; fixture SPEC, honesty corpus pin and SPEC-0108 wording follow. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014doxtTEYf5uCgqiWJV8ffG
#8782) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014doxtTEYf5uCgqiWJV8ffG
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
This PR carries Generated by Claude Code |
|
Generated by Claude Code |
|
|
# Conflicts: # fixtures/evidence-promotion-honesty-corpus/corpus.json
…merge (#8782) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014doxtTEYf5uCgqiWJV8ffG
There was a problem hiding this comment.
Decision
- Needs one verification check before upstream.
Verification questions
- Confirm repository-wide alternate receiver-resolution consumers were not exhaustively enumerated from the supplied diff, so absence of further sibling routes is not proven.
Refuted
- This patch may expose the same stale-view identity problem as a resizable ArrayBuffer or detached TypedArray.; refuted because: The assigned surface is absent: there are no buffer, detach, transfer, backing-store, or JavaScript active-view operations. The analogous Rust concern is addressed by failing closed when qualification prevents proof of the compact owner identity.
- The assigned worker-handoff lifetime class is absent from this diff: all executable production changes are Rust text-classification logic, and fixture tests use ordinary Rust calls.
- The changed Rust receiver parsing could create a JS-backed use-after-free, GC hazard, or worker-transfer lifetime bug.; refuted because: No JS-backed memory or handoff mechanism is changed or invoked; the modified code performs synchronous parsing over Rust string slices.
- The new tests are merely reach-only smoke tests and therefore do not discriminate the changed behavior.; refuted because: The fixture asserts exact changed size_hint values, including the Some component and full tuple, while qualification-related assertions distinguish foreign from local receiver identity.
- The parser change might introduce memory unsafety through unbounded indexing, panic, or invalid UTF-8 slicing.; refuted because: The modified scanner uses checked slicing and Option-returning helpers; no unchecked slice was introduced. Miri was disabled, but this is ordinary safe Rust and the changed paths contain no unsafe block.
Parked follow-ups
- Direct UFCS and unit-value receiver paths are adjacent siblings but remain explicitly outside this PR; they should stay parked rather than be silently broadened here.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- The strongest unresolved verification issue is execution.
EffortlessSteven
left a comment
There was a problem hiding this comment.
No actionable findings emitted for #8782 item 1. Scoped source/runtime disposition: non-blocking. Overall REVIEW_INCOMPLETE: final required qualification/integration is not established by this review.
Subject: EffortlessMetrics/ripr-swarm #8833, PR author EffortlessSteven; reviewed head 9e315e3, tree 32d247bf64b6ab0a97294a37eb28ddd6027d799a; PR base main at 1d3255d. Head was re-read unchanged before publication.
Reuse/currentness: retained independent review 5566430023, its finding disposition, and qualification limitations remain evidence for bf8e66c. I did not repeat that 52-control campaign or relabel its old CI as current. Direct comparison found all twelve relevant receiver reader/matcher function bodies unchanged, including last_let_statement, annotation consumption, initializer admission, textual-prefix refusal and both method-resolution entry paths. The six relevant committed control functions are unchanged too. This pass closes the post-main-integration/rendered-output seam.
Observed fresh local proof, Rust 1.95.0 on x86_64 Linux:
- Clean detached head built with cargo build --locked -p ripr --bin ripr, exit 0. CLI SHA256 326a92c693344ef7257a838a5e44b85746f1d680248a80a2a26910660948cb64.
- Ten independent real-CLI controls, each exit 0 with exactly one finding: two bare local receiver/annotation positives retain direct_owner_call; seven foreign-module, qualified-annotation, module-alias, type-alias, same-name module type-alias, explicit same-name import-shadow and binding-shadow negatives retain weak_token_substring. A crate::Site local control remains refused under the explicitly accepted conservative policy.
- Each control compiled and executed natively. All ten candidate tests pass. Replacing only the local build return with 0 leaves all seven foreign-only tests passing and makes the two genuine local positives plus the conservatively refused qualified-local test fail. These are fixture oracle controls, not ten independent mutations of the analyzer.
- Fresh copied public rust_qualified_foreign_receiver fixture: one static_unknown finding, gap_evidence_unresolved, all four related-test rows weak_token_substring/no_call_path. Fresh copied rust_same_method_owner_type_positive: one exposed finding with direct_owner_call. No honesty corpus was present in either copied input; the production CLI supplied these decisions.
Consumers inspected: classifier owner_call_relation_reason; direct/bound/literal receiver readers; test_grip_evidence/related_tests; transitive_reach's cached matcher; and implicit_call's shared readers. The intervening let_binding_certain_type_head helper can compact an annotation, but its inspected consumer uses it only for Operand::Other after the positive binding check fails, not as positive owner authority. No alternate positive bypass was established in these consumers. This is a bounded call-site audit, not proof that all repository-wide nominal-resolution siblings are absent; that stronger hypothesis from review 5641635396 is not this PR's accepted contract.
Observed hosted execution: Rust-only job 121077049207 logs execute all five new receiver tests successfully. Its actual checkout is merge 587b3a1, tree 46aea60959e5a00974ac719e0035cf9c8599948d, parents c0c0b04 and the reviewed head. The receiver production files and public foreign fixture are byte-identical between that checkout and head; this composition is distinct from the PR base metadata above.
Not verified here: terminal required matrix/current Windows native qualification, general type resolution, direct UFCS/unit paths, constructor return inference, unique-name attribution and borrowed-helper expansion. Historical ub-review/Windows limitations retain their original subjects; wrapper success is not upgraded to semantic proof. Accepted crate/self/super refusal is a precision cost, not a new blocker.
Canonical-owner next action: inspect the terminal jobs/artifacts and actual checkout of the already admitted merge-ready run 40162581663 (observed in_progress, attempt 1, same head), then reconcile the remaining final qualification/integration judgment. No new hosted request, Ready toggle, implementation write or merge occurred.
Local raw proof retained at /workspace/review-8833-evidence/: control-results.json, per-case inputs/CLI/native logs, public-fixture.json, positive-fixture.json, fence-comparison.json and build.log. control-results.json SHA256 408c0c8b1e96f4f3d0d82783c7f2075c061ee7f7fd294f50541acbea2f90d338. These local paths are retention locations, not publicly downloadable artifacts. This COMMENT records independent review under the author's account; it is not approval or merge clearance.
|
Review of record, head 9e315e3
Merging with the head SHA pinned. Generated by Claude Code |
|
Verified external landing of #8833; terminal extension to review 5641702884. The source/runtime controls from that review were reused without reruns or new CI. GitHub reports merged at 2026-10-25 05:25:50 UTC as a9eb5894953a04f92eed37968543d856bb183741. I independently fetched the Git object: its sole parent is d49439e and its tree is 95b6d424826f4c496444ff071ffe6cbd927d0fce. A read-only local merge-tree composition of that parent with reviewed head 9e315e3 produces exactly the landing tree. The landing delta is the expected 19 files / 795 insertions / 18 deletions. Receiver implementation, relevant specs, honesty corpus, changelog and foreign-fixture blobs are identical to the reviewed head. No extra conflict-resolution edit was introduced. Existing run 40162581663, attempt 1 is terminal success, updated 05:24:29 UTC:
Currentness boundary: the qualified checkout is the c0c0-based composition above; the landed tree includes eight later main commits. I inspected that intervening path inventory and relevant shared-source deltas: the receiver matcher, text readers, direct test-grip/transitive consumers, manifests/lockfile and both receiver fixtures did not change. Other classifier/value-origin/output work did change. Clean composition/tree equality establishes integration provenance, not execution of the required suite on the later landed tree. No post-merge replay was requested or run. Conversation and inline-thread reads establish no new unresolved source finding/dependency blocker for this slice. The old 12e9e51 conflict notice is superseded by the successful admitted run and actual landing; the accepted qualified-local refusal and parked UFCS/unit siblings remain non-blocking scope limits. #8782 remains open. Limits: the connector rejected the rules-read URL as unsupported, so I do not assert independently verified protection configuration. The nextest ZIP was listed/uploaded, but its supported transfer into this workspace failed with "library file transfer failed: download failed"; its XML/run-context contents were not independently inspected. Test counts and checkout above come from decoded producer logs, not that unmaterialized ZIP or an advisory wrapper. Canonical-owner next action: record #8833's verified landing as delivery of #8782 item 1 while retaining that issue's remaining scope. No direct merge, Ready change, branch write, rerun or new hosted request was performed in this review. |
Conflict: classify/related_tests.rs (kept both test sets; #8833 qualified-initializer tests alongside the receiver-rule boundary test). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013kSch2opYors8Yb2NR1ZMd
Summary
Governing issue or accepted claim: #8782, item 1 (qualified receiver initializer/annotation identity).
Acceptance delta (one sentence): Discarding an unresolved initializer or annotation qualifier cannot establish a competing Rust owner's identity from its compact type name; previously supported bare controls retain their behavior.
The compact receiver matcher could drop a module prefix and credit a foreign value's method call to a different owner with the same final type name. This PR fences unresolved qualified record/tuple/constructor initializer heads and type annotations at the shared compact-name reader. Prefix checks preserve qualification across Rust source whitespace and reject raw-identifier or Unicode-prefix truncation. Bare constructors/variants, primitive receivers, owner-aware direct paths and independent local calls remain controls.
Scope and relationships
foreign::Site::build(&x)), borrowed helper context, factory return typing, generic nominal identity and items 2–4 are outside this slice.crate::,self::andsuper::qualified receivers are refused even when the type is the local impl (for examplesuper::Site::new().build()in an inline test module), because the compact-name reader cannot resolve the path. A barer#Site(1)is also refused. Both lose a possibleexposedrather than invent one.Evidence at head 12e9e51
main(clean).cargo xtask precommitexit 0, including a full goldens check, after one intended re-bless.rust_qualified_foreign_receiverfixture reportsstatic_unknown/gap_evidence_unresolvedinstead ofweakly_exposed. The four related-test rows stayweak_token_substring, nothing is promoted toexposed, and the corpusexpected_classpin, fixture SPEC and RIPR-SPEC-0108 wording are updated. The class pin holds only non-promotion; the relation pins reject the old false reach claim.cargo test -p ripr --lib related_tests: 349 passed.changelog.d/8782-qualified-receiver-identity.md.🤖 Generated with Claude Code
https://claude.ai/code/session_014doxtTEYf5uCgqiWJV8ffG