AI assistants now write Terraform modules, Helm charts and deployment scripts, and a growing number of teams let them review pull requests too. The next step looks obvious: let the pipeline generate, review and approve on its own. Six decades of software verification history, plus a handful of 2025 and 2026 studies, argue against it. Automated review is a useful filter. Approval of a production change still needs a named human who can answer for it.
The Spanish site redes-sociales.com recently traced that history from the 1968 NATO software engineering conference to today’s LLM-based code reviewers, and reached a simple conclusion: no tool has ever been able to decide on its own that a change is correct. This piece looks at what that means for the people who run production systems.
Key points
- Testing finds bugs; it can’t prove there are none. That applies to a
terraform planas much as to a unit test suite. - The first Space Shuttle launch was scrubbed by a “harmless” timing tweak made a year earlier to fix a different problem.
- Asking a model to keep improving its own code raised critical vulnerabilities by 37.6% after five rounds in one study.
- LLM reviewers fail in both directions: they reject correct code and approve buggy code, and they don’t flag which is which.
- Automated reasoning works well on narrow, precise questions such as access policies. High-risk changes still need human sign-off.
STS-1: a postmortem every ops team should read
On April 10, 1981, about 20 minutes before the first Space Shuttle launch, the backup flight computer on Columbia could not sync with the four computers running the primary flight software. The countdown stopped, and the launch slipped to April 12.
NASA’s John R. Garman wrote it up in the October 1981 issue of ACM SIGSOFT Software Engineering Notes. About two years earlier, a data bus initialization routine had been changed. Roughly a year before the flight, a delay inside that routine was lengthened slightly to avoid a CPU overload during flight control processing. That small change opened a 1-in-67 timing window: if the first computer powered up inside it, nearly all processing ran one cycle late. That computer was turned on about 30 hours before launch and landed right in the window.

If you have been on call, the pattern will feel familiar:
- The cause looked unrelated to the symptom. Nobody connected a bus initialization constant to the start-time calculation.
- Few tests started cold. Most simulations began from an already initialized state, much like staging environments that are never rebuilt from scratch.
- The bug had already shown up. One lab hit it about four months earlier, couldn’t reproduce it and wrote it off as a setup glitch.
For infrastructure teams the takeaways are concrete: test cold starts, rebuild environments from code on a schedule, and treat a non-reproducible failure as a lead, not as noise.
What the data says about AI reviewers
Three recent pieces of research set useful limits.
- Veracode, 2025 GenAI Code Security Report. Across 80 coding tasks and more than 100 LLMs, generated code introduced an OWASP Top 10 vulnerability 45% of the time. Java fared worst, with a failure rate above 70%.
- Shukla, Joshi and Syed (arXiv 2506.11022). They ran 400 code samples through 40 rounds of automated “improvements.” After five iterations, critical vulnerabilities were up 37.6%.
- Jin and Chen, University of Sydney (arXiv 2603.00539, February 2026). GPT-4o labeled 26.2% of correct HumanEval solutions as non-compliant. When asked to explain the problem and propose a fix, that rose to 73.2% on HumanEval and 87.9% on MBPP. On buggy QuixBugs programs, approval rates ranged from 2.5% to 40% depending on the model and prompt.
The results vary by model. Claude 4.5 Sonnet held its false rejection rate on HumanEval to 36% under the most demanding prompt, about half of GPT-4o’s. Both papers are preprints and some samples are small. Still, the direction is consistent.
Why this matters for pipelines
A CI step that tells a model to “fix whatever fails and try again” until everything turns green is close to the setup that made security worse in the Shukla study. And a reviewer that rejects good changes trains engineers to click past it, while one that approves bad changes fails silently. Neither behavior belongs in a merge gate.
Where automated verification does work
This isn’t a story of pure failure. AWS has used TLA+ specifications since 2011 to check distributed system designs. In DynamoDB, model checking found a data loss bug that had survived design reviews, code reviews and extensive testing; the shortest trace that triggered it took 35 steps. AWS’s Zelkova tool turns access policies into logic formulas and uses SMT solvers to check, for example, whether one policy is more permissive than another. It powers IAM Access Analyzer.

The difference is the question being asked. “Does this policy allow public access to the bucket?” has an exact answer. “Is this change correct?” depends on what the business needs, and that usually isn’t written down anywhere a machine can read.
A sane approval workflow
- A readable plan for every change.
terraform plan, a manifest diff or a dry run, reviewed before anything is applied. - Deterministic checks first. Linters, schema validation, static analysis and policy as code. Same input, same result, easy to audit.
- AI as a commenter, not an approver. Let the AI reviewer leave notes on the pull request, but don’t give its account permission to approve or merge.
- Risk-based human approval. Networking, IAM, secrets, databases and the pipeline itself require sign-off from a designated owner, enforced with CODEOWNERS and branch protection.
- Separate generation from approval. If an agent wrote the change, neither that agent nor another model gives final approval.
- Progressive rollout with a tested rollback. Canaries, staged percentages and a rollback you have actually rehearsed.
- An audit trail. Record who requested the change, which tool generated it, who reviewed it and who approved it.
Frequently asked questions
Can a bot approve an infrastructure pull request?
It can if you grant it the permissions. For risky changes you shouldn’t: recent studies show automated reviewers approve code with real bugs and give no signal when they are wrong.
Is AI code review worth having in CI?
Yes, as an early filter that surfaces issues for a person to look at. It shouldn’t block or approve on its own, and it should never run self-fix loops without human review between iterations.
Which changes should always get human review?
Permissions and IAM, network and firewall rules, secrets, database schemas, pipeline configuration and anything that touches customer data.
Sources: Garman, The “Bug” Heard ‘Round the World (ACM SIGSOFT SEN, 1981); Dijkstra, EWD249; Veracode, 2025 GenAI Code Security Report; Shukla, Joshi and Syed, arXiv 2506.11022; Jin and Chen, arXiv 2603.00539; Newcombe et al., How Amazon Web Services Uses Formal Methods (CACM, 2015); Backes et al., Zelkova (FMCAD 2018); NATO Software Engineering conference report, 1968.
