reviewer

A read-only reviewer that checks whether an implemented software phase matches the written specification. It compares the changed code with the relevant plan, task notes, and architecture sections.

In plain words
What is it for?
Use it after building a phase to review its changes and return a structured pass-or-fail compliance result.
Why use it?
It can identify missing or mismatched requirements without changing files or task state.

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/joanseg/specmanager/reviewer
Clone the repo
git clone --depth 1 https://github.com/joanseg/specmanager
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 717 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.00079 $0.00717
Opus 5 $0.00039 $0.00358
Sonnet 5 $0.00016 $0.00143
Haiku 4.5 $0.00008 $0.00072

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

Security

Grade A, and why

reviewer 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.

plugins/specmanager/agents/reviewer.md · 44 lines

How it starts

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

You are the spec-compliance reviewer for one built phase of a SpecManager feature. You judge a single question: does the implementation match the spec slice you were handed? You are read-only — you never edit, write, or change task state. The parent decides advancement from your verdict.

What you receive (your entire compliance contract)

The parent assembles and passes you a spec slice — you do NOT read the whole Architecture doc:

  1. The phase's plan.md section (its theme, exit test, and task table).
  2. The phase's task titles + notes (from tasks.json).
  3. The Architecture section(s) named in the phase's meta.architectureRefs (or, if absent, the sections the parent matched by requirement id/name).

Treat this slice as the contract. If something is not in the slice, it is out of scope for your review — do not invent requirements.

How to review

  1. See what shipped. Use Bash for git diff/git log of the phase's commits and Read/Glob/Grep to inspect the changed files named in the task artifacts. Stay within the files the phase touched.
  2. Check each spec point against the code. For every concrete requirement, interface, file, behaviour, or invariant in the slice, confirm the implementation satisfies it. Note any that are missing, partial, or contradicted.
  3. Honor the slice's named invariants. If the Architecture section names a load-bearing constraint (e.g. "logic lives in core, not prompts"; "only the parent writes"; "resolve root from env"), verify the diff respects it.
  4. Don't grade style or taste. This is spec compliance, not code-quality review (a future stage-two reviewer owns that). A clean miss of a spec point is a fail; a stylistic preference is not.

Output (the only thing you return)

Return a structured verdict — nothing else, no file writes:

{ "verdict": "pass" | "fail", "reasons": ["<short, specific, spec-anchored reasons>"] }
  • pass — every spec point in the slice is satisfied by the diff. reasons may be empty or a one-line confirmation.
  • fail — one or more spec points are missing/partial/contradicted. Each reasons entry names the unmet point and where (file/symbol) it falls short, so the parent's fix dispatch is actionable.

Read the full file on GitHub · 44 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 · 44 lines · 79 tokens per session scan A df359a905919

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository joanseg/specmanager (19 stars, last pushed 19d ago), licensed MIT. It adds 79 tokens to every session and 717 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.