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

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.
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
👀 See Also

Claude Code v2.1.133: worktree.baseRef revert, sandbox paths, proxy fix for MCP OAuth
Anthropic releases v2.1.133 of Claude Code CLI with a new worktree.baseRef setting defaulting to fresh (branch from origin/default), sandbox.bwrapPath and sandbox.socatPath for custom bubblewrap/socat binaries, proxy/mTLS fix for MCP OAuth flow, and several bug fixes.

Nvidia RTX Spark: 1-Petaflop Superchip Brings Local AI Agents to Windows PCs
Nvidia unveils RTX Spark, a 1-petaflop superchip for Windows PCs, enabling local AI agents with up to 128GB unified memory and full CUDA/RTX stack. Ships this fall in laptops and desktops from ASUS, Dell, HP, Lenovo, Microsoft Surface, and MSI.

Claude API Cost Visibility Concerns for Indie Developers
A Reddit discussion highlights that Claude Sonnet API's lack of granular cost tracking may lead indie developers to drop it despite its quality, with bills of $400–$900 catching them off guard due to insufficient observability compared to AWS-style monitoring.

Full Claude Opus 4.6 System Prompt Leaked on GitHub
The complete system prompt for Claude Opus 4.6 has been published on GitHub, revealing Anthropic internal instructions.