feat(knowledge): 接入文档持续维护约定

This commit is contained in:
bruce committed 2026-09-03 15:54:12 +08:00
1 parent 01c07e4514
commit caa767bf36
18 files changed
+61 -19

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ python scripts/archive.py --root <project> --config <rules.json> --apply [--repo
- 专有文档拆分逻辑改为通用 Markdown 标题章节抽取。
- 内部数据库或服务校验改为显式 `requiredText` 内容校验;需要外部事实时由用户先提供结果,不隐式连接系统。
- 来源专属元数据清理改为可选 `stripFrontmatter`,不会默认删除内容。
- 历史归档保留当时快照并标明归档用途;它不作为当前有效依据。发现错误时增加勘误或当前版本链接,不静默改写历史内容。
## 安全边界
@@ -1,4 +1,4 @@
interface:
display_name: "Archive Documents(doc:archive)"
short_description: "按项目规则安全预演并归档文档"
short_description: "归档历史快照并关联当前有效版本"
default_prompt: "使用 $archive 根据项目规则预演文档归档,确认后再执行写入。"