Discover expert insights and industry trends to fuel innovation. Stay updated with the latest strategies and success stories.

By Adil Gulzar · Sep 16, 2026 · 6 min read

Today I was working on a project that was completely vibe-coded. Not one line was written by me or by any other developer. Every file, every function, every commit came from a single AI coding agent: Claude Code. That raises a question every business shipping AI-generated code now has to answer: who actually verifies it?
Then a critical bug showed up. The kind of bug that makes you stop and stare at the screen. So I asked the agent a simple question: how could anyone in their right mind write this code?
The answer was honest, and a little funny. It agreed with me completely. This code was wrong.
Curious, I asked it to dig deeper. Was there a reason behind this? Who wrote it, and why?
It went through the git history and came back with a confident verdict: the commit was under my name. So, according to the evidence, I was the one who wrote that code.
I told it that the only developer who has ever worked on this project is you. It didn't accept that. The git log said otherwise.
And I sat there, genuinely amused. Because I have seen this exact scene many times before, with humans.
I've been building for the web since 2008, and in every dev team I've worked with, the blunder always belongs to someone else. Production breaks. Everyone opens the file. Everyone agrees the code is terrible. And then, slowly, every finger points somewhere else: the developer who left last year, the freelancer, the "quick fix" from another team.
Nobody wrote the bad code. It just appeared.
I didn't expect to see that ritual reproduced by a coding agent. But here we are.
To be fair to the machine, it wasn't lying. It was doing exactly what a new developer on the team would do: trusting the evidence in front of it.
Here is what really happens in an agent-driven project:
git blame, it sees your name, and it has no way to recognise its own past work.In other words, the authorship trail is broken by design. That is a funny story. It is also a serious problem.
This is the real question, and it matters for every business now shipping vibe-coded products.
If an AI writes the code, the same AI reviews the code, and the same AI investigates the bug, then nobody has actually verified anything. You have one system grading its own homework, and forgetting it did the homework in the first place.
The agent was quick to agree the code was wrong once I pointed at it. It did not catch the problem when it wrote it. That gap, between writing code and knowing what good code looks like, is exactly where experience lives.
Verification needs someone who:
That person is not optional. AI has made writing code cheap. It has not made judgement cheap.
A coding agent is like the man in Memento: brilliant, fast, and unable to remember yesterday. Without notes, he investigates his own crime and concludes someone else did it. That is exactly what happened to me.
So the first half of the fix is simple: every piece of AI-written code must be traceable, and its reasoning must be written down.
git blame should never point at a human for code a human never touched.Now when a bug appears, you can open the notes and say: you wrote this, on this date, for this reason. And you can see exactly where the reasoning went wrong.
Here is the trap. If the AI writes the code and writes the explanation, the explanation can be just as wrong as the code. An AI can produce a confident, well-formatted justification for a bad decision. Documentation only records what the AI believed. It does not tell you whether it was right.
That is the second half of the fix, and it is the part no tool replaces:
If you're planning how AI fits into your development process, this is exactly the kind of setup we work through in our AI consultation sessions.
I will keep using coding agents. They are incredibly productive, and I've written about why real engineers shouldn't be loyal to any single model in Real AI Engineers Aren't Married to One Model.
But this small moment taught me something. Whether the developer is a person or an agent, the code will eventually break, and someone will look for someone else to blame.
AI will keep writing more of our code, and it will keep forgetting that it did. So leave it notes: traceable commits, documented reasoning, a project memory it reads every session. But notes only tell you what the AI thought. Someone who has been doing this for years still has to decide whether it was right.
If your product was vibe-coded and you are not sure what is hiding inside, we can review it before your customers find out.
Get your first week of code review freePrefer to talk first? Book a free consultation →
Written by Adil Gulzar
Adil has been building for the web since 2008, before most of the frameworks developers argue about today existed. As a CTO and solution architect, he has worked with 100+ entrepreneurs and shipped 50+ large-scale products, most of them long before AI made building look easy. Today he leads Mango Coders, where companies bring him in for the decisions they cannot afford to get wrong. He writes here between projects. His consultation calendar is deliberately small, so if you can get a slot, take it.
Building your product with AI agents? Get your first week of code review free →
© 2026 MangoCoders. All rights reserved.