You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P2Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivity
Additional finding: The TUI does update when pressing Ctrl+T (manual refresh), confirming it's polling/fetching history rather than subscribing to live session events via websocket. Real-time streaming is not happening — updates only appear on manual trigger or relaunch.
Another finding: Pressing Ctrl+T to refresh the TUI duplicates the last agent response each time it's pressed. The same messages appear correctly (once) in Telegram. Likely the refresh is appending history without deduplicating against what's already rendered.
Additional note:--deliver only pushes agent responses to the Telegram channel. User messages typed in the TUI do not appear in Telegram at all. For true bidirectional mirroring, user input from TUI would also need to be relayed to the connected channel. Consider a --mirror or --bidirectional mode.
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 5, 2026, 11:27 AM ET / 15:27 UTC.
Summary
Keep open: current main still emits session transcript updates without a TUI session.message consumer, and the same live-message gap is already owned by the older canonical issue plus an open candidate PR.
Reproducibility: yes. at source level: current main broadcasts displayable transcript updates as session.message, but the TUI event dispatcher does not handle that event family. I did not run a live Telegram reproduction in this read-only pass.
Root-cause cluster
Relationship: duplicate
Canonical: #38829
Summary: This issue is the same root TUI live-message visibility bug as the older canonical report, with open PR work already targeting that path.
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Next step
Do not start a separate fix lane from this issue because #38829 and #96252 already own the same narrow repair path.
Review details
Best possible solution:
Land or close the viable same-root TUI fix, preferably by consuming existing Gateway session.message transcript events without changing channel delivery semantics; keep bidirectional mirroring as separate product work.
Do we have a high-confidence way to reproduce the issue?
Yes at source level: current main broadcasts displayable transcript updates as session.message, but the TUI event dispatcher does not handle that event family. I did not run a live Telegram reproduction in this read-only pass.
Is this the best way to solve the issue?
Yes at direction level: consuming existing Gateway session.message updates in the TUI is the narrowest maintainable repair for the live-tail gap. The bidirectional mirror idea in the comments should remain separate product work unless maintainers explicitly choose it.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
No live Telegram/Desktop reproduction was run in this read-only review; the source path is strong, but real transport proof should come through the linked PR before merge.
The open candidate PR still needs maintainer review and real behavior proof before this issue can close as implemented.
Codex review notes: model internal, reasoning high; reviewed against 14b2ca11ffa9.
Label changes
Label justifications:
P2: The bug affects real-time TUI visibility but has a bounded TUI/Gateway surface and an open candidate fix path.
impact:session-state: The active TUI view can drift from the Gateway session transcript because live transcript events are not rendered.
impact:message-loss: Inbound channel messages and some replies remain invisible in the TUI until reload even though they exist in session history.
Evidence reviewed
What I checked:
Current TUI dispatcher misses transcript events: The current TUI websocket dispatcher handles chat, chat.side_result, agent, and sessions.changed, with no session.message branch for live transcript updates. (src/tui/tui.ts:1541, 14b2ca11ffa9)
Current TUI event types do not model session messages:ChatEvent is limited to run states delta, final, aborted, and error; there is no typed TUI session-message event handler in this module. (src/tui/tui-types.ts:30, 14b2ca11ffa9)
Gateway now broadcasts displayable transcript updates: Current main projects transcript updates and broadcasts them as session.message to subscribed websocket connection ids. (src/gateway/server-session-events.ts:204, 14b2ca11ffa9)
TUI subscribes to session events but does not render this event family: Gateway TUI calls sessions.subscribe, and the gateway includes session-event subscribers in the session.message broadcast set; the remaining gap is the missing TUI event consumer. (src/tui/gateway-chat.ts:199, 14b2ca11ffa9)
Protocol docs expose the intended event contract: The Gateway protocol docs list sessions.messages.subscribe and session.message as transcript/message event surfaces, confirming this is a supported live update path. Public docs: docs/gateway/protocol.md. (docs/gateway/protocol.md:439, 14b2ca11ffa9)
Latest release is not fixed: Release v2026.6.11 still has no session.message branch in the TUI dispatcher, so the issue is not shipped-fixed. (src/tui/tui.ts:1538, e085fa1a3ffd)
Likely related people:
harjothkhara: Authored the open same-root PR that adds TUI handling for live session.message updates and related regression coverage. (role: candidate fix author; confidence: high; commits: ecc6c0503a8c, 3c804a7c40b5; files: src/tui/tui-event-handlers.ts, src/tui/tui.ts, src/tui/tui-types.ts)
Peter Steinberger: Recent current-main TUI work touched the dispatcher area and git blame on the current shallow checkout attributes the active TUI event block to the current grafted history. (role: recent TUI area contributor; confidence: medium; commits: cd305b3b0cb9, 785ab747798; files: src/tui/tui.ts)
gumadeiras: Introduced the split Gateway runtime/session-event files that now carry transcript broadcast handling for session.message. (role: gateway event surface contributor; confidence: medium; commits: 8de63ca26825; files: src/gateway/server-session-events.ts, src/gateway/server-runtime-subscriptions.ts)
vincentkoc: Authored an earlier direct TUI repair commit that added a session.message handler, though that commit is not contained by current main or release tags. (role: prior repair author; confidence: medium; commits: 9421edb6e689; files: src/tui/tui-event-handlers.ts, src/tui/tui.ts)
How this review workflow works
ClawSweeper keeps one durable marker-backed review comment per issue or PR.
Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
Maintainers can also comment @clawsweeper review to request a fresh review only.
Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Both reports describe the same selected-session TUI gap: history loads initially, but live session.message transcript updates from Telegram or another surface are not consumed until the TUI reloads. #38829 is the canonical issue; #96252 is the active fix candidate. The broader opt-in cross-channel observer request remains separate in #40678.
Thanks for the Telegram-specific reproduction; it is useful validation for the canonical fix.
P2Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivity
Activity
bwatchmitch commentedon Mar 13, 2026
Additional finding: The TUI does update when pressing
Ctrl+T(manual refresh), confirming it's polling/fetching history rather than subscribing to live session events via websocket. Real-time streaming is not happening — updates only appear on manual trigger or relaunch.bwatchmitch commentedon Mar 13, 2026
Another finding: Pressing
Ctrl+Tto refresh the TUI duplicates the last agent response each time it's pressed. The same messages appear correctly (once) in Telegram. Likely the refresh is appending history without deduplicating against what's already rendered.bwatchmitch commentedon Mar 13, 2026
Additional note:
--deliveronly pushes agent responses to the Telegram channel. User messages typed in the TUI do not appear in Telegram at all. For true bidirectional mirroring, user input from TUI would also need to be relayed to the connected channel. Consider a--mirroror--bidirectionalmode.openclaw-barnacle commentedon Apr 29, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
clawsweeper commentedon Apr 29, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 5, 2026, 11:27 AM ET / 15:27 UTC.
Summary
Keep open: current main still emits session transcript updates without a TUI
session.messageconsumer, and the same live-message gap is already owned by the older canonical issue plus an open candidate PR.Reproducibility: yes. at source level: current main broadcasts displayable transcript updates as
session.message, but the TUI event dispatcher does not handle that event family. I did not run a live Telegram reproduction in this read-only pass.Root-cause cluster
Relationship:
duplicateCanonical: #38829
Summary: This issue is the same root TUI live-message visibility bug as the older canonical report, with open PR work already targeting that path.
Members:
canonical: openclaw tui terminal cannot receive real-time messages #38829 - Older open issue reports the same TUI inability to receive real-time messages until restart or reopening history.fixed_by_candidate: fix(tui): handle live session message updates #96252 - Open PR targets the canonical issue by adding TUI handling for livesession.messageupdates.partial_overlap: Feature: Opt-in cross-channel visibility in TUI (mirror iMessage/Telegram activity) #40678 - Broader open feature request covers opt-in cross-channel mirroring, including adjacent behavior but with additional product/security decisions.superseded: fix(tui): live-tail inbound user messages in --session mode (#45388) #45417 - Closed unmerged PR attempted a direct fix for this issue; the current viable target is the newer same-root PR.partial_overlap: fix(tui): deduplicate assistant messages across sessions.changed reload #96980 - Open PR covers duplicate assistant messages after history reload, which overlaps with the reporter's manual-refresh duplication comment but not the central live-tail gap.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Next step
Do not start a separate fix lane from this issue because #38829 and #96252 already own the same narrow repair path.
Review details
Best possible solution:
Land or close the viable same-root TUI fix, preferably by consuming existing Gateway
session.messagetranscript events without changing channel delivery semantics; keep bidirectional mirroring as separate product work.Do we have a high-confidence way to reproduce the issue?
Yes at source level: current main broadcasts displayable transcript updates as
session.message, but the TUI event dispatcher does not handle that event family. I did not run a live Telegram reproduction in this read-only pass.Is this the best way to solve the issue?
Yes at direction level: consuming existing Gateway
session.messageupdates in the TUI is the narrowest maintainable repair for the live-tail gap. The bidirectional mirror idea in the comments should remain separate product work unless maintainers explicitly choose it.AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 14b2ca11ffa9.
Label changes
Label justifications:
P2: The bug affects real-time TUI visibility but has a bounded TUI/Gateway surface and an open candidate fix path.impact:session-state: The active TUI view can drift from the Gateway session transcript because live transcript events are not rendered.impact:message-loss: Inbound channel messages and some replies remain invisible in the TUI until reload even though they exist in session history.Evidence reviewed
What I checked:
chat,chat.side_result,agent, andsessions.changed, with nosession.messagebranch for live transcript updates. (src/tui/tui.ts:1541, 14b2ca11ffa9)ChatEventis limited to run statesdelta,final,aborted, anderror; there is no typed TUI session-message event handler in this module. (src/tui/tui-types.ts:30, 14b2ca11ffa9)session.messageto subscribed websocket connection ids. (src/gateway/server-session-events.ts:204, 14b2ca11ffa9)sessions.subscribe, and the gateway includes session-event subscribers in thesession.messagebroadcast set; the remaining gap is the missing TUI event consumer. (src/tui/gateway-chat.ts:199, 14b2ca11ffa9)sessions.messages.subscribeandsession.messageas transcript/message event surfaces, confirming this is a supported live update path. Public docs:docs/gateway/protocol.md. (docs/gateway/protocol.md:439, 14b2ca11ffa9)v2026.6.11still has nosession.messagebranch in the TUI dispatcher, so the issue is not shipped-fixed. (src/tui/tui.ts:1538, e085fa1a3ffd)Likely related people:
session.messageupdates and related regression coverage. (role: candidate fix author; confidence: high; commits: ecc6c0503a8c, 3c804a7c40b5; files:src/tui/tui-event-handlers.ts,src/tui/tui.ts,src/tui/tui-types.ts)src/tui/tui.ts)session.message. (role: gateway event surface contributor; confidence: medium; commits: 8de63ca26825; files:src/gateway/server-session-events.ts,src/gateway/server-runtime-subscriptions.ts)session.messagehandler, though that commit is not contained by current main or release tags. (role: prior repair author; confidence: medium; commits: 9421edb6e689; files:src/tui/tui-event-handlers.ts,src/tui/tui.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.openclaw-barnacle commentedon Jun 8, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
steipete commentedon Jul 7, 2026
Closing as a duplicate of #38829.
Both reports describe the same selected-session TUI gap: history loads initially, but live
session.messagetranscript updates from Telegram or another surface are not consumed until the TUI reloads. #38829 is the canonical issue; #96252 is the active fix candidate. The broader opt-in cross-channel observer request remains separate in #40678.Thanks for the Telegram-specific reproduction; it is useful validation for the canonical fix.