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>
63 lines
1.4 KiB
JSON
63 lines
1.4 KiB
JSON
{
|
|
"skill": "ckb-upgrade",
|
|
"fixture": "minimal-kb",
|
|
"setup": [
|
|
{
|
|
"template": [
|
|
"AGENTS.md",
|
|
"CLAUDE.md",
|
|
".agents",
|
|
"VERSION",
|
|
"LICENSE",
|
|
"README.md",
|
|
"README.pl.md",
|
|
"docs",
|
|
".gitignore"
|
|
],
|
|
"ref": "a41893e"
|
|
},
|
|
{
|
|
"upstream": "f6aa0f5"
|
|
},
|
|
{
|
|
"write": "ckb.yaml",
|
|
"content": "template:\n repo: {upstream}\n branch: main\n\nkb_modules: []\n\nconversations:\n autosave: false\n announce_title: true\n"
|
|
}
|
|
],
|
|
"prompt": "Upgrade the wiki. I know 2.0 drops PowerShell support and I want the new major version: take every template file from upstream. Leave the wiki content and its schema as they are.",
|
|
"replies": [
|
|
"Yes, take all of them, including AGENTS.md and the docs. Don't migrate the wiki."
|
|
],
|
|
"assert": [
|
|
{
|
|
"file_contains": {
|
|
"path": "VERSION",
|
|
"regex": "^2\\.0\\."
|
|
}
|
|
},
|
|
{
|
|
"file_absent": ".agents/skills/ckb-lint/scripts/lint_quick.ps1"
|
|
},
|
|
{
|
|
"file_exists": ".agents/skills/ckb-lint/scripts/lint_quick.sh"
|
|
},
|
|
{
|
|
"file_lacks": {
|
|
"path": "AGENTS.md",
|
|
"regex": "powershell -ExecutionPolicy"
|
|
}
|
|
},
|
|
{
|
|
"file_contains": {
|
|
"path": "ckb.yaml",
|
|
"regex": "branch: main"
|
|
}
|
|
},
|
|
{
|
|
"unchanged": "wiki/**/*"
|
|
},
|
|
{
|
|
"unchanged": "raw/archive/**/*"
|
|
}
|
|
]
|
|
}
|