# Claude resume comparison

Environment on both sides: Linux web dev client, Chromium, 1280x800 CSS viewport (2560x1600 captures), light theme; fresh isolated database with T3CODE_DEV_SEED=0. Real Claude Code CLI 2.1.334 and Agent SDK 0.3.321, Claude Haiku 5.5 through the configured hub, Medium effort and Full access.

Base: fcfe62c99c186cafa1de520e5efb3d424cab7d9b
Head: 062d47b1e9e1f3dc6d9ebe35052e127b9d6fe3e4

The scenario runner cannot reproduce this: replay uses generic ACP, while this failure depends on Claude's native queued-command transcript representation.

## UI and timing driver

Each checkout ran `T3CODE_DEV_SEED=0 vp run dev` with its own database. Pair the browser using the startup link; select Claude Haiku 5.5 and Full access. Start a fresh thread in the checkout's server project. Hide the sidebar and thread details before recording.

These browser operations were issued using T3's preview tools:

1. preview_recording_start.
2. preview_act type on `[contenteditable=true]`: "Run `sleep 12` once, then say finished."; press Enter.
3. Run `python3 wait-event.py <this-thread-Claude-transcript-directory> <run-start-Unix-seconds> tool_use`.
4. preview_act type on `[contenteditable=true]`: "Also, after that, tell me what 5+5 is."; press Enter.
5. Run `python3 wait-event.py <same-directory> <same-start-time> tool_result`.
6. Wait 200ms, then preview_evaluate: `document.querySelector('button[aria-label="Stop generation"]')?.click()`.
7. Once stopped, preview_act click `button[aria-label='Resume thread']`.
8. Wait for the outcome, save two identical screenshots at least 500ms apart, then preview_recording_stop.

The attached wait-event.py is the actual timing helper. It observes the real CLI transcript; it never writes or injects provider responses. Preview-tool round trips add a small delay beyond the 200ms timer. Base interruption was recorded 556ms after tool_result. Both transcripts contained tool_result, queued_command, and then '[Request interrupted by user]', with no intervening assistant response.

Base: Resume failed, naming queued-command source_uuid ed8bb7f2-c8fb-4006-b7ad-c8c973656edc.
Head: Resume continued and answered 'Finished.' with no provider error. It did not answer the absorbed 5+5 steer; this comparison establishes the reported resume-error fix, not preservation of that steer after interruption.

An initial head timing rehearsal completed before Stop fired and was discarded. The paired captures use the transcript-triggered timing above.
