The problem
A small company with a large codebase has a staffing problem that hiring does not solve quickly. At Mogean we had a monthly data product, a storefront, a public website and a cloud pipeline, and a handful of people. AI coding agents could write the code. What they could not do, left alone, was be trusted.
An agent that writes a change and then reports that the change is good has told you nothing. The question was how to get the speed without giving up the checking.
What I built
A fixed process that every change goes through, whether it is a feature, a fix or a refactor.
- One builder. A single agent gets a written brief and builds the change on a branch, with tests.
- Two independent reviewers. Each reviews the code without seeing the builder’s reasoning. The second reviewer runs on a model from a different vendor, so the two are less likely to share blind spots.
- One push. Findings are fixed before the change is pushed, so continuous integration runs once on a candidate that has already been reviewed twice.
- Human gates. A person approves the merge. Anything irreversible, anything touching access rights, and anything that spends money stays with a person.
The rules matter as much as the roles. Reviewers get the code and not the conclusion. A builder cannot approve its own work. A red build is never stacked on.
What happened
In the first four weeks the process ran 254 times. The median change took 42 minutes end to end: 25 to build, about 4 to review, about 10 to finalize.
Reviewers flagged 64 findings as blocking, 817 as should-fix and 1,513 as minor. Blocking findings are the ones that would otherwise have landed on a human reviewer, or in production.
I then reviewed the process itself with the same discipline, using the run records: where time went and which review comments led to changes. That produced a second version with a cap on minor findings and a scripted check before any push.
What I took from it
Agents do not remove the need for engineering management. They move it. The work becomes writing clear briefs, designing the checks, and deciding which decisions a machine may make alone. Teams that skip that step get speed and then lose it again to rework.