Replay
Replay reconstructs runtime state from emitted events.
Run a protocol:
bash
culsma run path/to/protocol.culs --artifacts-dir tmp/runReplay the saved result:
bash
culsma replay --run-json tmp/run/run.json --out tmp/replayed_state.jsonReplay reads the emitted run.json artifact and writes reconstructed state:
| Field | Value |
|---|---|
| input | tmp/run/run.json |
| output | tmp/replayed_state.json |
Replay supports auditability: the event stream is not just a log for humans, but an input that can reconstruct execution state.
