- Remove set_session_callback(_handle_session_event) from startup() — it was
overwriting the Task 13 _on_session_event registration (which uses jwt.jti)
with the legacy handler (which used secrets.token_hex(8)), breaking jti-keyed
session lookup in _session_validator.
- Fix comment on module-load set_session_callback registration (line 167).
- Add pytest.ini at worktree root: documents the api/ vs api/ namespace collision
that prevents combined cross-dir collection; enforces per-directory test runs.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>