
AI writes code in minutes and the reviewer is still a person. From Albert Franquesa’s TechLead Conf London talk: the five levels of the loop, how the tech lead’s job changes at each one, and how to tell which level your teams are at.

At TechLead Conf London in October, Albert Franquesa, Chief of Strategy at Quality Clouds, opened his lightning talk with a show of hands. Who had merged a pull request in the last month where AI wrote the code? Most of the room. Who reviewed every line of it? Far fewer hands stayed up.
That gap is what the talk is about. This article sets out the argument in full: the five levels of the loop Albert walked through, and how the tech lead’s job changes at each one. We’ve added two things the seven minutes didn’t have room for: a quick way to tell which level your teams are at, and what has to be true before you move up one.
Watch the talk on YouTube (7 minutes), or read on.
Writing code got cheap. Reviewing it didn’t.
GitHub now merges around 4 million pull requests a day, more than three times the 2023 rate. That figure comes from GitHub’s CTO, reported by The New Stack in August 2026 as 130 million merged pull requests a month.
The agent writes in minutes, all day, every day. Plenty of teams now leave agents working overnight and check what happened in the morning. The reviewer is still a person. Usually a tech lead. Usually you.
Volume has gone up and review capacity hasn’t, which is why everyone at the conference kept calling code review the new bottleneck. And when something breaks in production, nobody asks which model wrote it. They ask who approved it.
Five levels of the loop
Every AI coding workflow runs the same loop: the agent writes, something checks, the agent fixes. What changes from one level to the next is who does the checking.
Level 0, ad hoc. One prompt, one answer, checked by eye. You read every line.
Level 1, repeat loop. You rerun with more context: a CLAUDE.md, an AGENTS.md, your conventions. You decide when it’s done.
Level 2, agentic loop. A check outside the agent tells it what broke, and it fixes the code before you see it. You review what the checks can’t judge.
Level 3, harness. Hooks, pull request checks and quality gates make the checks impossible to skip. You set the rules and the gates.
Level 4, at scale. Many agents work across many repositories. You read the record of what was checked instead of reading every diff.
Levels 0 and 1: more context, still no check
Level 0 works until the volume doubles. Level 1 is where most teams invest today: well-structured markdown files that tell the agent your conventions. The output gets better. But nothing confirms the agent followed the file, and there’s no stop condition beyond your judgment.
Context files also cost more to maintain than they look. Every time a new model ships, some of your instructions go stale. Rules like “wrap calls in try/catch” or “secure your APIs” may now be what the model does anyway, so the file needs reviewing again, and then again with the next release. Albert’s summary on the slide was blunt: context is advice. Models improve and context files shrink. The check outside the agent stays.
We went deeper on this in Context engineering needs a verification step.
Level 2: stop reading every line, design the loop
At level 2, a goal and the repository’s context and rules go in. The agent generates code. A check that runs outside the agent, over MCP, tells it which file and which line break which rule. The agent fixes and checks again until the check passes. Working code comes out, and so does evidence: what was checked, what was fixed, and which model wrote what.
Two details matter more than they look. The check should be deterministic wherever possible, because a rule check is cheap: it runs on CPU, not tokens, and the same code gets the same answer every time. And it has to sit outside the agent, so the model isn’t grading its own work.
Designing the loop comes down to four decisions:
The standards: short and current.
The checks: outside the agent, over MCP.
The feedback: issues that come with fixes, so the agent can act on them.
When it stops: a clean check.
Ignacio Sales covers the architecture of this loop in Loop Engineering and the Agentic SDLC.
Level 3: guardrails the agent can’t skip
A level 2 loop depends on the developer connecting it. Level 3 makes the checks part of the repository, so they run whoever, or whatever, writes the code. The harness works on three timescales:
Inner loop, seconds, while the agent writes. A hook in the agent’s configuration runs the check on every edit. Commit that configuration with the repository so it isn’t optional.
Outer loop, hours, at the pull request. A GitHub App posts the result as a review comment, and your quality gate decides whether the pull request passes, fails or needs a human. This also catches code that never went near your agent.
Delivery, days, across the repository. A full scan runs every check plus an AI review of the whole codebase, including architecture findings, and everything goes into the record.
This is where the speed comes from. Once the gates are trusted, you can decide in CI/CD which pull requests are accepted without opening each one.
Level 4: read the record, not the diff
At scale, three things work together:
Control, through checks. Your rules are the floor. Same code, same verdict, every time.
Review, through findings. An AI review asks a fixed set of questions about design and load, the same questions on every repository.
Evidence, through the record. What was checked, against which rules, and what the agent fixed.
That includes the apps that finance, HR and operations teams now build with AI. Someone in engineering will be asked to review those too, and nobody will have time to read them line by line.
Where are your teams today?
Most organizations aren’t at one level. Different teams and repositories sit at different points, and your exposure is set by the least governed repository. Four questions place each team quickly:
Does someone have to read the diff to know whether a rule was followed? That team is at level 0 or 1.
Does a check run outside the agent while it writes, and does the agent get the result back and fix it? That’s level 2.
Would a change that never touched your agent, from a contractor, another team or a script, still be checked before it merges? That’s level 3.
Can you say what was checked in the last release, against which rules, and what was fixed, without opening a single pull request? That’s level 4.
What has to be true before you move up
Each step up needs the previous level to be trustworthy first.
From 1 to 2: turn the rules that matter most into checks a machine can run, and keep the context file for the rest. Start with one check outside the agent and make sure the agent gets an actionable fix back.
From 2 to 3: commit the agent configuration and hooks with the repository, run the same checks on every pull request, and agree as a team what a gate fails on and who reviews what the checks can’t judge.
From 3 to 4: watch your gates for a few weeks before you rely on them. Track how often a human overrules a result. When that number is low and stable, the record is ready to be the thing you read.
What the tech lead’s job becomes
At level 0 the tech lead is the check. By level 4 the tech lead owns the rules, the gates and the record: deciding what the standard is, keeping it short and current, reviewing the exceptions, and reading the evidence when something needs explaining.
That was the one argument of the talk. Humans don’t leave the loop. They move above it. Control is the rules. Evidence is the record. Trust is what you earn from both.
Where Norma fits
Norma by Quality Clouds is the check outside the agent, at every level from 2 upward.
In the agent loop: any agent that speaks MCP, like Claude Code, Cursor, Codex or Windsurf, connects to the Norma MCP server and checks each file as it writes it, fixes what Norma flags, and records the result against the repository.
On every pull request: the Norma GitHub App posts a review comment with each new issue, so code that never went through an agent gets the same treatment. It doesn’t block the merge. Your gate stays your decision.
Across the repository: a Full Scan adds a Production-Ready Score and AI findings on architecture, data and performance. The score is diagnostic and never blocks anything.
The record: every check is stored, including which client made the request, so you can answer who checked this, when, and what they did about it.
The checks are rule-based, so the same code gets the same verdict every time. See how Norma works, or start free: the free plan is permanent.
Albert’s full talk is on YouTube, and photos from the day are in our TechLead Conf London recap.

Albert Franquesa
Co-Founder & CSO, Quality Clouds
Related articles
Stay ahead of the curve

Why CI becomes the bottleneck when AI agents write the code

Albert Franquesa
7 min read
AI coding agents produce changes faster than a pipeline built for human pace can check them. Here's where each kind of check belongs.

Services Is the New Software: Why the GSI AI Race Demands Unified Governance

K.C
5 min read
Why GSIs need one governance layer for human and AI-generated code to win the enterprise AI race.

What Is AI Code Governance?

Albert Franquesa
10 min read
The goal is trust: know what goes into production and be able to prove it. The six guarantees AI code governance has to deliver.