Skip to content

[Bug]: Mac app and web UI leak raw message metadata — TUI and Telegram work correctly #20807

@TorabRamin

Description

@TorabRamin

Summary

Mac app toolbar chat and web dashboard display raw internal message envelopes instead of cleaned messages. TUI and Telegram render correctly.

Working (clean):

  • ✅ TUI (terminal interface)
  • ✅ Telegram

Broken (raw metadata visible):

What I see in broken UIs:
Conversation info (untrusted metadata):
{"message_id": "...", "sender": "..."}
[Thu ...] my message here

[[reply_to_current]] Response here...

Steps to reproduce

  1. Open OpenClaw Mac app or web UI
  2. Send any message
  3. Observe JSON metadata block and [[reply_to_current]] tags displayed raw

Expected behavior

Just the timestamp and clean message body — internal routing tags and metadata should be stripped.

Actual behavior

What I see in broken UIs:
Conversation info (untrusted metadata):
{"message_id": "...", "sender": "..."}
[Thu ...] my message here

[[reply_to_current]] Response here...

OpenClaw version

2026.2.17

Operating system

macOS 15.5

Install method

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions