Case Study Laurel's software factory: 6x the PRs at a 75% lower incident rate. Read the case study.

Verification Engineering: The Complete Guide

Verification engineering is the discipline of building systems that verify agent-written code automatically, so verification stops being the bottleneck between coding agents and production.

Author
Arjun Iyer
Published
November 25, 2026
Reading time
23 min

Verification engineering is the discipline of building the systems that verify code written by AI coding agents: intent expressed as checks, checks the agent cannot change, environments to run them in, evidence of what passed, and a policy that decides which changes can ship without a person. Its purpose is to take verification off the critical path, so the volume of changes agents produce can reach production without waiting on human review and manual testing.

The shift behind it is in what engineers do. When agents write the code, the engineer’s job moves to designing the solution, feeding intent to agents and building the systems that prove the agents turned that intent into code that works and is safe to ship. The more of that proof a team can automate, the closer it gets to delivery that runs without a person in every step.

What is verification engineering?

Verification engineering designs, builds and runs the automated systems that decide whether an agent-written change does what was intended. Its output is a decision backed by evidence: fast enough for an agent to act on inside its own loop, and trustworthy enough for a team to let changes merge on it.

The discipline got its name in October 2026. Exadel’s Michał Jaroń defined it as “designing proof that software built by AI does what it was supposed to do” (Exadel). The same month, Microsoft Research engineer Alex Lavaee set out six principles of verification engineering, from writing success criteria before the work starts to saving evidence of execution (The Neuron).

The idea came earlier. In June 2026, Addy Osmani wrote that the constraint on shipping had moved from how fast code is written to how fast a trusted person can be confident a change is correct (Osmani). Verification engineering is the answer to that constraint: make the confidence come from a system.

A practice, not a job title

Verification engineering is something engineers do, not a role a company hires for. At Vercel Ship 2026, Shopify CEO Tobi Lütke said Shopify’s engineers now think of themselves as verification engineers, building the harnesses and acceptance tests that make changes verifiable (Vercel). The description fits engineers at every level, not a separate team.

It changes the work at every level. An engineer working with Claude Code or Codex writes the acceptance criteria before the agent starts and wires the checks into the agent’s loop.

A team decides what correct means for its services and keeps those checks current. Platform engineers build the shared environments and runners the checks need. Engineering leaders decide how much a change has to prove before it can merge without review.

Principles of verification engineering

The early frameworks agree on a short list of principles. Lavaee’s six and the responsibilities Jaroń lists overlap on most of them, and so do the practices teams have published.

  1. Intent before code. What the change must do is written down, in checkable terms, before an agent starts.
  2. The agent does not grade itself. The checks that decide a change are out of the reach of the agent that made it.
  3. Deterministic first. Builds, types, contracts and tests decide. Model judgment adds advice on top.
  4. Verify against the running system. Behavior is checked against real dependencies, not against the agent’s assumptions about them.
  5. Keep the evidence. What ran and what it showed is recorded where a reviewer and an auditor can read it.
  6. Scale effort to risk. The depth of checking follows what a change can break.
  7. People own what correct means. Agents write and run checks. People approve the criteria and the consequential steps.

Why verification engineering emerged

Software has always been verified. Engineers wrote and ran tests, and every change went through some mix of code review, CI, QA and a staging environment before release. What changed is who writes the code and how much of it there is. Verification built around engineers writing changes at human pace became the bottleneck once agents started writing them at machine pace.

human-driven verificationcodingagentschangeswaitingreviewmanualtestingreleaseengineered verificationcodingagentschangesverificationsystemevidencemergerelease
Agents produce more changes than people can review and test by hand. Verification engineering automates those steps.
human-drivenverificationengineeredverificationcoding agentschangeswaitingreviewmanual testingreleasecoding agentschangesverification systemevidencemergerelease
Agents produce more changes than people can review and test by hand. Verification engineering automates those steps.

Agents write the code

An engineer who writes a change tests it with an understanding of what it is for. A coding agent works to the checks it can see. It treats whatever passes as done, and it is a generous judge of its own output. Anthropic found that agents “reliably skew positive when grading their own work”, and had to add a separate evaluator agent that exercised the running application before a task counted as finished (Anthropic).

