openclaw/test
Mason Huang 75221e0550
fix(agents): separate heartbeat runtime template (#85416)
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 head e34e85864c.
- Required merge gates passed before the squash merge.

Prepared head SHA: e34e85864c
Review: 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>
2026-05-27 12:30:22 +00:00
..
fixtures fix(codex): keep WebChat delivery hints out of user requests 2026-05-27 03:44:27 +01:00
helpers perf(secrets): propagate snapshots and eliminate esm side-effects in auth env vars (#86439) 2026-05-27 08:19:07 +01:00
mocks build(deps): refresh workspace dependencies 2026-05-10 14:00:08 +01:00
scripts fix(dev): bound Claude usage debug fetches 2026-05-27 14:10:15 +02:00
tsconfig fix: align Telegram grammY type imports (#81975) 2026-05-15 07:50:47 +01:00
vitest feat(pixverse): add video generation provider 2026-05-27 12:41:10 +02:00
appcast.test.ts
architecture-smells.test.ts
cli-json-stdout.e2e.test.ts fix(feishu): fall back from missing thread replies (#80306) 2026-05-10 16:41:51 +00:00
extension-import-boundaries.test.ts test: tighten boundary empty array assertions 2026-05-09 04:34:10 +01:00
extension-package-tsc-boundary.test.ts
extension-test-boundary.test.ts test: share repo file helpers 2026-05-17 02:29:55 +08:00
gateway.multi.e2e.test.ts
git-hooks-pre-commit.test.ts test: reuse precommit staged line parsing 2026-05-08 23:38:04 +01:00
global-setup.ts
image-generation.infer-cli.live.test.ts
image-generation.runtime.live.test.ts test: tighten live array assertions 2026-05-09 06:07:01 +01:00
non-isolated-runner.ts
npm-publish-plan.test.ts
official-channel-catalog.test.ts fix(channel): refresh wecom onboarding install 2026-05-13 13:52:05 +01:00
openclaw-launcher.e2e.test.ts fix(cli): handle Bun launcher module misses 2026-05-27 01:20:14 +01:00
openclaw-npm-postpublish-verify.test.ts fix(release): stabilize beta validation after rebase 2026-05-26 03:30:54 +01:00
openclaw-npm-release-check.test.ts fix(agents): separate heartbeat runtime template (#85416) 2026-05-27 12:30:22 +00:00
openclaw-prepack.test.ts test: tighten release empty array assertions 2026-05-09 04:50:34 +01:00
package-manager-config.test.ts refactor: use Rastermill for image processing (#86621) 2026-05-26 02:54:49 +01:00
package-scripts.test.ts fix(test): enable live cache script gates 2026-05-27 10:31:27 +02:00
plugin-clawhub-release.test.ts fix(plugins): require npm package compatibility metadata 2026-05-16 03:08:42 +08:00
plugin-extension-import-boundary.test.ts test: tighten boundary empty array assertions 2026-05-09 04:34:10 +01:00
plugin-npm-package-manifest.test.ts fix(plugins): harden Windows npm package staging 2026-05-24 09:32:17 +02:00
plugin-npm-release.test.ts fix(plugins): require npm package compatibility metadata 2026-05-16 03:08:42 +08:00
plugin-npm-runtime-build.test.ts test: update shrinkwrap packaging expectations 2026-05-22 12:56:10 +01:00
qa-convex-credential-payload-validation.test.ts feat(qa): lease telegram user credentials 2026-05-10 15:10:39 +05:30
release-check.test.ts fix(plugin-sdk): stop exporting vitest test helpers (#87120) 2026-05-26 23:10:41 -07:00
setup-home-isolation.test.ts
setup-openclaw-runtime.ts feat(plugins): add embedding provider contract (#84947) 2026-05-22 03:36:51 +00:00
setup.extensions.ts
setup.shared.ts fix(test): repair split agent shard runs 2026-05-24 15:37:59 +02:00
setup.ts
test-env.test.ts Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
test-env.ts feat: add fal and OpenRouter music generation (#82789) 2026-05-17 02:05:22 +01:00
test-helper-extension-import-boundary.test.ts test: tighten boundary empty array assertions 2026-05-09 04:34:10 +01:00
tsconfig.json
ui.presenter-next-run.test.ts
vitest-boundary-config.test.ts fix(test): fail missing explicit test targets 2026-05-24 11:46:51 +02:00
vitest-extensions-config.test.ts
vitest-light-paths.test.ts test: route more command tests through light suite 2026-05-27 05:20:51 +01:00
vitest-performance-config.test.ts test: tighten helper empty object assertions 2026-05-09 04:18:03 +01:00
vitest-projects-config.test.ts fix: align ui vitest config assertion 2026-05-25 05:17:45 +01:00
vitest-scoped-config.test.ts fix(test): fail missing explicit test targets 2026-05-24 11:46:51 +02:00
vitest-ui-package-config.test.ts
vitest-unit-config.test.ts fix(test): fail missing explicit test targets 2026-05-24 11:46:51 +02:00
vitest-unit-fast-config.test.ts test: keep slow tests under duration cap 2026-05-18 00:26:44 +01:00
vitest-unit-paths.test.ts
web-provider-boundary.test.ts test: tighten boundary empty array assertions 2026-05-09 04:34:10 +01:00