openclaw - 💡(How to fix) Fix Control UI leaks internal async completion / heartbeat system messages into chat [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#72918Fetched 2026-04-28 06:30:17
View on GitHub
Comments
1
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
commented ×1cross-referenced ×1

Control UI leaks internal async completion / heartbeat system messages into the user-visible chat instead of handling them silently.

Root Cause

Control UI leaks internal async completion / heartbeat system messages into the user-visible chat instead of handling them silently.

RAW_BUFFERClick to expand / collapse

Summary

Control UI leaks internal async completion / heartbeat system messages into the user-visible chat instead of handling them silently.

What happened

After a background/async command completion event, the chat displayed internal system text such as:

  • An async command completion event was triggered, but user delivery is disabled for this run.
  • Handle the result internally and reply HEARTBEAT_OK only.
  • Current time: ...
  • HEARTBEAT_OK

This looks like internal orchestration text that should never be rendered in the normal conversation UI.

Why this is a problem

  • Exposes internal control/runtime instructions to end users
  • Confusing and alarming in normal chat usage
  • Makes the assistant appear broken even when the underlying run finished successfully

Expected behavior

Async completion / heartbeat-only system events should be consumed internally and should not appear in the user-visible conversation.

Actual behavior

The raw/internal system messages were rendered in Control UI chat bubbles.

Environment

  • OpenClaw app: 2026.4.24
  • Channel/surface: webchat / Control UI
  • Runtime observed in session: openai-codex/gpt-5.4
  • OS: macOS (observed on a local gateway setup)

Repro idea

I do not have a minimal deterministic repro yet, but this was observed right after an async command completion event in Control UI. It appears related to the path where user delivery is disabled for the completion event, but the UI still renders the associated internal message.

Notes

This may be the same class of issue as other internal event/rendering leaks, but I could not find an obvious duplicate from a quick search.

extent analysis

TL;DR

Filter out internal async completion and heartbeat system messages from being rendered in the user-visible chat.

Guidance

  • Review the message handling logic to ensure internal system messages are correctly identified and silenced.
  • Check the configuration of the openai-codex/gpt-5.4 runtime to see if there are settings that control the visibility of internal messages.
  • Investigate the user delivery disabled condition for async command completion events to understand why internal messages are being rendered.
  • Verify that the issue is not related to the webchat channel or Control UI surface by testing on other channels or surfaces.

Example

No code snippet can be provided without more information on the implementation details.

Notes

The issue may be related to other internal event/rendering leaks, but without more information, it's difficult to determine the root cause.

Recommendation

Apply a workaround to filter out internal system messages from being rendered in the user-visible chat, as the root cause is not immediately clear and may require further investigation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Async completion / heartbeat-only system events should be consumed internally and should not appear in the user-visible conversation.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING