/groundtruth:groundtruth-helpfrom groundtruth
Explains Groundtruth — a tool that audits agent claims, rules compliance, and code debt on every turn. Also supports subcommands for verdicts, audits, rules review, block mode, and setup.
Ships in groundtruth. Installing the plugin adds it to Claude Code.
Explain to the user, concisely:
Groundtruth audits whether the agent actually did what it was asked — grounding every claim against the diff / tool-ledger / disk, never the agent's self-report.
It runs automatically every turn (the Stop hook) and checks:
groundtruth-claims manifest; Groundtruth verifies it against reality: CA (claimed-but-absent) — a claim the diff/transcript don't support (a tests_pass that never ran or ran red, a file not in the diff, a symbol not defined); UC (undeclared change) — a changed file no claim covers; NC (no contract) — a missing/invalid manifest on a code turn. Declared deferred items surface as the agent's own set-aside. Opt out with GROUNDTRUTH_CONTRACT=0.USING(true) policies, and project rules compiled from your docs (CLAUDE.md / skills) that were in context but broken anyway./groundtruth-audit inventories it repo-wide.A verdict card is written to .claude/groundtruth/<session>.md each turn. With GROUNDTRUTH_BLOCK=1 a fixable block-severity catch (a contract CA; a built-in secret/RLS/.env; or an NC — no manifest — once the repo is contract-aware, i.e. /groundtruth-setup has written the instruction) halts the stop, hands back a corrective (for NC, the schema itself), and re-checks (retry cap 2, then escalates — never wedges); otherwise it's warn-only.
Commands:
/groundtruth — show the latest verdict card/groundtruth-audit — whole-repo deterministic debt scan/groundtruth-rules — review + approve the rules compiled from your docs (the permission gate)/groundtruth-rules-ai — opt-in model pass that proposes richer rules (routed through the same gate)/groundtruth-block on|off — turn block mode on/off (default: warn)/groundtruth-setup — one-shot installer: writes the contract instruction, arms clean rules, badge/env/groundtruth-help — thisThe honest ceiling: Groundtruth verifies the agent did what it said, not that what it said was right. Mechanics, not semantics — correctness still needs a test or a judge.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Generated from the plugin's indexed repository (akahkhanna/groundtruth) — no native marketplace selected
npx claudepluginhub p/akahkhanna-groundtruth7 commands in this plugin
/groundtruthShow Groundtruth's latest verdict card for this session/groundtruth-auditGroundtruth AuditGroundtruth: whole-repo debt scan (stubs, no-ops, phantom refs, secrets, RLS-off) — findings, not a verdict/groundtruth-block`off` or emptyTurn Groundtruth BLOCK mode on/off (default: warn). No settings.json edit needed./groundtruth-rulesGroundtruth RulesReview the rules Groundtruth extracted from your docs and approve which to arm (the permission gate)./groundtruth-rules-aiGroundtruth — AI rule extraction (opt-in; not on by default)Opt-in (NOT default): fan out an agent to read your rule docs and PROPOSE richer Groundtruth rules beyond the literal `X` not `Y` forms. Routed through the same grounding + /groundtruth-rules approval gate — nothing arms, and the model runs only when you invoke this./groundtruth-setupGroundtruth SetupOne-shot Groundtruth setup check — detects what's configured and hands you the exact actions for the rest.