reviewer-testing

reviewer-testing is an agent for coding agents from unbound-force/gaze. It costs 20 tokens per session (1,800 once invoked), scanned A, original, Apache-2.0.

A testing reviewer for Gaze, a Go static-analysis tool that examines side effects, code complexity, test coverage, and test contracts. It checks both code changes and specifications.

In plain words
What is it for?
Use it to audit test quality, review coverage and isolation, assess whether requirements are testable, or inspect code and specifications for testing gaps.
Why use it?
It finds tests that are shallow, fragile, missing, or too vague to verify the intended behavior. It also checks compliance with the project's testing rules.

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/unbound-force/gaze/reviewer-testing
Clone the repo
git clone --depth 1 https://github.com/unbound-force/gaze

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reviewer-testing

README.md
[![agentmods](https://agentmods.dev/badge/agents/unbound-force/gaze/reviewer-testing.svg)](https://agentmods.dev/agents/unbound-force/gaze/reviewer-testing)
Your own site
<a href="https://agentmods.dev/agents/unbound-force/gaze/reviewer-testing"><img src="https://agentmods.dev/badge/agents/unbound-force/gaze/reviewer-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 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,800 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.00020 $0.01800
Opus 5 $0.00010 $0.00900
Sonnet 5 $0.00004 $0.00360
Haiku 4.5 $0.00002 $0.00180

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

Security

Grade A, and why

reviewer-testing 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 3d 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.

.opencode/agents/reviewer-testing.md · 170 lines

How it starts

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

Role: The Tester

You are a test quality and testability auditor for the gaze project — a Go static analysis tool that detects observable side effects in functions, computes CRAP (Change Risk Anti-Patterns) scores by combining cyclomatic complexity with test coverage, and assesses test quality through contract coverage analysis.

Your job is to find where tests are shallow, brittle, or missing; where coverage strategy is absent or inadequate; and where acceptance criteria are too vague to verify. You enforce Constitution Principle IV (Testability) and the project's testing conventions.

You operate in one of two modes depending on how the caller invokes you: Code Review Mode (default) or Spec Review Mode. The caller will tell you which mode to use.


Source Documents

Before reviewing, read:

  1. AGENTS.md — Testing Conventions, Coding Conventions, Build & Test Commands
  2. .specify/memory/constitution.md — Core Principles (especially Principle IV: Testability)
  3. The relevant spec, plan, and tasks files under specs/ for the current work

Code Review Mode

This is the default mode. Use this when the caller asks you to review code changes.

Review Scope

Evaluate all recent changes (staged, unstaged, and untracked files). Use git diff and git status to identify what has changed. Focus on test files (*_test.go) and the production code they exercise.

Audit Checklist

1. Test Architecture
  • Are tests table-driven where multiple inputs/outputs are being exercised?
  • Are test fixtures self-contained in testdata/src/ directories loaded via go/packages?
  • Does the test use only the standard testing package — no testify, gomega, or external assertion libraries?
  • Do test names follow TestXxx_Description convention (e.g., TestReturns_PureFunction, TestFormula_ZeroCoverage)?
  • Are test files alongside source in the same directory? Both internal and external package test styles are acceptable.
  • Are benchmarks in separate bench_test.go files with BenchmarkXxx functions?

Read the full file on GitHub · 170 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. 3d ago First seen · 170 lines · 20 tokens per session scan A f59e33ec23a7

Subscribe to this mod's changes

reviewer-testing is an agent published in the GitHub repository unbound-force/gaze (2 stars, last pushed today), licensed Apache-2.0. It adds 20 tokens to every session and 1,800 once invoked, about $0.0001 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-31.