By Shiv Kumar Bhasin, BFSI Industry Expert
The Management Myth
In management teams across the IT industry, a seductive arithmetic is doing the rounds. If AI can write code from a prompt, the logic goes, we need far fewer people who write code. Headcount plans get trimmed, pyramid ratios get redrawn, and investor decks promise “AI-led delivery” at a fraction of today’s cost.
It is an ostrich strategy. The head is buried in a demo, while the body of the business stays exposed to everything the demo leaves out: requirements that change mid-sprint, integrations that break at 2 a.m., regulators who ask who approved a change, and customers who don’t care whether a defect was written by a person or a model.
I have spent three decades building systems where failure is not an option: Financial Institutions that process billions of messages a day and maintain stability & resiliency of their systems. Not one of those outcomes came from writing code faster. They came from engineering: design, validation, testing, resilience and accountability.
AI is the most powerful tool software engineering has ever had. But a tool is not an engineer. Here is why the “AI will replace developers” story is a myth, and why believing it is one of the costliest mistakes a technology leader can make right now.
Myth 1: “Software engineering is writing code”
It never was. An IDC survey found developers spend only 16% of their time developing applications. The rest goes to writing requirements and test cases, security, CI/CD, performance monitoring and deployment. Even a survey mentioned in Sonar’s blog, which counts more generously, puts new code at under a third of the week, with more time spent maintaining, testing and securing existing code.
So even if AI wrote every line instantly and perfectly, it would compress one slice of the lifecycle. Understanding the business problem, designing the architecture, modelling the data, securing the system, testing it, deploying it, operating it and fixing it at 2 a.m. would all remain.
Fred Brooks made this point in 1986 in No Silver Bullet: the hard part of software is not typing it out, but the essential complexity of deciding what to build and making it work in the real world. Four decades and one AI revolution later, that complexity has not moved.
The evidence shows AI is shifting the work, not removing it. An Australian survey found 42% of developers now say AI writes at least half their code, up from 12% a year earlier. Yet 67% say they spend more time reviewing AI-generated code, and 52% spend more time fixing problems AI introduced. The time has moved up the stack, into work that needs more judgment, not less.
Myth 2: “AI-generated code is ready to ship”
The data says otherwise, and it comes from many independent directions.
Security: Veracode tested more than 100 models on the same 80 security-sensitive tasks. Its July 2026 found an average security pass rate of 56%, barely changed from 55% in its first report a year earlier. Its October 2026 update shows the first real improvement, to 62%, yet nearly four in ten tasks still produce vulnerable code. In organisations using these tools, Veracode estimates AI now writes roughly half of all committed code. The failure rate is roughly the same; the volume is far larger.
Maintainability: GitClear’s analysis of 623 million code changes from 2023 to 2026 found code-block duplication up 81%, error-masking constructs up 47% and two-week churn up 15%, while refactoring declined.
Trust: In Stack Overflow’s 2025 survey of 49,000+ developers, 66% named “AI solutions that are almost right, but not quite” as their top frustration. Only 3% highly trust AI output, and more developers actively distrust it (46%) than trust it (33%).
Productivity: In METR’s randomised controlled trial, experienced developers working on their own large repositories took 19% longer with AI tools, while believing AI had made them 20% faster. Tools have improved since early 2025, but the gap between perceived and actual speed is the lesson.
Delivery stability: Google’s DORA research found that, in 2024, every 25% increase in AI adoption came with an estimated 7.2% fall in delivery stability. Its 2025 report concludes that AI is an amplifier: it magnifies the strengths of high-performing organisations and the dysfunctions of struggling ones.
“Almost right” is the most dangerous kind of wrong. Obviously broken code gets thrown away. Plausible code gets merged.
The heart of AIDLC: no AI-generated line reaches main branch of source code without a human
The AI-Driven Development Lifecycle (AI-DLC), a methodology introduced by AWS, is often quoted as proof that AI now runs software development. Read the source and you find the opposite. Its core principle is AI-powered execution with human oversight: AI creates detailed plans, seeks clarification and defers critical decisions to humans. Its own workflow is summed up as “humans decide and validate, AI plans and executes”, and it warns that human in the loop is not a checkbox but the cornerstone of trust, accountability and correctness.
For financial services, AWS is blunter still: fully autonomous AI development is unreliable, unexplainable and incompatible with regulated industries.
In other words, the people who designed AIDLC built the human into its foundations. Organisations that adopt the tooling but drop the human are not doing AIDLC. They are doing something far riskier.
The non-negotiable rule: AI-generated code is untrusted input until a named human has validated it. No exceptions for small changes, urgent fixes or “the model is very good now”.
In practice, that means a human validation gate at every stage of promotion:
1. Before commit: the developer reads and understands every generated line, and can explain why it is correct, what it changes and how it fails. If they can’t explain it, it doesn’t get committed.
2. Before merge to main branch: a second engineer reviews the pull request, which is labelled as AI-assisted. The reviewer checks intent against requirements, not just syntax, along with edge cases, error handling and hidden dependencies.
3. Automated evidence, human judgment: static analysis, security scanning, licence checks and tests run on every change. But a human decides whether the evidence is enough. Tools inform the gate; they don’t own it.
4. Before promotion to higher environments: human sign-off that functional, regression, performance and security tests reflect real business scenarios, including tests the AI did not write for itself.
5. Before production: a change-approval decision by an accountable owner, with a rollback plan, monitoring and a clear answer to the regulator’s question: who approved this, and why?
AI does not change that accountability/due-diligence discipline. It raises the stakes, because the volume of change entering the pipeline is now far higher.
Own every line of code
This is the cultural shift that matters most. Developers are not just allowed to use AI code generation; they should, because the productivity gain on well-understood tasks is real. But the moment they commit AI-generated code, it becomes their code. They own every line: its correctness, its security, its performance and its maintenance for years to come. “The AI wrote it” is not an explanation that any customer, auditor or regulator will accept. Nor should any engineering leader.
The unending spiral: you cannot prompt your way out of code nobody understands
Now follow the “AI writes everything” logic to its end. AI generates the code from a human prompt. AI-generated code contains defects, as every study above shows. So someone must write a prompt to fix each defect. But to write a good fixing prompt, you must first understand what went wrong: the root cause, the side effects and the interactions with the rest of the system. That understanding is software engineering. If nobody in the organisation has it, the fixing prompt is a guess.
The AI patches the symptom, introduces two new subtle issues, and the cycle repeats. Brian Kernighan warned decades ago that debugging is twice as hard as writing a program. Apply that to code that no human wrote and no human has read. Each loop adds duplication, error-masking and patches upon patches, exactly the patterns GitClear is already measuring. The result is comprehension debt: a codebase growing faster than anyone’s ability to understand it. Eventually even the AI cannot reason about it reliably, because a model is only as good as the context it is given, and the context is now a tangle.
This is not a hypothetical risk for a bank, an insurer or an exchange. A production incident in a system nobody understands is not a defect. It is a crisis, with customers, regulators and the board watching.
An honest caveat
Breaking the myth does not mean nothing changes. Stanford’s Digital Economy Lab found that early-career workers aged 22–25 in the most AI-exposed occupations, software developers among them, saw a 16% relative decline in employment, while experienced workers in the same roles held steady or grew. AI is replacing tasks, and junior roles feel it first.
That is precisely why the ostrich strategy is so dangerous. Cut the junior intake today, and in five years you will have no mid-level engineers who learned the craft by reviewing, debugging and owning code.
You will have more AI-generated code than ever, and fewer humans capable of validating it.
What leaders should do instead: pull your head out of the sand
1. Make human validation a hard gate, not a guideline. No AI-generated code merges to main or moves towards production without named human review and sign-off. Build it into the pipeline so it cannot be skipped.
2. Measure outcomes, not lines of code. Track defect escape rates, change failure rates, time to restore, security findings and maintainability, alongside throughput. Lines generated is a vanity metric.
3. Reinvest the productivity gain in quality. Use the time AI saves on boilerplate for better design, stronger tests, threat modelling and paying down technical debt.
4. Redesign roles, don’t remove them. Engineers become designers, reviewers, validators and system owners. Make code review and debugging core, rewarded skills.
5. Protect the talent pipeline. Keep hiring juniors, and train them to review and own AI-generated code. Tomorrow’s validators are today’s apprentices.
6. Invest in the foundations AI amplifies. DORA’s evidence is clear: strong platforms, version control, testing and review practices decide whether AI accelerates you or accelerates your problems.
7. Make accountability explicit. Every change in production should trace to a human owner who understood it. Your regulators will ask, and “the model did it” is not an answer.
The bottom line
AI will not take away software engineering. It will take away software engineering without understanding, and the organisations that confuse the two will learn the difference in production.
The winners of the AI era will not be the companies that generate the most code. They will be the companies whose engineers understand, validate and own every line that ships.
Over to you: is your organisation treating AI-generated code as trusted output or untrusted input? And who, by name, signs off before it reaches production?
–This article is the personal view of the author