Web client, Chromium, 1280×800, light theme; fresh isolated databases with synthetic data. Replay agent publishes a 6,000px HTML page through the real html_render MCP tool. Let it load, remain at the conversation end, then switch to Other thread and back three times. Base flashes section 4 of 12; head returns directly to the green page-end marker. Recorded bottom gaps: base 3,895px on all three returns, head 0px.

| Before | After |
| --- | --- |
| ![Before: transient section 4 on return](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/adf79d3f9c4849b2/base-return.png) | ![After: returns directly to page end](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/750ca88f04557e50/head-return.png) |
| [53b1c5a686](https://github.com/pingdotgg/t3code/commit/53b1c5a6862aa3da623172c8a8e8161e08659bec) | [b4b2e1a612](https://github.com/pingdotgg/t3code/commit/b4b2e1a612af801da78f868f89f911a6850a3668) |
| [Before recording](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/7cc931c170814443/base-switches.mp4) | [After recording](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/b8f269f4d46ef194/head-switches.mp4) |

[Scenario source](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/fbdeea8d1b064f40/thread-switch-html-height.e2e.ts). Frames above are extracted from the recordings; clips run at original speed.

### Scenario: Returning to a loaded tall HTML render stays at the end

**Proven: the scenario fails on base [53b1c5a686](https://github.com/pingdotgg/t3code/commit/53b1c5a6862aa3da623172c8a8e8161e08659bec) and passes on head [b4b2e1a612](https://github.com/pingdotgg/t3code/commit/b4b2e1a612af801da78f868f89f911a6850a3668).**

|  | Base [53b1c5a686](https://github.com/pingdotgg/t3code/commit/53b1c5a6862aa3da623172c8a8e8161e08659bec) | Head [b4b2e1a612](https://github.com/pingdotgg/t3code/commit/b4b2e1a612af801da78f868f89f911a6850a3668) |
| --- | --- | --- |
| Result | ❌ failed<br>ASSERTION_FAILED: expected 3895 to be less than 200 | ✅ passed |
| loaded at end | ![Base 53b1c5a686: loaded at end](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/742827d56e357784/001-loaded-at-end.png) | ![Head b4b2e1a612: loaded at end](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/13c13ef5a8bfba6c/001-loaded-at-end.png) |
| return 1 | ![Base 53b1c5a686: return 1](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/8b9321bd7438e1fb/002-return-1.png) | ![Head b4b2e1a612: return 1](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/346e0159d8d0dfab/002-return-1.png) |
| return 2 | ![Base 53b1c5a686: return 2](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/ee7ed5a6c1b42ad3/003-return-2.png) | ![Head b4b2e1a612: return 2](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/65a1554bfb1fb31b/003-return-2.png) |
| return 3 | ![Base 53b1c5a686: return 3](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/822dbb33821b7565/004-return-3.png) | ![Head b4b2e1a612: return 3](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/757dcff224ded4cd/004-return-3.png) |
| returned at end | ![Base 53b1c5a686: returned at end](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/36f696a4fa42eb00/005-returned-at-end.png) | ![Head b4b2e1a612: returned at end](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/2f1299fe37359e51/005-returned-at-end.png) |
| failure | ![Base 53b1c5a686: failure](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/22e64665f2e5867c/006-failure.png) |  |
