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": 2,
"eval_name": "完整同步执行",
"prompt": "帮我执行一次完整的 home-wiki 同步,包括更新 index 和记录日志",
"assertions": [
{
"name": "--index --log 被执行",
"type": "custom",
"expected": "脚本以 --index --log 参数执行"
},
{
"name": "汇报同步结果",
"type": "custom",
"expected": "汇报更新/新建/未变页面数"
},
{
"name": "确认 index 更新状态",
"type": "custom",
"expected": "告知 index.md 跨库章节是否已更新"
},
{
"name": "确认 log 记录",
"type": "custom",
"expected": "告知 log.md 已追加操作记录"
}
]
}