### Evidence

On each fresh web app, seed a synthetic project and thread, open it directly, and start Replay (dev) Long stream via window.t3dev.replay("bench-stream"). Paste [Reply](t3-context://v1/response/response_gone), type /clear with a trailing space, hover send, then press Enter. Observe the empty composer, fresh-session notice and continuing turn. Next type /clear, paste a generated 2200×20 PNG while holding its real image-worker fit request, hover send, press Enter, observe Sending once image is ready, then release the worker request and observe /clear plus screenshot.png in the message queue.

Environment on both sides: Linux web client, Chromium, 1280×800, dark theme, fresh isolated databases, synthetic RPC-created project/thread, real Replay (dev) provider. The worker hold makes the compression state deterministic; this does not measure the reported 41 MB JPEG timing.

### Scenario: A local clear command with unavailable context names its Enter action during a running turn

**Proven: the scenario fails on base [d0717f7e20](https://github.com/pingdotgg/t3code/commit/d0717f7e20f1c0fe64e388abc4af090f812895ca) and passes on head [7e417c3bb2](https://github.com/pingdotgg/t3code/commit/7e417c3bb2d50bc009ae232c95ecb2982d9b55e6).**

|  | Base [d0717f7e20](https://github.com/pingdotgg/t3code/commit/d0717f7e20f1c0fe64e388abc4af090f812895ca) | Head [7e417c3bb2](https://github.com/pingdotgg/t3code/commit/7e417c3bb2d50bc009ae232c95ecb2982d9b55e6) |
| --- | --- | --- |
| Result | ❌ failed<br>ASSERTION_FAILED: The button names what Enter does with unavailable context and with a compressing image: expected ["Steer message","Submit message"] to equal ["Submit message","Steer message"] | ✅ passed |
| local clear draft during running turn | ![Base d0717f7e20: local clear draft during running turn](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/aba173da303e9dcc/001-local-clear-draft-during-running-turn.png) | ![Head 7e417c3bb2: local clear draft during running turn](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/78f8148e008d679d/001-local-clear-draft-during-running-turn.png) |
| enter runs clear locally | ![Base d0717f7e20: enter runs clear locally](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/67fd93d909766db0/002-enter-runs-clear-locally.png) | ![Head 7e417c3bb2: enter runs clear locally](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/fb31d9c22f708ef2/002-enter-runs-clear-locally.png) |
| clear with image still compressing | ![Base d0717f7e20: clear with image still compressing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/eeb5f819e64ed67a/003-clear-with-image-still-compressing.png) | ![Head 7e417c3bb2: clear with image still compressing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/cfdde1a0a8d4c066/003-clear-with-image-still-compressing.png) |
| enter waits for compression | ![Base d0717f7e20: enter waits for compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/20a5cbd852445f1c/004-enter-waits-for-compression.png) | ![Head 7e417c3bb2: enter waits for compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/09e315beaeef1d2a/004-enter-waits-for-compression.png) |
| clear sent as message with image | ![Base d0717f7e20: clear sent as message with image](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/fb2d93b080aee1a6/005-clear-sent-as-message-with-image.png) | ![Head 7e417c3bb2: clear sent as message with image](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/61c62fb1353bbc52/005-clear-sent-as-message-with-image.png) |
| failure | ![Base d0717f7e20: failure](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/a5d301895cbe516a/006-failure.png) |  |

| Before recording | After recording |
| --- | --- |
| [Same interaction](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/c1ab4c9028faabff/before-interaction.mp4) | [Same interaction](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/214927c0079618f9/after-interaction.mp4) |

[Scenario](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/135ac4ba5869b9a2/local-clear-running-action.e2e.ts) · [Image paste helper](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/4d7b5c785a21802e/image-compression-hold.ts)
