{"repo":"NousResearch/hermes-agent","public_id":"6827","display_label":"Telegram gateway active-session bypass fixes","summary":"Several bugs and corresponding fixes addressing Telegram gateway commands (/background, /btw, /branch) that should bypass the active-session guard but currently do not. Multiple related PRs are being consolidated.","subsystem":null,"counts":{"members":6,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":3,"merged_prs":1,"attempt_prs":2},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":7123},"resolution":{"state":"unresolved","by":null},"freshness":{"state":"stale","last_verified_at":"2026-04-10T10:52:00+00:00","is_stale":true},"grouping":{"backbone":"STRUCTURAL_PARTIAL","link_density":0.24799999999999997},"fix_edges":[{"issue_number":6315,"pr_number":7123,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false},{"issue_number":6827,"pr_number":7123,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false}],"members":[{"kind":"issue","number":6827,"title":"[Bug] Telegram /background can interrupt an active run instead of starting a background task","url":null,"state":"closed"},{"kind":"issue","number":7547,"title":"[Bug] /btw and /branch should bypass active-session guard in Telegram gateway","url":null,"state":"closed"},{"kind":"issue","number":7548,"title":"[Bug] /btw and /branch should bypass active-session guard in Telegram gateway","url":null,"state":"closed"},{"kind":"pr","number":6935,"title":"fix(gateway): route /background through active-session bypass","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#7123","number":7123}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":7123,"title":"fix(gateway): salvage 6 gateway fix PRs #6942 #6935 #6921 #6897 #6853 #6811","url":null,"state":"merged","close_reason":{"category":"merged","implication":"superseded"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["gateway/platforms/base.py","gateway/platforms/discord.py","gateway/platforms/feishu.py","gateway/platforms/matrix.py","gateway/platforms/telegram.py","gateway/platforms/telegram_network.py","gateway/run.py","gateway/status.py","gateway/stream_consumer.py","hermes_cli/commands.py","hermes_cli/gateway.py","tests/gateway/test_background_command.py","tests/gateway/test_base_topic_sessions.py","tests/gateway/test_command_bypass_active_session.py","tests/gateway/test_discord_reactions.py","tests/gateway/test_internal_event_bypass_pairing.py","tests/gateway/test_matrix.py","tests/gateway/test_run_progress_topics.py","tests/gateway/test_runner_startup_failures.py","tests/gateway/test_status.py","tests/gateway/test_stream_consumer.py","tests/gateway/test_telegram_reactions.py","tests/hermes_cli/test_gateway.py"]},{"kind":"pr","number":11694,"title":"fix(gateway): bypass active-session guard for /btw and /branch","url":null,"state":"closed","close_reason":{"category":"uncategorized","implication":"needs_llm"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}