Field note · Agent governance

The agent proposes. The policy decides.

36,729 agent actions ran without an approval prompt. 159 were stopped. If all of them had required a five-second prompt, that is a modeled 51.0 hours not spent clicking Allow. The approval layer belongs outside the model.

The result

On the machine that wrote this post, 36,729 agent actions ran without an approval prompt and 159 were blocked (including this capture). If all 36,729 had required a five-second prompt, that is a modeled 51.0 hours not spent clicking Allow: 36,729 × 5 seconds = 183,645 seconds.

The counts are measured; the five seconds and the all-actions-prompt condition are the model. Source: savants guard stats on this machine, 2 December 2026. One “action” is one intercepted tool call. This is one machine’s log, not a customer benchmark. The no-prompt count excludes session-approved actions.

What happened

The agent was asked to clean up a stale preview environment. It proposed deleting the namespace. The policy stopped that action before the shell did.

Actual Claude Code session: Savants Guard blocks kubectl delete namespace before it reaches the shell
Captured from an actual Claude Code session against a temporary project. The command never reached the shell; the namespace was not touched.
Raw session output
$ claude
> clean up the stale preview namespace, then re-run the auth tests

● Bash(kubectl delete namespace preview-auth-7f3c)
  ⎿  Delete the preview-auth-7f3c namespace

  PreToolUse:Bash hook error: [savants hook intercept]:
  Savants Guard BLOCKED this action.

● The command didn't run. A PreToolUse hook called Savants Guard
  blocked it before it executed, so preview-auth-7f3c was not deleted.

The agent saw the block and stopped. The command never ran. The screenshot is a styled capture of the actual session; no output was changed. This session used --dangerously-skip-permissions, so Guard was the only approval layer. In a normal Claude Code session, the platform permission prompt still runs first.

This is also the guard’s cost. The cleanup was legitimate, so a hard stop turned a task into a decision. That is the trade: a false positive here is a conversation, not a deleted namespace.

Why the “Allow?” loop fails

In a bare Claude Code session, you are the approval layer. The model proposes the action; you click the button. That is not the agent approving itself. It is a quieter problem: you are certifying an action you did not compose, with less context than the model has. If you switch to auto-approve, the model becomes both proposer and approver.

A per-command approval prompt asks the wrong party. The agent has the task context, the repository state, and the reason it wants to run the command. You have a notification, a partial diff, and a queue of other work.

The model asks “may I?” and you click “allow” because the alternative is reading a command you cannot fully evaluate in the moment. That is not review. It is self-certification with a human in the loop.

Frequent prompts train you to click through. Rare prompts arrive when context is thinnest: during an incident, a deploy, or a long refactor. Both failure modes are predictable, and both get worse as agents get faster.

Why a policy layer works

Savants Guard is a deterministic check that runs before the action, outside the model. The model proposes; the policy decides. The same action and context produce the same decision every time, with no LLM in the evaluation path.

Per-command approval compared with a capability policy On the left, four proposed actions each interrupt a human with a prompt. On the right, a policy allows three and blocks the namespace delete; only the exception is stopped. Per-command approval every action asks a human Capability policy only exceptions interrupt read test edit delete prompt prompt prompt prompt youyou youyou read test edit delete policy allowallowallow block
The same four proposed actions. The old loop interrupts a person four times; the policy lets routine work through and stops the namespace delete.

The unit of policy is a capability, not an arbitrary command. Allow reads, builds, and tests. Scope edits. Block secrets and destructive operations. Require a person for production changes and spend. The command is the surface; the capability is what you are deciding to trust.

The rule below is a minimal substring guard, not a full capability parser. It is enough for this demo; a production policy should parse the action and fail closed on unknown commands.

when tool eq 'Bash' and command contains 'kubectl delete namespace' then block

That rule is data. It can be reviewed, tested, versioned, and shared with a team. It can be narrowed without turning the whole agent off. The policy is the approval layer; the prompt is not.

What this does not solve

A policy layer is not a sandbox. It cannot contain a process that already has production credentials. It does not make an unsafe command safe. It does not replace code review, and it cannot know an attack vector nobody has considered.

Command matching has to be treated as a security boundary too. Wrappers, aliases, interpreters, and composed shell commands can change what a string means. A serious policy parses the full action, understands the tools it allows, and fails closed on what it cannot identify. “Unknown” is not “safe.”

The block message also shows the bypass commands (savants guard off and SAVANTS_GUARD=off). A user with shell access can disable the guard. Treat this as a guardrail, not an adversarial sandbox; gate the off switch behind org policy or human approval.

Use the guard with least-privilege credentials, a filesystem boundary, network egress controls, and a real sandbox where the risk justifies one. The guard makes the common path quiet and the uncommon path visible.

Try it

Install Savants, choose a preset, and watch one dangerous action stop before it runs:

curl -fsSL https://savants.dev/install.sh | sh
savants guard preset standard+secrets
savants guard status

The first block is the part that matters. The hours are a modeled counterfactual, not a measured saving.