Contents
Should you trust AI-written code once it's in production? Yes, but don't trust the code itself. Trust what checks it. AI code in production is reliable when tests, automated rules and a human sign off on every release. It becomes a liability when the only guarantee is "it seems to work."
I see it with the small businesses I work with. The tool writes in an afternoon what used to take a week, and then nobody can say whether the result is safe. This article puts numbers on the gap between what AI code promises and what it delivers, then walks through the safeguards that matter.
- 📉 Misleading reviews, 94% rate AI code as better, yet 78% see more incidents.
- ✅ Conditional trust, 48% of developers trust AI only when they can verify the output.
- 🏗️ Automated safeguards, tests, typing and review by a separate agent beat reading every line.
- 🎯 Clear verdict, yes in production, as long as you pay for verification, not generation.
Why AI code passes review, then breaks in production
AI-generated code scores higher than human code during review, then triggers more incidents once deployed. The gap comes from code that looks clean without being grounded in context. It compiles, it passes the existing tests, and it still ignores the business rules nobody ever wrote down.
What do the 2026 numbers say?
According to New Relic's State of AI Coding 2026 report, covered by nxlforge.com on 23 September 2026, 94% of technical leaders rate AI code as higher quality than human code at review time. Yet 78% report a rise in production incidents, and 82% suffered at least one major outage tied to AI code over six months. The survey, run by Hanover Research, covers 200 US technical decision-makers. The sample is small, but the direction is clear.
The same report notes that 86% of respondents see their senior engineers spending more time fixing code. New Relic calls this "agent debt": code produced fast, approved on the surface, then paid for in operations.
Why isn't review enough?
Because the volume has changed scale. According to Sonar's State of Code 2026 survey (more than 1,100 developers), AI already accounts for 42% of committed code, and respondents expect 65% by 2027. In the same survey, 96% of developers say they don't fully trust the functional correctness of that code, and only 48% say they check it systematically.
The codyweb.fr guide (January 2026) lays out the mechanism. AI doesn't know why a decision was made or what constraint weighs on the system. So a function that passes its unit tests can still bypass a business rule that was never formalised.
The danger isn't code that crashes straight away. It's code that almost works.
What developers actually do: conditional trust
Developers use AI coding tools heavily, but they only hand over what they can check. That's the best compass for a small business owner, because it comes from the people who live with the problem every day.
When do developers trust AI?
The Stack Overflow 2026 survey, published on 6 October 2026 (30,903 responses across 169 countries), is telling. Asked about trust, 48.0% answer "I trust it when I can easily verify the output," and only 6.6% hand it many tasks, including important decisions. Automated agent workflows involve just 26.2% of respondents, according to nxlforge.com.
In other words, the profession is adopting the tool while refusing to delegate anything it can't review. I share that stance: AI should augment a team, not create chaos.
Can you rely on perceived productivity?
No, and it's a trap for anyone managing a budget. METR's randomised trial (July 2025, 16 open-source developers, 246 real tasks), cited by lafabriquedunet.fr, found that developers took 19% longer with early-2025 tools, while believing they were 20% faster. The tools have improved since, but the lesson holds: a feeling of speed is never a substitute for measurement.
For scale, SemiAnalysis estimated in February 2026 that 4% of public commits on GitHub were co-authored by Claude Code. This is no longer a lab topic. It's everyday production.
How to build trust: the environment, not the review
Trust comes from surrounding the agent with automated checks, not from reading every line. A team that invests in its environment (types, tests, review rules) can let the agent produce a lot while keeping the error rate low.
What did the SpaceXSI team prove?
Lauren Tan, who works on Grokbot at SpaceXSI, presented at AI Engineer the method behind 3,000 merge requests shipped to production in one month, many of them while she slept. Her thesis comes down to one word, trust, "not blind trust, but an investment in the agent's environment." It took her six months to get there.
Her pyramid puts deterministic checks at the bottom (API architecture, linters, type systems, compilers, tests), then formal or runtime verification, and only at the top, natural-language instructions (agents.md files, rules). The order matters. An instruction can be worked around. A compiler can't.
What does a simpler software factory look like?
The ZazenCodes channel, which demonstrates a "software factory" with Claude Code (Opus and Sonnet 5.5), offers the accessible version. One agent writes the spec, another builds the feature, then separate agents check security, UX, interface and code, looping until everything passes. The final step is still human approval.
IBM Technology sums up the security principle: AI code doesn't mean reliable code, so you need to "trust the output, not just the generation." A service can extract customer data correctly while having access to far more than it should.
| Safeguard | What it catches | Who sets it up | Effort |
|---|---|---|---|
| Automated tests | Regressions, forgotten business rules | Developer or AI expert | Low to medium |
| Types and linters | Formatting errors, inconsistencies | Developer | Low |
| Separate review agent | Vulnerabilities, interface inconsistencies | AI expert | Medium |
| Security review (permissions, leaks) | Excessive access, exposed data | Security expert | Medium |
| Final human approval | Drift from the business intent | You or your manager | Low, but essential |
SOURCE: cited transcripts (Lauren Tan, ZazenCodes, IBM Technology) · UPDATED 11/2026
What this means for a small business: my verdict
A small business has neither the size nor the need to replicate SpaceXSI's factory, but it can copy the logic: little code, lots of control. My position is that you pay for trust through verification, not generation, and the budget should follow.
Should you review every line of AI code?
No, and nobody manages it anyway. John Kim, an engineer at Meta, puts it bluntly: reviewing all the code that several agents produce is "almost impossible," and his answer to "should you review it?" is "it depends on the circumstances." I side with him. Review anything that touches money, access rights and customer data, and automate the rest.
Lauren Tan seems to argue the opposite ("all code is slop, except mine"), but her system proves the same point: she doesn't review, she constrains. So here's where I land. Human oversight stays at the centre, but placed where it's worth the most.
Where is the real bottleneck in a small business?
Often not in the code. INSEIL tells the story of an "Export to PDF" button coded in an afternoon and shipped three weeks later, for lack of review, a decision and a deployment slot. The Anthropic guide of 21 August 2026 it cites reaches the same conclusion: once writing code stops being slow, the bottleneck moves to everything around it.
For a small business, that boils down to three simple rules.
- A small, measurable use case, tested before it's expanded.
- Tests written before going to production, not after the first incident.
- A named person who approves every release.
Experience has taught me to start from one specific workflow, as in Claude Code: my verdict after 6 months with small business clients or in the method for building AI workflows integrated with your tools. An extreme example shows what's at stake: a business owner who can't code built his company's ERP, and what saved him was the verification framework, not the code.
When should you call in an expert?
As soon as the code touches customer data or payments, or if nobody in-house can read a test. A first meeting with an advisor listed by France Num, the French government's small business digital programme, can help scope things, and public funding mostly covers the diagnostic phase, as shown in funding AI in small businesses. If you'd rather have an AI expert build the idea with you, with a human checking everything and your accounts staying yours, you can describe your idea to AI First.
The same reflex applies to chatbots: a fluent answer isn't an accurate one, as the article on chatbot hallucinations and reliability for small businesses explains.
So the answer to the question in the title is yes, with conditions. You can trust AI code in production if it's surrounded by tests, automated checks and human approval. Without them, you're buying speed and paying for incidents.
Frequently asked questions
Is AI-generated code reliable in production?
It is when it's verified by tests, automated checks and a human. According to New Relic (2026), 78% of technical leaders have seen more incidents since AI code arrived, which shows that generation alone guarantees nothing. Reliability comes from the validation chain, not the tool.
Do you need to review all the code an AI writes?
No, that's unrealistic once several agents are producing code in parallel. Prioritise reviewing anything that touches money, access rights and customer data, and let tests and linters check the rest. In the Sonar 2026 survey, only 48% of developers systematically check AI code.
What are the risks for a small business using AI code without checks?
The risks are outages, security vulnerabilities, data leaks and growing technical debt. According to New Relic, 86% of respondents see their senior engineers spending more time fixing code. For a small team, that repair time costs more than the initial speed gain.
How long does it take to build a trustworthy environment?
It depends on your ambition. Lauren Tan, at SpaceXSI, took six months to automate up to 3,000 merge requests a month. A small business can start within a few days, with tests on the most sensitive use case and one person approving every release.
Can one coding agent review another agent's work?
Yes, and that's the logic of software factories: one agent builds, others check security, interface and code. The final decision stays human, as ZazenCodes' demonstration with Claude Code shows. This cross-review reduces the risk without eliminating it.
Vidéos YouTube
- All Code Is Slop (Except Mine) — Lauren Tan, SpaceXSI — AI Engineer
- How I Review AI Code - (Senior Staff Engineer) — John Kim
- Build Your Own AI Software Factory with Claude Code — ZazenCodes
- How Developers Secure AI-Generated Code: 5 Security Best Practices — IBM Technology and IBM Developer
Articles & ressources
- AI code: well rated in review, costly in production — nxlforge.com
- Stack Overflow 2026: AI trust depends on proof — nxlforge.com
- AI and code in production: trust, technical debt and best practices — codyweb.fr
- AI and code: developers' blind trust — lafabriquedunet.fr
- AI makes you code faster, not ship faster. Where's the bottleneck? — inseil.fr
