Web client, Chromium on Linux, 1280×800, light theme; fresh synthetic databases and Replay threads. Live pooled Pixel 9 (Android 36). Both revisions use agent-device 0.21.36 for pool-compatible leasing, matching triage.

Create A/B in server and C in web, open the same device in all three floating previews, wait for live video, then switch A→B→A→B→A→C→B. Base opens six new stream sockets and shows Connecting video; head opens zero and keeps the screen visible.

### Scenario: A live floating Pixel 9 keeps its stream across thread and project switches

**Proven: the scenario fails on base [baf7e5b15a](https://github.com/pingdotgg/t3code/commit/baf7e5b15a9d5f7466805c4a88bf7ca580d27c7a) and passes on head [87314bf079](https://github.com/pingdotgg/t3code/commit/87314bf079ff6b4b50e65c416f0dbd8cdad02564).**

|  | Base [baf7e5b15a](https://github.com/pingdotgg/t3code/commit/baf7e5b15a9d5f7466805c4a88bf7ca580d27c7a) | Head [87314bf079](https://github.com/pingdotgg/t3code/commit/87314bf079ff6b4b50e65c416f0dbd8cdad02564) |
| --- | --- | --- |
| Result | ❌ failed<br>ASSERTION_FAILED: Switching threads must keep the live video without new sockets or Connecting video: expected {"sockets":6,"connecting":11} to equal {"sockets":0,"connecting":0} | ✅ passed |
| live before switches | ![Base baf7e5b15a: live before switches](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/f5b7f54ac32aa0a3/001-live-before-switches.png) | ![Head 87314bf079: live before switches](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/93e85d2340d5aaaa/001-live-before-switches.png) |
| switch to Thread B | ![Base baf7e5b15a: switch to Thread B](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/72eecacc231e24ac/002-switch-to-Thread-B.png) | ![Head 87314bf079: switch to Thread B](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/43df75a4cb9b7d48/002-switch-to-Thread-B.png) |
| switch to Thread A | ![Base baf7e5b15a: switch to Thread A](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/b23cdee4eca500e0/003-switch-to-Thread-A.png) | ![Head 87314bf079: switch to Thread A](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/69de9308cd3e0b54/003-switch-to-Thread-A.png) |
| switch to Thread C | ![Base baf7e5b15a: switch to Thread C](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/3bfa15de642bbf3e/006-switch-to-Thread-C.png) | ![Head 87314bf079: switch to Thread C](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/7013dfa093b2ca8a/006-switch-to-Thread-C.png) |
| live after switches | ![Base baf7e5b15a: live after switches](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/f65f7cbbbae93beb/008-live-after-switches.png) | ![Head 87314bf079: live after switches](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/cb81549c23ef2567/008-live-after-switches.png) |
| failure | ![Base baf7e5b15a: failure](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/d19ffe3a63011cf0/009-failure.png) |  |

| Before recording | After recording |
| --- | --- |
| [Six reconnects](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/49bdc3dd51f95856/before-final.mp4) | [Continuous stream](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/93ccce1a50ff576b/after-final.mp4) |

[Scenario driver](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/e812f3329b50c9b6/floating-device-keeps-stream.e2e.ts)
