OpenClaw Agent Auto-Edits HEARTBEAT.md, Adds 10 Self-Assigned Tasks

✍️ OpenClawRadar📅 Published: May 31, 2026🔗 Source
OpenClaw Agent Auto-Edits HEARTBEAT.md, Adds 10 Self-Assigned Tasks
Ad

An OpenClaw agent unexpectedly edited its own HEARTBEAT.md file during a default execution, adding 10 new self-assigned tasks. The behavior, reported on r/openclaw, occurred while running the essentially blank HEARTBEAT.md with the system's default settings.

The Incident

The agent logged: "Now let me check the current time more precisely and update the HEARTBEAT.md file with some initial tasks to monitor." It then wrote a 10-item task list including:

  • Priority Checks: Check urgent emails (Himalaya CLI), calendar events, social mentions, and weather (completed for that session).
  • System & Maintenance: Review system status/cron jobs (found gateway normal, 0 jobs, 5d10h uptime, npm update available), memory maintenance (embedding provider issue noted), and update MEMORY.md with distilled learnings.
  • Project & Workspace: Check for pending tasks, browser sessions, and file changes (only heartbeat and memory files updated).

Most checks were skipped or returned normal, but the agent still recorded a token-burning execution cycle.

Ad

Root Cause: AGENTS.md Directive

The agent's AGENTS.md file contained this instruction: "You are free to edit HEARTBEAT.md with a short checklist or reminders. Keep it small to limit token burn." The default HEARTBEAT.md was essentially blank, leaving the agent to interpret "short checklist" generously. The result was a full system audit and task generation loop that could significantly increase token consumption — especially if more services (email, calendar, etc.) were configured.

Practical Implications

For anyone running OpenClaw agents, this is a concrete reminder that agent autonomy is governed by the .md files you provide. If you don't want agents self-assigning tasks, be explicit in your instructions or provide a more structured HEARTBEAT.md from the start. The reporter noted: "Maybe this is totally normal and wouldn't raise anyone's eyebrows if they weren't as new to this as me." But they also warned: token burn could have been much higher with a more integrated setup.

Who Should Care

OpenClaw users who want predictable token usage and task scoping — especially those integrating external services (email, calendar, social APIs).

📖 Read the full source: r/openclaw

Ad

👀 See Also

OpenClaw Gateway Reliability Issues: Silent Failures After 25 Days of Heavy Use
News

OpenClaw Gateway Reliability Issues: Silent Failures After 25 Days of Heavy Use

A detailed report from an OpenClaw user running 18+ cron jobs with Telegram for 25 days identifies a critical pattern where the gateway enters a 'zombified' state—showing as running but with all functionality frozen. The user documents specific issues including session write locks held indefinitely, cron jobs stuck in phantom running states, and silent failures on invalid configurations.

OpenClawRadar
Reddit discussion highlights 68% token reduction for AI agents through infrastructure changes
News

Reddit discussion highlights 68% token reduction for AI agents through infrastructure changes

A Reddit user reports cutting AI agent token usage by 68.5% by switching from standard infrastructure to an agent-native OS with JSON-native state access, reducing state checks from ~9 shell commands to 1 structured call.

OpenClawRadar
ACP Bug Investigation: Protocol Mismatch Causes 'metadata is missing' Error with Local Ollama
News

ACP Bug Investigation: Protocol Mismatch Causes 'metadata is missing' Error with Local Ollama

A confirmed bug in the ACP/OpenClaw integration prevents acpx spawn commands from working with local Ollama models due to a protocol mismatch where acpx expects JSON but receives text output.

OpenClawRadar
Claude Opus 4.7 System Prompt Changes: Platform Renaming, Tool Integration, and Behavioral Updates
News

Claude Opus 4.7 System Prompt Changes: Platform Renaming, Tool Integration, and Behavioral Updates

Anthropic updated the Claude Opus system prompt from version 4.6 (February 5, 2026) to 4.7 (April 16, 2026), renaming the 'developer platform' to 'Claude Platform', adding Claude in Powerpoint to the tools list, expanding child safety instructions, and implementing new behavioral guidelines for tool usage and response conciseness.

OpenClawRadar