Skip to main content
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
2. The world answers with its manifest under the selected version — world → agent
3. Open a lockstep session on avatar_0, subscribe to grid_view, request tick authority — agent → world
4. session.ready enumerates exactly what was granted; tick is 0 — world → agent
5. Session transition to ready — world → agent
6. Initial observation for tick 0 (AWP-TIM-009) — world → agent
7. First observation delivered: session active — world → agent
8. Heartbeat carrying the agent clock — agent → world
9. Pong with session-clock receive and transmit stamps — world → agent
10. Submit an extended action; it is admitted and staged until the next advance (AWP-TIM-010) — agent → world
11. Admission acknowledgement: accepted, with receipt and transition time — world → agent
12. Advance one tick from tick 0 — agent → world
13. The staged action begins executing at the start of the advance — world → agent
14. Frame for tick 1 — world → agent
15. Tick result after statuses and frames — world → agent
16. Advance again — agent → world
17. The action reaches its goal — world → agent
18. Frame for tick 2 — world → agent
19. Tick result — world → agent
20. Close the session — agent → world
21. Session closed; the embodiment is released — world → agent
22. Close acknowledged — world → agent

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
2. World manifest: streaming only, safe state declared, basis age bounded — world → agent
3. Open a streaming session on arm_01 with two channels — agent → world
4. session.ready: grants, envelopes, stream endpoints, frame tree, clock anchor — world → agent
Transport. The agent selects the inline binding; frames below travel as obs.frame notifications on the control connection.
5. Session ready — world → agent
6. Clock synchronization on the heartbeat (AWP-CLK-007) — agent → world
7. Pong; the agent derives rtt 50 µs and offset 912998975000 ns (AWP-CLK-008) — world → agent
8. Proprioception frame with capture and send time — world → agent
9. First observation delivered: session active — world → agent
10. Camera frame; JPEG bytes elided — world → agent
11. Submit naming its basis frame and a validity window (AWP-ACT-007) — agent → world
12. Admitted 29 ms after the basis was captured — world → agent
13. Execution begins immediately in streaming — world → agent
14. Frames keep flowing while the action executes (intermediate frames elided) — world → agent
15. Progress update (AWP-LIF-003) — world → agent
16. Goal reached — world → agent
17. Telemetry for the last second (AWP-TIM-006) — world → agent
18. Receiver report (AWP-OBS-007): staleness at receipt 14.1 ms plus decision latency 12 ms plus 2.9 ms transit gives the world’s 29 ms observation-to-action latency — agent → world
19. Close — agent → world
20. Closed; the arm enters safe_stop, then the embodiment is released — world → agent
21. Close acknowledged — 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
2. Cancel the executing action — agent → world
3. Executing actions enter cancelling while the safe abort runs (AWP-LIF-005) — world → agent
4. Safe abort complete within max_abort_ms; progress reached is reported — 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
2. Same manifest; the world process did not restart — world → agent
3. Resume with the session token and the last status_seq processed — agent → world
4. session.ready again: the embodiment is in safe state (AWP-SAF-008), and replay runs through status_seq 7 — world → agent
5. Replay 1 of 3: the action failed at watchdog expiry, t0 + 2000 ms — world → agent
6. Replay 2 of 3 — world → agent
7. Replay 3 of 3: the suspension the agent could not receive at the time — world → agent
8. Live: resumed. status_seq 7 was replay_to_status_seq, so the replay is complete — world → agent
9. The agent’s heartbeat acknowledges delivery through status_seq 8, so the world may discard what it retained (AWP-CTL-010) — agent → world
10. Pong — world → agent
11. First frame after resumption. proprio is latest-wins, so it simply continues; a reliable channel would restart with a resync keyframe (AWP-TRN-008) — world → agent
12. A new intent is required to move again (AWP-SAF-008) — agent → world
13. Admitted — world → agent
14. Safe state exits when the first action admitted after safe-state entry begins executing (AWP-SAF-008) — world → agent
15. Control regained — world → agent

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
2. Admitted as queued at status_seq 5 — but the control connection drops before this result reaches the agent — world → agent (not delivered)
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
4. Same manifest; the world process did not restart — world → agent
5. Resume with the last status_seq processed: 4. The agent does not know whether a-8 was admitted — agent → world
6. The old connection was still open, so the world closes it and resumes here (AWP-SES-010); replay runs through status_seq 6. No safe state: the watchdog never expired — world → agent
7. Replay 1 of 2: the admission first reported in the lost result, as an action.status with the same status_seq (AWP-CTL-008) — world → agent
8. Replay 2 of 2: the replaced connection — world → agent
9. Live: resumed — world → agent
10. A retry of the unacknowledged submission is always safe — agent → world
11. Idempotent: a-8 is not queued twice; the result reports its current state and the transition that produced it, consuming no status_seq (AWP-ACT-001) — world → agent
12. Reusing a-8 for a different target — agent → world
13. Same action_id, different params: rejected; the queued a-8 is unaffected — world → agent
14. a-7 reaches its goal — world → agent
15. The group frees; a-8 leaves the queue and is re-checked (it carries no basis, so only its deadline applies) — world → agent
16. a-8 executes — world → agent
17. The heartbeat acknowledges delivery through status_seq 10 (AWP-CTL-010) — agent → world
18. Pong — world → agent

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
2. Queued behind a-7 — world → agent
3. Cancel the executing action — agent → world
4. a-7 enters cancelling while the arm decelerates (AWP-LIF-005) — world → agent
Transport. During the safe abort, an operator presses the physical e-stop.
5. E-stop engaged — world → agent
6. The e-stop outranks the cancel in progress: cancelling → failed, reason e_stop (AWP-LIF-008) — world → agent
7. Pre-execution actions end cancelled with no side effects; a-8 never leaves the queue (AWP-EVT-002) — world → agent
8. A new submission while the e-stop is engaged — agent → world
9. Admission is suspended; the error creates no action, so a-9 may be submitted again (AWP-ACT-010) — world → agent
10. E-stop released — world → agent
11. The same a-9, identical content — agent → world
12. Admitted as a new action — world → agent
13. a-9 executes — 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
2. Acknowledged at once: approval is a state, not a delay on the acknowledgement (AWP-LIF-002) — world → agent
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
4. a-20 executes — world → agent
5. A second transfer — agent → world
6. Pending approval — world → agent
7. a-20 completes — 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
2. The session is closing: a-7 enters cancelling while its safe abort runs (AWP-SES-006) — world → agent
3. A submission while closing — agent → world
4. Refused; the error creates no action (AWP-SES-011) — world → agent
5. Safe abort complete — world → agent
6. Closed; the embodiment is released — world → agent
7. Only now is the close answered: every action has ended and the arm is at rest (AWP-SES-011) — world → agent

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
2. Admitted and staged; a-1 keeps executing, since nothing moves before the next advance (AWP-PRE-007) — world → agent
3. Advance one tick from tick 1 — agent → world
4. At the start of the advance a-1 is preempted — world → agent
5. and a-2 begins executing — world → agent
6. Frame for tick 2: the avatar has turned back toward [0,2] — world → agent
7. Tick result after statuses and frames — world → agent

Replacing device input

A streaming game world takes keyboard and mouse input as input_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
2. Admitted — world → agent
3. Execution begins at the world’s first input update after admission, here at admission itself: slot 0 starts and its 92 mouse counts are delivered within it; ShiftLeft and KeyW go down at the start of slot 2, 100 ms later (AWP-GAM-002) — world → agent
4. During slot 3, replace the chunk with one that strafes right, keeping ShiftLeft in its first slot — agent → world
5. Admitted; in-1 runs on to the end of slot 3, the next slot boundary (AWP-GAM-003) — world → agent
6. At the boundary after slot 3, in-1 is preempted with 4 of 6 slots done; KeyW is released and ShiftLeft stays down without a release (AWP-GAM-003) — world → agent
7. and in-2 begins executing, pressing KeyD — world → agent
8. Progress after two of four slots (AWP-LIF-003) — world → agent
9. The last slot ends with nothing held; the world has released every key (AWP-GAM-004) and reports completion — world → agent

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
2. The world’s heartbeat — world → agent
3. Answered by the agent’s transport. A response to the world’s ping does not reset the watchdog (AWP-SAF-003) — agent → world
4. t0 + 2000 ms: the watchdog expires on a healthy connection; a-7 fails (AWP-SAF-004) — world → agent
5. Safe state entered — 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
7. A new intent on that observation — agent → world
8. Admitted — world → agent
9. Safe state exits as the first action admitted after entry begins executing (AWP-SAF-008) — world → agent
10. a-12 executes — world → agent