Execution & Sandboxing
“Why build a bespoke deterministic host when WebAssembly (Wasmtime + WASI) already delivers capability-safe sandboxing, AOT/Cranelift speed, and deterministic instruction-fuel accounting?”
Isolates a pure state-event fold P = (S, E, δ, D, λ) with SHA-256 log chaining and zero JIT background threads so replay determinism (10,500 streams × 6 targets, 0 mismatches) and log-hash overhead can be measured without runtime confounding. Already compiles to wasm32-wasip1.
Run untrusted or synthesized agent tools inside Wasmtime 50.0.1 + WASI capability sandboxes with deterministic fuel enabled—paired with physical DC shunts (TI INA260 / INA3221 measured_j) or chip counters (Linux RAPL / Apple IOReport reported_j). Measured in kits/standards-bridge/ (@ d036b64, BLAKE3: 6ee27b1d…): two kernels burning identical 330,000,004 exact Wasmtime fuel (1.000000× parity; deterministic trap at 330,000,003) across L1 ALU vs. 64 MiB DRAM thrash diverge 10.36× (1.35 J vs. 14.00 J CLI RAPL reported_j) and 9.80× (0.82 J vs. 8.04 J steady-state in-process Wasm), alongside up to 81.86× sub-bit unpack penalties on silicon. Fuel bounds termination; shunts and counters measure joules.