# R2 after: non-UI runtime transcript

Commit: [5551099eb1](https://git.cafe/pingdotgg/t3code/commit/5551099eb1093eca432730a888e94a774e87c8e0)

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:57:02.891Z: **fixture.ready** — `{"row": "R2", "side": "after", "sha": "5551099eb1093eca432730a888e94a774e87c8e0", "environmentId": "5c7576b2-ec26-487d-9541-65677b764841", "projectId": "37ddf092-b34d-4269-acdd-6d3dffcce31e", "threadId": "48482923-cd2b-49df-bf95-fd1856888467", "commandId": "090552d3-ab54-413c-bf8e-a4ed34fa9c2b", "messageId": "82ca6a9b-f62d-4234-947c-1157df86dfd0", "queuedText": "My dictated idea", "revision": 1, "composer": "", "outboxMessageCount": 1}`
- 2026-11-10T16:57:02.898Z: **mobile.startTurn** — `{"attempt": 1, "commandId": "090552d3-ab54-413c-bf8e-a4ed34fa9c2b", "messageId": "82ca6a9b-f62d-4234-947c-1157df86dfd0"}`
- 2026-11-10T16:57:03.023Z: **server.committed-before-drop** — `{"threadId": "48482923-cd2b-49df-bf95-fd1856888467", "userMessages": [{"id": "82ca6a9b-f62d-4234-947c-1157df86dfd0", "text": "My dictated idea"}], "runIds": ["run:thread:48482923-cd2b-49df-bf95-fd1856888467:ordinal:1"], "messageCount": 1, "turnCount": 1}`
- 2026-11-10T16:57:03.025Z: **composer.set-before-disconnect** — `{"composer": "Keep this draft separate", "revision": 1}`
- 2026-11-10T16:57:03.027Z: **transport.disconnected** — `{}`
- 2026-11-10T16:57:03.028Z: **mobile.startTurn.failure** — `{"message": "Error: Socket is not connected"}`
- 2026-11-10T16:57:03.030Z: **mobile.parked-after-disconnect** — `{"composer": "Keep this draft separate", "revision": 1, "connection": [{"environmentId": "5c7576b2-ec26-487d-9541-65677b764841", "connectionState": "disconnected"}], "shellStatus": [["5c7576b2-ec26-487d-9541-65677b764841", "stale"]], "outboxMessageCount": 1}`
- 2026-11-10T16:57:03.037Z: **transport.reconnected** — `{}`
- 2026-11-10T16:57:03.065Z: **shell.live** — `{"containsThread": true, "snapshotSequence": 16}`
- 2026-11-10T16:57:04.031Z: **mobile.startTurn** — `{"attempt": 2, "commandId": "090552d3-ab54-413c-bf8e-a4ed34fa9c2b", "messageId": "82ca6a9b-f62d-4234-947c-1157df86dfd0"}`
- 2026-11-10T16:57:04.066Z: **mobile.persisted-final** — `{"composer": "Keep this draft separate", "outboxFiles": []}`
- 2026-11-10T16:57:04.067Z: **result** — `{"composer": "Keep this draft separate", "launchAttempts": 2, "sameCommandId": true, "sameMessageId": true, "threadId": "48482923-cd2b-49df-bf95-fd1856888467", "userMessages": [{"id": "82ca6a9b-f62d-4234-947c-1157df86dfd0", "text": "My dictated idea"}], "runIds": ["run:thread:48482923-cd2b-49df-bf95-fd1856888467:ordinal:1"], "messageCount": 1, "turnCount": 1, "outboxMessageCount": 0}`

## Raw mobile transcript

```jsonl
{"at":"2026-11-10T16:57:02.891Z","event":"fixture.ready","row":"R2","side":"after","sha":"5551099eb1093eca432730a888e94a774e87c8e0","environmentId":"5c7576b2-ec26-487d-9541-65677b764841","projectId":"37ddf092-b34d-4269-acdd-6d3dffcce31e","threadId":"48482923-cd2b-49df-bf95-fd1856888467","commandId":"090552d3-ab54-413c-bf8e-a4ed34fa9c2b","messageId":"82ca6a9b-f62d-4234-947c-1157df86dfd0","queuedText":"My dictated idea","revision":1,"composer":"","outbox":[{"environmentId":"5c7576b2-ec26-487d-9541-65677b764841","threadId":"48482923-cd2b-49df-bf95-fd1856888467","commandId":"090552d3-ab54-413c-bf8e-a4ed34fa9c2b","messageId":"82ca6a9b-f62d-4234-947c-1157df86dfd0","text":"My dictated idea","attachments":[],"createdAt":"2026-11-10T16:57:02.889Z","modelSelection":{"instanceId":"devReplay","model":"showcase"},"creation":{"projectId":"37ddf092-b34d-4269-acdd-6d3dffcce31e","projectCwd":"/tmp/lead-32330-r1/evidence-capture-1/2026-11-10T16-56-57.086Z-after-R2/workspace","workspaceMode":"local","branch":null,"worktreePath":null}}]}
{"at":"2026-11-10T16:57:02.898Z","event":"mobile.startTurn","attempt":1,"commandId":"090552d3-ab54-413c-bf8e-a4ed34fa9c2b","messageId":"82ca6a9b-f62d-4234-947c-1157df86dfd0","bootstrap":{"createThread":{"projectId":"37ddf092-b34d-4269-acdd-6d3dffcce31e","title":"My dictated idea","modelSelection":{"instanceId":"devReplay","model":"showcase"},"runtimeMode":"full-access","interactionMode":"default","branch":null,"worktreePath":null,"createdAt":"2026-11-10T16:57:02.889Z"}}}
{"at":"2026-11-10T16:57:03.023Z","event":"server.committed-before-drop","threadId":"48482923-cd2b-49df-bf95-fd1856888467","userMessages":[{"id":"82ca6a9b-f62d-4234-947c-1157df86dfd0","text":"My dictated idea"}],"runIds":["run:thread:48482923-cd2b-49df-bf95-fd1856888467:ordinal:1"],"messageCount":1,"turnCount":1}
{"at":"2026-11-10T16:57:03.025Z","event":"composer.set-before-disconnect","composer":"Keep this draft separate","revision":1}
{"at":"2026-11-10T16:57:03.027Z","event":"transport.disconnected"}
{"at":"2026-11-10T16:57:03.028Z","event":"mobile.startTurn.failure","message":"Error: Socket is not connected"}
{"at":"2026-11-10T16:57:03.030Z","event":"mobile.parked-after-disconnect","composer":"Keep this draft separate","outbox":[{"environmentId":"5c7576b2-ec26-487d-9541-65677b764841","threadId":"48482923-cd2b-49df-bf95-fd1856888467","commandId":"090552d3-ab54-413c-bf8e-a4ed34fa9c2b","messageId":"82ca6a9b-f62d-4234-947c-1157df86dfd0","text":"My dictated idea","attachments":[],"createdAt":"2026-11-10T16:57:02.889Z","modelSelection":{"instanceId":"devReplay","model":"showcase"},"creation":{"projectId":"37ddf092-b34d-4269-acdd-6d3dffcce31e","projectCwd":"/tmp/lead-32330-r1/evidence-capture-1/2026-11-10T16-56-57.086Z-after-R2/workspace","workspaceMode":"local","branch":null,"worktreePath":null}}],"revision":1,"connection":[{"environmentId":"5c7576b2-ec26-487d-9541-65677b764841","connectionState":"disconnected"}],"shellStatus":[["5c7576b2-ec26-487d-9541-65677b764841","stale"]]}
{"at":"2026-11-10T16:57:03.037Z","event":"transport.reconnected"}
{"at":"2026-11-10T16:57:03.065Z","event":"shell.live","containsThread":true,"snapshotSequence":16}
{"at":"2026-11-10T16:57:04.031Z","event":"mobile.startTurn","attempt":2,"commandId":"090552d3-ab54-413c-bf8e-a4ed34fa9c2b","messageId":"82ca6a9b-f62d-4234-947c-1157df86dfd0","bootstrap":{"createThread":{"projectId":"37ddf092-b34d-4269-acdd-6d3dffcce31e","title":"My dictated idea","modelSelection":{"instanceId":"devReplay","model":"showcase"},"runtimeMode":"full-access","interactionMode":"default","branch":null,"worktreePath":null,"createdAt":"2026-11-10T16:57:02.889Z"}}}
{"at":"2026-11-10T16:57:04.066Z","event":"mobile.persisted-final","composer":"Keep this draft separate","outboxFiles":[]}
{"at":"2026-11-10T16:57:04.067Z","event":"result","composer":"Keep this draft separate","outbox":[],"launchAttempts":2,"sameCommandId":true,"sameMessageId":true,"threadId":"48482923-cd2b-49df-bf95-fd1856888467","userMessages":[{"id":"82ca6a9b-f62d-4234-947c-1157df86dfd0","text":"My dictated idea"}],"runIds":["run:thread:48482923-cd2b-49df-bf95-fd1856888467:ordinal:1"],"messageCount":1,"turnCount":1}
```

## Raw proxy transcript

```jsonl
{"at":"2026-11-10T16:56:59.712Z","event":"proxy.listening","port":17331,"upstream":"http://127.0.0.1:16331"}
{"at":"2026-11-10T16:57:02.886Z","event":"client.connected","connection":1}
{"at":"2026-11-10T16:57:02.893Z","event":"upstream.connected","connection":1}
{"at":"2026-11-10T16:57:02.893Z","event":"fault.armed"}
{"at":"2026-11-10T16:57:02.900Z","event":"launch.forwarded","connection":1,"requestId":"0","commandId":"090552d3-ab54-413c-bf8e-a4ed34fa9c2b","threadId":"48482923-cd2b-49df-bf95-fd1856888467","messageId":"82ca6a9b-f62d-4234-947c-1157df86dfd0","text":"My dictated idea","workspaceStrategy":{"type":"root"}}
{"at":"2026-11-10T16:57:02.979Z","event":"launch.exit","connection":1,"requestId":"0","commandId":"090552d3-ab54-413c-bf8e-a4ed34fa9c2b","threadId":"48482923-cd2b-49df-bf95-fd1856888467","messageId":"82ca6a9b-f62d-4234-947c-1157df86dfd0","text":"My dictated idea","workspaceStrategy":{"type":"root"},"exitTag":"Success"}
{"at":"2026-11-10T16:57:02.979Z","event":"launch.success-reply-held","connection":1,"requestId":"0","commandId":"090552d3-ab54-413c-bf8e-a4ed34fa9c2b","threadId":"48482923-cd2b-49df-bf95-fd1856888467","messageId":"82ca6a9b-f62d-4234-947c-1157df86dfd0","text":"My dictated idea","workspaceStrategy":{"type":"root"}}
{"at":"2026-11-10T16:57:03.026Z","event":"launch.success-reply-dropped","connection":1,"requestId":"0","commandId":"090552d3-ab54-413c-bf8e-a4ed34fa9c2b","threadId":"48482923-cd2b-49df-bf95-fd1856888467","messageId":"82ca6a9b-f62d-4234-947c-1157df86dfd0","text":"My dictated idea","workspaceStrategy":{"type":"root"},"exitTag":"Success"}
{"at":"2026-11-10T16:57:03.026Z","event":"client.socket.closed","connection":1}
{"at":"2026-11-10T16:57:03.031Z","event":"reconnect.released"}
{"at":"2026-11-10T16:57:03.037Z","event":"client.connected","connection":2}
{"at":"2026-11-10T16:57:03.060Z","event":"upstream.connected","connection":2}
{"at":"2026-11-10T16:57:04.032Z","event":"launch.forwarded","connection":2,"requestId":"0","commandId":"090552d3-ab54-413c-bf8e-a4ed34fa9c2b","threadId":"48482923-cd2b-49df-bf95-fd1856888467","messageId":"82ca6a9b-f62d-4234-947c-1157df86dfd0","text":"My dictated idea","workspaceStrategy":{"type":"root"}}
{"at":"2026-11-10T16:57:04.048Z","event":"launch.exit","connection":2,"requestId":"0","commandId":"090552d3-ab54-413c-bf8e-a4ed34fa9c2b","threadId":"48482923-cd2b-49df-bf95-fd1856888467","messageId":"82ca6a9b-f62d-4234-947c-1157df86dfd0","text":"My dictated idea","workspaceStrategy":{"type":"root"},"exitTag":"Success"}
```

## Read-only SQLite counts and receipts

```json
{
  "at": "2026-11-10T16:57:50.886Z",
  "row": "R2",
  "side": "after",
  "sha": "5551099eb1093eca432730a888e94a774e87c8e0",
  "threadId": "48482923-cd2b-49df-bf95-fd1856888467",
  "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": "82ca6a9b-f62d-4234-947c-1157df86dfd0",
      "text": "My dictated idea"
    }
  ],
  "turns": [
    {
      "run_id": "run:thread:48482923-cd2b-49df-bf95-fd1856888467:ordinal:1",
      "ordinal": 1
    }
  ],
  "receipts": [
    {
      "command_id": "090552d3-ab54-413c-bf8e-a4ed34fa9c2b",
      "command_type": "thread.create",
      "status": "accepted",
      "result_sequence": 2
    },
    {
      "command_id": "090552d3-ab54-413c-bf8e-a4ed34fa9c2b:initial-message",
      "command_type": "message.dispatch",
      "status": "accepted",
      "result_sequence": 11
    },
    {
      "command_id": "090552d3-ab54-413c-bf8e-a4ed34fa9c2b:workspace",
      "command_type": "thread.metadata.update",
      "status": "accepted",
      "result_sequence": 12
    },
    {
      "command_id": "090552d3-ab54-413c-bf8e-a4ed34fa9c2b:release",
      "command_type": "prepared-run.release",
      "status": "accepted",
      "result_sequence": 16
    },
    {
      "command_id": "command:runtime-reconcile:shutdown:48482923-cd2b-49df-bf95-fd1856888467:2026-11-10T16:57:04.166Z",
      "command_type": "provider-runtime.reconcile",
      "status": "accepted",
      "result_sequence": 42
    }
  ],
  "messageCount": 1,
  "turnCount": 1
}
```

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