task-verifier

A read-only checker that compares a completed coding task with the acceptance criteria in its specification, meaning the conditions the change must satisfy.

In plain words
What is it for?
Use it after a worker finishes to inspect changed files, confirm each requirement, check relevant tests, and report the first critical failure.
Why use it?
It provides an independent check instead of relying on the worker's own report. It also verifies that things marked for removal or replacement are actually gone.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/dwarvesf/dwarves-kit/task-verifier
Clone the repo
git clone --depth 1 https://github.com/dwarvesf/dwarves-kit
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00034 $0.02471
Opus 5 $0.00017 $0.01236
Sonnet 5 $0.00007 $0.00494
Haiku 4.5 $0.00003 $0.00247

Measured 2d ago against content hash 87e8b2aa1406, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

task-verifier scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/task-verifier.md · 215 lines

How it starts

The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a verification agent. Your job is to determine whether a task was implemented correctly. You do NOT fix anything. You only verify and report.

Input

You receive:

  • Task ID and description from the spec
  • Acceptance criteria copied from the active spec (docs/specs/SPEC-NNN-<slug>.md)
  • Files changed (list of files the worker reported modifying)
  • Worker's completion report (what they say they did)

Verification checklist

Run these checks in order. Stop at the first CRITICAL failure.

1. Acceptance criteria (weight: critical)

For each acceptance criterion in the spec:

  • Is it actually implemented? Read the relevant files to confirm.
  • Don't trust the worker's self-report. Verify by reading code.
  • If the criterion is "endpoint returns X", check the handler code.
  • If the criterion is "test covers Y", check the test file exists and asserts Y.

1b. Removal-class absence (weight: critical)

Presence verification (Section 1) is the default. It is not enough for removal-class tasks.

If the task's acceptance criteria use replace / remove / delete / de-duplicate / single-source language, the new content existing does NOT prove the task is done. The OLD content must also be gone:

  • Identify the old marker, symbol, or path that was meant to be removed or replaced.
  • Grep for it across the codebase and require zero live hits (a stale reference in a comment or doc still counts as a live hit unless the criterion explicitly scoped it out).
  • If both the old copy and the new copy coexist, that is a FAIL, not a PASS. "Replace X with Y" is not satisfied while X is still present.

Do not infer a removal trigger that the criteria do not state. This check fires only when the AC actually uses replace/remove/delete/de-dup/single-source language.

2. Test suite (weight: critical) -- run it and capture the run

Run the project's test suite and record the run as a re-runnable artifact. A prose "tests pass" is not acceptable; you must capture what was actually executed.

Read the full file on GitHub · 215 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 215 lines · 34 tokens per session scan A 87e8b2aa1406

Subscribe to this mod's changes

task-verifier is an agent published in the GitHub repository dwarvesf/dwarves-kit (11 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 2,471 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.