Stop your AI agent from saying "deployed" without proof

4 min read · For developers who ship with Claude Code

TL;DR: Coding agents say "it's live" before anyone checked. ThumbGate's deploy-proof gate is a Claude Code Stop hook: if the reply claims a deploy and shows no proof from production, Claude Code hands the reply back to the agent with instructions to run the check and paste the output. It is on by default in ThumbGate 1.43.1 and later.
Terminal: the agent says the login fix is deployed and live. ThumbGate's Stop hook blocks the reply because it shows no proof from production. The agent runs curl against the /health endpoint, pastes the JSON with version and buildSha, and the Stop hook allows the reply.
The block message and the allow are the real output of thumbgate claim-stop-check on 25 Nov 2026, and the JSON is a real /health response from thumbgate.ai. The terminal frame is redrawn for readability.

The failure it targets

An agent merges a PR and writes "Deployed, it's live." The deploy is still building, or it failed, or it went to the wrong service. You believe it because the sentence sounds finished. We hit this ourselves: on 26 March 2026 an agent working on ThumbGate said "deployed" three times while the production container was failing to rebuild. The fix we used on our own repo is the hook this page describes, now generalized so any project can use it.

What it does

  1. When the agent finishes a reply, Claude Code runs the Stop hook that npx thumbgate init installs (thumbgate claim-stop-check). The ThumbGate Claude plugin runs the same hook.
  2. The hook looks for a deploy claim: "deployed", "shipped", "now live", "is live", "in production". It skips "not deployed yet", "once it is deployed", "will be live", and questions.
  3. It looks for a result in the same reply: a /health JSON snapshot, a buildSha or an HTTP 200, next to the production host, or a CI line you name, such as "Deploy verified". A curl command with no output is not proof, and a reported failure (connection refused, HTTP 5xx, "status":"error") cancels it. "Deployed to staging" is not a production claim.
  4. Claim and no proof: the reply is blocked once, and the agent is told to run the check and paste the output, or to say "not verified".

Set your production hosts

Without configuration, proof from any https host counts. To require proof from your real production host, add .thumbgate/deploy-proof.json:

{
  "hosts": ["app.example.com"],
  "sentinels": ["Deploy verified"]
}

Or set THUMBGATE_PROD_HOSTS=app.example.com,api.example.com. Turn the gate off with THUMBGATE_DEPLOY_PROOF_GATE=0.

What it does not do

Make "it's live" mean something

Install ThumbGate in a Claude Code project. The deploy-proof gate is on by default.

npx thumbgate init
Require proof before "deployed" npx thumbgate init Setup guide