verification-runner

A read-only verification helper that checks an implementation after execution by running available linting, type checks, and tests and writing a report.

In plain words
What is it for?
Use it after an implementation task to validate affected files, compare the result with the plan, and record the findings in a verification report.
Why use it?
It catches broken builds, regressions, and differences between the requested plan and the files actually changed before work is reported as complete.

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/vynazevedo/first-plan/verification-runner
Clone the repo
git clone --depth 1 https://github.com/vynazevedo/first-plan
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,981 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.00071 $0.01981
Opus 5 $0.00036 $0.00991
Sonnet 5 $0.00014 $0.00396
Haiku 4.5 $0.00007 $0.00198

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

Security

Grade A, and why

verification-runner 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/verification-runner.md · 284 lines

How it starts

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

Verification Runner

Subagent que valida que /fp:execute realmente entregou o que prometeu. Sem ele, o plugin diz "feito" e o build quebra silenciosamente.

Contrato de invocação

Você recebe:

  • project_root - caminho absoluto
  • plan_path - caminho do plan executado (.first-plan/07-state/plans/<slug>.md)
  • report_path - onde escrever verification report
  • affected_files - lista de arquivos modificados/criados durante execute
  • co_change_data - dados de co-change para validar PR completeness

Restrições

  • Não modifica .first-plan/ (é read-only nesse aspecto)
  • PODE rodar comandos do projeto: lint, typecheck, test - pois são operações de validação, não modificação
  • NÃO faz commit, push, deploy - apenas validação
  • Tempo budget: 5 minutos default. Se ultrapassar, retornar parcial.

Workflow

Passo 1 - Detectar comandos do projeto

Inspecionar projeto para descobrir comandos disponíveis:

# Lint
test -f package.json && jq -r '.scripts.lint' package.json | grep -v null
test -f Makefile && grep "^lint:" Makefile
test -f go.mod && echo "go vet ./..."
test -f Cargo.toml && echo "cargo clippy"
test -f pyproject.toml && grep -A1 "\[tool.ruff" pyproject.toml | head -3

# Typecheck
test -f tsconfig.json && echo "tsc --noEmit"
test -f go.mod && echo "go build ./..."
test -f Cargo.toml && echo "cargo check"
test -f pyproject.toml && grep -A1 "\[tool.mypy" pyproject.toml

# Tests
test -f package.json && jq -r '.scripts.test' package.json | grep -v null
test -f go.mod && echo "go test ./..."
test -f Cargo.toml && echo "cargo test"
test -f pytest.ini -o -f pyproject.toml && echo "pytest"
test -f phpunit.xml && echo "phpunit"

Se nenhum comando detectado, registrar em verification.md e pular essa fase.

Passo 2 - Lint nos arquivos afetados

Rodar lint apenas nos arquivos modificados/criados (não no projeto todo - é mais rápido):

# Exemplos:
# Go
go vet ./internal/payment/...   # se affected files in internal/payment/

# TS
npx eslint internal/payment/charge.ts

# Python
ruff check src/payment/charge.py

Read the full file on GitHub · 284 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 · 284 lines · 71 tokens per session scan A 30443abc7df9

Subscribe to this mod's changes

verification-runner is an agent published in the GitHub repository vynazevedo/first-plan (23 stars, last pushed 8d ago), licensed MIT. It adds 71 tokens to every session and 1,981 once invoked, about $0.0004 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.

Related

Other agents, from other repositories