Skip to main content
These capabilities are OPTIONAL and advertised as capability flags in the world manifest (capabilities.seed, capabilities.snapshot, capabilities.replay). They are REQUIRED by the sim profile.
  • Seeding. If seed is advertised, session.open and world.reset MAY carry seed, which seeds every random source of the simulation and changes no other state. Two runs from the same state — after world.reset with equal initial_state and seed, or after restoring one snapshot — with identical action sequences MUST produce identical observation sequences in lockstep mode. [AWP-REP-001]
  • Snapshot / restore. world.snapshot returns an opaque token; world.restore with that token MUST return the world to the exact captured state, including its random sources and its tick (AWP-TIM-013). Tokens are valid at least for the lifetime of the world process; world.restore with a token the world does not hold fails with AWP_PARAMS_INVALID. [AWP-REP-002]
  • Deterministic replay. If replay is advertised, feeding a recorded replay bundle’s calls that change action state — action.submit, action.cancel, world.tick, world.reset, world.restore, and session.close, in their recorded order — into a world restored from the bundle’s initial snapshot, with the session opened as recorded, MUST reproduce, for every frame, the logged SHA-256 payload hash, and MUST reproduce the logged sequence of action states per action_id. The comparison excludes ts_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. [AWP-REP-003]