docs(vcr): record optimizer_bridge/selector frontier second arc + #509 negative result (#242)#510
Merged
Merged
Conversation
… the #509 negative result (#242) Appends a dated slice to VCR-ORACLE-001's history covering the 2026-06-26 second arc: #496 (R12-exhaustion decline-to-direct, PR #502), #503 (AAPCS stack-arg cap-lift, shipped v0.16.0, PR #504), #507 (optimized-path br_table decline, PR #508), each with its new CI execution oracle (r12-spill-496, stack-args-503, br-table-507). Most importantly it records #509 as a LOAD-BEARING NEGATIVE RESULT so the decline-to-direct shortcut is not re-attempted: the direct selector (the shipped --relocatable path) drops the carried value of a value-returning br/br_if/ br_table-direct, and the shortcut cannot fix it because the IR carries no block-result arity (WasmOp::Block is a unit variant) — a non-empty-vstack decline can't distinguish a carried result from an unwound void-target value, so it over-refuses valid code. This is the sharpest evidence yet for VCR-SEL-001's selector-collapse motivation (the hand-written selectors lack the structured block-arity model a verified DSL carries by construction); the real fix is arity-threading, cross-cutting and silicon-gated. Docs-only, behavior-frozen by construction: frozen byte gate bit-identical; rivet validate non-xref ERROR count 0 (unchanged 49/75/0 baseline). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 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.
Behavior-frozen VCR-ORACLE-001 (#242) traceability update — a docs/measurement artifact, no code touched.
Appends a dated slice to VCR-ORACLE-001's history covering the 2026-06-26 second arc:
r12_spill_496_differential.py.>8-cap lift on the shipped direct selector; oraclestack_args_503_differential.py. First shipped-path member of the cluster (hence the v0.16.0 minor; the optimized-path-only Optimized path: small leaf functions clobber callee-saved r4-r8 without a saving prologue (latent ABI bug) #490/Optimized (non-relocatable) path miscompiles block/br_if: branch target lands mid-instruction #483/Optimized path silently miscompiles register-exhausting i32 folds (no spill, no decline) #496/Optimized path silently miscompiles br_table — selector elided, all arms fall through (#483/#500 family) #507 ride along).br_tabledispatch-drop → decline-to-direct; oraclebr_table_507_differential.py.--relocatablepath) drops the carried value of a value-returningbr/br_if/br_table-direct. The Optimized path silently miscompiles br_table — selector elided, all arms fall through (#483/#500 family) #507 decline-to-direct shortcut cannot fix it — the IR carries no block-result arity (WasmOp::Blockis a unit variant), so a non-empty-vstack decline can't tell a carried result from an unwound void-target value and over-refuses valid code. Recorded so it isn't re-attempted. This is the sharpest evidence yet for VCR-SEL-001's selector-collapse motivation; the real fix is arity-threading (cross-cutting, silicon-gated, not an idle-tick increment).Verification
rivet validatenon-xref ERROR count 0 (unchanged 49 errors / 75 warnings / 0 broken xref baseline).🤖 Generated with Claude Code