Skip to main content

Phase 12. WASM / WASI

FieldValue
MEPMEP-45 §Phases · Phase 12
StatusNOT STARTED
Started
Landed
Tracking issue
Tracking PR

Gate

Every Phase 1-10 fixture compiles via mochi build --target=wasm32-wasi and runs byte-equal vs vm3 under wasmtime.

Goal-alignment audit

To be written before sub-phase 12.0 starts. WASM is the user-facing payoff for sandboxed/serverless deployment. Aligns.

Sub-phases

#ScopeStatusCommitPR
12.0wasi-sdk vendored under transpiler3/c/toolchain/wasi-sdk/; build driver routes --target=wasm32-wasi through itNOT STARTED
12.1Precise allocator + shadow-stack root scanning to replace BDWGCNOT STARTED
12.2Stream/agent surface narrowed: no threading; M:N scheduler collapses to single-fibre cooperative loopNOT STARTED
12.3wasmtime-driven run-gate in CI; fixture corpus subset matching narrowed surfaceNOT STARTED

Decisions made

Fill in along the way.

Deferred work

WasmGC: still drafting on common runtimes in 2026; revisit when WasmGC stabilises in wasmtime + wasmer.

Closeout notes

Fill in after gate green.