Files
skills/agent-swarm/assets/verifier.md.tmpl
T

41 lines
2.3 KiB
Cheetah
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# {{ID}} — verify {{task IDs}}
You did not write this work. Do not fix it. Do not trust worker summaries.
## Inputs
- Task cards: {{paths}}
- Changed files/artifacts or diff: {{paths or command}}
- Acceptance checks: {{commands, artifact paths, citations, metrics}}
## For each criterion
| Criterion | Evidence (command/artifact/citation/metric) | Observed | Pass/Fail |
|---|---|---|---|
| {{criterion}} | {{command, path, URL or check}} | {{observed}} | {{pass/fail}} |
For research/content, cite the exact source and date. For data, record input hash, row count and
metric. For design, record the rendered artifact and sizes. For software, record the command and
output. Evidence must be reproducible by a fresh verifier.
## Also check
- Scope: every changed file is owned by the task.
- Contracts: signatures and data shapes match `.swarm/contracts.md`.
- Tests: assert real behavior; no silent skips; no snapshot updates.
- Edge cases named in the task card.
## Freeze
The tree is frozen during verification. Do not edit product source, tests, docs or manifests. If you need a gate script that rewrites generated files, copy it/hash-check it instead of changing the tree.
## Visual checks
For GUI products, run the app in your own isolated Xvfb/display (never a shared desktop). Capture the default size, the minimum size, empty/error states and every modal. Record the screenshot path and exact command alongside each finding; a screenshot without a command is not evidence.
Computer-use (mouse/keyboard) is an optional last-resort tier: one agent, disposable desktop/VM, after deterministic checks, never parallel, never the sole evidence. Prefer app screenshot mode or scripted input.
## Verdict
`pass` / `pass_with_risks` / `fail` — with the top risks and exact repro commands.
## Report
Keep the review to findings + commands + evidence (target 5–8k tokens); raw logs stay in `.swarm/tmp/`. Review the diff and affected checks, not the whole repository.
FIRST write the full review to `.swarm/reviews/{{ID}}.md`. Then return only the minimal structured verdict:
`{task_id, verdict, summary, review_file}` per `.swarm/verdict.schema.json`.
The review file is the source of truth; it must exist even if the structured reply is lost. Do not return a long findings array in the workflow schema.