-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Telegram group message recorded into agent session but no run dispatched until next message #84154
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
A Telegram group message was accepted into an agent conversation but no agent/model run was dispatched. The next message in the same group triggered a run, and the agent then answered the previous message.
This makes the agent appear silent even though the inbound message was not rejected.
Environment
channels.telegram.groups.<group>.requireMention = falsemessages.visibleReplies = automaticmessages.groupChat.visibleReplies = automaticWhat happened
Timeline, group/chat IDs redacted:
I think we need to evaluate whether factors like 1.2 * 1.2 * 1.1 are reasonable???.Observed evidence
The session history later showed the earlier user message followed by the
???user message, then the assistant response. There was no assistant/tool call between the earlier user message and the later???.Relevant local code path appears to allow this class of outcome:
runPreparedChannelTurnCorerecords inbound session first.observeOnly, dispatch is suppressed:/app/dist/kernel-5-rDHkvC.jsobserve,skip, ordrop:/app/dist/runtime-DIN0JAgX.jsHowever, the transcript/session history did not persist the ingress admission or reasonCode, so it is not possible to determine after the fact whether this specific event was
observeOnly,skip, stale state, or another dispatch suppression path.Expected behavior
For a group with
requireMention=falseand an allowlisted sender/group, a normal inbound text message should either:Actual behavior
The message was available to the later turn, but no immediate run/reply happened, and no durable diagnostic reason was available in session history.
Request
Please persist or expose ingress/turn admission diagnostics for channel messages, especially:
dispatchobserveOnlyskipdropThis would make Telegram group "silent agent" cases debuggable without needing live debug logs at the exact time.