Store
Software Template

Verify Gate — Independent AI Review Before You Push

A working git pre-push hook and CLI (zero npm dependencies) that runs a second, independent Claude review pass on your diff and blocks the push on a bad verdict — for developers on Claude Code, Cursor, Windsurf, or Copilot who ship AI-agent-written code with no independent check today.

Created

Description

Rules files change how the agent that writes your code behaves; this is a standalone tool that checks the code after it's written, from outside the session that wrote it. verify-gate calls the Claude API directly from a git pre-push hook, reviews your diff against a six-failure-mode rubric (silent wrong assumptions, overbuilding, instruction drift, unrelated file changes, bad handoffs, honesty), and blocks the push if it finds a real problem — the same independent-audit pattern this store's own build pipeline runs on itself, packaged to run on your repos. Includes the installer, the full rubric as an editable system prompt, and a config file for your own base branch, model, and exclusions.

What's included

  • bin/verify-gate.js — the CLI (install / uninstall / check commands)
  • src/lib/git.js, config.js, anthropic.js, hook.js — diff detection, config loading, the Claude API call, and safe git-hook install/uninstall
  • rubric/default-rubric.md — the actual system prompt used for review, plain Markdown, edit it for your stack
  • package.json — zero dependencies, Node 18+ only
  • .env.example — required and optional environment variables
  • README.md — setup, configuration reference, and an honest limitations section (fail-open vs strict mode, token cost, data-sharing caveats)
  • LICENSE — MIT

Delivery

Instant download after Stripe checkout. File: nightforge-verify-gate-cli-v2.zip