Bot-to-bot loop guard for Telegram messaging
Cluster 91481 · gateway. Data as of
Nothing open on GitHub. Fix merged in #107520 on 10 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #107520. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #107520. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items concern the risk of runaway message loops when bots interact with each other over Telegram, and efforts to introduce a loop guard to prevent unbounded bot-to-bot exchanges.
Open issues0
Open PRs0
Fixes on record
-
#107520 feat(bot-mode): bot DMs carry their sender into the recipient's turn; ALLOW_BOTS chats get a loop guard (#103887, #91481, salvage #103888)
files:
agent/conversation_loop.py,agent/memory_manager.py,agent/memory_provider.py,agent/turn_author.py,agent/turn_context.py,agent/turn_facade.py,apps/desktop/src/plugins/hermes-bots/relay.test.ts,apps/desktop/src/plugins/hermes-bots/relay.ts,cli.py,gateway/authz_mixin.py,gateway/bot_loop_guard.py,gateway/platforms/api_server.py,gateway/platforms/api_server_runs.py,gateway/run.py,gateway/run_agent_cache.py,gateway/run_busy.py,gateway/run_inbound.py,gateway/run_turn_runner.py,hermes_cli/config_defaults.py,hermes_cli/subcommands/peer.py(+29 more)
1 PR closed without merging
From the close comments: superseded by another PR 1
-
#91483 fix(gateway): add bot-to-bot loop guard for Telegram · superseded by another PR →
94f77df,a9bcea5,#107520,#103888
Closed issues · 1
- Closed#91481Telegram bot-to-bot: no loop guard; two Hermes bots exchanged 132 messages in one group
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- gateway
- Merged PRs
- #107520
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 10 Sep 2026