That makes the checks themselves the specification. Whatever the checks leave open, the agent is free to get wrong, so the quality of the verification system decides the quality of the code.

Volume outruns human-driven verification

By September 2026, more than 40% of pull requests on GitHub started with an agent’s first draft, up from 17% in March (GitHub Octoverse 2026). That was 110 million agent-started pull requests in a single month.

The verification steps did not speed up with them. Faros AI’s telemetry from more than 10,000 developers found that teams with high AI adoption merged 98% more pull requests while review time rose 91% (Faros AI). DORA’s 2025 research described AI as an amplifier of what a team already has (DORA 2025). A team whose verification depends on people gets more work queued for those people.

The gap between code produced and code proven is verification debt. Verification engineering is how a team stops adding to it.

Stopgaps that don’t scale

  • More reviewers. Review capacity grows with headcount, agent output does not wait for it, and reading a diff shows what the code says, not what it does when it runs.
  • AI code review as the gate. Review bots catch real problems in the diff, but they do not run the change. Tools that verify AI-generated code sets out what each kind of tool can and cannot prove.
  • Tests the agent wrote for itself. They are useful inside the agent’s loop. They share the agent’s assumptions, so they cannot be the gate.
  • One shared test environment. Every change queues for it, and a failure is hard to pin on one change when many landed at once.

The goal: autonomous delivery

The end state verification engineering works toward is delivery where most changes go from an agent’s task to production on evidence, with people deciding the criteria and handling the exceptions. How far a team can go is set by what its verification system can prove. The software factory guide looks at that limit across many agents running at once.

Autonomy grows one class of change at a time. A team might start by letting dependency bumps and copy changes merge on evidence alone, watch the false-green rate for those changes, and widen the class only while it stays low. Each widening is a decision backed by data the verification system produced, not a leap of faith in a better model.

Verification engineering vs harness engineering, QA and test automation

Verification engineering sits between coding agents and production. Harness engineering shapes how one agent works on a task, QA and test automation examine a product, and site reliability engineering keeps production healthy. Verification engineering builds the systems every agent-written change passes through, from the agent’s loop to release.

DisciplineWhat it coversWhen it actsWhat it does not cover
Verification engineeringCriteria, independent checks, environments, evidence and autonomy policy for every agent-written changeFrom the agent's loop through merge and releaseHow an agent plans and writes code, and running production
Harness engineeringThe context, tools, rules and feedback around one coding agentDuring a single agent taskWhether the finished change works in the running system
QA and test automationTest design, test suites and exploratory testing of a productPer feature or before a releaseA gate on every change at agent volume, and the environments it needs
Site reliability engineeringAvailability, latency and incident responseAfter releaseStopping a bad change before it merges
agent taskpull requestmergereleaseproductionVerification engineeringHarnessengineeringQASRE
Verification engineering is the one discipline that spans from the agent's loop to release.
agent taskpull requestmergereleaseproductionVerificationengineeringHarnessengineeringQASRE
Verification engineering is the one discipline that spans from the agent's loop to release.

Verification engineering vs harness engineering

Harness engineering is the closest neighbor. Birgitta Böckeler describes a harness as the tooling and practices that keep AI agents in check, and noted that the write-up that popularized the term was missing “verification of functionality and behaviour” (Böckeler).

That missing piece is verification engineering’s territory. An agent’s harness can call the verification system from inside the loop, so the agent gets feedback early. The verification system cannot depend on the harness, because the harness exists to help the agent whose work is being judged.

Verification engineering vs QA

QA’s craft carries over: test design, deciding what counts as correct, thinking through what could go wrong. The shape of the work is different. QA examines a product and reports. Verification engineering runs systems that agents call hundreds of times a day, and its output is a merge decision.

Formal verification and chip design verification

Formal verification proves properties of a component against a formal specification. It can be one check inside a verification system, worth its cost for small, critical code such as an authorization rule. Chip design verification (UVM, SystemVerilog) is a separate hardware discipline that happens to share the name.

The parts of a verification system

A verification system has five parts: criteria that say what correct means, checks the agent cannot change, environments that let the checks see the running system, evidence of what happened, and a policy that turns results into autonomy. Together they form the verification layer between coding agents and production. Each part fails in its own way, so each needs its own design.

