Assurance and governance

Validation Gate

A Claude Code Stop hook that refuses unverified "done" claims from an AI coding assistant.

Status, in the repository's words: Released. The 0.3.x line is the current one and receives security fixes.

Repositorybulletproof-validation-gate
OwnerBulletproofSoftwareAI
Version0.3.12
In suite v1.0.00.3.12, tagged 2026-11-14
Released2026-11-14
LicenseApache-2.0

What it is

A Claude Code plugin with two hooks that catch an assistant's completion claims and send them to a judge model.

The judge's only job is to disprove the claim. If the claim lacks evidence a user could observe, the turn is blocked and the assistant has to produce proof.

It is an advisory quality control, not a security boundary: it exists to stop an assistant from claiming "done" without evidence.

It is not a linter, test runner or CI gate: it judges the claim, not the code.

What it does today

What it ships

What it needs

Install

Copied from the repository's README. This site has not run these commands.

ollama pull llama3.2:3b      # the default: small and fast
ollama pull gemma4:26b       # recommended for real protection (about 17 GB)
/plugin marketplace add BulletproofSoftwareAI/bulletproof-validation-gate
/plugin install validation-gate@bulletproof-validation-gate

Limits and known issues, as the repository lists them

As listed on branch main of BulletproofSoftwareAI/bulletproof-validation-gate on 2026-11-30, commit a956273: newer than the version described above.

  • The auto judge setting does not guarantee data stays on your machine: when no Ollama model answers and the claude CLI is logged in, it sends the claim and excerpt to Anthropic.
  • Verdicts are model output and are not guaranteed correct in either direction. A pass is not an assurance that the work was actually completed.
  • It does not protect against an assistant that avoids completion language, rephrases around the patterns, or simply stops mid-task.
  • The small default model, llama3.2:3b, judges poorly: it leans toward failing claims and sometimes replies with text that is not JSON.
  • Long final messages are not sent whole to the judge, so evidence that sits only in a left-out part is not seen.
  • With the optional second-opinion check switched on, the transcript excerpt is passed on the command line, where other local users can read it in the process list while it runs.

Works with

Governance Plugin: The governance plugin carries a pinned copy of stop_chain.py, which this repository owns.

Documents in the repository

Source code

Where each statement on this page comes from

Read from BulletproofSoftwareAI/bulletproof-validation-gate, branch main, commit b2a0d39; the limits and known issues from BulletproofSoftwareAI/bulletproof-validation-gate, branch main, commit a956273, read on 2026-11-30. File and line for each statement:

  1. A Claude Code Stop hook that refuses unverified "done" claims from an AI coding assistant. README.md:3
  2. Released. The 0.3.x line is the current one and receives security fixes. SECURITY.md:9
  3. 0.3.12 .claude-plugin/plugin.json:3
  4. 2026-11-14 CHANGELOG.md:8
  5. Apache-2.0 README.md:413
  6. A Claude Code plugin with two hooks that catch an assistant's completion claims and send them to a judge model. README.md:11
  7. The judge's only job is to disprove the claim. If the claim lacks evidence a user could observe, the turn is blocked and the assistant has to produce proof. README.md:13
  8. It is an advisory quality control, not a security boundary: it exists to stop an assistant from claiming "done" without evidence. SECURITY.md:51
  9. It is not a linter, test runner or CI gate: it judges the claim, not the code. docs/OVERVIEW.md:92
  10. Scans the final message of each turn for completion words such as done, fixed, resolved and deployed; with no match the turn passes straight through. README.md:36
  11. Sends the claim and the end of the transcript to the judge with a prompt that asks it to find evidence the claim is unsupported, not to confirm it. README.md:39
  12. A claim passes only if it has a concrete subject and cites observable evidence that matches it, or if it marks itself as pending verification. README.md:42
  13. On a fail verdict the hook returns a block decision, so the assistant must produce the missing evidence before finishing. README.md:45
  14. Judges a subagent's report before the orchestrating agent can relay it, with a stricter bar that asks for checkable citations. README.md:17
  15. The judge can be a local Ollama model, a Claude subscription through the claude CLI, the Anthropic API, or any OpenAI-compatible endpoint. README.md:21
  16. By default it uses Ollama when it is running with the model pulled, otherwise the logged-in claude CLI, and it never picks a metered API on its own. README.md:24
  17. With the judge set to Ollama, the only network call either hook makes is to the Ollama endpoint. README.md:27
  18. When the judge is unreachable, times out or gives an unreadable answer, the main gate blocks the claim by default; a setting lets such claims through instead. README.md:212
  19. Writes every verdict to a private verdict directory and adds a log line. README.md:47
  20. Stop hook (completion_claim_gate.py): judges the main session's final message. README.md:16
  21. SubagentStop hook (subagent_completion_gate.py): judges a subagent's report. README.md:17
  22. stop_chain.py: decides whether a continuation after a block was caused by this gate or by a sibling gate. README.md:406
  23. A single-plugin marketplace file, used when adding the plugin through the plugin marketplace command. docs/OVERVIEW.md:106
  24. install.sh and settings.snippet.json, for registering the hooks by hand or under managed settings. docs/OVERVIEW.md:108
  25. A unit test suite and the test_gate.sh smoke test. docs/OVERVIEW.md:109
  26. Python 3.9 or later, standard library only. README.md:385
  27. macOS or Linux; Windows is not supported. README.md:386
  28. Claude Code, which fires the hooks and honours the block decision. docs/INSTALL.md:15
  29. A judge backend: a local Ollama, or the claude CLI logged in with a Claude subscription, or an API you opt in to. docs/INSTALL.md:16
  30. The recommended Ollama judge model, gemma4:26b, is about 17 GB. README.md:337
  31. The auto judge setting does not guarantee data stays on your machine: when no Ollama model answers and the claude CLI is logged in, it sends the claim and excerpt to Anthropic. SECURITY.md:61 at a956273
  32. Verdicts are model output and are not guaranteed correct in either direction. A pass is not an assurance that the work was actually completed. SECURITY.md:76 at a956273
  33. It does not protect against an assistant that avoids completion language, rephrases around the patterns, or simply stops mid-task. SECURITY.md:75 at a956273
  34. The small default model, llama3.2:3b, judges poorly: it leans toward failing claims and sometimes replies with text that is not JSON. README.md:335 at a956273
  35. Long final messages are not sent whole to the judge, so evidence that sits only in a left-out part is not seen. SECURITY.md:56 at a956273
  36. With the optional second-opinion check switched on, the transcript excerpt is passed on the command line, where other local users can read it in the process list while it runs. CHANGELOG.md:24 at a956273
  37. The governance plugin carries a pinned copy of stop_chain.py, which this repository owns. README.md:408
  38. Install section of the README README.md:56

Bulletproof suite v1.0.0 pins tag validation-gate--v0.3.12, commit b2a0d39, tagged 2026-11-14.