Home currently links the real lol-html C API only when the gitignored .native/liblolhtml.a exists. scripts/build-lolhtml.sh builds that archive from a separate Bun checkout. Without it, native_stubs.zig exports generic no-op symbols whose undefined return registers can reach Zig unreachable branches.
The JavaScript corpus pass adds deterministic guards for HTMLRewriter construction and HTMLScanner execution when lol-html is absent, preventing the observed runtime panic.
Remaining work:
- make the lol-html dependency reproducible from this repository/build graph
- link it on supported targets in CI and release builds
- replace/remove signature-unsafe generic fallbacks
- validate native HTMLRewriter handler lifetime and Workerd regressions in release/ASAN lanes