Claude Code logo
Claude Code template
jurniti.com

Agent Claim vs Diff Gate

Code review gate for AI agent PRs: compares the PR body to the real git diff and flags hallucinated claims like 'tests pass'. You keep the merge button.

NewNew8.0 KB snapshotStarter VM

What's inside

Harness

Claude Code

Plan

Starter

vCPU

1

Memory

2 GiB

Snapshot

8.0 KB

Setup prompt + walkthrough

The Agent Claim vs Diff Gate setup prompt + walkthrough

Paste this into any capable agent and it walks you through the connections, the trigger, and a supervised first run — the whole setup, in your own words. Or skip the setup and run this exact agent hosted.

Set up an agent for me, in its own chat, that does the work of a Agent Claim vs Diff Gate. Work from the files and facts I actually give it, rank what matters by impact rather than by how many items it found, and stop short of sending, filing, posting, or changing anything live unless I ask for that in the same run. Walk me through connecting Anthropic. Have it run whenever I hand it the work, and every weekday morning on whatever I left unfinished. Ask me where the source material lives, who should receive the output, and what good enough looks like for a first pass. Run one pass while I watch, then save it.

Already built, running in ~3 min · 30-day money-back on first purchase

How it works · ~3 minutes

  1. 01 · Fork

    New isolated microVM on your subdomain — creator agent state included.

  2. 02 · Your keys

    Log into Claude Code with your own model credentials (BYOK).

  3. 03 · Ask it to work

    Open the terminal and give the agent a real job. You keep what ships.

Example first ask

Pull my open PRs, summarize risk, and draft a review checklist.

30-day money-back on your first purchase · no free trial · keys never leave the VM

About this template

The git diff is ground truth. Claims are suspects.

If you review AI agent PRs and have ever caught a confident "all tests pass" that turned out to be fiction, this template is your second pair of eyes.

Coding agents invent confidence. The PR body says refactored and tested; the diff says three files changed and no test was touched. This fork treats the git diff as ground truth: it reads the PR body or chat summary, reads what actually changed, and lists every claim the diff does not support.

When it cannot verify a claim, it says UNVERIFIED. Fail-closed, not benefit of the doubt.

How this code review gate works

  1. Fork the template and sign in to Claude Code.
  2. Optionally export a GH_TOKEN so it can run gh pr diff against remote PRs.
  3. Paste: Compare the PR body to the diff. List hallucinated claims.
  4. Drop the mismatch list straight into your review comment.

You still read the diff. You still decide the merge. The gate just makes sure the summary never substitutes for the code.

What you get when you fork

  • The agent-claim-vs-diff skill, built around diff-as-ground-truth review
  • Fail-closed defaults in ~/vault/gate.md, tunable to your repo
  • A demo prompt that works on a local diff or a PR number
  • Your own copy in an isolated Firecracker microVM on your subdomain, running even when your laptop is closed

What you connect

Bring your own keys; they live only inside your VM:

  • Claude login or ANTHROPIC_API_KEY
  • Optional GitHub token, needed only for remote PRs

Who it's for

You, if agents write a lot of your PRs and you refuse to rubber-stamp green checks alone.

Not you, if you already trust agent summaries without reading the diff. This template will keep disagreeing with you.

Fork it

$25+/mo, 30-day money-back, no free trial. Fork it - your copy boots in about 3 minutes, in time to check your next agent PR before you review it.

Part of the Software Factory collection.

Inside this fork

Forking copies this template into a brand-new, fully isolated microVM on your own subdomain. Here's exactly what lands in it.

  • Claude Code agent

    The upstream harness, pre-installed — same version the creator ran.

  • Starter VM

    1 vCPU · 2 GiB RAM · 10 GiB disk.

  • Creator's /persist data

    The captured persist volume is copied byte-for-byte into your fork.

  • BYOK — your keys, your VM

    Add your model API keys after forking; they live only inside your microVM.

What this agent can do

1 skill

  • agent-claim-vs-diff

What you'll configure after forking

Secrets are scrubbed from shared templates — these are the names you supply in your agent's terminal once it boots.

Environment variables

  • ANTHROPIC_API_KEY

Your turn

Your own Agent Claim vs Diff Gate, live in about 3 minutes.

Copy the setup prompt and build it yourself — or let this exact Claude Code agent run hosted, already built, on a brand-new, fully isolated microVM on your own subdomain. Add your own keys after it boots; they never leave the box. Don't love it? Your first jurniti purchase comes with 30 days to get every cent back.

New paid VM · BYOK · 30-day money-back on your first purchase · ~3 min to provision

Needs 1 of your own API key