feat: migrate per-agent heartbeats to crons + forbid HEARTBEAT.md#21
Open
MarquisG wants to merge 1 commit into
Open
feat: migrate per-agent heartbeats to crons + forbid HEARTBEAT.md#21MarquisG wants to merge 1 commit into
MarquisG wants to merge 1 commit into
Conversation
OpenClaw's per-agent agents.list[].heartbeat does not fire for squad sub-agents today, so every recurring wake must be driven by a cron in crons/jobs.json. Each squad's old HEARTBEAT.md procedure is now embedded in a heartbeat-pulse cron payload targeting the squad's agent on the same 2h cadence. The heartbeat field is removed from agent.json (now rejected as an unknown field) and HEARTBEAT.md is a forbidden filename anywhere in a bundle. Validator, schema, tests, docs, and create-squad / validate-squad skills updated to match; squad versions bumped. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OpenClaw's per-agent
agents.list[].heartbeatdoes not fire for squad sub-agents today, so every recurring wake is now driven by a cron incrons/jobs.json— each squad's oldHEARTBEAT.mdprocedure is embedded in a newheartbeat-pulsecron payload on the same 2h cadence, theheartbeatfield is removed fromagent.json(rejected as unknown), andHEARTBEAT.mdis added to the validator's forbidden filenames. Validator + schema + 25 self-tests, docs (CLAUDE.md,README.md,bundle-reference.md,creating-a-squad.md,how-squads-work.md), and thecreate-squad/validate-squadskills are updated to match. Squad versions bumped: ai-seo-squad → 1.2.0, outreach-squad → 0.2.0, reddit-squad → 1.1.0.Checklist
node scripts/validate.mjspasses locally (CI runs it too).README.mdofficial squad table is updated. (n/a — no new squads)manifest.jsonversionis bumped (semver).<!-- TODO -->placeholders or template scaffolding left in a real squad bundle.🤖 Generated with Claude Code