{"repo":"NousResearch/hermes-agent","public_id":"48519","display_label":"Gateway session storage scoping and profile isolation","summary":"These items concern bugs and fixes around multiplexed gateway sessions being stored in wrong profiles or incomplete storage backends (state.db vs sessions.json), plus a refactor to consolidate routing state and improve fallback behavior.","subsystem":"gateway","counts":{"members":4,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":2,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":99770},"resolution":{"state":"partially_resolved","by":"pr-99770"},"freshness":{"state":"verified","last_verified_at":"2026-08-31T21:54:18+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_PARTIAL","link_density":0.3933333333333333},"fix_edges":[{"issue_number":66887,"pr_number":99770,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true}],"members":[{"kind":"issue","number":48519,"title":"[BUG] Sub-profile gateway: sessions.json populated but state.db remains empty — complete session data loss (related to #40344, #46144)","url":null,"state":"closed"},{"kind":"issue","number":66887,"title":"Multiplexed gateway: secondary-profile Telegram sessions persist in the default profile's state.db / sessions.json (creation AND recovery paths) — config/SOUL/memory scope correctly, storage does not","url":null,"state":"closed"},{"kind":"pr","number":48692,"title":"fix(gateway): fall back when agent sqlite persistence fails","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#48519","number":48519}],"category":"uncategorized","implication":"needs_llm"},"merged":false},{"kind":"pr","number":99770,"title":"fix(gateway): give the routing index one store instead of the ambient one (salvage #99559)","url":null,"state":"merged","close_reason":{"category":"merged","implication":"superseded"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["contributors/emails/[redacted:email]","gateway/session.py","tests/gateway/test_multiplex_session_db_profile_scope.py","tests/gateway/test_routing_save_fast_path.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}