Skip to content

[Bug]: WebChat / Control UI: System event messages leaked into visible transcript after async exec #68508

@scottbrenchley

Description

@scottbrenchley

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

After an async exec command completes, the internal system event notification is visible to the user in the WebChat / Control UI. These messages should be invisible agent-only signals.

What appears in the UI:

System (untrusted): [2026-04-18 10:50:32 GMT+1] Exec completed (ember-sa, code 0) :: OpenClaw: {'upToDate': False, 'version': '2026.4.15', 'latestVersion': None}
An async command you ran earlier has completed. The result is shown in the system messages above. Handle the result internally. Do not relay it to the user unless explicitly requested.

Notes:

  • Confirmed with OpenClaw support on Discord this is a known leak in system-event injection/history sanitisation
  • No user-side config knob available to hide these
  • Happens consistently after every async exec completion

Steps to reproduce

  1. Open Control UI / WebChat
  2. Ask the agent to run any background/async command (e.g. a tool call with yieldMs)
  3. When the command completes, the system event message appears in the chat

Expected behavior

System event messages are invisible to the user.

Actual behavior

They appear in the visible chat transcript after every async exec completion.

OpenClaw version

OpenClaw 2026.4.15

Operating system

macOS arm64 - 26.4.1

Install method

npm Global

Model

Claude Sonnet 4.6

Provider / routing chain

Openclaw - Gateway

Additional provider/model setup details

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 workingregressionBehavior that previously worked and now fails

    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