feat(knowledge): 增加任务文档生命周期

This commit is contained in:
bruce committed 2026-09-03 14:18:08 +08:00
1 parent cfb56dcde3
commit 995fea1e55
11 files changed
+141 -11

No files matched your search

@@ -56,3 +56,5 @@ description: 基于当前任务和项目证据生成可持续更新的本地或
4. 内联最多三条最容易重复踩到的风险;其余内容留在交接文档中。
最后报告写入路径、可见性和主要更新,不执行 `git add`、`git commit` 或 `git push`。共享交接可由用户后续确认提交;本地交接不得交给其他 Git Skill 提交。
任务暂停时,若存在 `workRoot/<task>/task.json`,将状态更新为 `paused` 并记录交接路径;恢复任务时改回 `active`。任务已经完成且不需要接续时不生成新的交接文档,改用 `knowledge:document-output close` 生成关闭预览。