Files
browser/openspec/changes/improve-server-terminal-log-window/tasks.md
T

1.1 KiB

1. Platform History Contract

  • 1.1 Change the server log SSE replay to apply one capped total history budget across all streams and emit the selected tail entries in chronological order.
  • 1.2 Add backend tests for default/capped totals, newest-tail selection, chronological ordering, and ready-event sequencing.

2. Management Terminal View

  • 2.1 Add a scroll container ref and follow-latest state to the management terminal, with initial/live bottom scrolling only while locked and unlock/relock detection at the bottom threshold.
  • 2.2 Increase the terminal retention buffer to 10,000 lines and keep oldest-line eviction for all incoming line types.
  • 2.3 Add focused frontend tests for initial bottom positioning, scroll unlock/relock, bounded buffer behavior, and bounded SSE history options.

3. Verification

  • 3.1 Run focused platform and platform_web tests, then scripts/check-structure.sh.
  • 3.2 Run openspec validate improve-server-terminal-log-window --strict and record verification evidence before marking tasks complete.