criteriaindependentchecksenvironmentevidenceautonomypolicymergepeoplecodingagentchangefailure detail
Five parts, each with its own owner: criteria, independent checks, environments, evidence and policy.
criteriaindependent checksenvironmentevidenceautonomy policymergepeoplecodingagentchangefailure detail
Five parts, each with its own owner: criteria, independent checks, environments, evidence and policy.

Criteria: intent the system can check

Criteria are how intent reaches a machine. They say what a change must do, what it must not break and which scenarios matter, in a form a check can evaluate. Criteria written after the code drift toward whatever the code happens to do. Written first, they are the contract the agent works to.

Spec-driven development puts this step at the start of the agent’s workflow. Integration tests generated from a spec inside the agent loop show one way to wire it up.

Checks the agent cannot change

A check proves something only if the agent being judged could not shape it to pass. The acceptance suite, the CI workflow and the environment definition live where an agent’s pull request cannot edit them, through code owners or a separate repository. Deterministic checks decide: builds, type checks, contract tests and tests against running services. Model-based review is advice on top.

Environments that run the real system

A check is only as good as what it runs against. Unit tests run against the code alone. Integration and end-to-end checks need the dependencies a change talks to, at production versions and configuration, created on demand for each change. How hard that is depends on the application, which the levels of verification below make concrete.

Evidence a reviewer and an auditor can read

Evidence is the record of what ran, against which versions, with what result: test reports, request and response diffs, logs, traces and screenshots, attached to the pull request. It outlasts the agent session that produced it. A reviewer with evidence spends their time on design and intent rather than re-running the change in their head.

Autonomy policy

Policy decides which changes need which checks and whose approval. Osmani’s rule is to tier review by risk, not by who or what wrote the change: a config change gets a linter and a glance, while payments, authentication and personal data get the full suite and a senior reviewer (Osmani). Ownership and risk tiers as policy are set out in governing AI-generated code. Verification engineering makes that policy executable, so the merge gate enforces it.

Where each part runs: in the loop, at the gate and after release

A verification system answers at three points. Inside the agent’s session, it tells the agent whether an attempt worked and what failed. At the merge gate, it tells the team whether a change has proven enough to merge. After release, it tells the on-call engineer whether the change behaves in production as it did before merge.

The same parts serve all three at different depths. The loop needs fast, targeted checks with failure detail an agent can act on. The gate needs the full required suite and evidence. After release, canary analysis and progressive delivery compare the new version with the old one on real traffic.

Building only one of the three is the common mistake: a gate with nothing in the loop sends every failure to a reviewer, and a loop with no independent gate lets the agent decide it is done.

Levels of verification

Verification comes in levels, and each level proves more than the one below while needing more of the real system to run against. Verification engineering decides which levels each change needs and builds what it takes to run them.

static checksthe diffunit teststhe codeintegrationreal dependenciessystem behaviorthe whole systemproductionlive trafficcost and fidelity
Each level proves more and needs more of the real system to run against.
cost and fidelitystatic checksthe diffunit teststhe codeintegrationreal dependenciessystem behaviorthe whole systemproductionlive traffic
Each level proves more and needs more of the real system to run against.
LevelWhat it provesWhat it needsRelative difficulty
Static checksThe code builds, type-checks and matches known rules for bugs and vulnerabilitiesThe diffLow: seconds, fully deterministic
Unit testsEach piece behaves as its tests expect, in isolationThe code and test doublesLow, but only as strong as the tests
IntegrationThe change works with the real dependencies it callsReal services, databases and queuesMedium to high: needs an environment per change
System behaviorWhole user flows work across every componentA production-like copy of the application's behaviorHigh: fidelity and data are the hard parts
ProductionThe change behaves well under real trafficLive traffic, progressive delivery and observabilityHigh, and failures reach users

Passing tests is not the same as working

The lower levels are cheap, which makes them tempting to stop at. Research on agent patches shows why that is not enough. METR had maintainers review 296 agent pull requests that passed SWE-bench Verified’s tests and found roughly half would not be merged into main (METR).

