流程
- •扫描
.agent/handoff/目录下所有 task-*.md 文件 - •检查每个文件的 Status 字段
- •对于 status=done 的任务:
- •读取 Result 部分
- •将关键结论摘要(不超过 5 行)整合到 .agent/progress.md
- •将 Status 更新为 archived
- •对于 status=pending 的任务:
- •检查对应进程是否仍在运行
- •如果进程已退出但 status 未更新,标记为 failed
- •更新 .agent/state.md 中的 Parallel Workers 部分
- •输出简洁的进度摘要