Skip to content

feat(openclaw): add heartbeat cost-control policy and legacy file repair#2280

Merged
fisherdaddy merged 1 commit into
release/2026.7.6from
fisherdaddy/feat-heartbeat-idle-cost
Jul 6, 2026
Merged

feat(openclaw): add heartbeat cost-control policy and legacy file repair#2280
fisherdaddy merged 1 commit into
release/2026.7.6from
fisherdaddy/feat-heartbeat-idle-cost

Conversation

@fisherdaddy

Copy link
Copy Markdown
Collaborator

Empty/missing HEARTBEAT.md still triggers periodic model calls, and the bundled AGENTS.md template used to tell agents to invent routine checks. Add a managed heartbeat policy prompt, strip the proactive-heartbeat guidance from bundled templates, and repair legacy HEARTBEAT.md files in existing workspaces on sync.

Summary

Related Issue

Fixes #(issue number)

Changes Made

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Code refactoring
  • Documentation update
  • Performance improvement
  • Other (please describe):

Testing

  • Tested locally
  • Added new tests
  • Updated existing tests
  • Manual testing performed

Screenshots (if applicable)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Electron-Specific Changes

  • Changes to main process (src/main/)
  • Changes to preload script (src/main/preload.ts)
  • Changes to IPC communication
  • Changes to window management
  • None

Additional Notes

Empty/missing HEARTBEAT.md still triggers periodic model calls, and the
bundled AGENTS.md template used to tell agents to invent routine checks.
Add a managed heartbeat policy prompt, strip the proactive-heartbeat
guidance from bundled templates, and repair legacy HEARTBEAT.md files in
existing workspaces on sync.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant