# R2 before: non-UI runtime transcript

Commit: [e5b0718a8a](https://git.cafe/pingdotgg/t3code/commit/e5b0718a8a297823920d1bf3a7d5cbacd57263ea)

Environment: Linux x86_64 (fs-46); Node 26.12.1; Vite+ 1.4.0 / test runner 5.0.5; real mobile delivery, outbox and composer source; real isolated server; Node-backed Expo filesystem shim. Device, rendering OS, font scale, viewport, theme: N/A.

This is an instrumented runtime harness, not a recording or screenshot. The native Pixel 9 attempt was blocked by a disconnected pool worker.

## Ordered events

- 2026-11-10T16:56:37.526Z: **fixture.ready** — `{"row": "R2", "side": "before", "sha": "e5b0718a8a297823920d1bf3a7d5cbacd57263ea", "environmentId": "1fe7dc8a-258e-4ac0-8267-5fa1c081d961", "projectId": "7d5755b2-dc8d-456d-a6ee-8e5b1666eb3b", "threadId": "ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4", "commandId": "7d1d6235-f6cf-489c-987b-5b105ac40a4a", "messageId": "8e43a381-f568-410a-9ea7-2eda3b3660d1", "queuedText": "My dictated idea", "revision": 1, "composer": "", "outboxMessageCount": 1}`
- 2026-11-10T16:56:37.532Z: **mobile.startTurn** — `{"attempt": 1, "commandId": "7d1d6235-f6cf-489c-987b-5b105ac40a4a", "messageId": "8e43a381-f568-410a-9ea7-2eda3b3660d1"}`
- 2026-11-10T16:56:37.642Z: **server.committed-before-drop** — `{"threadId": "ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4", "userMessages": [{"id": "8e43a381-f568-410a-9ea7-2eda3b3660d1", "text": "My dictated idea"}], "runIds": ["run:thread:ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4:ordinal:1"], "messageCount": 1, "turnCount": 1}`
- 2026-11-10T16:56:37.644Z: **composer.set-before-disconnect** — `{"composer": "Keep this draft separate", "revision": 1}`
- 2026-11-10T16:56:37.646Z: **transport.disconnected** — `{}`
- 2026-11-10T16:56:37.646Z: **mobile.startTurn.failure** — `{"message": "Error: Socket is not connected"}`
- 2026-11-10T16:56:37.648Z: **mobile.parked-after-disconnect** — `{"composer": "Keep this draft separate", "revision": 1, "connection": [{"environmentId": "1fe7dc8a-258e-4ac0-8267-5fa1c081d961", "connectionState": "disconnected"}], "shellStatus": [["1fe7dc8a-258e-4ac0-8267-5fa1c081d961", "stale"]], "outboxMessageCount": 1}`
- 2026-11-10T16:56:37.658Z: **transport.reconnected** — `{}`
- 2026-11-10T16:56:37.682Z: **shell.live** — `{"containsThread": true, "snapshotSequence": 16}`
- 2026-11-10T16:56:38.674Z: **mobile.persisted-final** — `{"composer": "Keep this draft separate\n\nMy dictated idea", "outboxFiles": []}`
- 2026-11-10T16:56:38.675Z: **result** — `{"composer": "Keep this draft separate\n\nMy dictated idea", "launchAttempts": 1, "sameCommandId": null, "sameMessageId": null, "threadId": "ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4", "userMessages": [{"id": "8e43a381-f568-410a-9ea7-2eda3b3660d1", "text": "My dictated idea"}], "runIds": ["run:thread:ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4:ordinal:1"], "messageCount": 1, "turnCount": 1, "outboxMessageCount": 0}`

## Raw mobile transcript

```jsonl
{"at":"2026-11-10T16:56:37.526Z","event":"fixture.ready","row":"R2","side":"before","sha":"e5b0718a8a297823920d1bf3a7d5cbacd57263ea","environmentId":"1fe7dc8a-258e-4ac0-8267-5fa1c081d961","projectId":"7d5755b2-dc8d-456d-a6ee-8e5b1666eb3b","threadId":"ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4","commandId":"7d1d6235-f6cf-489c-987b-5b105ac40a4a","messageId":"8e43a381-f568-410a-9ea7-2eda3b3660d1","queuedText":"My dictated idea","revision":1,"composer":"","outbox":[{"environmentId":"1fe7dc8a-258e-4ac0-8267-5fa1c081d961","threadId":"ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4","commandId":"7d1d6235-f6cf-489c-987b-5b105ac40a4a","messageId":"8e43a381-f568-410a-9ea7-2eda3b3660d1","text":"My dictated idea","attachments":[],"createdAt":"2026-11-10T16:56:37.525Z","modelSelection":{"instanceId":"devReplay","model":"showcase"},"creation":{"projectId":"7d5755b2-dc8d-456d-a6ee-8e5b1666eb3b","projectCwd":"/tmp/lead-32330-r1/evidence-capture-1/2026-11-10T16-56-31.262Z-before-R2/workspace","workspaceMode":"local","branch":null,"worktreePath":null}}]}
{"at":"2026-11-10T16:56:37.532Z","event":"mobile.startTurn","attempt":1,"commandId":"7d1d6235-f6cf-489c-987b-5b105ac40a4a","messageId":"8e43a381-f568-410a-9ea7-2eda3b3660d1","bootstrap":{"createThread":{"projectId":"7d5755b2-dc8d-456d-a6ee-8e5b1666eb3b","title":"My dictated idea","modelSelection":{"instanceId":"devReplay","model":"showcase"},"runtimeMode":"full-access","interactionMode":"default","branch":null,"worktreePath":null,"createdAt":"2026-11-10T16:56:37.525Z"}}}
{"at":"2026-11-10T16:56:37.642Z","event":"server.committed-before-drop","threadId":"ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4","userMessages":[{"id":"8e43a381-f568-410a-9ea7-2eda3b3660d1","text":"My dictated idea"}],"runIds":["run:thread:ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4:ordinal:1"],"messageCount":1,"turnCount":1}
{"at":"2026-11-10T16:56:37.644Z","event":"composer.set-before-disconnect","composer":"Keep this draft separate","revision":1}
{"at":"2026-11-10T16:56:37.646Z","event":"transport.disconnected"}
{"at":"2026-11-10T16:56:37.646Z","event":"mobile.startTurn.failure","message":"Error: Socket is not connected"}
{"at":"2026-11-10T16:56:37.648Z","event":"mobile.parked-after-disconnect","composer":"Keep this draft separate","outbox":[{"environmentId":"1fe7dc8a-258e-4ac0-8267-5fa1c081d961","threadId":"ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4","commandId":"7d1d6235-f6cf-489c-987b-5b105ac40a4a","messageId":"8e43a381-f568-410a-9ea7-2eda3b3660d1","text":"My dictated idea","attachments":[],"createdAt":"2026-11-10T16:56:37.525Z","modelSelection":{"instanceId":"devReplay","model":"showcase"},"creation":{"projectId":"7d5755b2-dc8d-456d-a6ee-8e5b1666eb3b","projectCwd":"/tmp/lead-32330-r1/evidence-capture-1/2026-11-10T16-56-31.262Z-before-R2/workspace","workspaceMode":"local","branch":null,"worktreePath":null}}],"revision":1,"connection":[{"environmentId":"1fe7dc8a-258e-4ac0-8267-5fa1c081d961","connectionState":"disconnected"}],"shellStatus":[["1fe7dc8a-258e-4ac0-8267-5fa1c081d961","stale"]]}
{"at":"2026-11-10T16:56:37.658Z","event":"transport.reconnected"}
{"at":"2026-11-10T16:56:37.682Z","event":"shell.live","containsThread":true,"snapshotSequence":16}
{"at":"2026-11-10T16:56:38.674Z","event":"mobile.persisted-final","composer":"Keep this draft separate\n\nMy dictated idea","outboxFiles":[]}
{"at":"2026-11-10T16:56:38.675Z","event":"result","composer":"Keep this draft separate\n\nMy dictated idea","outbox":[],"launchAttempts":1,"sameCommandId":null,"sameMessageId":null,"threadId":"ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4","userMessages":[{"id":"8e43a381-f568-410a-9ea7-2eda3b3660d1","text":"My dictated idea"}],"runIds":["run:thread:ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4:ordinal:1"],"messageCount":1,"turnCount":1}
```

## Raw proxy transcript

```jsonl
{"at":"2026-11-10T16:56:33.913Z","event":"proxy.listening","port":17332,"upstream":"http://127.0.0.1:16332"}
{"at":"2026-11-10T16:56:37.523Z","event":"client.connected","connection":1}
{"at":"2026-11-10T16:56:37.528Z","event":"upstream.connected","connection":1}
{"at":"2026-11-10T16:56:37.529Z","event":"fault.armed"}
{"at":"2026-11-10T16:56:37.534Z","event":"launch.forwarded","connection":1,"requestId":"0","commandId":"7d1d6235-f6cf-489c-987b-5b105ac40a4a","threadId":"ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4","messageId":"8e43a381-f568-410a-9ea7-2eda3b3660d1","text":"My dictated idea","workspaceStrategy":{"type":"root"}}
{"at":"2026-11-10T16:56:37.605Z","event":"launch.exit","connection":1,"requestId":"0","commandId":"7d1d6235-f6cf-489c-987b-5b105ac40a4a","threadId":"ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4","messageId":"8e43a381-f568-410a-9ea7-2eda3b3660d1","text":"My dictated idea","workspaceStrategy":{"type":"root"},"exitTag":"Success"}
{"at":"2026-11-10T16:56:37.605Z","event":"launch.success-reply-held","connection":1,"requestId":"0","commandId":"7d1d6235-f6cf-489c-987b-5b105ac40a4a","threadId":"ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4","messageId":"8e43a381-f568-410a-9ea7-2eda3b3660d1","text":"My dictated idea","workspaceStrategy":{"type":"root"}}
{"at":"2026-11-10T16:56:37.644Z","event":"launch.success-reply-dropped","connection":1,"requestId":"0","commandId":"7d1d6235-f6cf-489c-987b-5b105ac40a4a","threadId":"ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4","messageId":"8e43a381-f568-410a-9ea7-2eda3b3660d1","text":"My dictated idea","workspaceStrategy":{"type":"root"},"exitTag":"Success"}
{"at":"2026-11-10T16:56:37.645Z","event":"client.socket.closed","connection":1}
{"at":"2026-11-10T16:56:37.649Z","event":"reconnect.released"}
{"at":"2026-11-10T16:56:37.658Z","event":"client.connected","connection":2}
{"at":"2026-11-10T16:56:37.674Z","event":"upstream.connected","connection":2}
```

## Read-only SQLite counts and receipts

```json
{
  "at": "2026-11-10T16:57:23.023Z",
  "row": "R2",
  "side": "before",
  "sha": "e5b0718a8a297823920d1bf3a7d5cbacd57263ea",
  "threadId": "ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4",
  "readOnly": true,
  "queries": {
    "messagesSQL": "SELECT message_id, json_extract(payload_json,'$.text') AS text FROM orchestration_v2_projection_messages WHERE thread_id = ? AND role = 'user'",
    "turnsSQL": "SELECT run_id, ordinal FROM orchestration_v2_projection_runs WHERE thread_id = ?",
    "receiptsSQL": "SELECT command_id, command_type, status, result_sequence FROM orchestration_command_receipts WHERE aggregate_id = ? ORDER BY accepted_at"
  },
  "userMessages": [
    {
      "message_id": "8e43a381-f568-410a-9ea7-2eda3b3660d1",
      "text": "My dictated idea"
    }
  ],
  "turns": [
    {
      "run_id": "run:thread:ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4:ordinal:1",
      "ordinal": 1
    }
  ],
  "receipts": [
    {
      "command_id": "7d1d6235-f6cf-489c-987b-5b105ac40a4a",
      "command_type": "thread.create",
      "status": "accepted",
      "result_sequence": 2
    },
    {
      "command_id": "7d1d6235-f6cf-489c-987b-5b105ac40a4a:initial-message",
      "command_type": "message.dispatch",
      "status": "accepted",
      "result_sequence": 11
    },
    {
      "command_id": "7d1d6235-f6cf-489c-987b-5b105ac40a4a:workspace",
      "command_type": "thread.metadata.update",
      "status": "accepted",
      "result_sequence": 12
    },
    {
      "command_id": "7d1d6235-f6cf-489c-987b-5b105ac40a4a:release",
      "command_type": "prepared-run.release",
      "status": "accepted",
      "result_sequence": 16
    },
    {
      "command_id": "command:runtime-reconcile:shutdown:ebf4aaf4-ba4f-4ef7-b305-97b9f9eea3f4:2026-11-10T16:56:38.788Z",
      "command_type": "provider-runtime.reconcile",
      "status": "accepted",
      "result_sequence": 42
    }
  ],
  "messageCount": 1,
  "turnCount": 1
}
```

AI-assisted; verified with the tests and tools listed above.
