Status: in_progress
Make the replay generation guard directional: only a replay for the selected session may supersede the active replay.
loadSessionReplay() before incrementing the generation token when sessionId !== currentSessionId.src/agent_lab/presentation/static/app.jstests/test_websocket_api.pyuv run pytest tests/test_websocket_api.py -qnode --check src/agent_lab/presentation/static/app.jsuv run pytestgit diff --check