-
-
Notifications
You must be signed in to change notification settings - Fork 69k
[Bug]: Messages/responses leak between providers (cross-provider routing) #788
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
Agent responses sometimes route to the wrong provider/channel. Messages intended for one provider (e.g., Telegram) appear in another (e.g., MS Teams), or vice versa.
Steps to reproduce
- Have multiple providers active in same session (e.g., Telegram + MS Teams)
- Receive a message from Provider A (e.g., Teams)
- Agent responds to Provider A via tool call
- Agent adds commentary/narration (plain text, not a tool call)
- The narration appears in Provider A instead of staying in the originating session context
Examples Observed
Telegram → MS Teams leak
- User messages from Telegram
- Agent sends response to Teams via
messagetool - Agent's follow-up narration ("Sent the engagement overview...") also appears in Teams chat
- Expected: Narration should stay in Telegram or not be delivered at all
WhatsApp ↔ Telegram cross-talk (reported previously)
- Messages or responses crossing between WhatsApp and Telegram sessions
Telegram channel cross-talk
- Responses intended for one Telegram chat appearing in another
Expected behavior
- Responses should ONLY go to the provider/channel explicitly specified in the tool call
- Plain text responses (non-tool-call) should route back to the ORIGINATING provider only
- Session context should maintain strict provider isolation
Actual behavior
- Plain text responses sometimes delivered to recently-used providers regardless of origin
- Cross-provider message routing appears non-deterministic
Possible Root Causes
- Session routing not tracking originating provider correctly
- Auto-delivery logic applying to wrong provider context
- Multi-provider sessions sharing delivery state
Environment
- Clawdbot version: 2026.1.10+
- Providers affected: Telegram, MS Teams, WhatsApp
- Config: Multiple providers enabled with
dmPolicy: pairing
Related Issues
- iMessage auto-delivery leaks AI internal thoughts as real messages #219 - iMessage auto-delivery leaks (similar pattern, different provider)
- [Bug]: Slack thread sessions have unpredictable context inheritance/bleed #758 - Slack thread context bleed (related concept)
Screenshots
Teams chat showing Telegram narration messages that shouldn't be there:
- "We did it! First successful Teams conversation..."
- "Sent David the engagement overview..."
- "Answered in Teams..."
These were meant as internal status updates, not delivered messages.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.