Pi reasoning restart proof

Run reproduce.sh from each checkout with its own fresh scratch directory. Keep restart.ts beside reproduce.sh. Both checkouts use Pi 1.5.2 and fresh worktree-local databases (T3CODE_DEV_SEED=0).

1. Pair the browser using the dev server's URL. Use a 1440×900 CSS viewport, dark theme.
2. Add the printed fixture workspace with `node apps/server/src/bin.ts project add <fixture-workspace> --title 'Pi restart proof' --base-dir .t3`.
3. Settings > Providers > Add provider > Pi > Next > Next > Add instance. Its instance ID is pi.
4. Start a thread using `node apps/server/src/bin.ts thread start --base-dir .t3 --provider pi --model default --title 'Pi reasoning restart' --json <fixture-workspace> 'Is 2147483647 prime?'`. Open its returned thread ID using /<environment-id>/<encoded-thread-id>. The environment ID is in .t3/userdata/environment-id.
5. The first turn reproduces the bug. For a recording without navigation/loading, let it finish, open the right surface panel so the chat is 644 CSS pixels wide, type the identical question into the composer, start recording, and click Submit message. This second turn is the uploaded recording on both commits.
6. Observe the abandoned attempt, then the restarted block after approximately 5 seconds, hold through the 20-second replacement interval, and let 'It is prime.' complete. Base shows 'whetherREPLACEMENT' joined mid-sentence during the hold. Head immediately removes the abandoned attempt.

The provider emits real Pi thinking_start/delta/start/delta/end events through pi --mode rpc; it does not bypass the adapter or inject rendered messages.

Videos crop only the chat panel (CSS x=256, y=0, width=644, height=700), excluding environment identity and composer. PNGs crop the live reasoning row. The PNG reasoning regions were unchanged across two captures taken more than 500 ms apart (zero differing pixels). Videos were inspected with frame contact sheets through start, restart, hold and completion. Captures contain synthetic data only.

The text_start counterpart is not exercised by these captures.
