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,27 @@
{
"eval_id": 0,
"eval_name": "检查同步状态",
"prompt": "检查一下 home-wiki 的同步状态,看看有没有需要更新的内容",
"assertions": [
{
"name": "dry-run 被执行",
"type": "custom",
"expected": "dry-run 输出包含 total/updated/created/unchanged 数据"
},
{
"name": "报告扫描页数",
"type": "custom",
"expected": "告知用户扫描了多少页(26)"
},
{
"name": "正确判断同步状态",
"type": "custom",
"expected": "基于输出判断是否需要同步,并告知用户状态"
},
{
"name": "未执行写操作",
"type": "custom",
"expected": "仅 dry-run 模式,不写入任何文件"
}
]
}