How do I gate a release on AI agent verification?
Gate the release on a check, not on a green badge alone: require a verifiable AER-1 receipt for the test and build steps, and block the release when the receipt is missing or does not match the saved result. In Zambo terms the pipeline wraps the key commands, files one receipt per finished command, and the release job verifies the set before anything ships. Pricing is simple if you need a paid day of it: the Day Pass is $0.99 USDC on Base for 24h, and the Zambo Pass is $29 for 30 days, one payment. A Lifetime Pass is $250, one payment for good. Wire the gate into your pipeline by adding Zambo to your AI.
The gate is mechanical, and November 16 supplied a live demonstration of its stopping shape. A two-step job ran clean, each step filing its receipt as it executed. The wrap-up call then hit the day's free limit and was refused, and the refusal filed a public receipt of its own. A release gate reading that job sees two verified steps and one recorded refusal, and holds. A gate fed only the agent's summary would have seen a job described as done.
Can CI check whether an AI agent actually ran the tests it claims?
Yes, if the test step leaves a receipt the pipeline can check instead of trusting the log. Wrap the test command with the AER-1 kit so a finished run files a receipt tied to the saved output, then have CI verify that receipt before the job passes, because a receipt proves the saved result was not changed, not that the code was correct. See how to verify a receipt in your pipeline.
The spot check that settles arguments is a canary: one test planted to fail on purpose. A real run reports it; a report of all green that never mentions the canary is a run that did not happen. The receipt chain makes the same check structural. CI recomputes each step's digest against its saved result and fails the job on a missing receipt, a mismatch, or a refusal receipt where a success was claimed. The November 16 job below carries all three shapes: two executed steps with receipts, and one refused call whose refusal is itself on the record.
The wrapper: fifteen lines
Install the aer-1 kit (zero dependencies, Node 18+), wrap the command you want to prove, save the receipts. This is the real API, straight from the kit's recorder:
// receipt-this-run.mjs
import { execFileSync } from "node:child_process";
import { AER1Recorder } from "aer-1";
const recorder = new AER1Recorder({ scope: process.env.GITHUB_SHA || "local" });
const [cmd, ...args] = process.argv.slice(2);
let output;
try {
output = execFileSync(cmd, args, { encoding: "utf-8", timeout: 600000 });
} catch (e) {
// A failed command mints no receipt: there is no successful result to commit to.
console.error("command failed, no receipt minted");
process.exit(e.status ?? 1);
}
const receipt = recorder.record(cmd + " " + args.join(" "), { sha: process.env.GITHUB_SHA || "local" }, output);
recorder.save("receipts.jsonl");
console.log("RECEIPT_ID=" + receipt.id + " >> $GITHUB_OUTPUT");
That prints the receipt id, which the next steps use to wire up the badge. The receipts land in receipts.jsonl, one canonical JSON line each, which anyone can re-verify with the same kit.
GitHub Actions: drop it in
One step runs your command through the wrapper, one step uploads the receipts as an artifact, one step writes the badge into the job summary so the proof sits next to the build:
jobs:
receipted:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 20 }
- run: npm install aer-1
- id: prove
run: node receipt-this-run.mjs npm test
- uses: actions/upload-artifact@v4
with:
name: receipts
path: receipts.jsonl
- run: |
echo "[](https://rambozambodotdev.gitlab.io/aer1-hub/badge/?receipt=${{ steps.prove.outputs.receipt_id }})" >> $GITHUB_STEP_SUMMARY
Green check means the tests passed. The badge means you can prove it, to anyone, without handing over your logs.
GitLab CI: same shape
receipted:
image: node:20
script:
- npm install aer-1
- node receipt-this-run.mjs npm test
artifacts:
paths: [receipts.jsonl]
expire_in: 1 year
The receipts artifact outlives the log. A year from now, "did this version pass" is still answerable by hash.
README badge: the viral part
This is where the receipt escapes your pipeline. Paste this at the top of your README, with your receipt id:
[](https://rambozambodotdev.gitlab.io/aer1-hub/badge/?receipt=YOUR-RECEIPT-ID)
Anyone who clicks lands on the live badge page, which shows the current verification state of that exact receipt and links to the full receipt for independent re-verification. Every repo that adopts it is a public, linked, verifiable deployment of the format. Full embed options, including a live widget, are on the receipt badge page.
The honest boundary
A CI receipt proves a specific command ran to completion with a specific input and produced a specific output at a specific time. It does not prove the command was the right one to run, the tests were meaningful, or the logic was correct. A repo can mint perfect receipts for a test suite that asserts nothing. Receipts prove execution, not judgment. Verify execution with the receipt, and keep reviewing the tests themselves.
Check one yourself
The live demo runs one real tool call and mints a real verifiable receipt, free, no signup. That is the same object your CI wrapper would mint.
Run it on a record instead
Reading about the record is one thing; having it under your own work is the point. Work run through the Zambo MCP endpoint at zambo.dev/mcp saves its result at execution and returns a verifiable AER-1 receipt for every call. The Day Pass is $0.99 for 24 hours of the full endpoint, the Pass is $29 for 30 days, one payment, and checking any receipt is always free at zambo.dev/verify.
Keep reading: track what my AI agent is doing in real time and can CI check whether an AI agent actually ran the tests it claims and verify an AI code change before merging.