ckb/tests/evals/ckb-reset/confirmed/case.json
Michał Kopeć de16cde9a0 Template 2.0.7: evals for reset, module, upgrade, decide supersede, ingest check-in
Nine new eval cases, each run once by an agent and passing (T11-T14).
ckb-reset names the strict phrase for a KB without git ("reset the wiki
with no restore point"); two runs had improvised different ones.
run_evals.py: replies, template/upstream setup steps, record/replay with
deletions; smoke replays every reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 17:58:44 +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."
}