5 tasks, TDD style:
1. server-side slice console_history_overview = console_history[-20:]
2. generalise scrollConsolesToBottom -> scrollAutoscrollTargets (ancestor walk)
3. tabs.js pins autoscroll targets on tab activation
4. console-modal pin on modal:opened event
5. e2e: pin-to-bottom on tab + on command submit
Bug confirmed in live browser before plan was written: after switching
to the Console tab on /servers/1, transcript scrollTop=0 with
bottomDistance=1873px (top-of-history visible, not newest).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>