Skip to content

Hide OpenClaw heartbeat artifacts from chat#444

Merged
rogerchappel merged 4 commits into
mainfrom
codex/hide-openclaw-heartbeat-artifacts
May 13, 2026
Merged

Hide OpenClaw heartbeat artifacts from chat#444
rogerchappel merged 4 commits into
mainfrom
codex/hide-openclaw-heartbeat-artifacts

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

Summary

  • classify OpenClaw heartbeat prompts, leaked tool calls, HEARTBEAT.md read output, and HEARTBEAT_OK as internal artifacts
  • filter those artifacts from OpenClaw session previews before they enter chat state
  • keep the chat transcript render path defensive for already-loaded artifacts

Verification

  • pnpm test src/lib/openclaw-heartbeat-artifacts.test.ts
  • pnpm typecheck
  • git diff --check
  • push hook ran pnpm typecheck and pnpm build

Notes

OpenClaw docs describe heartbeat as scheduled main-session turns whose default prompt reads HEARTBEAT.md. This PR keeps those internal heartbeat turns out of CrewCMD's user-facing chat transcript without disabling heartbeats.

@rogerchappel rogerchappel marked this pull request as ready for review May 13, 2026 05:43
@rogerchappel rogerchappel merged commit fe518de into main May 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant