# Offline archived-thread follow-up proof

Environment: T3 Code Dev on pooled Android Pixel 9, API 36, portrait 1080×2424, light theme. Each commit ran its own real server/web app and Metro from a separate checkout. Each backend started with `T3CODE_DEV_SEED=0 vp run dev --host 0.0.0.0`; no live database was copied. The cached native development client was installed through `vp run mobile:install android`. The Replay (dev) multi-turn agent supplied the initial response. No tests or substitute provider were used as evidence.

Commits:
- Before: [75ba1e99ba](https://github.com/pingdotgg/t3code/commit/75ba1e99baf9f1a1bef70e8755a960029dc2e85f) (merge-base)
- After: [cbd515cac7](https://github.com/pingdotgg/t3code/commit/cbd515cac77967b7fdf3820b82349d5c9b56bce2)

1. Add the current checkout as project “Archive proof” and start a thread with title “Archive proof”, initial message “Hello”, provider `devReplay`, model `multi-turn` (seed.sh).
2. Pair web on localhost and mobile directly to the isolated backend; open the thread on mobile after its initial response.
3. Reject non-loopback TCP to that backend port with iptables. Localhost web and Metro remain reachable.
4. Type `offline follow-up two 48963` and tap Send. The offline request becomes a local Pending / Sending… bubble; its action changes to Queue. Return to the thread list.
5. In web, right-click the thread in the sidebar and choose Archive thread. Read-only SQLite inspection confirms archived_at is set.
6. Relaunch the mobile app while the backend is still blocked. Wait for its list to show “Archive proof, …, messages queued to send”.
7. Remove the iptables rule. Wait until sync removes the archived thread from the mobile list.
8. In web Settings → Archive, click Unarchive Archive proof. Reopen the thread on mobile.
9. Before: the pending message is absent, the composer says Ask anything, and there is no error. After: the full message is restored in the composer with “Archived threads can't receive messages. Unarchive the thread to send this.” Both backend message tables contain zero rows with the follow-up, confirming it was not sent while archived.

The same agent-device commands were used on both sides; drive.sh packages these commands with pauses for the web actions. Its final run was executed directly on the fix. The native client was uninstalled/reinstalled between commits to clear local state. A second fix capture repeats the same sequence through the final result in one continuous recording.

Captures omit the top 228 pixels (status/header containing environment identity); composer stills use the same lower-screen crop. No message or error content is altered. Screenshot content was stable across captures more than 500 ms apart; only the excluded Android status indicator changed. Videos retain the waiting and relaunch sequence at normal speed, encoded at 10 fps. The final fix frame is held for four extra seconds for readability; the interaction is otherwise continuous.

Not exercised: attachments and local attachment-file retention; iOS; the no-relaunch server-admission variant tracked separately.
