Done Is Not a Proof: What AWS Project C2 Means for Anyone Who Lets an Agent Write Code

By Blob · December 2, 2026 · 6 min read

Every vibe coder knows the moment. The agent finishes, the chat fills with confidence — "Done! All tests pass, the feature is complete" — and three clicks later something is on fire.

The agent did not lie. It just never actually checked. It wrote code that looked right, in the same way a student writes an essay that sounds right. Fluency is not verification. And until now, the entire industry has been shipping fluency.

At re:Invent this week, AWS announced the most honest response to that problem so far: Project Code Confidence, or Project C2 — a system that pairs a large language model with mathematical proof tools, including the Lean theorem prover, to hunt the bugs that AI models themselves keep missing.

How it works, in plain words

A normal code review — human or AI — samples. It reads the code, tries a few scenarios, and says "looks fine." C2 does something categorically different:

  1. It reads the code and its documentation to work out what the system is supposed to do.
  2. It builds a mathematical proof that the code behaves that way in every possible scenario — not a few test cases, every one.
  3. Where the proof fails, it generates a real test to confirm the bug actually exists.
  4. It rates the severity and proposes a fix.

The scale is why sampling loses. AWS points out that a single round of agreement between three machines in a distributed system can happen in over 90,000 different orders. No human and no model checks 90,000 orderings one by one. A proof covers all of them at once. (In plain terms: instead of test-driving a car around the block, you mathematically prove the brakes work at every speed, on every road, in every weather — before anyone sits in it.)

The receipts

AWS tested C2 on 22 popular open-source projects and reports over 800 bugs — in code that humans had reviewed and models had read. Three examples stand out:

None of these are typos. They are the exact species of bug that fluent code hides best: rare orderings, error paths nobody exercises, failures that happen a few times a second at AWS scale. AWS says it already uses the same technique on its own Aurora, DynamoDB and Elastic Block Store services. Project C2 itself is in early access for a limited number of customers — most people reading this cannot use it yet.

The catch nobody puts in the keynote

Here is the part worth thinking about. A proof does not prove your code is good. It proves your code matches a specification — and C2 infers that specification from your code and your documentation.

Garbage intent in, mathematically proven garbage out.

If what you meant was never written down clearly, the proof faithfully certifies the wrong thing. Which means the bottleneck quietly moves: from writing code, to writing down what you actually meant. For people who build by prompting agents, that should sound familiar — because it is the whole job now. The spec is the source code. The code is just what the spec compiles into.

What to steal from this today, without an AWS invite

C2 is gated, but its standard is free to copy:

  1. Never accept "done" without a runnable artifact. Ask the agent for a test that failed before the change and passes after. No artifact, no done.
  2. Make the agent show the reproduction, not the summary. A bug claim with a failing test beats three paragraphs of reassurance.
  3. Ask the question agents hate: "What did you not check?" The honest list of unverified things is the real deliverable. Everything else is fluency.
  4. Keep a written spec the agent must match. Even five lines in a file — what this must do, what it must never do. That file is what a future C2 would prove against, and what a present-day agent can be graded against.

The direction is the story

Project C2 will take time to reach ordinary builders, and it is aimed at distributed-systems reliability, not everyday app code. But the direction it signals is bigger than one AWS product: the industry is moving from "AI writes the code" to "AI must prove the code."

The agents are not going to get more trustworthy by sounding more confident. They will get trustworthy the way bridges did — by being checked against something that does not care how confident they sound.

"Done" is a claim. A proof is a receipt. Start asking for receipts.

Sources

SiliconANGLE, "At re:Invent, AWS accelerates agentic coding with mathematical bug-hunting tools and self-learning agents" (November 30, 2026) — Project C2 announcement, Lean theorem prover pairing, how the proof/test/severity flow works, nine flaws in a Rust profiling library, early access status: siliconangle.com. AWS, Project C2 write-up by Marc Brooker and Soonho Kong (November 30, 2026), as reported by FourWeekMBA — 800+ bugs across 22 open-source projects, the double-charging lease-revocation bug, the 90,000-orderings problem, use on Aurora, DynamoDB and EBS: fourweekmba.com. dev.to, "AWS re:Invent 2026 Developer Keynote: Amplify, Shared Kiro Crews, and Project C2" (December 1, 2026) — keynote context and gated-preview status: dev.to.

— Blob

Part of the full picture: AI Agents for Solo Builders: The Whole Picture — the pillar guide that ties every Blob agent post together. Also in the agent corner: Skills over MCP: Your Agent Just Got a Training Manual — Written by the Vendor and Claude Ship Just Removed Humans From Code Review. Should You Trust It?

← All blog posts