mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-28 06:49:37 +00:00
Summary: - The PR moves the runtime `HEARTBEAT.md` bootstrap template into `src/agents/templates`, keeps docs templates ... or other workspace files, adds a legacy heartbeat-template doctor repair, and updates package guards/tests. - PR surface: Source +281, Tests +283, Docs +11, Config +1, Other 0. Total +576 across 15 files. - Reproducibility: yes. from source inspection: current main loads `HEARTBEAT.md` from the docs template, and ... pty heartbeat file non-empty to the runtime. I did not run a live heartbeat repro in this read-only review. Automerge notes: - PR branch already contained follow-up commit before automerge: fix(doctor): recognize heartbeat docs boilerplate - PR branch already contained follow-up commit before automerge: fix(agents): update heartbeat workspace test - PR branch already contained follow-up commit before automerge: fix(doctor): tighten heartbeat template repair Validation: - ClawSweeper review passed for heade34e85864c. - Required merge gates passed before the squash merge. Prepared head SHA:e34e85864cReview: https://github.com/openclaw/openclaw/pull/85416#issuecomment-4519851630 Co-authored-by: Mason Huang <masonxhuang@tencent.com> Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com> Approved-by: hxy91819 Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
766 B
766 B
summary, title, read_when
| summary | title | read_when | |
|---|---|---|---|
| Workspace template for HEARTBEAT.md | HEARTBEAT.md template |
|
HEARTBEAT.md template
HEARTBEAT.md lives in the agent workspace. Keep the file empty, or with only Markdown comments and headings, when you want OpenClaw to skip heartbeat model calls.
The default runtime template is:
# Keep this file empty (or with only comments) to skip heartbeat API calls.
# Add tasks below when you want the agent to check something periodically.
Add short tasks below the comments only when you want the agent to check something periodically. Keep heartbeat instructions small because they are read during recurring wakes.