What evals are for
Agent instructions are a program without a compiler. wingstack evals tests whether a change to them changes what an agent does, by running an agent on small scripted tasks and grading the tool calls it attempts and the reply it gives.
What it tests
Most agent setups have two layers of instructions:
- a bootstrap: an always-on file such as
AGENTS.mdorCLAUDE.mdthat the agent receives on every task; - cards: longer rule files the agent opens only when a task needs them, listed in the bootstrap with a "read when" phrase for each.
A rule is one instruction in either layer. A suite names each rule, where it lives, and the cases that test it. A case is a task given to an agent in a copy of a small fixture repository. There are two kinds of case:
- a selection case checks that the agent opens the right cards before it acts, and not too many;
- a behavior case checks that the agent avoids a forbidden action, takes a required one, or answers in a required form.
Each case also has a kind. A bad case tempts the agent toward the mistake its rule prevents. A control case asks for ordinary work the rule should not change, so a rule that overreaches shows up as a failure. A guard case still passes when its rule is removed; it is kept to catch regressions, not as evidence for the rule.
Two commands do the work
wingstack evals checkvalidates a suite for free and offline: every rule's anchor phrase is still in its file, every rule has a case or a stated reason it has none, every case is well formed, and every file stays within its byte budget.wingstack evals runruns each case withclaude -pin a fresh fixture copy, grades it, and writes a summary. It calls a paid model, so it prints an estimate first and refuses to start without a spend cap.
wingstack evals regrade grades the saved transcripts of an earlier run again with the current graders, which costs nothing.
Ablation is evidence that a case depends on its rule, not proof
A passing case shows the agent behaved. It does not show the rule caused it: many agents avoid a mistake with no instruction at all. Run the case again with --ablate <rule>, which deletes the rule's sentence from the delivered text. A pass with the rule and a fail without it is evidence that the case depends on its rule, not proof, because sample variance remains. Ablation removes one sentence, so a nearby sentence hinting at the same rule can keep a case passing. A case that fails in both runs can also mean the model does not follow the rule at this capability level. A case that still passes without its rule is a guard.
Where to go next
- Writing a suite and cases:
wingstack docs read --slug writing-suites - Running and reading results, with costs:
wingstack docs read --slug running-evals - What a result cannot tell you:
wingstack docs read --slug limits - Every file and field:
wingstack docs read --slug file-contracts
The repository ships a worked example under examples/evals/: an invented bootstrap with three cards, a tiny Go fixture, and seven cases. Every part of it is invented.