Every team that gives an agent real permissions ends up asking the same question: which of these actions should a person check first? Get the answer wrong in one direction and the agent can merge to main, rotate a production credential or email a customer with nobody looking. Get it wrong in the other direction and people are asked to approve forty things an hour, and they start clicking “approve” without reading. Both failures end in the same place.
This post is about drawing that line, and about the properties an approval system needs before it is worth having.
Start with reversibility, not risk
“Risky” is too vague to sort actions by. A better first question is: if this goes wrong, how hard is it to undo?
- Free to undo: reading files, running tests, editing files in a throwaway sandbox, opening a draft PR. If the agent gets it wrong, you delete the result.
- Costly to undo: pushing to a shared branch, changing CI configuration, adding a dependency, creating cloud resources that bill. You can undo these, but someone has to notice and spend time on it.
- Hard or impossible to undo: merging to a release branch, deploying, deleting data, sending a message to a person outside the team, publishing anything, spending money, changing who has access.
The first group should never need a person. The third group almost always should. The middle group is where your judgment and your team’s tolerance come in.
Then look at what the action can reach
Two actions that look the same can deserve different treatment depending on what they touch. Running terraform plan reads; terraform apply changes real infrastructure. Writing a file inside a sandbox that will be deleted is nothing; writing to a mounted volume that other services read is something. A useful rule: anything that leaves the sandbox, whether a network call to a service with write access, a push, a message or a deploy, is a candidate for approval. Anything that stays inside a disposable sandbox usually is not.
This is one reason isolation and approvals work well together. When the agent’s ordinary work happens in a sandbox that holds nothing valuable, the number of actions that need a person drops sharply, and the remaining approvals carry real weight.
Keep the volume low enough that people read
Approval fatigue is the main way approval systems fail. If a reviewer sees a stream of near-identical requests, they will approve the next one by reflex, including the one that matters.
Some ways to keep volume down:
- Approve the plan, not every step. For a multi-step change, it is often better to have a person approve “apply this migration to staging” once than to approve each of the twelve commands it takes.
- Make low-risk work cheap by making it contained. Move work into disposable environments rather than adding approvals to it.
- Review the list monthly. If an approval rule has been approved every single time for a month, either it is not catching anything or nobody is reading. Find out which.
- Measure it. Track approvals per person per day and time to decision. A sudden rise in volume or a drop in decision time is a warning sign.
Make each request easy to judge
A reviewer can only decide well if the request tells them what will happen. A good approval request includes:
- what exactly will run, with its arguments, not a summary written by the agent;
- why the agent wants to do it, in the context of the task it was given;
- what it will touch: which repository, branch, environment or recipient;
- what happens if they deny it.
“Agent wants to run a command” is not reviewable. “Push 3 commits to release/2.4 in web, as part of the task ‘fix checkout rounding bug’; commits shown below” is.
The properties that make approvals real
An approval step is a security control only if the agent cannot get around it. Check for these:
- Enforced outside the agent. If the agent’s own code decides whether to ask, a confused or hijacked agent can skip the question. The check has to sit in something the agent calls through and cannot modify, such as a tool-call hook or a platform policy.
- No self-approval. The person who started the agent should not be the one approving its riskiest actions, or at least not the only one who can. Otherwise the approval is a confirmation dialog.
- Single use. An approval should cover one specific action, run once. An approval that can be replayed, or that silently widens to “approve all similar requests”, is a loophole.
- A reason on both sides. The request says why; the decision says why. Six months later, “approved, looks fine” from a named person is far more useful than a bare timestamp.
- Recorded where it cannot be edited. The request and the decision belong in an audit log that the agent and the approver cannot alter after the fact.
- A sensible default on timeout. If nobody answers, the action should not happen. Waiting is safe; proceeding is not.
What to do with a denial
A denial is information the agent can use. Return it to the agent as the tool result, with the reason, so it can adjust its plan, rather than failing the whole task. “Denied: do not change CI configuration in this task; open an issue instead” often gets you a better outcome than a hard stop.
How Sandscale handles it
On Sandscale, human approvals come with every plan. When policy marks a tool call as needing sign-off, the agent waits while a named approver approves or denies it, with a reason. Nobody approves their own request. An approved call runs exactly once, and both the request and the decision are recorded in the hash-chained audit log. Approvers decide in the console’s approvals inbox. See approvals for how it works.
For Claude Code, the check runs through its hooks before each tool call, so it sits outside the agent’s own reasoning; our post on running coding agents under policy covers which agents are enforced and which only report.
The policy decides which calls need a person. Writing that policy, using reversibility and reach as your guide, is still the part only your team can do.