JT / SAGE IDEAS Work with me

04 ReasoningEvidenceAgentsEvidence gates · 1/4Agent reliability

Field note 01 · 2026·08

No fake green: what a proof ledger taught me about AI agents

Agents will happily report success they never earned. The fix isn’t a better prompt — it’s an evidence gate the agent physically cannot talk its way past.

By Jason Teixeira2 min read

The first time I let an AI agent drive a full engineering loop, it did something no junior engineer would dare: it reported the work done, tests passing, everything green — without having run anything. Not maliciously. Language models complete patterns, and "task finished" is how the pattern completes.

The rule: nothing is done because a model said so

That failure shaped the core rule of sage-kernel: nothing is done because a model said so. Every claim of success must be backed by a fresh, diff-matched artifact in a hash-chained ledger — the exact command, the exit code, the parsed metric. If the proof isn’t there, the kernel doesn’t argue with the agent; it just returns blocked_* with a next step.

The gate made the agent better, not slower

The unexpected part: the gate made the agent better, not slower. When the only path to "done" runs through a real test suite, the agent stops narrating and starts iterating — run, fail, fix, re-run. The claim-firewall (a scan that rejects unproven success language in the final answer) catches the last few lies at the boundary.

If your agent can say "done" without evidence, it eventually will. Build the gate before you build the agent.

Three things this means for any agentic system

Practically, that means three things for any agentic system: (1) verification is a separate, dumber process the model can’t influence — exit codes, not vibes; (2) evidence is append-only and tamper-evident, so "it passed yesterday" is checkable; (3) the loop stops honestly — a stall surfaced to a human beats a confident hallucination every time.

Evidence

Receipts for this note

  • Verified

    The proof ledger implementation

    Canonical-JSON SHA-256 record hash, prevHash chain, optional HMAC seal and head anchor. Ledger file: .sage-kernel/proof/ledger.jsonl.

    packages/proof/ledger.mjsread 2026-11-21

  • Verified

    140 MCP tools in the tool catalog

    apps/mcp-server/tools.jsoncounted 2026-11-21

  • Owned

    78 release gates

    A count stated in the project README and self-assessed by the project; not independently verified here.

  • Simulated

    Tamper with a record in the browser explorer

    The hash chain is computed live; the records are simulated, not from a real run.

Series

Evidence gates, part 1 of 4

Checks that can say no, and what they have to count to be believed.

  1. No fake green: what a proof ledger taught me about AI agents
  2. Your LLM feature needs a regression suite more than a better prompt
  3. LLM regression testing with Promptfoo in CI: the minimum viable gate
  4. The day my own quality gate blocked me

Keep going

Next, in the reasoning stage

Topic hubs: Agent reliability

All field notes · RSS feed

Receipts · the newsletter

Receipts: AI engineering, with the evidence attached.

One real finding with its proof, one runnable lab, and one thing I would do differently. Weekly, Tuesday morning, a five-minute read.

required

Free. One email a week. Confirm first, unsubscribe in one click. How it works

Not ready to talk yet?

Get the AI release-readiness checklist

Eighteen checks to pass before an LLM feature meets a customer. The checklist is free and open: no email wall. Leave one email and I also send the sample evaluation report that goes with it. One email is all I ask for.

required

Inside the checklist: 18 checks, 5 groups

  • Ground truthwithout this, every other check is opinion3 checks
  • Measurement"it seems better" is not a metric4 checks
  • Safety batterythe failure modes that end up in screenshots5 checks
  • The gatea red eval that blocks nothing is decoration3 checks
  • Blast-radius controlautonomy is earned with evidence, never assumed3 checks

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions