Skip to content
b2craft
← Build log

Our AI-native development loop: what is automated, what stays human

Agents write most of our code. Here is what we check automatically, what a person always reads, and why we stopped promising line-by-line review.

By Buğra Güney3 min read

Most of the code we ship is written by AI agents. The first question engineering leaders ask is: who checks it? This is our answer, written down so we can be held to it.

The loop in four steps

  1. We decide. A senior engineer decides what to build, how it should work and how we will know it works. The last part matters most. The acceptance criteria are written before any code exists, because they become the tests.
  2. Agents build. Agents write the code and the tests. Several can work at the same time on different parts, each in its own branch.
  3. Everything is checked. Every change runs through the same checks: the test suite, type checks, and security scans for vulnerable dependencies and leaked secrets. A second agent, which did not write the change, reviews it against the acceptance criteria.
  4. We sign off. An engineer reads the parts where a mistake would hurt, tries the result the way a user would, and approves the release.

Why we stopped promising that a person reads every line

Agents write code faster than people can read it carefully. A team that says a person reviews every line at that speed is doing one of two things. Either it slows the agents down to human pace, or it skims. Skimmed review is worse than none, because it gives everyone false confidence.

So we split the job. Machines check everything, every time, in the same way. People read where judgment matters, and they read it properly.

What a person always reads

  • logins and permissions
  • payments
  • personal data
  • infrastructure and deployment
  • changes to stored data and its structure
  • anything other systems depend on, such as public APIs

For everything else, we judge the result by how it behaves: does it meet the criteria, and does it look and work right in a preview build? We also read a sample of other changes in full, to make sure the checks are doing their job.

What checks are good at, and what they miss

Automated checks are good at the things people are bad at. They do not get tired, they look at every file, and they apply the same rules every time.

They are bad at intent. A test suite cannot tell you that a feature solves the wrong problem, or that a screen is confusing. That is why the first step and the last step belong to people.

When something slips through

Things still slip through. When one does, the fix has two parts: fix the bug, and add a check that would have caught it. That can be a test, a rule, or an instruction for the agents. Over time, the system gets stricter in exactly the places where it has been wrong.

An example from porting Smashyard to Unity: two rendering bugs, a colour shift and invisible faces on every crate, passed every code check because the code itself was fine. Comparing screenshots of the old and new versions side by side found both. That comparison is now part of how we check visual changes.

What it looks like in practice

This website was built the same way. One engineer wrote the brief, reviewed each stage and made the calls on positioning and wording. Agents wrote the code and the first drafts of the copy, the legal pages and these posts. Type checks and a full build run on every change. Before launch, separate review agents read the site against the brief. They found that it explained our method but never said how to work with us, so we added that.

If you work with us

You get this loop written into your own repository: the agent instructions, the checks and the review rules. For every change, you can see what was checked and who approved it.