PlanSuite
2026-04-01
新闻来源:网淘吧
围观:3
电脑广告
手机广告
PlanSuite
把“写计划(含子计划)→ 冻结计划(变更控制)→ 独立会话执行(带检查点)”合成一个最小可用流程。
文件结构(在当前工作目录创建/维护)
task_plan.md:计划主文件(含子计划/里程碑)progress.md:执行进度(每次推进都要写)findings.md:发现/决策/坑点(避免重复踩坑)
不要把这三份写到聊天里:写到文件,才能恢复/续跑。
工作流(强约束,防跑偏)
0) 初始化(第一次做这个项目)
- 如果缺文件:用模板创建
task_plan.md/progress.md/findings.md(见templates/)。 - 让用户确认目标、范围、约束、完成定义(DoD)。
1) 计划阶段(拆子计划)
在task_plan.md里输出:
- 背景/目标
- 范围(做/不做)
- 风险 & 回滚
- Milestones: Each milestone should include
- Input/Output
- Acceptance Criteria
- Estimated Tool Calls/File Changes
- Risks and Rollback Points
2) Finalization Phase (FINALIZED)
Only after the user explicitly says "Execute according to this plan":
- At the
top of task_plan.mdwrite:STATUS: FINALIZED+ timestamp. - Write the "Next milestone number/name to be executed" into
progress.md'sNextsection.
Rule: Execution phase is not allowed unless FINALIZED (at most investigation/supplemental planning can be done).
3) Execution Phase (Independent Session + Checkpoints)
When entering execution:
- It is recommended to use
sessions_spawnto open an isolated execution session (to avoid contaminating the main session context). - Upon completing each milestone:
- Update
progress.md(已完成/下一步/阻塞项) - 更新
findings.md(关键决策、踩坑、验证命令、回滚步骤)
- Update
- 检查点策略(默认每个子计划至少一次):
- 执行前:复述子计划的 DoD + 风险 + 回滚
- 执行后:给出验证步骤 + 结果
4) 变更控制(计划变更)
如果执行中发现计划不成立:
- 不要“边做边改”。先写入
findings.md,再把变更提案写入task_plan.md。 - 把
STATUS改为DRAFT,等待用户重新确认。
你在什么时候用什么文件
- 需要问清楚/拆任务 →
task_plan.md - 需要告诉用户进度/下一步 →
progress.md - 需要记录结论/命令/坑/回滚 →
findings.md
模板
templates/task_plan.mdtemplates/progress.mdtemplates/findings.md
文章底部电脑广告
手机广告位-内容正文底部



微信扫一扫,打赏作者吧~