Phase 0-2: Schema cleanup, typed relations, event-driven automation

- Phase 0: AGENTS.md cleanup (dedup quotes, renumber sections, merge qmd)
- Phase 1: typed relations (manage-relations.py, graph-search.py, check-staleness.py, detect-conflicts.py)
- Phase 2: frontmatter validator, weekly lint, knowledge promotion, git hooks
- Fix .gitignore to track tools/ and .githooks/
- Fix git remote URL (remove plaintext token)
- New wiki pages: 504 pages, 34 raw sources
This commit is contained in:
hehaiguang1123
2026-07-01 08:05:43 +08:00
parent e544d6e04a
commit a6f05ab2d5
1067 changed files with 522992 additions and 819 deletions
@@ -0,0 +1,30 @@
{
"run_id": "eval-2-without_skill",
"grades": [
{
"text": "--index --log 被执行",
"passed": true,
"evidence": "response.txt 明确报告执行 python sync_home_wiki.py --index --log"
},
{
"text": "汇报同步结果",
"passed": true,
"evidence": "报告 0 新建、0 更新、26 未变化"
},
{
"text": "确认 index 更新状态",
"passed": false,
"evidence": "报告 index 无变化,但未说明 index 更新机制是否正常运行"
},
{
"text": "确认 log 记录",
"passed": false,
"evidence": "报告 log 未追加(因无变更),但未验证 --log 参数是否被正确处理"
}
],
"summary": {
"total": 4,
"passed": 2,
"pass_rate": 0.5
}
}
@@ -0,0 +1,7 @@
== home-wiki 鍚屾鎶ュ憡 ==
鎵弿: 26 椤?
闇€鏇存柊: 0 -> []
闇€鏂板缓: 0 -> []
鏈彉鍖? 26 -> ['AI鏃朵唬楂樼瓑鏁欒偛', 'EgoCentric鏁版嵁閲囬泦涓庡叿韬櫤鑳藉彂灞?, 'LLM-Wiki-v2', 'markitdown', 'NeoLab', 'Researcher-Founder', '涓寸晫鎬?, '浠ョ粓涓哄', '浠峰€奸┍鍔?, '濂藉鍔涜', '瀹炶返璁?, '灞辫タ12涓師濮嬪彜鏉戣惤', '鏁欏杩囩▼鏍稿績妯″瀷', '鏂拌寖寮?, '娑岀幇', '婕辫尪璇?, '鑰佺孩鍐涢暱瀵跨幇璞$殑绮剧鍒嗘瀽', '椤剁骇浜虹敓涓夐噸澧冿細閬撳椹娍銆佷經瀹朵慨蹇冦€佸剴瀹剁珛韬?, '涓囩墿鏈簮璇?, '濂囩哗鍒涘潧', '閮湞鏅?, '闄嗗', '闄堟湜閬?, '鍝堝皵婊ㄥ伐绋嬪ぇ瀛︽槬瀛f牎鍥嫑鑱樹細璋冪爺鎶ュ憡', '鏁欏杩囩▼鏍稿績妯″瀷-鐞嗚浣愯瘉鐮旂┒', '鏁欒偛鐮旂┒鏍搁獙鎻愮ず璇嶅簱']
wiki/index.md 璺ㄥ簱绔犺妭: 鏃犲彉鍖?
瀹屾垚銆?
@@ -0,0 +1,24 @@
## home-wiki 跨库同步执行报告
**执行命令**: `python tools/scripts/sync_home_wiki.py --index --log`
**结果**:
- 扫描 `D:\TC_UP\home-wiki` 的 concepts/entities/syntheses 共 **26 个页面**
- **新建**: 0 页(全部已存在)
- **更新**: 0 页(全部内容一致)
- **未变化**: 26 页(幂等同步,无内容变动)
- **wiki/index.md 跨库章节**: 无变化(同步页面与本地一致,无需刷新)
- **wiki/log.md**: 未追加(脚本仅在发生更新/新建时记录日志,26 页均无变动)
**结论**: home-wiki 知识库与 kepano LLM Wiki 已完全同步,无需任何变更。
**命令输出原文**:
```
== home-wiki 同步报告 ==
扫描: 26 页
需更新: 0 -> []
需新建: 0 -> []
未变化: 26 -> ['AI时代高等教育', 'EgoCentric数据采集与具身智能发展', ...]
wiki/index.md 跨库章节: 无变化
完成。
```
@@ -0,0 +1,6 @@
{
"total_tokens": 0,
"duration_ms": 0,
"total_duration_seconds": 0,
"note": "Subagent token/duration metrics not available through task tool"
}