todo-33-audit-replay-stream-ui.md 1.1 KB

Todo 33: Audit Replay Event Stream UI

Status

done

Goal

Redesign Audit Replay as a scrollable event stream with click-to-inspect details, keep audit events out of the chat transcript, and lock the sidebar controls plus chat composer while letting chat and replay panes scroll independently.

Plan

  1. Split live audit handling from chat message rendering.
  2. Add an Audit Detail panel that renders event-specific sections for agent requests, responses, detected events, round lifecycle, usage, and generic details.
  3. Restyle the replay pane as a compact timeline/event stream and make the workspace layout constrain scroll to chat/replay panes.
  4. Add static regression tests and run focused/full verification.

Verification

  • node --check src/agent_lab/presentation/static/app.js passes.
  • uv run pytest tests/test_websocket_api.py -q passes (36 passed, one existing Starlette deprecation warning).
  • uv run pytest passes (68 passed, one existing Starlette deprecation warning).
  • git diff --check passes.
  • Browser smoke was attempted with Playwright, but the installed package has no local Chromium binary in this environment.