Generator instance
Writes the change from the specification, the requirements, and the constraints. It does not guess the intent. It follows the brief the developer confirmed at the intent seat.
A research series on putting a human in the loop when AI writes code and AI reviews code.
AI code tools can write a change fast. They can also introduce bugs that a tired reviewer misses. This series presents a model that keeps a human in the loop on both sides: a generator instance that drafts the change from the specification, and a reviewer instance that checks the pull request against a standards catalogue. The developer confirms the intent before the generator starts and decides the findings before the merge.
Two separate AI instances work on the same pull request, each with a defined duty.
Writes the change from the specification, the requirements, and the constraints. It does not guess the intent. It follows the brief the developer confirmed at the intent seat.
Checks the pull request against the standards catalogue: specification conformance, Clean Code maintainability, ISO/IEC 25010 review questions, named security issues, and tests of the claimed requirements.
The developer holds two seats. Both are mandatory.
Before the generator starts, the developer confirms the specification, the requirements, and the constraints. The generator works from this confirmed brief, not from a vague prompt.
After the reviewer instance returns its findings, the developer decides each one: accept, reject with a reason, or override with a documented justification. The merge happens only after this decision.
The reviewer instance checks the pull request against five entries.
AI code tools change the speed of development. They also change the risk profile.
Peng et al. found that developers using AI coding assistants completed tasks 55.8% faster than those working without them.
Uplevel Data Labs found a 41% higher bug rate in code written with AI assistance, showing that speed without review introduces risk.
When the reviewer finds issues, the cycle continues with four stops.
Download the full publication series (PDF):
This site can record a first-party visit count (VisitorTrack) with your IP, browser, and page path so we can see which countries use the site. No advertising network is involved. Essential pages work without it. Privacy policy.