-
-
Notifications
You must be signed in to change notification settings - Fork 79.2k
Telegram-visible message tool sends are hidden as tool cards and elided from later Codex context #83797
Copy link
Copy link
Open
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.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: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
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.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: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
In OpenClaw 2026.5.18 (
50a2481), when an assistant replies to a Telegram group/topic by using the dynamicmessagetool withaction: "send", the actual user-visible reply is delivered successfully to Telegram but is not represented as a normal assistant message in the Control UI or in later Codex context projection.This makes the Telegram conversation and the OpenClaw frontend diverge: Telegram shows the real answer, while the frontend mostly shows a
Messagetool card plus any intermediate assistant text. On subsequent turns, the assembled context can include only placeholders such astool call: message [input omitted]andtool result ... [content omitted], so the assistant may not get the content it previously sent to the human.Repro Shape
Observed Behavior
Messagetool card rather than as the main assistant reply bubble.tool call: message [input omitted]/tool result ... [content omitted].message, the session store can retainstatus: "running"even when no active task remains.Expected Behavior
For channel-visible reply tools, especially
message(action="send")targeted at the current source conversation:Why This Matters
This creates a high-trust UX problem: the external channel and the Control UI tell different stories about the same conversation, and the next model turn may lose the content that was actually sent to the user.
Notes
The generic tool-payload elision behavior is reasonable for arbitrary tools, but
message(action="send")is a special case because the payload is the user-visible assistant reply, not just implementation detail.