Wang, Pradel and Liu found that 29.6% of patches that passed the tests behaved differently from the reference fix, and 28.6% of those were certainly incorrect (arXiv). A test suite pins down only part of the intended behavior. The rest has to come from higher levels, or from checks designed to catch what the suite misses, such as mutation testing and comparing the change’s behavior with the version already running.

How the kind of application sets the level you need

What an application is made of decides how high verification has to go before a change can merge on evidence.

  • Libraries, CLIs and single services. Most behavior can run on one machine. Static checks, strong unit tests and integration tests against a local database cover most changes.
  • Web front ends. Correctness is partly visual and partly about flows. Browser automation such as Playwright and a preview of each change carry the load.
  • Distributed systems. Many failures happen between components, so integration and system-level checks are required, and the environment becomes the hardest part to build. The next section covers why.
  • High-risk paths. Payments, authentication and personal data need the higher levels plus stricter evidence and approval, whatever the architecture.
  • AI features. Output is not deterministic, so evals with scored test sets join the checks.

Verification in distributed systems

In a distributed system, a change that passes every unit test can still break a caller, a message consumer or another component’s queries. Mocks make this worse in agentic development: when an agent writes both the change and the mock of its dependency, the test confirms the agent’s assumption rather than the dependency’s behavior. Integration tests that pass with mocks while staging breaks is the usual symptom.

mocked testrunning systemservice B (changed)mock of Cpassesservice B (changed)service Corders topicconsumer D
A mock confirms what the agent assumed. The running system shows where the change breaks another component.
mocked testservice B (changed)mock of Cpassesrunning systemservice B (changed)service Corders topicconsumer D
A mock confirms what the agent assumed. The running system shows where the change breaks another component.

The fix is a production-like environment for every change, and that is where cost appears. Copying a system of dozens of components for each change an agent makes is slow and expensive at agent volume. Matching production closely enough is its own problem, covered under environment parity. For distributed systems, verification engineering is mostly an environment problem: criteria, checks and policy are design work, while giving every change a faithful place to run, many times a day, is infrastructure.

Who practices verification engineering?

Every engineer who works with coding agents practices verification engineering, at the level their work touches. As agents take over writing code, engineering shifts toward designing solutions, expressing intent precisely enough for agents to act on, and building the systems that confirm the result. That last part is verification engineering.

The work spreads across an organization:

  • Individual engineers write acceptance criteria before handing a task to an agent, run checks inside the agent’s loop and read evidence instead of diffs.
  • Teams decide what correct means for the code they own, maintain the contract and integration checks for it and decide which scenarios must never break.
  • Platform engineers build the shared infrastructure: environments on demand, check runners, the evidence pipeline and policy as code.
  • Engineering leaders set the autonomy policy: which changes can merge on evidence alone, and which need a person.

From writing code to specifying and proving it

The skills that matter shift with the work. Breaking a feature into tasks an agent can finish, writing intent precisely enough to check, and knowing which behavior a test must pin down become the core of the job. So does reading evidence critically: a green run means something only if the checks behind it were the right ones.

None of this is new to strong engineers. Good engineers always thought about how a change could fail and how they would know. What changes is that this thinking becomes the main output, encoded as criteria, checks and environments that run without them, instead of a step they performed by hand on each change.

What verification engineering changes for platform teams

Platform teams build most of the infrastructure a verification system runs on, and agents change its load and its users. Environments, check runners and the evidence pipeline get called by agents inside their loops, many times per change, so they need capacity planning, cost controls and on-call like any other production service.

The user changes too. A platform built for engineers can return a red build and a link to a log. An agent needs the exact request that failed and how the response differed, in a form it can act on, through an API or MCP tool it can call without a person. Verification becomes one of the platform’s products, with agents as its heaviest users.

How to build a verification engineering practice

