Agent software factory
AI agents write the code. Automatic checks and a reviewer decide what merges.
A hiring manager asks how AI-written code stays safe to merge.
One request, start to finish
I build software with a factory of AI agents. The agents write the code and its tests. Automatic checks and a separate AI reviewer decide what can merge, and I approve the plan and the final change.
This page follows one real request from the factory’s own work. When the reviewer skipped a change, stopped without a verdict, or checked only security, its message did not say which. Each case needs a different next step, so the request was: make the message say what happened and why.
An automatic check said no
The first version passed its tests and failed the style check (lint). The reviewer’s main file was already over the line limit, and the change made it 17 lines longer. The check does not let a file over its limit grow.
The fix moved one part of the reviewer, the plan for which concerns to check, into its own file. The behaviour stayed the same, and the main file got shorter.
The reviewer refused
The AI reviewer read the change and refused it. The change added a message that explains why a small, sensitive change got only a security review. No test checked that message, so a later edit could break it and nothing would fail.
A new test now checks that message. The second review approved the change, the merge checks passed, and the change merged.
A failure becomes a record
When the factory itself gets in the way, the failure becomes a record with an owner. On the same day, another change split one large test file into four without changing what the tests check. The style check then reported 15 problems, because its saved exceptions still pointed at the old file. The repair took 40 minutes.
That record is still open against the style check. It closes when the check keeps an exception when a file is split or moved, or names a supported way to move it.
- Status
- Open
- Open against
- Style check
- Change
- One test file split into four
- Reported
- 15 problems
- Repair took
- 40 minutes
Measured, not claimed
As of November 2026, 3,431 pull requests have merged in the factory’s repository. The factory has 72 automatic checks and runs the ones that apply to each change. 12 agent roles each have their own instructions, tools and limits.
The repository is private, so this page links no code. In a call, I can show redacted excerpts of the request, the check log, both reviews and the failure record.
- pull requests merged
- 3,431
- automatic checks
- 72
- agent roles
- 12