Find the first broken state
Associate each invariant check with a recording position. Move between the last passing check and the first failing check, then inspect the intervening guest instructions and state.
Let a simulator explore difficult execution orders. When an invariant fails, keep a recorded machine so a developer or an AI agent can return to the states that explain it.
From a failing seed to a regression →celld's engineering article describes a simulator that runs production event handlers while controlling scheduling, time and object-storage responses. Repeating the same code, settings and seed reproduces a run. Invariant checks expose failures along the way.
That gives us a compelling use case for time travel debugging: preserve a failing execution, then navigate its history to investigate causality. This is our proposed application of wasm-vm, not a celld integration or endorsement.
The article reports an alarm race with this critical order:
celld's fix gives each new alarm setting its own entry. Its regression checks the invariant during execution, so a temporary violation cannot hide behind a correct final state. Read the original investigation and fix ↗
A repeatable failure gives the investigator a stable target. A recorded machine would add a way to compare the moments around that failure without repeatedly driving the entire scenario by hand.
Associate each invariant check with a recording position. Move between the last passing check and the first failing check, then inspect the intervening guest instructions and state.
Inspect earlier positions to find when a value changed and which pending operation produced it. Connect the simulator's action IDs to application logs and guest traces. Source-level watchpoints and reverse-continue would need debugger integration; a timeline alone does not provide them.
An AI agent can propose an explanation with exact positions and evidence. A separate reviewer can inspect those positions and challenge the explanation against the recorded state.
The simulator owns the search: its scheduling choices, fault model and invariants determine what it can discover. The recorded VM would preserve an individual execution for investigation. Running a program in an emulator does not automatically explore distributed failures or make uncontrolled host inputs deterministic.
Pin code, settings, seed, random-number generator and test data. Keep action IDs and check results. A seed alone cannot identify a run across arbitrary changes to the program or harness.
Pin the guest image and emulator build. Capture or deterministically model clock and entropy reads, scheduler decisions and storage/network outcomes at the boundary that owns them. Multi-node simulations need a recorded or simulated boundary for every participating node and service.
Check state digests at known positions and validate coverage of the disputed behavior. Bound recording size and recovery time. Redact or restrict access to recordings that contain credentials, request bodies or database contents.
wasm-vm runs RISC-V Linux in the browser and has a local timeline for completed software recordings and admitted exact GPU histories. Those are bounded recording paths; they do not establish that this simulation workload runs.
A compatible simulation guest, action-to-recording markers and invariant inspection. celld says its simulator is still private. We have not run celld or that simulator inside wasm-vm, and this page presents no measured integration results. celld's simulator status ↗
Record a real failing simulation, replay its action sequence and guest-state digests offline, locate the first invariant violation, then independently verify the repair in a separate recording. Measure the workload's recording and seek costs before promising interactive debugging at scale.
How wasm-vm uses evidence → · More case studies → · Try the browser VM →