Each trace is a JSON Lines file under
examples/v0.1/traces/. Every line is either a message, { from, step, msg }, or a transport event that is not a message, { marker }. A message marked not delivered was sent but lost with its connection. Every message validates against the sender form of the canonical schema for its method, and every response matches its request. The traces also hold to the protocol’s meaning: every action follows the transition table with a permitted reason and reaches one terminal state; resubmissions are idempotent or conflicts (AWP-ACT-001); status_seq is gapless across statuses, events, session-state notifications, and admission results, and after session.resume replay starts at last_status_seq + 1 and repeats exactly what was first reported (AWP-CTL-008); frame seq is checked per channel against its loss class (AWP-DAT-001, AWP-TRN-008); a closing session refuses new work and answers session.close only after every action has ended (AWP-SES-011); and where a trace names t0, safe-state entry falls between watchdog_ms and watchdog_ms + 100 ms after it with no agent-originated message in between (AWP-SAF-003, AWP-SAF-012). Tokens are illustrative.Core flow, lockstep
Discovery, session opening, the initial observation, one extended action across two advances with progress and completion, and closure, on the inline binding against a grid world. Source:core-lockstep.jsonl.
1. Discovery: the agent states its versions and modalities — agent → world
Core flow, streaming
The same flow against a streaming manipulator: clock synchronization on the heartbeat, frames with capture and send time, a submission naming its basis, progress, completion, telemetry in both directions, and closure. Source:core-streaming.jsonl.
1. Discovery — agent → world
Transport. The agent selects the inline binding; frames below travel as obs.frame notifications on the control connection.5. Session ready — world → agent
Cancellation during execution
An executing extended action is cancelled: the world enters cancelling, completes its safe abort, and reports cancelled with the progress reached. Source:cancel.jsonl.
Transport. Continues the streaming trace after a-7 began executing (status_seq 4).1. Progress update — world → agent
Disconnection, watchdog, resumption
The control connection drops mid-execution. The watchdog enters safe state and terminates the action while the agent is away; the agent reconnects, resumes, receives every missed notification in order, and regains control with a new submission. Source:disconnect.jsonl.
Transport. Continues the streaming trace after a-7 began executing (status_seq 4). The agent’s last message, a ping, reached the world at t0 = 913504000000.
Transport. The control connection drops. t0 + 2000 ms: the watchdog expires (AWP-SAF-003); the world begins safe_stop, fails a-7, and records the notifications below for replay (AWP-SAF-004).
Transport. t0 + 15000 ms: three heartbeat intervals without a pong; the session is Suspended (AWP-SAF-002). Frames were on the inline binding, so they stopped with the control connection.1. Reconnect: a new control connection begins with initialize — agent → world
Lost acknowledgement, resumption, and resubmission
An admission result is lost with the connection. The agent reconnects before the world notices, resumes, receives the lost admission on replay, retries the submission idempotently, and has a conflicting reuse of the same action_id rejected; the queued action runs when the group frees. Source:retry.jsonl.
Transport. Continues the streaming trace after a-7 began executing (status_seq 4).1. Queue a second motion behind a-7 — agent → world
Transport. The agent notices the dead connection within 0.6 s — inside watchdog_ms, so a-7 keeps executing — and reconnects before the world has detected the loss.3. Reconnect: initialize on a new control connection — agent → world
E-stop during a safe abort
An e-stop arrives while a cancelled action is still aborting and while another waits in the queue. Precedence ends the aborting action failed and the queued one cancelled; a submission during the e-stop is refused without creating an action, and succeeds unchanged after release. Source:estop.jsonl.
Transport. Continues the streaming trace after a-7 began executing (status_seq 4).1. Queue a second motion — agent → world
Transport. During the safe abort, an operator presses the physical e-stop.5. E-stop engaged — world → agent
Approval granted and timed out
The agent’s side of human-in-the-loop approval: one action is approved and executes; another receives no decision and is rejected at the approval timeout without executing. Source:approval.jsonl.
Transport. A streaming lab world whose manifest declares the extended type transfer_vial with requires_approval: true and safety_policy.approval_timeout_ms 60000; the session is active (status_seq 2). The approver is a party the deployment configures (AWP-APR-005): safety.approval_requested and safety.approval.respond travel between the world and the approver, not on the agent’s session.1. Submit an action that needs approval — agent → world
Transport. The world sends safety.approval_requested to the approver, who approves 8 s later.3. Approved; the group is free, so a-20 is accepted (AWP-APR-002) — world → agent
Transport. No decision on a-21 arrives within approval_timeout_ms.8. Timed out 60 s after it entered pending_approval: rejected, nothing executed (AWP-APR-003) — world → agent
Close during motion
The agent closes while an action is executing. The action is aborted through cancelling, a submission while the session is closing is refused, and the close is answered only once the action has ended and the session is closed. Source:close-during-motion.jsonl.
Transport. Continues the streaming trace after a-7 began executing (status_seq 4).1. Close while a-7 is still moving — agent → world
Replace in lockstep
A replacing submission against an executing lockstep action is admitted and staged; the running action is preempted at the start of the next advance, not at admission. Source:lockstep-replace.jsonl.
Transport. Continues the lockstep trace after tick 1: a-1 (walk_to [2,0]) is executing and the avatar stands at [1,0].1. Replace the walk with one toward [0,2] — agent → world
Replacing device input
A streaming game world takes keyboard and mouse input asinput_chunk actions. A replacement submitted mid-slot takes over at the next slot boundary, a key held across the boundary stays down, and the replacement runs to completion. Source: input-replace.jsonl.
Transport. A streaming session on a keyboard-and-mouse world, whose input_chunk type fixes slot_ms at 50, is active with nothing executing.1. Submit a 6-slot chunk: turn right in slot 0, then sprint forward from slot 2 — agent → world
Quiet agent on a live connection
The agent’s decision loop stalls while its transport keeps answering pings. The watchdog, which counts only messages the agent originates, enters safe state on a healthy connection; a fresh intent resumes control. Source:quiet-agent.jsonl.
Transport. Continues the streaming trace after a-7 began executing (status_seq 4). The agent’s decision loop stalls after the submission; its transport library still answers pings. t0, the last message the agent originated, is the a-7 submission, received at 913035000000.1. Progress continues — world → agent
Transport. The session stays Active: heartbeats are answered, so the connection is not lost (AWP-SAF-002). The policy recovers.6. A fresh observation — world → agent