The honest view from inside technical leadership
Analysis

Leadership

Field notes on how engineering leaders keep control of systems as AI changes how software gets built.

Leadership · Response

Manual Code Review Guardrails Need an Owner and an Executable Check

If agents replace manual code review, the review moves into the guardrails. Each guardrail needs a named owner, an executable check and a date to be revisited.

Line-art illustration of a code change passing through a gate of checkpoints toward a named owner, representing manual code review replaced by guardrails with owners and executable checks

When AI agents replace manual code review, the review does not disappear. It moves into the guardrails, and each guardrail then needs a named owner and an executable check. A recent article by Chris Stokel-Walker reports a prediction that human line-by-line review is close to ending, and this piece follows one claim from it: who keeps the rules that replace the reviewer.

Skrygan expects architectural guardrails to take over from line-by-line review

Stokel-Walker reports that Kirill Skrygan, CEO of JetBrains, expects most engineering organizations to stop reviewing code manually within two years. The article sets this against a LeadDev and Harness survey of 500 engineering leaders, in which 57% still require human review of every line of AI-generated code and 29% say they spend more time on review than before AI tools arrived.

Skrygan’s proposal is a software factory, a pipeline of agents with defined responsibilities and checks between stages, where different models cross-check each other. Human oversight moves to what he calls architectural guardrails or invariants, such as a rule that a component must stay stateless. Stokel-Walker also reports the difficulty Skrygan admits. In his words, “What cannot be done automatically is keeping these invariants and guardrails.” The article adds that JetBrains saw an autonomous agent stop when two employees gave it contradictory instructions and ask the humans to settle their differences.

A guardrail without an executable check is a review that moved into a document

The sentence about keeping invariants is the weak point of the whole proposal, and it deserves more attention than the two-year forecast. A guardrail has three parts: the rule, the check that enforces it, and the person who answers for it. A rule such as “this service stays stateless” can be written as an architecture test that fails the build when a change adds shared mutable state. That rule has a check, and the agent cannot ship around it.

A rule such as “respect the intent of the billing domain” has no check. It lives in a prompt or a wiki page, and an agent will read it with the same confidence it brings to everything else. Teams that move to guardrail oversight should sort every proposed invariant into those two groups. The first group replaces review. The second group is a request for review with the reviewer removed.

NIST already treats manual code review as a scoped assignment

The sorting exercise has a precedent. NIST SP 800-53 Revision 5 lists manual code reviews as enhancement SA-11(4) under Developer Testing and Evaluation. The control asks the organization to define which code receives a manual review and which techniques the reviewers use. Static code analysis (SA-11(1)) and dynamic code analysis (SA-11(8)) sit beside it as separate enhancements. The standard therefore never assumed that humans read every line. It assumed that someone decided, in writing, which code a human reads and which code a tool checks.

That is the decision engineering leaders now face, and it is a better framing than a countdown to the end of review. The question for each part of a codebase is which technique carries the assurance. Skrygan’s own condition points the same way: when the cost of error is very high, he says, teams will want to dig in and understand where exactly something broke.

Reviewing AI code is a trust calibration problem that guardrails do not remove

Stokel-Walker cites research by JetBrains and Lund University. The JetBrains Research write-up by Katie Fraser, Agnia Sergeyuk and Ilya Zakharov describes the core problem as trust calibration: spending review effort in proportion to risk when the author cannot be questioned. It notes that a language model presents every line with the same apparent confidence. The study drew on a participatory design process with 17 practitioners and a follow-up survey of 43 software professionals.

This matters for the guardrail model because the pipeline still needs a way to tell which changes touch which guardrails. If a change crosses a boundary where no executable check exists, the pipeline should route it to a person. Without that routing rule, the agents that cross-check each other share the same blind spot: nothing in their instructions says the change was risky.

A guardrail register gives each rule an owner, a check and a revisit date

A practical form for this is a short register kept in the repository. Each entry names the invariant, links the test or rule that enforces it, names the person or role who answers for it, and carries a date when it will be reviewed. Entries with no check are flagged as human-review zones, and the pipeline sends any change that touches them to a named reviewer.

The owner field also answers the contradictory instructions episode in the article. An agent that stops and asks two employees to agree has found a gap in ownership. The register should say who settles such a conflict, so that the agent’s question goes to one person and has a deadline.

There is a boundary to all of this. Writing invariants takes the engineers who know the codebase best, which is the same knowledge Skrygan asks them to offload. If those engineers are the ones who leave, the register ages quickly, and a stale guardrail with a passing check gives false assurance. That is the reason for the revisit date.

Why This Matters for Engineering Leadership

Leaders who accept the prediction should ask for three things before they retire a review step: a register of invariants with owners, a check behind every invariant that can have one, and a written list of code that keeps a human reviewer. The two-year forecast may arrive sooner or later. The register is useful either way, because it records who is accountable for what the agents ship, and that record is the first thing an incident review or an auditor will ask for.

FAQ

What replaces manual code review in an agent pipeline?

In the approach described in the source article, architectural guardrails replace line-by-line review. These are rules, called invariants, that agents must follow, and humans oversee the rules instead of each change.

What is an executable guardrail?

It is a rule written as an automated check, such as a test, a static analysis rule or a build gate. The pipeline fails a change that breaks it, so the rule holds without a person reading the diff.

Does NIST require manual code review?

NIST SP 800-53 Revision 5 lists manual code reviews as control enhancement SA-11(4). The organization chooses which code receives a manual review and which techniques are used, so the control is scoped and not universal.

What does the JetBrains and Lund University research say about reviewing AI code?

The researchers describe the core problem as trust calibration, meaning how to spend review effort in proportion to risk when the author cannot be questioned. Their study involved 17 practitioners and a survey of 43 software professionals.

Who should own a guardrail?

A named person or role in the team that depends on the rule. The owner keeps the rule current, links it to its check and settles conflicts when two people give an agent contradictory instructions.

Which code should still get a human reviewer?

Code where an error is costly and no automated check can reach the failure. Authentication, payments, data deletion and migrations are common candidates, and the list should be written down.

Source: The end of manual code review? by Chris Stokel-Walker, LeadDev, 23 November 2026.

Read more news & analysis