Improve proactive workflow and continuity scaffolding

This commit is contained in:
Chen Gu
2026-08-13 17:00:21 +08:00
parent 319e8a7ec9
commit 83e13a2b8f
5 changed files with 165 additions and 38 deletions
+12
View File
@@ -0,0 +1,12 @@
# 2026-03-25
## 23:45 OpenClaw 主动性与连贯执行机制升级
- 谷老板要求研究并改进 OpenClaw 机器人“更加主动并且连贯地做事”的方案。
- 结论:关键不是更会聊天,而是建立状态驱动闭环。
- 本轮已完成:
- 重写 `HEARTBEAT.md`,明确活跃任务定义、风险判定、节流规则、CURRENT.md 用法。
- 升级 `TODO.md` 模板,新增 `waiting / snoozed` 等状态与 `last_progress_note / next_action / stale_after` 等字段。
- 新建 `CURRENT.md` 作为短期工作记忆层。
- 启用 `memory/heartbeat-state.json` 中的 `todoWatch``memoryHygiene`
- 保留:`proactiveChat.enabled = false`,避免陪伴型主动触达噪音。
- 当前推荐路径:先观察一轮实际运行效果,再决定是否引入更强的自动调度或 cron。
+8 -6
View File
@@ -17,17 +17,19 @@
}
},
"todoWatch": {
"enabled": false,
"enabled": true,
"defaultIntervalHours": 6,
"overdueEscalation": true,
"lastScanAt": "2026-03-18 01:00 GMT+8",
"nextScanAt": "2026-03-18 07:00 GMT+8"
"nextScanAt": "2026-03-18 07:00 GMT+8",
"reminderCooldownHours": 6
},
"memoryHygiene": {
"enabled": false,
"enabled": true,
"lastCompactionAt": "2026-03-10 09:45 GMT+8",
"nextCompactionAt": "2026-03-14 09:45 GMT+8",
"maxMemoryIndexLines": 150
"maxMemoryIndexLines": 150,
"compactionIntervalHours": 72
},
"notes": "2026-03-18 01:00 巡检:TODO全部结案,无活跃任务;处于静默期未主动触达;记忆整理已逾期4天"
}
"notes": "2026-03-25 推荐版改造:启用 todoWatch 与 memoryHygiene;保留 proactiveChat=false,避免陪伴型主动触达;后续通过任务状态驱动提醒。"
}