Skip to content

docs(rivet): keep the DWARF verification artifact current with steps 1-4 (VCR-DBG-001, #242) - #416

Merged
avrabe merged 1 commit into
mainfrom
docs/dwarf-verification-current
Jun 22, 2026
Merged

docs(rivet): keep the DWARF verification artifact current with steps 1-4 (VCR-DBG-001, #242)#416
avrabe merged 1 commit into
mainfrom
docs/dwarf-verification-current

Conversation

@avrabe

@avrabe avrabe commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

What

SWVER-016 was written when only DWARF steps 1-2 were implemented. Steps 3 (compose, #414) and 4-emit-logic (#415) have since landed with passing tests, so the verification artifact was stale (referenced only the decoder+read).

Updates SWVER-016 to verify the full frozen-safe read→compose→emit LOGIC and reference all the tests that discharge it: wasm_decoder op_offsets, dwarf_line_read_spike, dwarf_coherent_fixture, dwarf_compose_step3 + dwarf_line:: units, dwarf_emit_roundtrip_step4. The gated step-4 ELF wiring (production gimli dep + ELF builder + host-link, v0.12.0) stays explicitly open.

Why

Keeps the requirement→test mapping accurate as the feature grew — the gap reported in pulseengine.eu#93. No coverage-count change (VCR-DBG-001 was already covered); just an honest, current trace.

Frozen-safe

rivet artifact only; zero codegen; frozen fixtures bit-identical; rivet non-xref 0; all referenced tests verified passing.

Refs: #242, VCR-DBG-001, pulseengine.eu#93.

🤖 Generated with Claude Code

…1-4 (VCR-DBG-001, #242)

SWVER-016 was written when only DWARF steps 1-2 (decoder op_offsets + .debug_line
read) were implemented. Steps 3 (compose, #414) and 4-emit-logic (#415) have since
landed with their own passing tests, leaving the verification artifact stale.

Updates SWVER-016 to verify the full frozen-safe read→compose→emit LOGIC
(steps 1-4) and reference all the tests that discharge it: wasm_decoder
op_offsets, dwarf_line_read_spike, dwarf_coherent_fixture, dwarf_compose_step3 +
dwarf_line:: unit tests, dwarf_emit_roundtrip_step4. The GATED step-4 ELF wiring
(production gimli dep + ELF builder + host-link, v0.12.0) stays explicitly open.

Keeps the requirement→test mapping accurate as the feature grew (the gap reported
in pulseengine.eu#93) — no coverage-count change (VCR-DBG-001 already covered),
just an honest, current trace.

Frozen-safe: rivet artifact only, zero codegen, frozen fixtures bit-identical,
rivet non-xref 0; all referenced tests verified passing.

Trace: skip

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

codecov Bot commented Jun 22, 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 f87554e into main Jun 22, 2026
10 checks passed
@avrabe
avrabe deleted the docs/dwarf-verification-current branch June 22, 2026 08:42
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