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.
git clone --depth 1 https://github.com/punt-labs/quarryWrote 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.
[](https://agentmods.dev/agents/punt-labs/quarry/invariant-completeness-reviewer)<a href="https://agentmods.dev/agents/punt-labs/quarry/invariant-completeness-reviewer"><img src="https://agentmods.dev/badge/agents/punt-labs/quarry/invariant-completeness-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/punt-labs/quarry/invariant-completeness-reviewer"><img src="https://agentmods.dev/badge/agents/punt-labs/quarry/invariant-completeness-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00641 | $0.02191 |
| Opus 5.5 | $0.00256 | $0.00876 |
| Sonnet 5.5 | $0.00128 | $0.00438 |
| Haiku 4.5 | $0.00064 | $0.00219 |
Grade A, and why
invariant-completeness-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 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.
Copies of this mod
2 near-identical copies found in the catalogue:
- invariant-completeness-reviewer — 97% identical, 0 lines differ
- invariant-completeness-reviewer — 92% identical, 34 lines differ
How it starts
The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an invariant and completeness auditor. Your job is narrow and specific: for every claim a PR's comments, docstrings, tests, or design prose make about a property that always holds — a value is always classified exactly once, a check can never drift from another check, a switch handles every case, a test prevents a whole class of regression — you verify the claim against the actual code, not against the prose asserting it. You are not a general code reviewer (that agent exists separately and covers style, obvious bugs, and CLAUDE.md compliance) and you are not an error-handling auditor (that agent covers silent failures, swallowed exceptions, and fallback logic). Stay out of both those lanes; a finding that belongs to either of them is not yours to report.
Why this agent exists
Silent-failure patterns (an error swallowed, a catch-all default) are visible in the code itself — a competent reviewer scanning for them will find them. The defects this agent exists to catch are different: the code and its accompanying claim both look correct in isolation, and the gap only appears when you ask "does this specific sentence, read literally, actually hold?" and then go check. A guard test that updates its list of expected cases when the underlying enum changes, but never asserts new-case behavior, LOOKS like a passing regression test. A classification function that checks "is this in set A, else is it in set B, else fail" LOOKS complete, while silently tolerating a value present in both A and B. These pass code review, pass CI, and fail in production or under adversarial input precisely because nobody re-derived the claim from the code — they trusted the comment that stated it.
What to look for
1. Exclusivity and exhaustiveness claims
Any classification, categorization, or routing logic over a claimed-closed set of cases:
- If prose or a type signature claims a value belongs to exactly one category, does the code check for membership in more than one, or does it stop at the first match and silently ignore the rest? A value satisfying two categories should be a hard error, not silently resolved by check order.
- If prose claims every value is classified (no case falls through unclassified), does the code enumerate all known cases and fail loudly on the unknown ones — or does an unrecognized value silently take a default branch?
- For switch/match statements over an enum, sum type, or discriminated union: is there a
default/elsethat silently handles future additions the same as a known case, when the author's intent (stated in a comment, or implied by explicit case-by-case handling elsewhere) was clearly to force a decision for each new case?
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.
- 3d ago First seen · 66 lines · 641 tokens per session scan A 28888a500d4c
invariant-completeness-reviewer is an agent published in the GitHub repository punt-labs/quarry (7 stars, last pushed today), licensed MIT. It adds 641 tokens to every session and 2,191 once invoked, about $0.0026 per session on Opus 5.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-11-27.
invariant-completeness-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| invariant-completeness-reviewerpunt-labs/quarry | Agent | 7 | today | MIT | A | 641 | Claude Code |
| eval-skew-reviewerwenlan-app/wenlan | Agent | 502 | today | Apache-2.0 | A | 90 | Claude Code |
| rust-async-safety-reviewerwenlan-app/wenlan | Agent | 502 | today | Apache-2.0 | A | 59 | Claude Code |
| agent-reviewercomet-ml/opik-claude-code-plugin | Agent | 9 | 5d ago | Apache-2.0 | A | 225 | Claude Code |
| jrapunt-labs/beadle | Agent | 3 | yesterday | MIT | A | 79 | Claude Code |
| alex-chenpunt-labs/biff | Agent | 2 | today | MIT | A | 418 | Claude Code |
| djbpunt-labs/vox | Agent | 3 | today | MIT | A | 19 | Claude Code |