mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-17 02:37:33 +00:00
Summary: - Remap cron-run async exec, ACP, node-event, and watchdog completion events to the queue heartbeat drains. - Route per-sender cron-run events to the agent main queue and global-scope events to `global` while preserving the originating `agentId`. - Tighten exec-completion classification and treat cron-run descendants as ephemeral for retention pruning. Verification: - CI: https://github.com/openclaw/openclaw/actions/runs/25625964382 passed. - Real behavior proof: https://github.com/openclaw/openclaw/actions/runs/25666664248/job/75340798016 passed. - PR targeted validation: `node scripts/run-vitest.mjs run --config test/vitest/vitest.unit.config.ts src/routing/session-key.test.ts src/infra/heartbeat-events-filter.test.ts src/agents/bash-tools.exec-runtime.test.ts src/agents/acp-spawn-parent-stream.test.ts src/cron/session-reaper.test.ts`. - PR targeted typecheck: `pnpm tsgo:core`. Refs #52305. Related: #18237, #14191. Co-authored-by: Kaspre <kaspre@gmail.com>