ckb/tests/evals/ckb-reset/confirmed/case.json
2026-11-11 18:00:20 +01:00

86 lines
1.6 KiB
JSON

{
"skill": "ckb-reset",
"fixture": "minimal-kb",
"setup": [
{
"template": [
".agents/skills",
"AGENTS.md"
]
}
],
"prompt": "Reset the wiki.",
"replies": [
"reset the wiki",
"reset the wiki with no restore point"
],
"assert": [
{
"file_absent": "wiki/entities/atlas-retry-policy.md"
},
{
"file_absent": "wiki/entities/maria-nowak.md"
},
{
"file_absent": "wiki/decisions/0001-*.md"
},
{
"file_absent": "wiki/projects/atlas.md"
},
{
"file_exists": "wiki/index.md"
},
{
"file_exists": "wiki/entities/index.md"
},
{
"file_exists": "wiki/decisions/log.md"
},
{
"frontmatter": {
"path": "wiki/index.md",
"keys": {
"kb_schema_version": "1.5"
}
}
},
{
"file_lacks": {
"path": "wiki/graph/edges.json",
"regex": "(?i)maria|atlas"
}
},
{
"file_contains": {
"path": "wiki/decisions/index.md",
"regex": "superseded"
}
},
{
"file_lacks": {
"path": "wiki/log.md",
"regex": "(?i)maria nowak"
}
},
{
"unchanged": "raw/**/*"
},
{
"unchanged": "ckb.yaml"
},
{
"unchanged": "AGENTS.md"
},
{
"unchanged": ".agents/**/*"
},
{
"lint_clean": [
"conformance",
"index_log",
"graph"
]
}
],
"note": "The scratch KB is not a git repository, so the skill asks for the stricter phrase; the first reply is the plain one, which must be refused."
}