Skip to content

perf(stage2): content-bind MIR provider sessions - #7674

Merged
ormastes merged 3 commits into
release/1.0.0from
fix/p2-mir-provider-content-20261107
Nov 7, 2026
Merged

ormastes merged 3 commits into
release/1.0.0from
fix/p2-mir-provider-content-20261107

Conversation

@ormastes

@ormastes ormastes commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Astra reviewed for CI. Content-binds MIR provider-session reuse to ordered HIR codec content, propagates the immutable key through lifted lowerings, and adds falsifiable changed-content, provider-order, and lifted-dispatch regressions. Final merge requires green branch gates and admitted pure-Simple Stage2/performance evidence.

ormastes and others added 3 commits November 7, 2026 16:42
register_trait_receiver_impls walked every provider impl table and
relocated every impl method into each consumer's symbol table (N x P).
Build a provider trait-impl session index once (with the provider
session) and materialize owners/method targets per consumer only on
lookup; scalar rows replay only for traits the consumer can see.
SIMPLE_MIR_EAGER_TRAIT_IMPLS=1 restores the eager walk for A/B.

Repro: mir_provider_trait_impl_once_per_closure_spec (RED 3/9 -> GREEN 1/0).
Prevention: ..._prevention_spec (N/P shapes + demand==eager MIR parity).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ormastes ormastes added the ci:full Run the full (non-required) CI matrix on this PR label Nov 7, 2026

@ormastes ormastes left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opus review (owner session): PASS. Scoped diff with specs, no rewinds or swept-in files, required check green.

@ormastes
ormastes merged commit d831403 into release/1.0.0 Nov 7, 2026
17 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Run the full (non-required) CI matrix on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant