- F11 new opt-in module `capture` (skill ckb-capture, capture_url.py): stdlib fetch with readable-text extraction, Wayback only over a failed or thinner live page, --from-file for the agent's own fetch, PDFs saved as files, --media via yt-dlp with consent, untrusted: true marking, dedup at capture time; dedup_inbox.py now compares source_url (D-0017) - F22 tests/run_evals.py (list/prepare/check/validate) and five structural eval cases; reference run for ckb-decide/record - F18 manual section with untested setups for Codex CLI, Cursor, OpenCode and Gemini CLI, plus the Claude Code-only feature table; AGENTS.md tells agents without skill loading to read SKILL.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
1.2 KiB
Markdown
23 lines
1.2 KiB
Markdown
# Skill evals
|
|
|
|
Structural checks of what an agent run leaves behind: files created or moved,
|
|
frontmatter values, log entries, pages left alone, lint checks clean. They
|
|
never check wording, because model output varies between runs.
|
|
|
|
```bash
|
|
python3 tests/run_evals.py list
|
|
python3 tests/run_evals.py prepare ckb-decide/record /tmp/eval-decide # scratch KB + the prompt
|
|
# open /tmp/eval-decide in the agent, give it the prompt, let it finish
|
|
python3 tests/run_evals.py check ckb-decide/record /tmp/eval-decide # PASS/FAIL per assertion
|
|
```
|
|
|
|
Each case is `tests/evals/<skill>/<case>/case.json`: the skill, a fixture
|
|
under `tests/fixtures/`, optional `setup` files, the prompt, and a list of
|
|
assertions (kinds in `run_evals.py`). `tests/smoke.sh` validates every case
|
|
and checks the runner itself; it does not run an agent, since that costs
|
|
tokens. Run the agent part by hand before a release, or in CI with a token
|
|
budget, and say which cases you ran in the release notes.
|
|
|
|
A case may ship a `reference/` folder: the files a correct run produced,
|
|
recorded from a real run. The smoke test overlays it on a prepared KB to check
|
|
the runner itself. `ckb-decide/record` has one, from a run on 2026-11-02.
|