Skip to content

fix(lsp): show failed analysis to generic editors via window/showMessage (#8583) - #8642

Merged
EffortlessSteven merged 2 commits into
mainfrom
fix/8583-generic-editor-analysis-failure
Oct 18, 2026
Merged

EffortlessSteven merged 2 commits into
mainfrom
fix/8583-generic-editor-analysis-failure

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Source-of-truth Links

Governing issue or accepted claim: #8583
Acceptance delta (one sentence): a failed analysis is shown once per distinct failure to generic LSP clients via window/showMessage, so a broken run is no longer indistinguishable from a clean one outside VS Code.

Problem

publish_analysis_status only sent the custom ripr/analysisStatus notification. Generic editors (Helix, Neovim, any client without the riprEditor integration) do not render it, so a failed analysis (bad config, cargo error) produced silence, indistinguishable from "no gaps found". The in-tree precedents (disclose_blocked_root, the config-reload failure path) already solve this exact shape for other disclosures; ordinary analysis failure had no such path.

Change

In crates/ripr/src/lsp/backend.rs:

  • publish_analysis_status also calls disclose_analysis_failure_to_generic_client: when the payload carries a failure and the client lacks riprEditor, it sends one window/showMessage WARNING (ripr analysis failed: {message}) through the checked send_notification::<ShowMessage> path, the same initialization gating as ripr/analysisStatus itself. The unchecked Client::show_message would block on undriven in-process sockets, so it is not used.
  • The text passes through the existing bounded_failure_message bound (240 chars, path-redacting). No new bound, no payload schema change.
  • Dedup mirrors last_component_degradation: signature kind:message in a new last_analysis_failure_shown field. An unchanged failure shows once, a changed failure shows once, and a succeeded publication clears the signature so a recurrence shows again; transient queued/running publications do not clear it.
  • Dedicated disclosures that already own the on-screen wording (initialize failure, config reload) seed the signature via note_analysis_failure_disclosed, so the same failure never shows twice with different wording. Input-change health reset clears it too.

No spec slice owns this disclosure (searched .allow/spec-system/slices and .ripr/traceability.toml for analysisStatus/showMessage claims; the nearest, typed degradation, explicitly governs routine partial evidence, not hard failures), so none was extended.

Proof

  • Test-first: the new framed-wire test failed before the change (generic client got zero showMessage frames while the status payload carried the forced failure), then passed.
  • generic_client_analysis_failure_is_shown_once_and_only_to_generic_clients: generic client with the same forced failure across two refreshes gets exactly one bounded WARNING; a riprEditor client gets none; a generic client with a successful analysis gets none.
  • Neighbor wire journeys around initialize/config-reload/component-degradation disclosures pass in serial runs; fmt and clippy pass.
  • The full lsp::tests module did not finish locally on this contended Windows host (see test(lsp): wire-refresh journeys time out under the parallel Windows suite but pass alone in seconds #8545 for the suite contention record); the hosted gate is the arbiter for the full module, and no full-module local pass is claimed.
  • Changed-failure-shows-again is covered by the signature mechanism; a dedicated two-distinct-failure-texts wire test is not included.

Non-goals

  • No change to the ripr/analysisStatus payload schema, VS Code status rendering, or which failures count as failures.
  • No $/progress redesign.

@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!

@EffortlessSteven
EffortlessSteven marked this pull request as draft October 18, 2026 00:37
@coderabbitai

coderabbitai Bot commented Oct 18, 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 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 79 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
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 8bf55abc-9edd-4505-99db-ee129c069968
📥 Commits

Reviewing files that changed from the base of the PR and between de03f31 and dae27d4.

📒 Files selected for processing: 3
  • changelog.d/8583-generic-editor-analysis-failure.md
  • crates/ripr/src/lsp/backend.rs
  • crates/ripr/src/lsp/tests.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 18, 2026 00:37
@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.

Decision

  • Needs reviewer attention before upstream: findings remain.

Confirmed findings

  • Helper write_lsp_message / read_lsp_response / run_wire_refresh_collecting / analysis_status_params / shutdown_framed_session / boundary_gap_git_fixture_root are reused from neighbors but not asserted here; the framed-wire framing follows the existing a_reload_that_breaks_ripr_toml_is_shown_once_without_source_text shape so wiring risk is low.
  • crates/ripr/src/lsp/tests.rs:12465 — Add a symmetric test asserting a changed failure (two distinct forced failure messages) shows again to a generic client. The helper refresh_show_messages already accepts refreshes and base_ref; reuse it with two distinct bad base_refs in one framed session and assert shown.len()==2.

Verification questions

  • Confirm pR explicitly states changed-failure-shows-again is covered by signature mechanism and a dedicated two-distinct-failure-texts wire test is not included. This is an author-acknowledged gap, not an omission hidden in prose.

Refuted

  • Full lsp::tests module did not run locally; PR defers to hosted gate.; refuted because: PR cites #8545 for suite contention on the Windows host. This is a test-runner-side issue, not an oracle defect for the targeted claim; the gate is the accepted arbiter per the PR's Non-goals/test posture.

Parked follow-ups

  • Input-change health reset (on_input_change clearing last_analysis_failure_shown alongside last_component_degradation) has no test. It is a symmetric small path whose absence is not blocker-level.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Qualification attempt 2: the first run failed at workspace clippy --all-targets on one lint in the new test helper (filter_map with bool::then, clippy::filter_map_bool_then). The helper now uses filter then map; clippy --all-targets -D warnings and the new wire test pass locally. Qualification re-requested once via Draft to Ready.

@EffortlessSteven
EffortlessSteven marked this pull request as draft October 18, 2026 01:08
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 18, 2026 01:08
@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!

@EffortlessSteven
EffortlessSteven merged commit 4fb6e95 into main Oct 18, 2026
33 checks passed
@EffortlessSteven
EffortlessSteven deleted the fix/8583-generic-editor-analysis-failure branch October 18, 2026 02:00
EffortlessSteven pushed a commit that referenced this pull request Oct 18, 2026
#8636 and #8642 both disclose a failed refresh to generic clients; record
the refresh path's disclosure before the status publication so the
signature-based path does not show the same failure again. Main-wide red
on generic_client_analysis_failure_is_shown_once_and_only_to_generic_clients.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SXuWr9byCWqYZ9wHRTEcSy
EffortlessSteven pushed a commit that referenced this pull request Oct 18, 2026
… 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
EffortlessSteven added a commit that referenced this pull request Oct 18, 2026
)

* feat(ci): one updated summary comment on the PR conversation (#8402)

Adds ripr pr-comments summary and a Publish RIPR summary comment step to the
generated workflow. Updates only the github-actions[bot] comment, skips fork
and Dependabot heads, never reports an incomplete analysis as clean.

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

* fix(ci): summary comment reads array-only summary_only, static-language clean wording, docs and tests (#8402)

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

* fix(lsp): stop double window/showMessage for one refresh failure (#8583)

#8636 and #8642 both disclose a failed refresh to generic clients; record
the refresh path's disclosure before the status publication so the
signature-based path does not show the same failure again. Main-wide red
on generic_client_analysis_failure_is_shown_once_and_only_to_generic_clients.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven pushed a commit that referenced this pull request Oct 18, 2026
…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
EffortlessSteven added a commit that referenced this pull request Oct 18, 2026
…8693)

#8636 and #8642 both implemented the generic-client window/showMessage
disclosure for #8583 and both merged. On main the first failure fires both
paths, so the shown-once test from #8642 fails. Keep the per-signature path
from #8642 (it also covers initialize and config reload) and remove the
per-transition path and tests from #8636.


Claude-Session: https://claude.ai/code/session_01DhLb2VKJXpSwarf9qNWkGb

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven added a commit that referenced this pull request Oct 18, 2026
…r dirty-tree analysis (#8694)

* fix(lsp): show a generic client one failure warning, not two (#8583)

#8636 and #8642 both implemented the generic-client window/showMessage
disclosure for #8583 and both merged. On main the first failure fires both
paths, so the shown-once test from #8642 fails. Keep the per-signature path
from #8642 (it also covers initialize and config reload) and remove the
per-transition path and tests from #8636.

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

* test(typescript): pin spy file checks to the committed test file under dirty-tree analysis

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

* docs(spec): tighten the 0247 test mapping sentence for the committed-file test

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven added a commit that referenced this pull request Oct 22, 2026
…nce and path redaction (#8723)

* fix(lsp): show a generic client one failure warning, not two (#8583)

#8636 and #8642 both implemented the generic-client window/showMessage
disclosure for #8583 and both merged. On main the first failure fires both
paths, so the shown-once test from #8642 fails. Keep the per-signature path
from #8642 (it also covers initialize and config reload) and remove the
per-transition path and tests from #8636.

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

* test(lsp): cover generic-client failure warning recovery then recurrence and path redaction (#8698)

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

* Take main for the stack-only files; keep this PR's two recovery/redaction tests

The branch carried #8693's pre-squash head. Tree is now origin/main plus the
#8698 tests and changelog fragment only.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven added a commit that referenced this pull request Oct 29, 2026
…oduction rule) (#8577)

* fix(analysis): require bounded inherent receiver attribution (1/n: production 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

* fix(lsp): drop the duplicate refresh-failure showMessage so a failure 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

* ci(rust-gates): align ripr check analysis budget with the PR-evidence 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

* perf(analysis): share one receiver syntax owner and parse macro sites 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

* style: cargo fmt after main merge

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

* fix(#7415): read factory return type from AST, mask whole bodies, narrow memo locks

- associated_fn_returns_own_type reads the declared return type from the
  parsed signature, so a where-bound arrow cannot grant factory credit.
- call_text_contains_named_call uses the whole-source masker instead of the
  single-line stripper.
- inherent_helper_reaches_owner takes the indexed FunctionSummary.
- parse_fragment and OwnerPinSyntax::file_scopes compute outside the
  index-wide locks and keep the first stored entry.

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

* test(#7415): index-backed oracles for factory and helper-hop routes; disclose accepted corpus cost

- associated_fn_returns_own_type now refuses async declarations (indexed
  bodies omit qualifiers, so the earlier signature check never saw them) and
  type parameters named like the impl type.
- Add index-backed tests for factory admission/refusal and the helper hop,
  including async helpers, wrong-type helpers and an uncalled helper.
- Changelog states the direction of the three corpus rows (false_actionable).

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

* fix(#7415): constructor-named receivers need indexed return type and unqualified path

Route associated-call receiver initializers (new/default/from/new_*/from_*/with_*)
through the indexed declaration's return type; refuse qualified paths
(foreign::Site::new(), foreign::Site {..}); fail closed without an index. Add
index-backed negative and positive controls.

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

* fix(#7415): credit Default/From/generic receiver heads from positive index evidence

Ty::default() is credited only by impl Default for Ty or a unique
#[derive(Default)] Ty (an inherent default is judged by its return type);
Ty::from(..) only by impl From<_> for Ty; generic owners compare the nominal
head. Restores five verdict-corpus rows; check is clean at 489 cases / 12 false
verdicts.

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

* Trim #8577 to fit the qualification scope limit (tests/docs only)

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

* Make unit-struct and free-fixture receiver controls discriminating (#8577)

The unit-struct negative now has a non-unit owner named Site so removing
unit_struct fails a test at both sites; enclosing_fn_binds also refuses a
use import or glob that can rebind the free-fixture head.

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

* test(#7415): reconcile the two red hosted lanes after the origin/main merge

Both failures are the bounded receiver rule meeting oracles main registered
on 2026-10-27..29, after this branch's last main merge (verified: the base
worktree at 58e494a is clean on both).

- goldens rust_adversarial_same_method_other_type [human.txt]: on main the
  repair start read the rival-receiver credit as seam-exposed; the bounded
  rule refuses that credit, so the message now reports the unbound seams.
  Finding file, classification (reachable_unrevealed), related tests and
  next-step guidance are unchanged (1 drifted line). Blessed with reason
  citing RIPR-SPEC-0108 / the #4760 same-method-other-impl class, the
  fixture's own prior bless convention. Base-vs-PR attribution: pure main
  passes, PR tree drifts, so the flip is this PR's intended change.
- registered_proptest_profile
  ordinary_nonfree_equal_typed_arguments_keep_existing_boundary_pairing:
  main's new property expects activation_unknown for the receiver spelling
  (`let price = Price;` then `price.discounted_total(..)`), but `Price`
  reaches the integration test only through a cross-file import whose
  identity the bounded admission cannot resolve (the known-false class
  owned by #8782). The associated UFCS spelling keeps the original pairing
  pinned; the receiver spelling now pins the disclosed honest refusal
  (ungripped, activate no, discriminate no) until #8782 restores import
  identity.

cargo xtask goldens check exit 0; the targeted property passes under
--no-default-features --features lang-rust; classify 1639/1639; fmt and
clippy -D warnings clean. Nine other profile tests fail only in this
Windows host's local environment and pass on the hosted Linux lane; the
same failure reproduces on a clean 58e494a worktree locally.

* review(#8577): repair the four CodeRabbit threads posted on 97ab79e

- changelog.d/7415: the accepted-cost entry now lists the fourth
  verdict-corpus row spec0228-pushed-literal-hand-built-expected and its
  UFCS argument-form cause, matching the known-false/ entry and PR body.
- reveal.rs macro_may_define_callee_name: build MacroSites::scan through
  SyncMemo::get_or_build so the full-file parse runs outside the memo
  lock instead of serializing workers that first query different files.
- context.rs clear_window_memos: clear inherent_helper_reach with the
  other window memos so the (test, owner) reach answers no longer
  accumulate across the whole run.
- docs/LEARNINGS.md: the new learning becomes its own dated peer section
  (## 2026-10-25:, the adding commit's date) instead of a ### nested
  under the previous learning.

cargo fmt --check exit 0; cargo clippy -p ripr --all-targets -- -D
warnings: 0 errors; analysis::classify 1639/1639; test_grip_evidence
499/499; registered proptest ordinary_nonfree passes under
--no-default-features --features lang-rust; goldens check exit 0;
verdict-corpus check exit 0 (oracle accuracy 49/49).

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven added a commit that referenced this pull request Oct 30, 2026
#11029)

* fix(analysis): require bounded inherent receiver attribution (1/n: production 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

* fix(lsp): drop the duplicate refresh-failure showMessage so a failure 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

* ci(rust-gates): align ripr check analysis budget with the PR-evidence 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

* perf(analysis): share one receiver syntax owner and parse macro sites 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

* style: cargo fmt after main merge

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

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

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

* test(fixtures): re-bless inherent_receiver_* goldens on current main (#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

* docs(fixtures): async_function SPEC records sync-chain helper_owner_call on main (#7415)

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

* fix(fixtures): keep sync-chain null for the seam walk, document the diff-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

* docs(fixtures): repair inherent-receiver fixture boundary docs per review

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

* docs(fixtures): qualify inherent-receiver fixture docs per exact-head review

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven added a commit that referenced this pull request Oct 30, 2026
#11030)

* fix(analysis): require bounded inherent receiver attribution (1/n: production 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

* fix(lsp): drop the duplicate refresh-failure showMessage so a failure 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

* ci(rust-gates): align ripr check analysis budget with the PR-evidence 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

* perf(analysis): share one receiver syntax owner and parse macro sites 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

* style: cargo fmt after main merge

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

* test(fixtures): inherent receiver fixtures 2/2 (#7415, split of #8004)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013kSch2opYors8Yb2NR1ZMd

* test(fixtures): re-bless inherent_receiver_* goldens, slice B, on current main (#7415)

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

* fix(fixtures): align inherent_receiver SPEC.md with blessed classes and checked evidence (#7415)

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

* docs(fixtures): correct remaining stale inherent_receiver SPEC.md statements (#7415)

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

* docs(fixtures): narrow remaining inherent_receiver SPEC.md claims to checked goldens (#7415)

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven added a commit that referenced this pull request Oct 30, 2026
…7415, split of #8004) (#11031)

* fix(analysis): require bounded inherent receiver attribution (1/n: production 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

* fix(lsp): drop the duplicate refresh-failure showMessage so a failure 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

* ci(rust-gates): align ripr check analysis budget with the PR-evidence 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

* perf(analysis): share one receiver syntax owner and parse macro sites 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

* style: cargo fmt after main merge

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

* test(analysis): private inherent receiver integration and grip tests (#7415, split of #8004)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013kSch2opYors8Yb2NR1ZMd

* test(integration): align private_inherent_receiver with current main (#7415)

Class check accepts Exposed or WeaklyExposed (#9969); natively reaching sync
helper cases may be helper_owner_call/high (#5352 bridge).

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

* test(integration): diff path bridges the sparse sync chain the seam walk leaves uncredited (#7415)

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

* docs(changelog): fragment for #7415 integration tests

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

* test(analysis): create fixture root parents and derive probe expectation

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

* test(analysis): pin cross-target probe class to weakly_exposed

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven added a commit that referenced this pull request Oct 30, 2026
#7415, split of #8004) (#11032)

* fix(analysis): require bounded inherent receiver attribution (1/n: production 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

* fix(lsp): drop the duplicate refresh-failure showMessage so a failure 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

* ci(rust-gates): align ripr check analysis budget with the PR-evidence 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

* perf(analysis): share one receiver syntax owner and parse macro sites 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

* style: cargo fmt after main merge

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

* docs(spec): RIPR-SPEC-0005 private-target attribution and traceability (#7415, split of #8004)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013kSch2opYors8Yb2NR1ZMd

* docs(traceability): drop duplicate name_scope entries from RIPR-SPEC-0005 tests (#7415)

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

* Drop stale corpus-loss count from RIPR-SPEC-0005

The known-false set changed on main (two rows remain), so the spec
states the retained losses without a number.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant