Approval Classifiers as a Middle Ground

A classifier can reduce routine approval clicks, but it is a decision layer—not a sandbox. Here is how to evaluate the boundary it actually provides.

A practitioner reviews agent tool actions at a classifier gate, distinct from an isolated sandbox.

When an agent asks for approval on every shell command or file edit, people can become habituated to clicking yes. Removing prompts entirely is worse: the agent may perform an action outside the user's intent. The useful design question is not whether to trust the model, but where to place a decision layer that can reduce routine interruptions without pretending to provide a hard security boundary. Anthropic's Claude Code auto mode is one example of that middle ground. This article explains the reported design and proposes a safe way to evaluate the idea locally; that reconstruction has not been run.

The signal

  • Practitioner / team: Anthropic's Claude Code engineering team.
  • Source: How we built Claude Code auto mode, published March 25, 2026.
  • Why this matters: Permission prompts are useful only if reviewers can give them attention. A high approval rate can indicate useful friction, but it can also mean the prompt has become a reflex.

The method in one sentence

Put model-based checks between an agent's intent and consequential tool actions, while retaining distinct protections for untrusted inputs and acknowledging that a classifier can err.

What the source actually shows

Workflow

  1. OBSERVED: Claude Code's default workflow asks before commands or file modifications; Anthropic describes both approval fatigue and the trade-off with sandboxing or disabling prompts.
  2. OBSERVED: Auto mode uses two separate defenses. A server-side prompt-injection probe examines tool results before they enter the agent's context and can add a warning. A transcript classifier evaluates proposed actions before execution.
  3. OBSERVED: Anthropic says its action classifier first uses a fast yes/no filter and invokes a more expensive reasoning stage only when flagged. The classifier sees user messages and tool calls, while the agent's own assistant messages and tool outputs are stripped from that decision context. The source also describes checks around subagent handoffs.
  4. REPORTED: Anthropic says users approve 93% of permission prompts and describes internal incidents that motivated the design. These are vendor-reported observations, not an independently measured estimate of auto mode's safety or effectiveness.

Inputs, tools, and outputs

Element Evidence from the source What we can test
Input User intent and a proposed tool call; a separate probe screens returned tool content Whether a fixed trace makes the intended boundary explicit
Tool / agent step A staged classifier decision, plus a prompt-injection probe Agreement with blinded reviewers; benign blocks and unsafe allows
Output Allow/block decision and, when appropriate, human approval or a warning Whether intervention burden falls without weakening the chosen policy
Quality check Internal evaluation and iterative classifier design are described by Anthropic A pre-registered rubric on a small, inert replay set

A key detail is what this is not. A classifier makes a judgment about an action; a sandbox constrains what the process can access at the operating-system level. A good classifier result does not make filesystem or network access physically impossible. Conversely, sandbox rules can be difficult to maintain when a workflow needs capabilities beyond the isolated environment. The two approaches address different failure modes and may be layered rather than treated as substitutes.

Consider a bounded coding task where the user asks to update a test and run it. Reading the repository and running the specified test may fit the request. Deleting a remote branch, uploading a credential, or applying a production migration would exceed that scope even if an agent can explain a plausible reason. Anthropic uses incidents of this general kind to motivate checks for over-eager behavior and mistakes about blast radius. The practical boundary comes from the user's authorization and action consequences, not merely whether a command looks familiar.

The source's architecture also exposes trade-offs. Screening tool outputs can help identify hostile instructions embedded in retrieved content, but a warning is not a guarantee the agent will ignore it. Removing the assistant's own messages from the action classifier may reduce susceptibility to persuasive self-justification, while also withholding context that could explain why an action follows from earlier reasoning. A fast filter followed by selective deeper review controls decision cost, but its first stage becomes a consequential bottleneck. These are design choices to measure, not proof of universal safety.

Reconstruction plan

  • Task: Build a fixed, inert set of command/action traces paired with explicit user requests. Include ordinary in-scope actions, ambiguous changes, and clearly out-of-scope attempts. Represent risky commands as text only; never execute them.
  • Baseline: Have blinded reviewers classify each trace under a written manual-approval policy. Record whether they would allow, block, or ask for clarification.
  • Smallest useful experiment: Replay the same traces through a classifier gate and a no-gate decision policy, keeping task descriptions and rubric fixed. The unrestricted condition is simulated on paper only. Compare unsafe allows, benign blocks, interventions, reviewer agreement, and latency/cost if available.
  • Artifact to save: Versioned task set, user-intent statements, inert traces, policy definitions, raw decisions, reviewer rubric, and a failure analysis.
  • Success condition: Pre-register the measures; report every trace and uncertainty; show fewer routine interventions without an increase in out-of-scope allows under the chosen threshold.
  • Stop condition: Stop if traces cannot be judged consistently, policy conditions are not comparable, or a safe inert setup is unavailable. Do not test by issuing real risky commands.

Reality check

  • Observed: Anthropic describes an input-side prompt-injection probe and an action-side transcript classifier with staged evaluation.
  • Reconstructed: Nothing locally; the proposed replay remains a HYPOTHESIS .
  • Reported by the practitioner: The 93% approval figure and incident examples come from Anthropic's account. They should not be generalized to another tool or organization without independent measurement.
  • Still unknown: Public descriptions do not establish the false-negative rate for a new environment, the full distribution of actions, or how often the classifier's judgment differs from an informed user.
  • Cost / latency / maintenance constraint: A model-based gate consumes inference and adds latency; calibration and regression testing also need ongoing work. A sandbox may add configuration friction but provides a different, harder enforcement mechanism.

Transfer rule

Try a classifier-mediated approval path only for workflows where repeated prompts measurably interrupt work and you can retain logs, review failures, and constrain the consequences of errors. Use it alongside least privilege and a sandbox where feasible, not as a replacement for them.

Avoid it as the sole safeguard for irreversible operations, secrets, shared infrastructure, or actions with high blast radius. Keep explicit human review or technical isolation for those cases. The recommendation would change if a representative, independently reviewed evaluation showed that the classifier reduces unnecessary interventions while reliably preserving the user's authorization boundary in your own environment.

Practice card

  • Inputs: Fixed user requests, inert tool-call traces, and an explicit authorization rubric.
  • Steps: Label expected outcomes; replay identical traces under manual review and a classifier gate; have a second reviewer score disagreements.
  • Expected output: A trace-level table of decisions, false allows, false blocks, interventions, and review cost.
  • Quality check: Verify that no risky action executed, every decision links to its trace, and the rubric was fixed before scoring.
  • Next iteration: Add examples drawn from real, consented logs only after redaction and a safe review process; revise one policy rule at a time.