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
- Split live audit handling from chat message rendering.
- Add an Audit Detail panel that renders event-specific sections for agent requests, responses, detected events, round lifecycle, usage, and generic details.
- Restyle the replay pane as a compact timeline/event stream and make the workspace layout constrain scroll to chat/replay panes.
- 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.