Steps: Start a Supervised Replay Write approval thread, queue a follow-up through the CLI, attach keep-me.txt and drop-me.txt in Edit queued message and save. Reopen, remove drop-me.txt, save, reopen, and inspect actual attachment file contents. Chromium, 1280×800, light theme; fresh synthetic state on each commit. The labelled overlay is scenario instrumentation reading real server storage, not product UI.

### Scenario: Editing a queued message cleans only its removed attachment

**Proven: the scenario fails on base [c0ee5a1f5f](https://github.com/pingdotgg/t3code/commit/c0ee5a1f5f2e74d36be41d80d86b416a47fafdea) and passes on head [990e4dc214](https://github.com/pingdotgg/t3code/commit/990e4dc214ef4703e69be904046e5aedbd4f5ea8).**

|  | Base [c0ee5a1f5f](https://github.com/pingdotgg/t3code/commit/c0ee5a1f5f2e74d36be41d80d86b416a47fafdea) | Head [990e4dc214](https://github.com/pingdotgg/t3code/commit/990e4dc214ef4703e69be904046e5aedbd4f5ea8) |
| --- | --- | --- |
| Result | ❌ failed<br>ASSERTION_FAILED: expect.poll(...).toBe(...) timed out after 10000 ms<br>last: expected true to be false | ✅ passed |
| both attached | ![Base c0ee5a1f5f: both attached](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/c56201fee406444d/001-both-attached.png) | ![Head 990e4dc214: both attached](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/50971d2b5456815e/001-both-attached.png) |
| after removing attachment | ![Base c0ee5a1f5f: after removing attachment](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/a302c9c497bca10f/002-after-removing-attachment.png) | ![Head 990e4dc214: after removing attachment](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/07ce5ae6d658e48a/002-after-removing-attachment.png) |
| failure | ![Base c0ee5a1f5f: failure](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/38a8955b5e58897c/003-failure.png) |  |

| Before recording | After recording |
| --- | --- |
| [Queued edit](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/2bd62c29df425041/base-queued-edit.mp4) | [Queued edit](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/199b696c2d6cb443/head-queued-edit.mp4) |

[Scenario source](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/a4c76fd9033724c6/queued-attachment-cleanup.e2e.ts) · [Full base recording](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/a768e4407384fa72/video.webm) · [Full head recording](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/80fc50eba719eb9a/video.webm)