Real-app proof: idle Pi process exit

Environment: Linux web development app, Chromium browser, 1280x800 CSS viewport,
light theme, Pi 1.6.0, provider pi/model default. Each commit ran in a separate
checkout with fresh checkout-local state and T3CODE_DEV_SEED=0 vp run dev.
No live user data was copied. Sidebar and thread details were collapsed before
recording to keep the environment identity private.

On EACH checkout:
1. Enable Pi using Settings > Providers > Add provider > Pi (instance ID pi,
   default binary path and launch arguments).
2. Initialize an empty scratch Git repository; add it through:
   node apps/server/src/bin.ts project add --base-dir .t3 --title 'Idle Pi demo' <scratch-repo>
3. Start the real provider and await its completed reply:
   node apps/server/src/bin.ts thread start --base-dir .t3 --provider pi --model default --title 'Idle Pi exit' --wait --json <scratch-repo> 'Reply with the single word hi.'
4. Pair the browser with this dev server. Open /<environment-id>/<thread-id>.
5. Start tab recording. Run idle-pi-driver.py terminate --checkout <checkout>
   --port <server-port> --thread <thread-id>. It verifies server ownership and
   the ready session, then walks that server's child tree and SIGTERMs Pi.
6. Inspect and capture the idle thread. Base shows the unexpected stream closure
   error banner; head has no banner. Read-only state inspection reports error on
   base and stopped on head. Repeated still captures were pixel-identical.
7. Type 'Reply with the single word hi.' into the composer and press Enter.
   Both restart Pi, reply hi and return to ready with no error.
8. Repeat steps 5-7 on the same now-idle thread to record the complete sequence:
   the flow videos start after two successful replies, hold idle for 2 seconds,
   SIGTERM Pi, hold the resulting state for 2 seconds, send the same prompt,
   await the third hi, and hold the completed reply for 2 seconds.

The Python driver was used for both commits. Browser interaction was driven by
T3 Code preview tools (recording_start, act type/press, wait_for, recording_stop).
The static comparison captures are from the first idle termination; flow videos
show the repeat with the same interaction and data on both commits.

Base: a7a6126a7d9b364c0fbef3f7fe1a087c4b004393
Head: 67c4b49681bf59ae8bdac4a436fd911465baf055
