a6f05ab2d5
- 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
27 lines
750 B
JSON
27 lines
750 B
JSON
{
|
|
"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 模式,不写入任何文件"
|
|
}
|
|
]
|
|
} |