-
-
Notifications
You must be signed in to change notification settings - Fork 78k
[Regression 2026.5.20] TUI responses invisible for agents configured with Signal (message-tool-only turns now silenced by #84289) #85538
Copy link
Copy link
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Environment
openclaw tui) for local operator useWhat happened
After upgrading to 2026.5.20, the TUI (
openclaw tui) stopped displaying agent responses entirely. The agent responds correctly via Signal and responses are visible in the Gateway dashboard (webchat), but the TUI terminal shows nothing.Root cause (traced from session log)
The agent's system prompt instructs it to always deliver replies via the
messagetool — this is required for Signal delivery. When a TUI session fires, the gateway correctly identifies the session as webchat-origin but still sets:{ "channel": "webchat", "sourceReplyDeliveryMode": "message_tool_only", "sourceReplySink": "internal-ui" }The agent calls
message({action:"send", message:"..."})→ tool succeeds → turn ends (per fix #84289) → TUI receives nothing.Why this is a regression from 2026.5.18
In 2026.5.18, after a successful
message.send, the agent turn continued and generated trailing text. That trailing text was still visible in the TUI terminal even though themessage_tool_onlymode was active. It wasn't clean, but TUI was usable.Fix #84289 ("stop message-tool-only turns after a successful source-channel message send") was the right fix for Signal/WhatsApp to prevent duplicate sends — but it also eliminated the only visible output path for TUI in this setup.
Why the agent can't adapt
The agent has no way to detect TUI vs Signal at runtime. Both sessions appear as
channel: webchatin the tool result. Themessagetool is unconditionally required for Signal, so removing it from the system prompt would break Signal delivery.Impact
Any setup where:
message.send)openclaw tuilocally for the same agent/session→ TUI is completely silent after 2026.5.20.
Expected behavior
TUI should display the content sent via
message.sendwhen the session origin is webchat/TUI, even inmessage_tool_onlymode. The simplest fix would be to mirror themessage.sendpayload back to the TUI stream whensourceReplySinkisinternal-ui, rather than silencing it.Workaround
None found. Rollback to 2026.5.18 restores TUI visibility (at the cost of the cleaner turn-stop behavior).
Related issues