Start by finding out what your merge gate proves today, then add the parts in the order that removes the most risk. For most teams that means getting checks to run against the real system before anything else, since the other parts depend on it.

  1. Audit the gate. List what a green check on each repository proves. Most stop at build, unit tests and lint. What a green check should promise sets out the questions a merge has to answer.
  2. Count escapes. Track reverts and incidents traced to changes that passed every check. Every later step is measured against that number.
  3. Write criteria for the riskiest paths first. Payments, authentication, data migrations and public APIs get acceptance criteria and owners before anything else.
  4. Give every change an environment at the level it needs. On demand, per change and per agent iteration, torn down when done.
  5. Attach evidence to every pull request. Make it the reviewer’s starting point.
  6. Put the checks inside the agent’s loop. An agent that can run the same checks as CI before opening a pull request fixes most failures itself. What that loop costs depends on the feedback it gets, as agent loops have a feedback problem, not a token problem shows.
  7. Encode the autonomy policy. Turn risk tiers into required checks and approvals in the merge gate.

How teams practice verification engineering

The teams that have published their setups use different words, and the same parts show up.

Salesforce’s engineering team runs agent work through four gated phases, starting from a written specification of behavior, success measures and failure conditions (Salesforce Engineering). A compliance matrix maps each success criterion to the code and test evidence behind it. Independent reviewer agents then argue over the change, and a judge agent can downgrade a passing result but cannot upgrade a failed gate. That is criteria, independent checks, evidence and policy in one workflow.

Stripe’s Minions show the selection problem at scale. CI picks which tests to run from a battery of more than three million, and an agent gets at most two rounds of CI before a person takes over (Stripe). Choosing the right checks for each change is verification engineering work in its own right.

How to measure a verification system

Measure two things: how fast the system answers, and how often its answer is wrong. A verification system that is fast and lenient ships defects, and one that is strict and slow pushes engineers to route around it.

MetricWhat it tells youSignal to act on
Time to verdictHow long from a finished change to a pass or fail with evidenceAgents and engineers wait, or skip checks
False-green rateShare of passed changes later reverted or linked to an incidentThe checks miss what matters
Evidence coverageShare of merged pull requests with evidence attachedReviewers are still re-testing by hand
Cost per verified changeEnvironment, runner and token spend per changeVerification cost grows faster than change volume
Check strengthShare of injected faults (mutation testing) the checks catchThe suite passes changes it should fail

Change failure rate, split by whether an agent made the change, shows whether the whole system works. Bitso cut its change failure rate by 83% after giving every pull request its own environment (Bitso case study).

Is verification engineering QA with a new name?

No. It inherits QA’s craft, but its users, its volume and its output are different. QA serves people preparing a release and produces a report. Verification engineering serves agents and CI calling it continuously and produces a merge decision.

The skeptic’s case deserves a hearing. Test design, risk-based testing and environment management are old ideas, and some of what is sold as AI verification is test automation with a new label.

The difference is in three places. The checks run on every change at agent volume, not once per release. They have to hold up against an agent that will pass any check it can satisfy without doing the work. And the system has to be callable as an API from inside an agent’s loop.

Each of those is engineering work that a QA function built around release cycles was never set up to do. QA experience transfers well, and a team that renames its QA group without giving it environments, runners and a budget gets the new name and the old bottleneck.

Verification engineering checklist

Answer yes or no for each repository or service. Every no is a gap in the verification system.

  • Criteria first. Do the riskiest paths have acceptance criteria written before an agent starts, with a named owner?
  • Independent checks. Is the acceptance suite out of reach of the pull request it judges?
  • Deterministic before judgment. Do builds, contract tests and integration tests gate the merge, with model-based review as advice?
  • The right level. Does each change run at the level of verification its risk and architecture need?
  • Per-change environments. Can two agents verify two changes at once without affecting each other’s results?
  • Checks in the loop. Can an agent run the same checks as CI from its own session, through a CLI or MCP?
  • Evidence attached. Does every pull request carry what ran, against which versions, with what result?
  • Risk tiers. Do required checks and approvals depend on what a change touches?
  • Escapes counted. Do you track reverts and incidents from changes that passed every check?
  • Check strength. Do you measure how many injected faults your acceptance suite catches?
  • Cost per change. Do you know what verifying one change costs, and does it stay flat as volume grows?
  • Owned infrastructure. Does someone run the environments and runners as a service, with capacity and on-call?

How Signadot fits into a verification system

Signadot provides the environment layer of a verification system for distributed applications on Kubernetes, and the runners that execute checks inside it. Each change gets a Sandbox, Signadot’s lightweight ephemeral environment. It holds the components that change modified, and every other call goes to the stable versions already running in your cluster. Integration and system-level checks see the real system without a copy of it per change, so environments keep up with agent volume.

