NEWCloud agents are live.See how

Workflow

Human in the loop

A workflow where an agent pauses for a person at the points that matter (approving a plan, reviewing a diff, merging a pull request) instead of running end to end unsupervised. The design question is not whether to have a human in the loop but where to put them, because a checkpoint at every step is as unworkable as none.

At a glance

Typical gates
Plan, risky actions, merge
Cheapest gate
Approving the plan before work starts
Most important gate
Reading the diff before merge
Failure mode
Approval fatigue and rubber stamps
Pairs with
Guardrails

How it works

Most agent workflows converge on three gates. The first is before work starts: a person approves the plan or spec, which is the cheapest moment to catch a misunderstanding. The second is before anything irreversible: deleting data, running a migration, pushing to a shared branch, spending money. The third is before the change lands: a person reads the diff or pull request and either merges it or sends it back with specific feedback.

Everything between those gates (reading files, editing code, running tests, retrying after a failure) is usually safe to leave to the agent, especially when it works on its own branch where nothing it does touches shared code until someone merges.

Why it matters

Placement matters more than presence. An approval prompt on every shell command trains people to click yes without reading, which is no oversight at all. No checkpoints means a wrong assumption early in a task compounds into hours of wasted work. The useful question for each step is what it would cost if this were wrong, and whether it could be undone. Gate the expensive and irreversible steps, and let the rest run.

This is also what makes running several agents at once possible. If each one needs you every few minutes, you become the bottleneck for all of them. The gates that scale are the ones where the agent hands over something complete and checkable, such as a plan to approve or a diff with passing tests, rather than a question about a detail it could have settled from the code.

Human in the loop versus guardrails

Guardrails are automatic limits: a sandbox, a blocked command, a branch the agent cannot push to. A human in the loop is a person making a judgment call. They work together: guardrails remove the decisions that never need a person, so the human checkpoints that remain are few enough to take seriously.

Common mistakes

  1. Reviewing the agent's summary of what it did instead of the diff that shows what it actually did.
  2. Putting the only checkpoint at the end, so a misread requirement surfaces after the code is written.
  3. Treating review as a formality because the tests passed, when tests only cover what someone thought to test.

In Fredrin

A ticket whose agent finishes lands in Review, where a person reads the diff against the plan and merges or sends it back. Optional build and merge gates can also require approvals of the plan or the diff.

Review and merge

Frequently asked questions

Is human in the loop the same as approving every action?

No. Approving every action is one extreme of it, and usually a poor one. Most workflows put a person at a few high-stakes points such as the plan, irreversible commands and the final merge.

What is human on the loop?

A looser variant where the agent proceeds on its own and a person monitors and can intervene, rather than having to approve before the agent continues.

Sources

Know the words. Run the work.