feat(vault): Phase 3 tools + batch citation/relation enrichment
This commit is contained in:
@@ -874,6 +874,8 @@ def auto_suggest_low_confidence():
|
||||
| `.githooks/pre-commit` | P2 | Git hook |
|
||||
| `.githooks/post-merge` | P2 | Git hook |
|
||||
| `tools/data/knowledge-graph.json` | P3 | 图数据库文件 |
|
||||
| `tools/scripts/populate-relations.py` | P1+ | 批量 relations 推断(source-grouping + cross-link) |
|
||||
| `tools/scripts/enrich-citations.py` | P0+ | 批量溯源注入(citation seed + 来源节 + 存根标记) |
|
||||
|
||||
### 修改文件
|
||||
|
||||
@@ -882,6 +884,11 @@ def auto_suggest_low_confidence():
|
||||
| `AGENTS.md` | P0/P1 | 修复冗余 + 新增 v2 特性定义 + 更新模板 |
|
||||
| `wiki/index.md` | P0 | 更新指标数字 |
|
||||
| `wiki/log.md` | P0/P1/P2 | 追加每次操作日志 |
|
||||
| `Templates/Wiki Page Template.md` | P2+ | 纳入 Phase 1 lifecycle 字段 |
|
||||
| `Templates/People Template.md` | P2+ | 纳入 Phase 1 lifecycle 字段 |
|
||||
| `Templates/Author Template.md` | P2+ | 纳入 Phase 1 lifecycle 字段 |
|
||||
| `wiki/*.md`(375 页) | P1 | 批量填充 relations 字段 |
|
||||
| `wiki/*.md`(284 页) | P0 | 注入 `[raw:source:line]` 种子引用 |
|
||||
|
||||
### 依赖安装
|
||||
|
||||
@@ -890,3 +897,17 @@ pip install pyyaml # 已安装,确认版本
|
||||
# Phase 3 可能需要:
|
||||
pip install networkx # 轻量图分析(替代 Neo4j)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 执行状态总览(2026-07-01)
|
||||
|
||||
| 阶段 | 状态 | 关键指标 |
|
||||
|------|------|----------|
|
||||
| **Phase 0** — 即时修复 | ✅ 完成 | AGENTS.md 冗余清除;行号覆盖率 56%→100%;index.md 指标修正 |
|
||||
| **Phase 1** — 短期升级 | ✅ 完成 | relations 字段定义;manage-relations/graph-search/check-staleness/detect-conflicts 脚本就位 |
|
||||
| **Phase 2** — 中期自动化 | ✅ 完成 | pre-commit/post-merge hooks;validate-frontmatter/weekly-lint/promote-knowledge 脚本;结晶机制+知识提级入 AGENTS.md |
|
||||
| **Phase 3** — 长期进阶 | ✅ 完成 | knowledge-graph.py(505节点/646边);review-pages.py(LLM+静态双模式);graph-search.py --use-graph |
|
||||
| **P0 普及溯源** | ✅ 完成 | enrich-citations.py:引用覆盖 79→405 页(15.6%→80.2%) |
|
||||
| **P1 激活关系图** | ✅ 完成 | populate-relations.py:375 页 +644 条 relations,图 2→646 边 |
|
||||
| **P2 落地生命周期** | ✅ 完成 | 3 个模板更新,Phase 1 字段入模板规范 |
|
||||
|
||||
Reference in New Issue
Block a user