There's a reason verification and code review shouldn't be done by the person who wrote the code, and those reasons don't magically go away because a code generation tool did it instead.
Of course, since AI will be doing the writing and maintaining, there's really no reason for that any more. Let the AI do it all and wait for management to realize they're paying senior salaries to people that are little more than entering prompts, a job that really only requires someone to be able to read and write English.
Also known as harness engineering and is written about by Martin Fowler, RedHat, and many senior graybeard architects. I was at the DDD conference in Denver a few weeks ago and there were discussions about extracting value from GenAI and harnesses were the happy path.
In my own works, I've been using a home grown harness called DevArch for about 10 months.
A not-insignificant portion of HN has full blown AI psychosis. These are the devs churning out Windows 11 and all of the inexplicably broken functionality that has started plaguing software we used to consider reliable in the past year.
You can make skills files all you want and have testing agents that evidently reduce need for revisions post deployment but it's not 100% and the more you don't understand what's going on because you didn't write it, the more complex the system is, especially if it's not all testable in a way that reduces risk, and especially in a security-relevant system or one that could have consequences to people the worse all of that is.
This is why those of us that follow DDD principles are successful. We know how to manage complexity whether we’re doing it manually or by using GenAI.
There are plenty of non AI security analysis tools we still use and add review gates for security gaps.
There is a huge misunderstanding about understanding the code. It implies knowledge of the classes, interfaces, and even internal logic.
If you design a modular system and generate code under strict rules, no one needs to know any of those things. We only need to understand the design and the results.
"If you design a modular system and generate code under strict rules, no one needs to know any of those things. We only need to understand the design and the results."
Speed replaces pragmatism by allowing design flaws to be refactored N times where in the past we’d design around tech debt.
DDD leads to modularity and smaller bounded contexts has a significantly lower risk of being incorrect and significantly higher ability to refactor quickly.
And no you still have to understand how to construct software. We’re just skipping the coding skills and pushing everyone to be architects.
Think embezzlement. Think someone with a political agenda who changes the homepage on the way out the door.
Having a single point of control is asking for trouble.