fix(git): 文档关闭后再清理工作树
This commit is contained in:
@@ -56,6 +56,8 @@ git log --first-parent --oneline -20
|
||||
- 当前 HEAD 已被预期本地分支引用;
|
||||
- 用户不再要求保留现场。
|
||||
|
||||
同时读取 `.craftkit/project.json` 的 `documents.workRoot`,检查与预集成任务对应的 `task.json` 和 ignored 文件。任务状态未到 `closed`、存在未登记的忽略文件或关闭清单尚未处理时,标记为 `cleanup-blocked`,先执行 `knowledge:document-output close` 预览。
|
||||
|
||||
用户要求保留现场时标记为 `delivery-ready`,明确说明生命周期尚未结束以及分支仍被该 worktree 占用。
|
||||
|
||||
## 清理门禁
|
||||
|
||||
Reference in New Issue
Block a user