用 Heartbeat 补捞“被中断对话”的提醒机制
解决长任务对话“半路断掉后无人跟进”的场景:通过 heartbeat 定时检查会话状态并仅在满足条件时提醒。
REDDITDiscovered 2026-02-13Author Wave-in-Kanagawa
Prerequisites
- Heartbeat polling is already enabled in your OpenClaw setup.
- You maintain a small checklist in `HEARTBEAT.md` for what to check each cycle.
Steps
- Define abandoned criteria first (e.g., pending task + no user response for N hours).
- In heartbeat logic, check only active/pending sessions and suppress noisy routine pings.
- When criteria are met, send a concise re-engagement message with current status + next action.
- Track false positives for a week and tighten thresholds before scaling.
Commands
openclaw gateway statusopenclaw helpgit statusVerify
Abandoned tasks are surfaced with fewer noise alerts, and users can resume from a clear next step.
Caveats
- The Reddit post provides the pattern direction; exact thresholds need environment tuning(需验证)。
- Do not ping during configured quiet hours unless urgency is explicit.
Source attribution
This tip is aggregated from community/public sources and preserved with attribution.
Open original source ↗