Root cause: Links between analyses and debate sessions use inconsistent naming patterns. Some use 'sess_' prefix, others don't, causing broken cross-references.
(none listed)
(none listed)
2026-04-20 - Bug fixed in contributor_profile page
contributor_profile page (api.py:57262) was using d.get('session_id') to build links to /analyses/ pages. Debate session IDs have sess_ prefix (e.g., sess_SDA-2026-04-02-gap-v2-5d0e3052), but analysis IDs do not. This caused broken links when clicking "Recent Debates" in a contributor's profile.d.get('analysis_id') instead, and added ds.analysis_id to the get_agent_history query in agent_registry.py._is_valid_analysis_id() guard to handle cases where no analysis_id is available.api.py (contributor_profile), scidex/senate/agent_registry.py (get_agent_history query)5ef638351 (cherry-picked from original 26441a5a4, now on top of latest main)