AI Coding Agent Verification: Done Means Passing Tests
How to verify AI code before you merge it. GitHub Next's PDD Kit and Codenotary's AgentMon Live show why done should mean test output, not a chat message.
AI coding agent verification means you accept an agent's code because of evidence, not because it said "done." The basic evidence is the real test command and its output. Better evidence ties those tests, or a proof, back to what you asked for. Two releases this month show the industry moving in that direction.
On 9 November 2026, Codenotary released AgentMon Live, a free, open-source monitor for Claude Code that, in its own words, "checks Claude's work before it says 'done'." Earlier in November, GitHub Next and Microsoft Research published PDD Kit, a research prototype for "building trust in the code that your agents wrote" with formal proofs plus tests.
What is AI coding agent verification?
AI coding agent verification is checking that agent-written code meets your requirements using something you can inspect. That can be test output, a proof checked by a tool, or a review of the change against a written spec.
The key word is evidence. A coding agent can write a confident summary of work it did not finish. A test log, a failing build or a proof checker cannot be talked around in the same way. Verification moves the question from "did the agent say it worked?" to "what shows that it worked?"
Why is "done" from an AI agent not enough?
GitHub Next's PDD Kit write-up lists the problems clearly. It says plans are not binding: "However good your plan is, the agent doesn't have to follow it." It says tests check what was built: "The agent writes the tests too. Those tests tend to pass for the code it wrote, not the code you meant." And it says line-by-line review gets much harder "when an agent ships a whole feature in one sitting."
It also warns about a newer trap it calls vibe verification. When a model writes its own formal spec, it "tends to find weak invariants," statements that pass but rule out almost nothing. In GitHub Next's words: "A green checkmark on the wrong spec is worse than no checkmark, because it looks like assurance."
For a business owner or a small team, the lesson is simple. An agent's message that it finished is a claim. You need a way to check the claim that does not depend on the agent grading itself.
What did Codenotary and GitHub Next release?
Codenotary AgentMon Live (9 November 2026). The AgentMon Live repository describes a live view of what Claude Code and its subagents are doing, what a session costs and when it needs you. Its "done gate" checks the session for unfinished work before Claude stops; the project's guide lists everything it checks. An optional second model call, which the README names Fable, "may check that every part of your request got an answer and that nothing you did not ask for got built." The README says the web view listens on 127.0.0.1 only, the gate can run with no model calls at all, and it needs Claude Code 2.1.308 or later. It is released under the Apache License 2.0. Codenotary also announced it in a Business Wire release.
GitHub Next and Microsoft Research PDD Kit (November 2026). PDD Kit stands for Proof-Driven Development. It asks you questions about what the code should do, records the answers in an "intent artifact," turns the parts that can be formalized into a specification in Verus (a proof language for Rust), and proves the agent's code meets it "for every input." Whatever cannot be proved gets tested instead. In its demo, the team verified the login logic of a roughly 5,000 line Rust web app from a two sentence request. GitHub Next is upfront that it is "a research prototype" and "only verifies Rust today."
The two releases sit at opposite ends. One is a practical gate on a tool many developers already use. The other is a research look at what stronger guarantees could look like. Both reject "the agent said so" as the finish line.
What is the difference between a test and a proof?
A test runs the code on chosen inputs and checks the result. A proof shows the code meets a written specification for all inputs.
PDD Kit draws this line on purpose. It calls proofs formal verification and tests empirical verification, and it says: "A passing test only shows the code worked on the inputs it tried, so PDD Kit labels it as evidence rather than proof."
Most teams will not write formal proofs this year. Tests stay the everyday tool. The useful habit to borrow is the labeling: know which of your guarantees rest on a test that sampled some inputs, which rest on a person's judgment, and which are simply trusted.
How do you verify AI code without reading every line?
You do not need a formal methods background to raise the bar. A practical routine:
- Define done before the agent starts. Write the outcome as checks: "the signup form rejects an empty email," "the export matches the old report for last month." This is your intent artifact, even if it is three lines.
- Ask for the real test command and its full output. Not a summary of the output. The command, the result and any failures.
- Read the tests, not just the result. Compare each test with your list from step 1. A requirement with no test is not verified, whatever the summary says.
- Check the diff for surprises. Files you did not expect to change, deleted tests or loosened checks deserve a question.
- Spend human review where bugs cost the most. PDD Kit's advice applies to any approach: start with sensitive areas "such as login, payments, or permissions."
- Keep the evidence. Save the test output with the change, so the next person, or the next agent, can see what was checked.
Can an AI agent check another agent's code?
It can help, with limits. AgentMon Live's optional advisor uses a second model to check that the request was fully answered. PDD Kit uses reviewer agents to "poke holes" in the formal spec and an LLM verifier to look for requirements with no proof and no passing check.
Notice what both keep. AgentMon offers a gate mode with no model calls. PDD Kit leaves the spec to people and the proof to a checker, not to a model's opinion. A second model is a useful extra reviewer. It is not a substitute for a test that actually ran or for your own sign-off on what the software should do.
How YardCrew fits
YardCrew is a free desktop app that runs a team of persistent AI workers on your own Mac or PC. Its rule for coding work matches the theme of this post. The features page states it plainly:
- Done means test output. A coding worker produces "repo changes that end in passing tests," and "a task completes only with the real test command and its output."
- A worker, not a chat thread. Where a chat thread "says done," a YardCrew worker "finishes with a file, a hash or test output."
- Its own folder and computer. The worker codes in its own folder. By default each worker runs in its own Linux container without your folders or sign-ins. Read what an AI agent sandbox does and does not cover.
- You can watch and stop it. A live computer view shows steps, commands, browser activity and files, and Stop ends the worker's tool actions at the broker, not just in the window.
What YardCrew does not do: it does not prove your code correct, and passing tests only cover what the tests check. Reviewing the tests against what you meant is still your job. For more on keeping people in the loop without drowning in prompts, see AI agent approvals without approval fatigue.
Honest limits: YardCrew is an alpha. It runs on Macs with Apple Silicon and macOS 26 or later, and on 64-bit Windows 10 version 2004 or later and Windows 11. Workers use your ChatGPT plan through OpenAI's Codex and count toward that plan's limits. They run only while your computer is awake. The worker container is a strong boundary, not a guarantee, and host mode is not a sandbox. The Mac app is signed and notarized by Apple, the Windows installer is unsigned, the source is not public, YardCrew Cloud is planned but not available, and YardCrew is not affiliated with OpenAI. See how YardCrew works, read the FAQ or download YardCrew free.
Coding agents will keep getting faster. The finish line should stay the same: a requirement you wrote down, a check that actually ran, and output you can read.
Sources
- agentmon-live, Codenotary on GitHub (README and repository metadata, last pushed 9 November 2026). Fetched 2026-11-10.
- Codenotary Releases AgentMon Live, Free, Open-Source Software to Improve AI Coding Productivity, Business Wire, 9 November 2026. Checked 2026-11-10.
- PDD Kit: Building trust in the code that your agents wrote, GitHub Next with Microsoft Research, November 2026. Fetched 2026-11-10.
- YardCrew llms-full.txt, YardCrew. Fetched 2026-11-10.
Frequently asked questions
What is AI coding agent verification?
AI coding agent verification is the work of checking that code an agent wrote does what you asked for, using evidence such as test commands and their output, proofs or review against a written spec, instead of trusting the agent's own message that the task is done.
Why can't I just trust the tests an AI agent writes?
Because the agent writes them for the code it built, not always for the result you meant. GitHub Next makes this point about PDD Kit: agent tests tend to pass for the code it wrote, and even good tests only sample a handful of inputs.
What is the difference between a proof and a passing test?
A formal proof shows code meets a written specification for every possible input. A passing test shows the code worked on the inputs it tried. GitHub Next's PDD Kit labels test results as evidence rather than proof for that reason.
How do I verify AI code without reading every line?
Write down what done means before the agent starts, ask for the real test command and its full output, read the tests against your requirements, check the diff for files you did not expect, and spend your own review time on the riskiest parts such as login, payments and permissions.
Does YardCrew check coding work before it finishes?
YardCrew says a coding task completes only with the real test command and its output, and the worker codes in its own folder. That is a record you can check, not a guarantee the tests cover everything you need, so you still review them.