Initial commit: PRD v0.2, PROGRESS, knowledge base, PoC
This commit is contained in:
28
HEARTBEAT-CHECK.md
Normal file
28
HEARTBEAT-CHECK.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# FlowPilot 开发心跳检查配置
|
||||
|
||||
> 供OpenClaw cron使用,每30分钟检查一次项目进度
|
||||
|
||||
## 检查逻辑
|
||||
|
||||
1. 读 products/pmp-tool/PROGRESS.md
|
||||
2. 找到"当前Issue"和"状态"
|
||||
3. 如果状态是"进行中":
|
||||
- 检查上次更新时间
|
||||
- 如果超过30分钟未更新 → 检查Claude Code进程
|
||||
- 进程已死 → 根据断点信息重新启动
|
||||
- 进程还活着 → 不干预
|
||||
4. 如果状态是"已完成"但下一个Issue未启动 → 自动启动下一个
|
||||
5. 更新检查时间戳
|
||||
|
||||
## 恢复规则
|
||||
|
||||
- **代码未提交** → 先stash,然后从断点重新执行
|
||||
- **代码已提交但验证未通过** → 重新验证
|
||||
- **验证通过但未更新PROGRESS** → 更新PROGRESS,启动下一个Issue
|
||||
- **连续3次失败** → 暂停,通知老板
|
||||
|
||||
## Cron配置建议
|
||||
|
||||
```
|
||||
openclaw cron add --schedule "*/30 * * * *" --task "读 products/pmp-tool/PROGRESS.md,检查项目进度。如果任务卡住超过30分钟,根据断点信息恢复。如果一切正常,回复 HEARTBEAT_OK。"
|
||||
```
|
||||
Reference in New Issue
Block a user