capabilities.seed, capabilities.snapshot, capabilities.replay). They are REQUIRED by the sim profile.
- Seeding. If
seedis advertised,session.openMAY carryseed; two sessions with equal seeds and identical action sequences MUST produce identical observation sequences in lockstep mode.[AWP-REP-001] - Snapshot / restore.
world.snapshotreturns an opaque token;world.restorewith that token MUST return the world to the exact captured state. Tokens are valid at least for the lifetime of the world process.[AWP-REP-002] - Deterministic replay. If
replayis advertised, feeding a recorded audit log’s action sequence —action.submitandaction.cancelmessages, andworld.tickcalls, instatus_seqorder — into a world restored from the log’s initial snapshot MUST reproduce, for every frame, the logged SHA-256 payload hash, and MUST reproduce the logged sequence of action states peraction_id. The comparison excludests_mono_ns,ts_send_ns,received_ts_mono_ns,status_seq,seq, heartbeats,obs.report,session.telemetry,session.*messages, and all transport metadata; only frame payload hashes and the ordered(action_id, state, reason)sequence are compared. A hash-only audit record suffices to verify a replay; a replay bundle (full payloads) is needed to inspect or export what was observed (AWP-AUD-007).[AWP-REP-003]