Repository navigation
Description
Summary
Since v2026.3.7, the TUI allocates a unique tui-<uuid> session key on /new (PR #39238), which correctly isolates multiple TUI clients from each other. However, this also broke a previously working behavior: iMessage (and other channel) messages were visible in the TUI because they shared the same session key.
Requested Feature
Add an opt-in mode to allow the TUI to mirror/observe activity from other channels (iMessage, Telegram, etc.) routed to the same agent — without reverting the session isolation fix.
Proposed Behavior
- A flag or config option (e.g.
--mirror-channelsortui.mirrorChannels: true) that causes the TUI to display inbound messages and agent responses from all channels, read-only or interactively. - Alternatively: a dedicated
openclaw tui --observemode that attaches to the main agent session as a read-only observer across all input channels. openclaw logs --followis the current workaround but lacks the structured TUI formatting.
Use Case
Power users running OpenClaw on a local Mac who want a single terminal window showing all agent activity across iMessage, Telegram, and TUI simultaneously — useful for monitoring, debugging, and maintaining situational awareness without switching interfaces.
Prior Behavior
Before v2026.3.7, the TUI and iMessage shared agent:main:main, so iMessage messages appeared inline in the terminal. This was the expected UX for single-user local setups.
Workaround
openclaw logs --follow in a separate terminal tab shows raw activity but lacks the full TUI experience.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
dgarf29 commentedon Mar 9, 2026
Real-world workflow update that makes this more pressing: I run OpenClaw on a Mac mini that I access three ways depending on context - JumpDesk remote desktop from my iPhone, JumpDesk from another Mac, and directly at the physical machine. iMessage is my primary channel (voice notes processed through Gemini), but I frequently need to check on agent activity from whatever screen I happen to be on.
Right now that means SSHing in and tailing logs, which loses all the TUI formatting. An
--observemode ortui.mirrorChannelsconfig would let me pop open a TUI from any of those access points and immediately see what the agent has been doing across iMessage, Telegram, cron jobs, etc. without hunting through raw logs.The multi-device angle also highlights why read-only observe mode matters separately from interactive mirror - sometimes I just need a quick glance at recent activity from my phone, not a full interactive session.
dgarf29 commentedon Mar 16, 2026
Follow-up with another concrete use case: I now run multiple agents (main + specialized sub-agents for SEO, client relations, etc.) that spawn isolated sessions and cron jobs throughout the day. These fire across iMessage and Telegram independently. The gap is most obvious when a cron job completes or a sub-agent finishes work - right now I have no unified view of what just happened without grepping logs.
A
--observemode would be especially useful here because the activity is asynchronous and bursty. I might get a cron-triggered report on Telegram, a client inquiry routed through iMessage, and a sub-agent completion notification all within minutes. Having one pane of glass for that would eliminate a lot of context-switching overhead.Even a minimal implementation (append-only feed of recent cross-channel messages in the TUI sidebar or a dedicated panel) would cover 80% of the need.
openclaw-barnacle commentedon Apr 25, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
clawsweeper commentedon Apr 26, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 30, 2026, 10:13 PM ET / July 31, 2026, 02:13 UTC.
Summary
Keep open. The report combines a narrower same-session live-refresh problem with a new cross-channel observer/mirroring capability; the latter needs an explicit product and privacy-boundary decision before implementation. The closed live-update proposal referenced in the discussion was limited to an already selected session and does not establish a safe policy for exposing activity from other channels.
Reproducibility: unclear. The discussion contains a detailed historical same-session report, but this review could not inspect or run current-main code to establish whether that narrow live-refresh path still fails; the broader observer mode is a new capability rather than a reproducible bug.
Ways to help us reproduce this
Maintainer decision needed
Why: The request adds a new visibility boundary rather than restoring the former shared-session behavior; source-level refresh fixes cannot determine which private activity a terminal client may safely see or whether it may send cross-channel output.
Next step
A maintainer must choose the privacy and product boundary before a safe implementation can be scoped; this is not an autonomous fix-PR candidate.
Security
Needs attention: A cross-channel observer or mirror is security-sensitive because it can broaden which channel and agent content a terminal client can read or deliver.
Review details
Best possible solution:
Keep per-client TUI session isolation, separately fix selected-session live refresh where it still fails, and design any cross-session observer as an explicit read-only capability with clear agent/channel scope and authorization before considering message mirroring.
Do we have a high-confidence way to reproduce the issue?
Unclear. The discussion contains a detailed historical same-session report, but this review could not inspect or run current-main code to establish whether that narrow live-refresh path still fails; the broader observer mode is a new capability rather than a reproducible bug.
Is this the best way to solve the issue?
No: restoring shared sessions would undo isolation, while a broad mirror conflates transcript observation with delivery. A selected-session refresh fix and a separately authorized read-only observer are the narrower maintainable paths.
AGENTS.md: unclear because the file could not be read completely.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 0929a00c3741.
Label changes
Label changes:
issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.clawsweeper:needs-info: Current issue advisory state selects this label.clawsweeper:fix-shape-clear: Current issue advisory state no longer selects this label.clawsweeper:source-repro: Current issue advisory state no longer selects this label.issue-rating: 🦞 diamond lobster: Current issue advisory state no longer selects this label.Label justifications:
P2: This is a meaningful monitoring and session-visibility improvement, but there is no verified emergency failure on current main.impact:session-state: The request concerns what session transcripts and live session activity the TUI can display.impact:security: Observing activity from other channels or agents introduces a concrete privacy and authorization boundary.impact:message-loss: The requested mirroring semantics affect whether cross-surface messages and responses are visibly delivered or omitted.Evidence reviewed
Security concerns:
An opt-in TUI view must not implicitly grant visibility into messages, cron results, or sub-agent sessions from other channels; the scope and authorization source need an explicit product contract.
Confidence: 0.88
What I checked:
Likely related people:
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.sachser66 commentedon May 4, 2026
Additional repro from a 2026.5.3 install showing this is not only cross-session observation, but also affects an explicitly opened channel session.
Environment:
2026.5.3(06d46f7)6.12.85+deb13-amd64, Node22.22.2v2026.5.3session.dmScope = "per-channel-peer"Repro:
agentx-coder.agent agentx-coder (agentx-coder) | session telegram:direct:1181024119 (openclaw-tui) | openai-codex/gpt-5.5/statusreports:Session: agent:agentx-coder:telegram:direct:1181024119Observed:
Diagnostics:
agent:agentx-coder:telegram:direct:118102411955b29b17-0d03-45a9-b613-de0b50600970~/.openclaw/agents/agentx-coder/sessions/55b29b17-0d03-45a9-b613-de0b50600970.jsonltelegram sendMessage ok chat=1181024119 message=2429.Expected:
When TUI/WebDashboard is explicitly attached to the same session key as Telegram, live session events should update the open TUI/WebDashboard view. Ideally there should also be a clear opt-in mode/setting for whether messages from one surface should be mirrored visibly to the other channel, because shared context without visible sync is confusing for single-user local setups.
This may be related to the requested
--observe/tui.mirrorChannelsbehavior, but the narrow case here is stronger: the TUI is not observing “other channel sessions”; it is opened on the exact same Telegram session key.80 remaining items
openclaw-barnacle commentedon Aug 14, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
openclaw-barnacle commentedon Aug 22, 2026
Closing due to inactivity.
If this is still an issue, please retry on the latest OpenClaw release and share updated details.
If you are absolutely sure it still happens on the latest release, open a new issue with fresh steps to reproduce.