# Todo 38: Audit Round Event Semantics ## Status done ## Goal Make `chat_round_started.events_enabled` represent the events actually enabled for the current ChatAgent round. Preserve the full configured tool/event list separately so round 2 after EventAgent results is not misreported. ## Plan 1. Update runtime audit payloads so `events_enabled` is the per-round prompt/event generation list and `configured_events` is the full EventAgent configuration list. 2. Update Audit Detail labels and summaries to distinguish configured events from current-round enabled events. 3. Adjust regression tests for round 2 and keep existing raw LLM/audit modal coverage intact. ## Verification - `node --check src/agent_lab/presentation/static/app.js` passes. - `uv run pytest tests/test_debug_runtime.py tests/test_websocket_api.py -q` passes (`58 passed`, one existing Starlette deprecation warning). - `uv run pytest` passes (`71 passed`, one existing Starlette deprecation warning). - `git diff --check` passes.