🗑️ remove(progress): drop workflow state tracking
Use plan-status as the only machine state source for plan queueing, claiming, and finishing. Route record-plan through queue insertion and update templates/prompts to match the single-state model. BREAKING CHANGE: playbook.py -record-spec and main_loop.py record are removed.
This commit is contained in:
@@ -35,8 +35,7 @@
|
||||
|
||||
### `memory-bank/progress.md`
|
||||
|
||||
- 先读取 `workflow-state`:当前阶段、spec、plan、executor、constraints
|
||||
- 再读取 `plan-status`:当前 Plan 的机器状态
|
||||
- 读取 `plan-status`:Plan 队列与机器状态
|
||||
- 只更新上半部分的人类摘要,不修改状态块
|
||||
- 上半部分是短期状态快照,不是长期日志
|
||||
- `Recent Changes` 只保留最近 3-5 条对恢复上下文有价值的变化
|
||||
@@ -61,14 +60,14 @@
|
||||
- 临时聊天内容不要写进去
|
||||
- 高变化信息放 `active-context`,稳定技术模式放 `system-patterns`
|
||||
- 流程规则或项目私有约束变更写入 `AGENT_RULES.local.md`
|
||||
- `progress.md` 的状态块只由 `main_loop.py` 维护
|
||||
- 摘要应与 `workflow-state` / `plan-status` 保持一致
|
||||
- `progress.md` 的 `plan-status` 状态块只由 `main_loop.py` 或
|
||||
`playbook.py -record-plan` 维护
|
||||
- 摘要应与 `plan-status` 保持一致
|
||||
- 摘要区保持短期状态快照;长期历史依赖项目归档记录、Plan 文件和
|
||||
`decisions.md`
|
||||
|
||||
## 禁止事项
|
||||
|
||||
- 手工改写 `<!-- workflow-state:start/end -->`
|
||||
- 手工改写 `<!-- plan-status:start/end -->`
|
||||
- 把临时聊天内容、未验证猜测写进摘要
|
||||
|
||||
|
||||
Reference in New Issue
Block a user