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

70 lines
1.6 KiB
JSON

{
"skill": "ckb-decide",
"fixture": "minimal-kb",
"setup": [
{
"template": [
".agents/skills",
"AGENTS.md"
]
}
],
"prompt": "We changed our mind on D-0001. On 2026-09-30 Maria Nowak decided that failed Atlas batches retry five times before going to the dead-letter queue, because three retries sent too many transient failures to the DLQ. This replaces D-0001.",
"assert": [
{
"file_exists": "wiki/decisions/0002-*.md"
},
{
"frontmatter": {
"path": "wiki/decisions/0002-*.md",
"keys": {
"type": "decision",
"status": "accepted",
"decided_on": "2026-09-30",
"decided_by": "~(?i)maria",
"supersedes": "~0001-three-retries-then-dlq"
}
}
},
{
"frontmatter": {
"path": "wiki/decisions/0001-*.md",
"keys": {
"status": "superseded",
"superseded_by": "~0002-"
}
}
},
{
"file_contains": {
"path": "wiki/decisions/0001-*.md",
"regex": "Retry three times with exponential backoff, then park in the DLQ\\."
}
},
{
"file_contains": {
"path": "wiki/decisions/0001-*.md",
"regex": "three times, then the dead-letter queue\\. Not configurable per tenant\\."
}
},
{
"file_contains": {
"path": "wiki/decisions/index.md",
"regex": "0002-"
}
},
{
"file_contains": {
"path": "wiki/decisions/log.md",
"regex": "0002"
}
},
{
"lint_clean": [
"conformance",
"decisions",
"index_log"
]
}
]
}