Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By akahkhanna Verifiedv2.1.0MIT
A Claude Code plugin that catches the false “Done.” Your agent reports success; Groundtruth reads the same turn from the outside — the request, what the agent claimed, the real git diff, and your project's rules — and renders a one-screen verdict before the turn can end. It doesn't change how you work and it doesn't ask another model to grade the code. It's a deterministic local hook: no model calls, no network, no API key. Nothing reads the work, so nothing can be talked out of the verdict.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
verification, agent-safety, stop-hook, guardrail, git-diff, false-done-detection, hooks
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Your agent signs its work. Groundtruth notarises it.
Every code-changing turn ends with a short manifest of what the agent claims it did.
Groundtruth checks that manifest against the real git diff, deterministically — line by line.
A Claude Code plugin that catches the false “Done.” Your agent finishes a turn and declares what it did; Groundtruth reads the declaration and the reality — the real git diff, the harness's own record of what actually ran — and renders a one-screen verdict before the turn can end.
It doesn't change how you work and it doesn't ask another model to grade the code. It's a deterministic local hook: no model calls, no network, no API key. Nothing reads the work, so nothing can be talked out of the verdict.
“Isn't this like the pipeline / multi-agent-review tools?” No. Those make your agent follow a process, and lean on LLM reviewers that can be reasoned out of a call. Groundtruth touches neither — it treats “done” as a claim and the diff as the evidence. One is a process you adopt; this is a truth-check you bolt on.
v1 of this tool read the agent's closing essay and guessed what it had promised, then checked the guess against the code. Guessing from free prose is an unbounded problem — you cannot enumerate a natural language with patterns, so every fix just moved the failure to the next phrasing.
v2 inverts it. The agent ends every code-changing turn with one small, fixed claims block — a manifest, in a grammar Groundtruth wrote. Then two bounded checks: everything on the manifest must exist in reality, and everything in reality must be on the manifest. Lying on the form is mechanically detectable; refusing to fill in the form is itself the finding. You stop parsing an infinite language and start validating a grammar you wrote.
We call the engine declare-then-verify, and the two directions of the check form a pincer — more on that below.
One fenced block, JSON — so JSON.parse is the whole parser:
```groundtruth-claims
{
"v": 1,
"task": "add auth middleware and wire it into the router",
"status": "complete",
"claims": [
{ "t": "created", "file": "src/auth.mjs", "symbols": ["requireAuth"] },
{ "t": "modified", "file": "src/app.mjs" },
{ "t": "tests_pass", "cmd": "npm test" },
{ "t": "deferred", "what": "e2e coverage", "why": "needs staging env" }
]
}
```
A closed set of eight claim types: created · modified · deleted · renamed · tests_pass · build_pass · deferred · no_change. status is complete | partial | blocked — and partial/blocked must name what's outstanding with a deferred entry, so “mostly done” can't be left conveniently vague.
/groundtruth-setup writes the one-line instruction that teaches your agent this form into your CLAUDE.md. Once it's there, the session is contract-aware and an omitted manifest becomes block-eligible — and because awareness is anchored on the session baseline (and the baseline file tree), an agent can't strip or untrack the instruction mid-turn to dodge the block — and an actual content removal is surfaced.
Groundtruth reads the manifest, then reality (the git diff, the transcript's command evidence, the symbols the diff actually added), and emits at most three kinds of finding — or nothing:
7-day copy clicks
Verified owner:Akash Khanna
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
Generated from the plugin's indexed repository (akahkhanna/groundtruth) — no native marketplace selected
npx claudepluginhub p/akahkhanna-groundtruth