# Todo 35: Audit Modal, Round Event Metadata, Raw LLM Chunks ## Status done ## Goal Make audit replay usable in a larger modal, clarify per-round event metadata after EventAgent results trigger ChatAgent again, and expose raw LLM streaming chunks in audit details. ## Plan 1. Split configured available events from per-round event generation state in `chat_round_started` audit entries. 2. Add raw chunk stream items from the OpenAI-compatible client and collect them into ChatAgent/EventAgent response audit records. 3. Move Audit Replay into a modal with full-height event stream and detail panes. 4. Add backend/frontend regression tests and run verification. ## Verification - `node --check src/agent_lab/presentation/static/app.js` passes. - `uv run pytest tests/test_debug_runtime.py tests/test_event_agent.py tests/test_websocket_api.py -q` passes (`63 passed`, one existing Starlette deprecation warning). - `uv run pytest` passes (`71 passed`, one existing Starlette deprecation warning). - `git diff --check` passes.