| name | criterion-verification-map |
| description | Transform acceptance criteria into plan-time runnable verification commands (behavioral, API, UI, error, config, data, contract types) with expected evidence shapes, then execute at verify time and assemble evidence bundles with honest completeness subsections (untested paths, known limitations, adversarial cases covered). Use when planning implementation against issue acceptance criteria or verifying completeness. This skill MUST be consulted because deferring verification to later causes incomplete PRs, and suppressing evidence gaps prevents the verdict judge from reasoning about gaps. |
| allowed-tools | Bash, Read, Grep, Glob, TaskCreate, TaskList, TaskUpdate, TaskGet |
| context | fork |
| agent | general-purpose |
Criterion Verification Map
Domain skill that treats acceptance criteria as eval sources. Each criterion produces a concrete, runnable check at plan time — not at verify time. Planning a criterion without a runnable command is a blocking error.
Iron Law
EVERY ACCEPTANCE CRITERION IS AN EVAL SOURCE. At plan time, each criterion must produce a runnable verification command. No criterion is deferred to verify time with "we'll figure out how to test this later." No criterion passes by assumption. No criterion is "too obvious to verify."
Criteria as Eval Sources (Plan Time)
An acceptance criterion is useful only if it can be evaluated mechanically. At plan time, the criterion must be transformed into:
- A verification type (classification — see table below)
- A runnable command (the exact bash/test/curl/script invocation that will be executed at verify time)
- Expected evidence shape (what the command's output must contain to count as PASS)
- What the criterion does NOT promise (non-goals scoped to this criterion — prevents scope creep and false-positive verdicts)
If any of the four cannot be filled in at plan time, the criterion is not ready. Escalate through the Spec Validation Gate in the start.md EXPLORE phase, not here.
Criterion Classification Table
| Criterion Type | Signal Words | Verification Method | Evidence Format |
|---|
| Behavioral (logic) | "when X then Y", "should return", "must validate" | Unit/integration test | Test runner output (pass/fail + relevant lines) |
| API endpoint | "status code", "response", "endpoint", "header" | curl/fetch command | HTTP status + response body snippet |
| UI rendering | "displays", "shows", "page", "renders", "layout" | Screenshot + visual analysis | Screenshot path + analysis summary |
| Error handling | "error message", "invalid", "fails gracefully" | Test with invalid input | Error output + expected vs actual |
| Performance | "within N ms", "rate limit", "timeout" | Benchmark/timing command | Timing output |
| Configuration | "config", "environment", "setting" | Build/load test | Build success log |
| Data processing | "transforms", "converts", "output matches" | Run with test data | Input/output comparison |
| Contract (schema/type) | "schema", "type", "interface", "signature", "shape" | Schema validator / type-check | Validator output or type-check diagnostic |
Plan-Time Task Creation
Per commands/start.md Phase 2 (PLAN), tasks are atomic: implementation, test, and evidence collection are bundled into one task. This skill's role at plan time is to produce the verification command and expected evidence shape that gets embedded into that atomic task's description.
For each acceptance criterion, the atomic task description must include:
Criterion: {full criterion text}
Verification type: {type from classification table}
Verification command: {exact runnable command}
Expected evidence: {what successful output looks like}
Does NOT promise: {non-goals scoped to this criterion}
The atomic task flows through implementation → test → evidence collection within Phase 3 (CODE). Evidence is captured at task-completion time.
Evidence Collection Protocol
During VERIFY phase, for each atomic task's verification command:
TaskUpdate(taskId, status: "in_progress")
- Execute the verification command captured at plan time
- Capture output as evidence
TaskUpdate(taskId, status: "completed", result: "EVIDENCE_COLLECTED")
Evidence Bundle Format
After all verification commands have run, assemble the evidence bundle — a structured text document that the verdict-judge agent receives. Every criterion block MUST include all fields below. The "Does NOT promise" field is captured at plan time; the three completeness subsections (What was NOT tested, Known limitations, Negative/adversarial cases covered) are populated at verify time and may not be omitted — they force the implementer to state the shape of the evidence honestly so the judge can reason about gaps.
## Evidence Bundle for Issue #{N}
Generated: {timestamp}
Branch: {branch name}
Commits: {count} since branch creation
### Criterion 1: {full criterion text}
- **Type**: {behavioral|api|ui|error|performance|config|data|contract}
- **Verification command**: `{command that was run}`
- **Evidence**:
{raw output from verification command}
- **What the criterion does NOT promise**:
- {non-goal 1 — e.g. "does not guarantee idempotency across retries"}
- {non-goal 2 — e.g. "does not cover the admin flow"}
- {non-goal 3 — e.g. "does not handle concurrent writes"}
- **Screenshot**: {path, if UI type — otherwise omit}
- **What was NOT tested**: {Explicit list of related behaviors, inputs, code paths, environments, or configurations that this evidence does not cover. Never "N/A" — if you cannot think of anything, you have not thought hard enough. State at minimum: untested environments, untested edge inputs, untested concurrency/scale conditions, untested integrations.}
- **Known limitations of this evidence**: {How the evidence could be misleading even though it looks positive. Examples: "test uses a mocked external API," "smoke test only hits the happy path," "screenshot was taken at desktop viewport only," "timing numbers taken on an idle machine, not under load." If the verification command is self-reported (agent-run test output), state that explicitly.}
- **Negative/adversarial cases covered**: {List the specific failure modes, invalid inputs, and abuse cases this evidence demonstrates the system rejects or handles safely. Examples: "rejects empty email with 400," "returns 401 on expired token," "displays error state on network failure." If none were tested, state "none" — do not leave blank — and expect the verdict-judge to treat this as a gap.}
### Criterion 2: {full criterion text}
- **Type**: {type}
- **Verification command**: `{command}`
- **Evidence**:
{output}
- **What the criterion does NOT promise**:
- {non-goal items}
- **What was NOT tested**: {as above}
- **Known limitations of this evidence**: {as above}
- **Negative/adversarial cases covered**: {as above}
{repeat for all criteria — every criterion MUST have all four subsections}
Why "Does NOT Promise" Is a First-Class Field
A verdict judge receiving only criterion text and evidence tends to over-credit passing commands — e.g., a passing unit test is treated as proof the whole behavior is correct, when the test only covered one path. The "does NOT promise" field explicitly fences each criterion's scope so the judge does not inflate a narrow PASS into a broad guarantee. It also gives reviewers and future readers a shared understanding of what was intentionally out of scope.
Populate this field at plan time from the non-goals captured in the EXPLORE phase Specification capture sub-step. Each criterion inherits the global non-goals plus any criterion-specific non-goals discovered during planning.
Completeness Subsections Are Mandatory
The verdict-judge treats any criterion missing "Does NOT promise" or any of the three completeness subsections ("What was NOT tested", "Known limitations of this evidence", "Negative/adversarial cases covered") as having incomplete evidence and will FAIL that criterion. Do not omit them. If a subsection is genuinely empty (e.g., no adversarial cases tested), write "none" explicitly rather than removing the heading.
What the Evidence Bundle Does NOT Include
The bundle is passed to the verdict-judge agent, which must judge independently. Therefore:
- NO diff — the judge doesn't see the code changes
- NO decision journal — the judge doesn't see the rationale
- NO planning notes — the judge doesn't see why approaches were chosen
- NO self-review findings — the judge evaluates from spec + evidence only
The judge receives ONLY:
- The acceptance criteria (from the issue)
- The evidence bundle (from this skill)
- The holdout-validation output (from the holdout-validation skill — added in v2.0 to detect self-review claims that don't match file state)
Verification Method Examples
Behavioral (test output):
npm run test -- --grep "user authentication" 2>&1 | tail -20
API endpoint (curl):
curl -s -w "\nHTTP_STATUS:%{http_code}" http://localhost:3000/api/login \
-H "Content-Type: application/json" \
-d '{"email":"test@example.com","password":"wrong"}' 2>&1
UI rendering (screenshot path):
Screenshot saved to: .screenshots/login-page-desktop.png
Visual analysis: Login form visible with email and password fields, submit button enabled.
Error handling:
npm run test -- --grep "invalid credentials" 2>&1 | tail -10
Contract (schema/type):
npx tsc --noEmit 2>&1 | tail -20
npx ajv validate -s schemas/payload.json -d fixtures/sample.json
Integration with Start Command
The criterion-verification-map skill is invoked in two phases of /flow:start:
- EXPLORE / PLAN phase (plan time) — Classify each criterion, produce a runnable verification command, and capture "does NOT promise" non-goals. These become the
Verification command and Does NOT promise fields of the atomic task created in PLAN.
- VERIFY phase (verify time) — Execute the verification commands captured at plan time and assemble the evidence bundle.