Skip to content
MustHave.ai Musthave.ai
AI Tools

AWS opens Project C2 preview for AI-assisted code reasoning

AWS previews Project C2 for reliability bugs. Explore proof assumptions, retry failures and an original pilot framework, with company results clearly attributed.

AWS opens Project C2 preview for AI-assisted code reasoning
Rare interleavings require a precise property and an explicit account of assumptions.

AWS is opening Project Code Confidence, or Project C2, to selected customers. The approach pairs language models with automated reasoning to investigate failures that ordinary code review can miss.

In an announcement dated November 30, AWS describes a system for finding reliability bugs in concurrent and distributed software. The company says it has found more than 800 bugs across 22 open-source projects. That is an AWS-reported result; MustHave.ai has not audited the individual fixes.

The useful question for developers is what the system can establish about a particular property of their code. A mathematical result needs a clear statement of what it checks and which assumptions make it hold.

What AWS has announced

The primary announcement describes language models working with automated reasoning, including the Lean theorem prover. Access is limited to selected customers, with expansion planned. This is not a generally available tool, and the announcement did not set a public price.

AWS emphasizes rare failures involving concurrency, error handling, and distributed systems. It also distinguishes these reliability bugs from the security vulnerabilities usually associated with compromised systems or stolen data. The reported total should not become a headline claiming 800 critical security vulnerabilities.

That scope is commercially useful on its own. A failure that loses work or stops a service can matter even without an attacker. The remedy still depends on the actual bug, the deployed version, and how the system is used.

Why a normal run can miss the problem

Consider an illustrative job system. A worker performs an operation and then records that the job is complete. If the worker stops between those steps, another worker may retry the job without knowing that the operation already happened.

Whether the retry is safe depends on details the example has not supplied. The operation might accept an idempotency key. The completion record might share a transaction with the effect. A separate service might have its own deduplication rules.

A successful ordinary run does not settle those cases. It shows that one sequence completed under that run’s conditions. A concurrency investigation asks what other orderings are possible, including failures at inconvenient points.

This example is a reasoning exercise, not a bug found in an AWS product or a demonstration of Project C2. It shows the kind of precise question that makes a review more productive: can this logical job create the same external effect twice?

Write the property before choosing the tool

A request to “find bugs” leaves a great deal undefined. A narrower property gives reviewers something to challenge. For the illustrative job system, you might require that one accepted job produces at most one externally visible effect.

Then define the terms. What counts as an accepted job? What identifies it? Which effects are visible outside the system? How does a retry know that two requests belong to the same logical operation?

Illustrative interruptionQuestion to answerEvidence needed
Before the external operationCan another worker continue safely?Job ownership and retry rules
After the effect but before completion is recordedCan the retry repeat the effect?Idempotency or transaction boundary
After completion is recordedCan an old message restart the work?Deduplication and state transitions
During two overlapping attemptsCan both attempts believe they own the job?Concurrency and locking assumptions
Original failure-analysis example. These are proposed review questions, not Project C2 test results.

The table turns a broad confidence claim into a set of inspectable dependencies. A reviewer can disagree with an assumption or identify a missing state. That disagreement is useful before it becomes a production incident.

A proof needs an accurate model of the system

Automated reasoning can establish a property under a formal statement and its assumptions. The statement still needs to represent the behavior you care about. If the model omits an external service or assumes an operation is atomic when it is not, the result may answer a narrower question than the deployment needs.

For a preview evaluation, ask to see the property, assumptions, and code version associated with a finding. Where possible, retain a concrete failing sequence or test that demonstrates the issue. That helps the maintainer understand both the proposed fix and its limits.

Also inspect the relationship between the model and the deployed code. A proof over one revision should not be casually carried across a later rewrite. Keep the artifact tied to the revision and property that it actually checks.

This does not require every developer to become a theorem-proving specialist. It requires the organization to know what evidence it accepted. A short report identifying assumptions is more useful than a badge implying the entire application is correct.

Judge a finding by whether a maintainer can act on it

A useful bug report identifies the affected component and the conditions that trigger the failure. It should explain the expected behavior, the observed or derived failure, and why the proposed change addresses it.

A team evaluating Project C2 can use that standard without reproducing AWS’s aggregate bug count. Select code that the team understands well enough to review. Ask whether findings reveal a new defect, a known limitation or an assumption that does not apply to the product.

Track the outcome of each finding. A large number of reports can include duplicates, low-impact issues or items that cannot be reproduced in the relevant configuration. Count accepted fixes and their review effort alongside raw findings.

Do not infer independent confirmation from the company saying it shared fixes with maintainers. For a particular project, inspect the public issue or patch and the maintainer’s response before describing that defect as independently verified.

Use a bounded pilot with a rollback path

I would begin with a component that has a clear owner, an existing test suite, and a limited deployment surface. Preserve its current behavior and acceptance tests. Give the pilot a specific failure class to investigate, such as retries or concurrent updates.

Review suggested changes through the normal engineering process. A mathematically motivated patch can still alter performance, compatibility, or user-visible behavior. Record those tradeoffs instead of treating the suggestion’s origin as approval.

After accepting a fix, add an appropriate regression case where the problem can be represented in a test. Keep the proof or reasoning artifact as well. They can provide different evidence about the same change.

This is a proposed pilot structure. MustHave.ai has not used Project C2, run a proof, or reproduced the company’s benchmark. Public access and pricing remain questions to resolve with AWS.

Where this leaves teams building with agents

Project C2 expands the discussion beyond whether an agent can produce plausible code. It asks whether a precisely stated behavior can be checked across difficult conditions. That is a useful direction for systems where failure handling carries much of the risk.

For a small team, the first step is to write down the behavior that must hold when a request retries or two workers overlap. That work helps whether you later use automated reasoning, conventional tests, or a manual design review.

For a separate issue at the model-request boundary, see our Bedrock Gateway preview analysis. Stopping, retrying, or resuming a request needs an application-level policy as well as a spending control.

Which part of your application has the least clearly documented failure behavior: retries, concurrent updates, or recovery after an interrupted job?

Abdessalam Alaoui

I'm Abdessalam Alaoui, founder of Musthave.AI. I write practical guides to AI models, tools, generative media.

Join the discussion

Your email address will not be published. Required fields are marked *

Keep reading

All news