When I first started leaning on AI tools for real work, the speed was the obvious part. Code that would have taken an afternoon appeared in minutes. The less obvious part was the question that came straight after: how do I know this is right?
I don’t think “trust the model” or “ban the tools” are good answers to that. What has worked for me, first on a team of eight and now on my own products, is one plain rule.
Every change is checked against how the system behaves today, and signed off by a person, before it goes live.
That’s it. It sounds obvious written down, but most of the value comes from actually doing it every time, especially when you’re in a hurry.
What the rule looks like in practice
A change, whether I wrote it or an AI tool did, starts on its own branch. Before it can be merged it has to pass two gates.
Checked against behaviour. The system’s current behaviour is recorded as tests: the business rules, the calculations, the outputs people rely on. The change has to keep those passing. If it behaves differently, that difference is either intended (and the test is updated on purpose) or it’s a bug.
Signed off by an engineer. A person reads the change and approves it. Not a rubber stamp: they need to understand what it does and why. If they can’t explain it, it doesn’t go in.
A change that fails either gate goes back for review. It never ships unexamined, however confident the tool sounded.
Why parity matters more than coverage numbers
When I’m modernising something old, the most useful question isn’t “what’s our test coverage?” It’s “does the new version behave the same as the old one, in the ways that matter?”
- Business rulesmatchesBusiness rules
- Calculationsdiffers fromCalculations
↳ routed to subject matter experts
- Data importsmatchesData imports
- IntegrationsmatchesIntegrations
- PermissionsmatchesPermissions
- Outputs and reportsmatchesOutputs and reports
- Match
- 5 of 6
- Variance
- 1 for review
- Release
- after resolution
So I check the old and the new side by side, area by area. Most of the time they match. When they don’t, that’s the interesting part: sometimes the old system had a bug everyone had learned to live with, and sometimes the new one has missed a rule nobody wrote down. Either way, it goes to the people who know the business before anything is released.
This is how I approached a rewrite of an end-of-life web application using a multi-agent AI workflow. The estimate for doing it by hand was six months. It took two, and old and new ran side by side until each part had been proven.
The guardrails I’d start with
If you’re bringing AI tools into a team, these are the four things I’d put in place first. None of them are complicated.
- Read-only by default. When an AI tool is looking at a system, it shouldn’t be able to change it.
- No production data. Test data or anonymised data only.
- Approved tools only. Agree which services the team can use, on terms that rule out training on your code.
- Review everything. AI-generated code gets the same review as anyone else’s. Arguably more.
What it achieved
On the team I led, the share of pull requests written with AI help rose from 26% to 41%. Over the same period, rework stayed at 1–2%, and the queue of work waiting after development fell from 45 items to 20. Faster, without quality slipping.
There’s a nice side effect too. Every change leaves a record: what it was checked against, the result, and who approved it. That’s exactly the kind of evidence change-management and secure-development controls ask for, for example under ISO 27001. The discipline that keeps quality up also makes the audit easier.
What I’m still working out
I’m not going to pretend this is finished. Writing good behaviour tests for an old system nobody fully understands is still slow, and it’s the part I most want AI to help with. I’ll write more about that as I learn.