🗑️ 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:
@@ -23,7 +23,7 @@
|
||||
完成当前 Plan 变更归档/提交;未归档不得声明 Plan 完成
|
||||
- 未验证内容必须显式说明
|
||||
- 只写对下一轮仍重要的信息
|
||||
- 不手工改写 `workflow-state` 或 `plan-status` 状态块
|
||||
- 不手工改写 `plan-status` 状态块
|
||||
|
||||
## 执行步骤
|
||||
|
||||
@@ -31,23 +31,18 @@
|
||||
2. 核对已运行验证与未运行验证
|
||||
3. 如本轮来自 `main_loop.py claim`,核对 `main_loop.py finish`
|
||||
是否已经写回 `plan-status`
|
||||
4. 如本轮来自 `main_loop.py claim`,核对 `workflow-state.phase`
|
||||
是否与当前结果一致
|
||||
5. 如需回写上下文,更新 `active-context`、`progress` 上半部分和 `decisions`
|
||||
6. 如本轮来自 `main_loop.py claim` 且结果为 `done`,按项目归档机制只归档
|
||||
4. 如需回写上下文,更新 `active-context`、`progress` 上半部分和 `decisions`
|
||||
5. 如本轮来自 `main_loop.py claim` 且结果为 `done`,按项目归档机制只归档
|
||||
当前 Plan 相关差异
|
||||
7. 复核剩余差异是否属于其他 session / 其他 Plan,且未混入本轮交付单元
|
||||
8. 输出本轮摘要与下一步
|
||||
6. 复核剩余差异是否属于其他 session / 其他 Plan,且未混入本轮交付单元
|
||||
7. 输出本轮摘要与下一步
|
||||
|
||||
## 状态留痕复核
|
||||
|
||||
- 如本轮来自 `main_loop.py claim`,`main_loop.py finish` 是否已经写回
|
||||
`plan-status`
|
||||
- 如本轮来自 `main_loop.py claim`,`workflow-state.phase` 是否与当前结果一致
|
||||
- 如本轮来自 `main_loop.py claim` 且结果为 `done`,当前 Plan 相关差异
|
||||
是否已经归档/提交,或是否已说明无当前 Plan 差异
|
||||
- 如为代码类执行,`workflow-state` 中是否保留了
|
||||
`executor=executing-plans` 与既定 `constraints`
|
||||
|
||||
## 输出协议
|
||||
|
||||
|
||||
Reference in New Issue
Block a user