Repository navigation
[TS PBT] Bind compiler-owned numeric result observations - #584
Open
CaelmBleidd wants to merge 2 commits into
Open
CaelmBleidd wants to merge 2 commits into
CaelmBleidd wants to merge 2 commits into
Conversation
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compiler-owned numeric result observations can now be bound to one original EtsIR assignment after its value is stored. The binder verifies the retained DSL program, reproduces the complete generated wrapper from its recorded module resolutions, checks the original native receipt and input snapshot, and locates the declared numeric stores in both the predicate and diagnostic companion.
An
EXACTresult carries the original method, post-store assignment, companion assignment, numeric local, original input slot, operand order and compiler descriptor.AMBIGUOUS,UNMAPPEDandUNSUPPORTEDremain distinct. Wrong ABI/local/node/kind/occurrence, repeated or nested observations, wrong temporal order, unsupported values, changed selected sources and unreproducible compiler metadata cannot activate an exact point. Canonical positional input bindings are shared with the entry mapper and revalidated in full; swapped slots/parameters and changed input names are rejected. Every source hash explicitly selected by the original PBT capture is checked, including a helper when it was selected.Exactness applies only to this compiler-owned point transport. The original inference keeps its
UNVERIFIEDexecutable-build status; source hashes do not establish transitive import/transpilation identity. Arbitrary source names, coordinates or hashes cannot replace the retained compiler program. No machine lifecycle, selector or campaign behavior changes here.This follows #580 and covers the binding portion of #398. The local auxiliary search and full native hypothesis replay/shrinking are a separate consumer change; this PR does not close #398.
Review scope
5 files, +636/-21: +286/-21 production and +350 tests. The only prerequisite is #580 at
bd7e371690ae3cfac2b3f530f4e452fe306b2d38; #576 is not inherited into this PR.Validation
No experiment or benchmark campaign was run.