Skip to content

docs(vcr): record landed optimized-path fixes + the optimizer_bridge control-flow frontier (#242) - #501

Merged
avrabe merged 1 commit into
mainfrom
docs/vcr-oracle-optimizer-bridge-cf-frontier
Jun 25, 2026
Merged

docs(vcr): record landed optimized-path fixes + the optimizer_bridge control-flow frontier (#242)#501
avrabe merged 1 commit into
mainfrom
docs/vcr-oracle-optimizer-bridge-cf-frontier

Conversation

@avrabe

@avrabe avrabe commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

What

Behavior-frozen, doc-only update to the rivet-traced #242 roadmap (artifacts/verified-codegen-roadmap.yaml). VCR-ORACLE-001's running log was stale — it ended at "#490 blocks the non-leaf prologue lever / the lever stays unmerged until #490 lands", but both that fix and a companion control-flow fix have since landed. This records the resolution and the broader frontier the work surfaced, so the roadmap reflects reality and prioritizes the next gated step.

Appended to VCR-ORACLE-001

Verification

  • rivet validate profile unchanged vs baseline (49 errors / 75 warnings / 0 broken cross-refs — all pre-existing xref/coverage gaps; NON_XREF = 0, the CI gate's pass condition); rivet coverage exit 0.
  • No code changed — frozen byte gate / differentials unaffected.

🤖 Generated with Claude Code

… + the optimizer_bridge control-flow frontier (#242)

VCR-ORACLE-001's running log was stale: it ended with "#490 blocks the non-leaf
prologue lever / the lever stays unmerged until #490 lands". Both that fix and a
companion control-flow fix have since landed this arc — record the resolution and
the broader frontier the work surfaced, so the #242 roadmap reflects reality and
prioritizes the next gated step.

Appended (behavior-frozen, doc-only) to VCR-ORACLE-001:
- #490 LANDED (PR #495): optimized path now wraps a body that touches r4-r8 in
  push {r4-r8,lr}/pop {r4-r8,pc}, decided on the post-realloc body (no spurious
  push; >4-param fns decline to direct so stack-arg offsets are untouched), CI
  oracle callee_saved_490_differential.py. The non-leaf prologue lever it blocked
  is now unblocked.
- #483 LANDED (PR #497): forward block+br_if mid-instruction landing — End
  labelled with its own id not the closed block's, plus Strh/Strb/Ldrh/... sized
  2 vs the 4-byte .w the high-base optimized path emits; CI oracle
  block_brif_483_differential.py.
- The multi-modal control-flow sweep established these are one cluster of
  optimizer_bridge control-flow/ABI defects — the concrete measured evidence for
  VCR-SEL-001's "collapse the two/three-selector accretion" motivation — and the
  next gated frontier: #500 (br_if still unresolved for if/else + sequential
  blocks; seqblocks the minimal repro; Pattern-3 ruled out), #499 (spill frame
  not deallocated under control flow; #490's pop epilogue made the SP leak fatal,
  #215-class), #498 (byte-size estimator incomplete for Cmp/Cmn/Adds/Subs/Popcnt;
  structural mirror drift), #496 (register-exhausting folds silently miscompiled).
  All four are separate gated steps, never idle-tick increments; none in shipped
  firmware (gale ships --relocatable/direct).

rivet validate profile unchanged (49 errors / 75 warnings / 0 broken cross-refs,
all pre-existing xref/coverage gaps; NON_XREF=0); coverage exit 0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@avrabe
avrabe merged commit dc1d122 into main Jun 25, 2026
15 checks passed
@avrabe
avrabe deleted the docs/vcr-oracle-optimizer-bridge-cf-frontier branch June 25, 2026 22:41
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