Where the Human Stands: Deciding What Agents May Do Without You
Coding agents let a team take people out of software delivery one step at a time. Whether a piece of work can lose its supervisor depends on the work: can a machine check the result, how far can a mistake travel, and what does it cost to undo. For most business software, that leaves a person deciding at a few fixed points.

Three places a person can stand
Take one piece of work, a small bug fix, and run it three ways.
In the first, an engineer sits at a terminal, describes the bug to an agent, reads the diff, asks for a correction where the fix missed a case, reads again and opens the pull request. Nothing moves unless the engineer is there.
In the second, the bug report arrives as a ticket. An agent reproduces it with a failing test, writes the fix and runs the test suite, and the pull request waits in a queue until someone approves it. The engineer shows up once, for the decision.
In the third, the change merges and deploys as soon as the checks pass. The engineer reads about it in a weekly summary.
The names for these positions are older than coding agents. The 2012 Human Rights Watch report Losing Humanity sorted automated weapons into three groups: human in the loop, where the system acts only on a person's command; human on the loop, where it acts under a supervisor who can override it; and human out of the loop, where it acts with no human input at all. We borrow the terms loosely. In software delivery, "on the loop" usually takes the form of an approval gate: the work gets done without the person, and the release does not.
The question behind the terms is older than the report. Research into what happens to a person who supervises an automated system goes back to the early 1980s, and it matters later in this post.
Distance belongs to the task
Talks and videos about agentic engineering tend to rank engineers by how far out they have moved, as if "out of the loop" were a seniority level. That ranks the wrong thing.
The position is a property of the piece of work. A healthy team runs all three at once. Lint fixes merge unattended. Features wait for a plan approval and a review. The migration that rewrites the invoices table is done by a person typing commands, with a colleague watching.
A team that has everything in one mode has made a mistake in one of two directions. Either it has automated something that needed a decision, or it is paying senior people to watch work that needs nobody.
Three tests for moving a task outward
We sort work with three questions.
The first is whether a machine can check the result. A test suite, a contract validation or a metric with a threshold can say yes or no. "The customer will find this report clearer" cannot be checked that way. If the only judge of success is a person's opinion, a person has to see the result before it ships.
A check is only worth something while the agent cannot rewrite it. It is a known failure that a model reaches its goal by deleting the tests that fail. That is why a separate check flags any pull request from our factory that deletes a test.
The second is how far a mistake can travel. A wrong formatting fix touches one file and breaks nothing. A wrong change to a shared authentication package reaches every service that imports it. Ask about the worst case the checks would let through, because that is the case nobody will be watching for.
The third is what undo costs. Reverting a commit is cheap. Reverting a migration that already dropped a column is a restore from backup, and an email that has already gone out to customers cannot be reverted at all. Where undo is expensive, the decision to proceed belongs to a person, and it belongs before the action.
A task that passes all three can run with nobody watching. One that fails only the first needs a person to review the result. One that fails the second or the third needs a person to approve before the action, however good the checks are. A task that fails both of those needs a person driving each step.
The diagram asks the questions in the opposite order, because the expensive failures decide first.
Visual: sorting a task by the three tests
flowchart TD
A[Recurring task] --> D{Is the worst uncaught mistake contained}
D -->|no| E{Is undo cheap}
D -->|yes| F{Is undo cheap}
E -->|no| G[In the loop: a person drives each step]
E -->|yes| H[On the loop: a person approves before the action]
F -->|no| H
F -->|yes| B{Can a machine check the result}
B -->|no| C[On the loop: a person reviews the result]
B -->|yes| I[Out of the loop: runs unattended, reported afterwards]
What lands where
Applied to ordinary delivery work, the tests give a fairly stable picture.
Work that can leave the loop is narrow and repetitive. Patch-level dependency updates qualify when the test suite is trusted. So do formatting and lint fixes, and regenerating API clients after a contract changes. First-pass alert triage qualifies when its only output is a classified ticket, and so does a scheduled scan that files findings and changes nothing. In each case the output is either verified mechanically or is itself a proposal that a person will read later. Dependency updates need no agent at all: an ordinary update bot opens the pull request, and the change merges once CI is green. An agent is needed only when the update breaks something.
Most product work sits on the loop: features, bug fixes, refactors, anything that ends in a pull request against business logic. A machine can check that the tests pass. It cannot check that the tests describe what the customer asked for.
We measured that gap once on our own code. For a small task, a syntax checker, we wrote two deliberately incomplete implementations. One exported the right functions and checked nothing. Both passed the repository's test suite, the type check and the linter. A separate set of 25 black-box checks, written outside the repository, failed the first on seven counts and the second on six, and passed the complete implementation on all 25.
A short list stays in the loop. It covers schema migrations on live data, changes to pricing, tax or payroll rules, permission models, and anything with a contractual or legal consequence. These fail the undo test, usually the blast-radius test as well, and nobody should be surprised to find a person at the keyboard for them.
These groups change slowly. A task leaves the loop when someone writes the check that makes its result verifiable, or builds the rollback that makes undo cheap. A better model does not move a task from one group to another.
What each step outward costs
Moving a task from in the loop to on the loop needs the things we described in an earlier post on building blocks: acceptance criteria written before the work starts, a plan a person approves, and a review that compares the result against the criteria. Without those, an approval gate is a person looking at a diff with no way to judge it.
Two of these carry most of the weight. The goal has to be stated precisely enough that it is clear when the work is finished, and the implementation has to be shown to meet it. What counts as proof depends on the task: next to test and check results, a screenshot is good validation for a UI task. The agent hands the proof over together with the change, so the approver does not have to take a summary on trust.
Moving from on the loop to out of it costs more, and the cost falls on the platform.
- Observability of the agents themselves: what ran, on what input, what it changed, and what it cost. If you cannot answer those from a dashboard, you find out from the incident.
- Spend limits that span runs: a per-run ceiling sees one run. It does not see the total.
- Non-human identity with scoped permissions: the unattended job gets its own credentials, limited to the repositories and actions that task needs.
- An audit trail: every action attributable to a run, kept somewhere the run cannot edit.
- A stop switch: one place to halt all unattended work, tested before it is needed.
Our own records show why the first two items come first. Roughly a third of the runs our factory has finished ended in failure, and those runs account for about a third of everything it has spent. About one run in seven has no cost recorded at all. A per-run ceiling shows neither figure. Both appear only when someone counts across runs. We noticed how much money we had burnt for nothing only when the factory's dashboard gained metrics for the quality of runs.
The time saved on manual work gets spent on this list. The trade pays off for work that recurs weekly or daily. For a task that comes up twice a year, building the supervision costs more than doing the task.
Why most business software stays on the loop
There is a version of this story in which on the loop is a stop on the way out, and the goal is a system that runs without anyone. For software that carries a company's money, contracts and customer data, we do not think that is where things are heading, for three reasons.
Accountability does not transfer. When a wrong invoice goes out, the customer and the auditor ask who approved the change. "Nobody, the checks passed" is an answer that ends badly in a regulated business and not much better in an unregulated one.
Requirements are not a scoring function. Unattended systems work where success can be computed. Most business rules are negotiated between people, written down incompletely, and corrected when someone notices a case nobody thought of. The acceptance criteria capture a good part of that. They never capture all of it, and the remainder is what a reviewer is for.
The third reason is drift. A system that runs unattended also degrades unattended. Each change passes its checks, and the sum is a codebase that has moved somewhere nobody chose. A person reading the pull requests notices. A dashboard of green checks does not.
We saw this in an experiment of our own. We let a greenfield product develop autonomously for several weeks, and at the review it turned out to be easier to throw it away and start from zero than to untangle the spaghetti. The same experiment showed that stricter rules, more precise instructions and less room to move bring the result much closer to what we wanted.
The factory's numbers show how much still depends on a person. Close to half of the pull requests our factory opened on approved plans were closed without merging. The automated reviewer sent back about nine in ten implementations at the first attempt. Of the merged changes whose history we can attribute, most carry a human commit on top.
We cannot say yet how utopian a fully unattended factory is. What we can say is that months of stable operation and a great deal of tuning come before it, and that deep knowledge of the domain is indispensable. It also needs good observability and metrics, so that the system can fix its own mistakes and learn from them until it is reliable enough.
So we treat on the loop as the working position for product development and reserve the outer position for the narrow class of work that passes all three tests. In our own setup, plan approval and the merge are the gates we keep manual.
An approval nobody reads is not a gate
The on-the-loop position has a known failure, and it was documented long before software teams met it.
In 1983 Lisanne Bainbridge published "Ironies of Automation" in Automatica. Her argument was that automating most of a job leaves the operator with the parts that could not be automated, which are the hardest parts, while taking away the daily practice that kept the operator able to do them. In 1995 Mica Endsley and Esin Kiris measured the effect in Human Factors: people who only monitored an automated system were slower to make decisions after it failed than people who had been doing the work.
An engineer approving agent-written plans all day is in the monitor's seat. The signs that the gate has become a rubber stamp are easy to measure:
- approvals arrive seconds after the request
- no plan has been sent back in weeks
- the approver cannot say, a day later, what the change was for
- incidents trace back to changes that were approved
The fixes all reduce the number of decisions and raise the quality of each one. Batch the trivial approvals out of existence by moving that work out of the loop properly, with the platform support it needs. Put the evidence next to the question, so the approver sees the criteria, the plan and the check results on one screen. Rotate who approves. And keep engineers doing some of the work by hand, on purpose, so that they can still judge a plan for the parts of the system they are asked to approve.
Start with one task
Nothing here needs a programme. List the work your team does repeatedly, apply the three tests, and pick the single task that passes them most clearly. Move it out of the loop, with the logging and the spend limit in place first, and read its output every day for a month. If the month is boring, move the second task.
The teams that get into trouble do it the other way round. They remove the person first and discover afterwards which checks were missing.
If it is not clear how far the checks on an existing system can be trusted, the two-week architecture review includes a review of the delivery pipeline, and its 90-day roadmap says what to fix first.