feat(#242): VCR-RA-003 across-JOIN on the numeric-branch optimized path#819
Open
avrabe wants to merge 1 commit into
Open
feat(#242): VCR-RA-003 across-JOIN on the numeric-branch optimized path#819avrabe wants to merge 1 commit into
avrabe wants to merge 1 commit into
Conversation
Extends invariant 4 (join MUST-availability fixpoint) past the direct/label path to the optimized numeric-branch path: a resolved-offset join-CFG builder decodes BOffset/BCondOffset targets to predecessor indices, so the availability fixpoint runs there too — the "whole-function" allocation validator now holds on the DEFAULT shipping path, not just direct branches. NotAttempted stays only for genuinely-unresolvable offsets (decline>guess). 6 new ra003_numeric_* tests (red across-join clobber CAUGHT; green both-paths/dominator/loop-back-edge Consistent; off-boundary + mixed-stream decline). 648 lib tests green, frozen 10/10 byte-identical (validator emits nothing), 25/25 claims. Salvaged from an API-stalled agent (uncommitted WIP, re-verified from scratch: build + 24 ra003 tests + frozen + clippy + fmt + claim gate all green). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
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.
v0.50 Lane 2. Closes the v0.49 named residual: the whole-function allocation validator's across-JOIN invariant (invariant 4, MUST-availability fixpoint) previously loud-flagged
NotAttemptedon the OPTIMIZED path's pre-resolved numeric branches (BOffset/BCondOffset). Now a resolved-offset join-CFG builder decodes those targets to predecessor indices, so the fixpoint runs there too — "whole-function" holds on the DEFAULT shipping path, not just direct/label branches.Red-first (non-vacuous):
ra003_numeric_red_across_join_clobber_is_caught(a value in different locations on two numeric-branch paths into a join → Violation, was NotAttempted before). Green: both-paths-define / dominator-defined / loop-back-edge → Consistent. Decline-honesty kept: off-boundary + mixed-stream + genuinely-unresolvable offsets stillNotAttempted(decline>guess). 24 ra003 tests total (18→24).Frozen 10/10 byte-identical (validator emits nothing; control_step 0x00210A55, flight_algo 0x07FDF307). 648 lib tests green, clippy -D clean, fmt clean, claims 25/25, rivet clean.
Salvaged from an API-stalled authoring agent (uncommitted WIP) — re-verified every gate from scratch before committing.
🤖 Generated with Claude Code