# Queued photo edit recovery

Both sides: T3 Code Dev, iPhone 18 Pro simulator (iOS 27.2), portrait 402 × 874 points, light appearance. Fresh isolated server databases, synthetic demo project and a seeded completed Replay (dev) Multi turn thread titled Queued photo recovery.

1. Open the seeded thread. In model settings select Replay (dev) → Long stream and Save.
2. Type `start a long turn` and Send.
3. While it streams, type `describe this photo`. Choose Add attachment → Photo Library → the first sample photo (flowers; IMG_0006.jpg) → Done.
4. Long-press the send control (Choose how to send this message), choose Queue, Run after the current turn.
5. Open queue, 1 messages. Long-press Actions for queued message 1 → Edit.
6. With the editor focused at the end, type ` closer please`. Leave Update queued message untouched.
7. Wait for the current turn to finish naturally and the queued photo message to start. Inspect the recovered draft: the edited text should remain, while the original message's photo tile and inline attachment chip should both be absent.

Native interaction commands used (pass the same session on every command):

```sh
agent-device click 'label="Model and reasoning settings, Multi turn"' --session "$SESSION"
agent-device click 'role=cell label="Long stream"' --session "$SESSION"
agent-device click 'label=Save' --session "$SESSION"
agent-device fill 'role=text-view' 'start a long turn' --session "$SESSION"
agent-device click 'label=Send' --session "$SESSION"
agent-device fill 'role=text-view' 'describe this photo' --session "$SESSION"
agent-device click 'label="Add attachment"' --session "$SESSION"
agent-device click 'label="Photo Library"' --session "$SESSION"
# Select the first flower image in the native photo picker, then Done.
agent-device click 'role=image label="Photo, March 30, 2018, 12:14 PM"' --session "$SESSION"
agent-device click 'label=Done' --session "$SESSION"
agent-device longpress 'label="Choose how to send this message"' --session "$SESSION"
agent-device click 'label="Queue, Run after the current turn"' --session "$SESSION"
agent-device click 'role=button label="Open queue, 1 messages"' --session "$SESSION"
agent-device longpress 'role=cell label="Actions for queued message 1"' --session "$SESSION"
agent-device click 'label=Edit' --session "$SESSION"
agent-device type ' closer please' --session "$SESSION"
```

Ref-based equivalents were used when the native snapshot exposed duplicate container labels. A first-run keyboard tutorial was dismissed on the base device; this does not change the queued-edit flow. No app code or provider responses were modified for the manual runs.

After each recovery was recorded, the newly started replay turn was interrupted through the app's RPC (`evidence-stop.ts`) solely to obtain a stable still. The recovered draft was not edited. Two screenshots more than 500 ms apart were compared pixel-for-pixel before selecting the still. Videos retain the natural transition and were compressed without changing playback speed. The short recovery clips are contiguous excerpts of the full recordings.

The Photo Library sample is a JPEG rather than the report's PNG. Non-image files, PNGs, and newly added attachments during editing were not covered by this comparison.