The other parts of the system plug into that environment:

  • Checks. Jobs run any suite, from Playwright to k6, in the cluster against a Sandbox. SmartTests compare the change’s behavior with the stable version and score each difference, which catches regressions nobody wrote a test for.
  • Team-defined workflows. Plans are reusable, multi-step verification workflows that engineers define and agents and CI run, so the definition of done stays out of the agent’s hands.
  • Stateful isolation. Resource plugins give a change its own database, topic or cloud resource when it cannot share safely.
  • Inside the agent’s loop. The CLI, the API, the MCP server and agent skills let Claude Code, Cursor and other agents create a Sandbox, run checks and read results from the session where the change was written.

Laurel’s software factory ships six times the pull requests at a 75% lower incident rate with this setup (Laurel case study). To see how the pieces fit for coding agents, start with ephemeral environments for coding agents.

Frequently asked questions

What is verification engineering?

Verification engineering is the discipline of building the systems that verify code written by AI coding agents, automatically and at the volume agents produce it. It covers intent expressed as checkable criteria, checks the agent cannot change, environments that run them, evidence of what passed, and the policy that decides which changes can ship without a person. Its aim is to remove verification as the bottleneck in agentic development.

When did the term verification engineering emerge?

Verification engineering emerged as a named discipline for agent-written code in October 2026. Exadel's Michał Jaroń defined it as designing proof that software built by AI does what it was supposed to do, and Microsoft Research engineer Alex Lavaee published six principles of verification engineering the same month. The idea behind it, that verification rather than generation limits how fast agents can ship, was widely discussed through 2025 and 2026.

Who practices verification engineering?

Every engineer who works with coding agents practices verification engineering. It is a shift in what engineering work is, not a new job title. Engineers design the solution, hand intent to agents, and build the checks that show the agents turned that intent into working code. Teams build the checks for their services, platform teams build shared infrastructure, and leaders set how much autonomy agents get.

How is verification engineering different from QA?

QA tests a product before a release and reports what it found. Verification engineering builds automated systems that verify every agent-written change, run hundreds of times a day, and turn their results into a merge decision. It inherits QA's craft, test design and choosing what counts as correct above all, which is why QA experience transfers well to it.

What is the difference between verification engineering and harness engineering?

Harness engineering shapes the context, tools and rules around one coding agent so it does a task well. Verification engineering builds what every agent-written change must pass before it ships: criteria, independent checks, environments and evidence. An agent's harness can call the verification system from inside its loop, but the verification system must not depend on the harness, since the harness serves the agent being judged.

What are the levels of verification?

Verification engineering usually works with five levels: static checks on the diff, unit tests on the code, integration tests against real dependencies, system behavior across the whole application, and verification in production with live traffic. Each level proves more than the one below it and needs more of the real system to run against, so cost and difficulty rise as you go up.

Why do distributed systems need more verification?

In a distributed system, many failures happen between components: a changed API breaks a caller, a message format breaks a consumer, a migration breaks another service's queries. Unit tests and mocks cannot see those. Verification engineering for distributed systems therefore depends on integration and system-level checks in a production-like environment, which is the hardest part of the verification system to build.

Can coding agents verify their own code?

Coding agents can run checks, and they should run them inside their own loop. They should not decide what passing means. Agents grade their own work generously and treat whatever the checks accept as correct. In verification engineering, people define the criteria, agents call checks they cannot edit, and those checks run against the real system rather than mocks the agent wrote.

How do you measure a verification system?

Measure how fast it answers and how often its answer is wrong. The core numbers for verification engineering are time from a finished change to a verdict, the false-green rate (changes that passed and later caused a revert or incident), the share of changes that merge with evidence attached, and the cost per verified change. Change failure rate shows whether the whole system works.

Is verification engineering the same as formal verification?

No. Formal verification proves properties of code mathematically against a formal specification, and it suits small, critical components. Verification engineering is broader and more practical: it combines tests, contract checks, static analysis, behavior comparison and runtime evidence across a whole application. It is also unrelated to chip design verification, a hardware discipline that shares the name.

Stay in the loop

Get the latest updates from Signadot