Safe AI agent approvals rely on four distinct control patterns matched to an action's reversibility and blast radius: block (pre-execution gate on irreversible or external writes), batch (one review card for a grouped set of related actions), sample (periodic human audits on high-volume low-risk classifications), and reversible-by-default (staging diffs, branches, or drafts that only become permanent on human action). Using a single "Click Approve to continue" prompt for every tool call guarantees approval fatigue and turns oversight into theatre.

Every public agent incident follows a predictable script: an agent holds broad credentials, reads untrusted text from an email, GitHub issue, or web page, treats that text as an instruction, and fires an irreversible API call before anyone sees the payload. Adding a polite confirmation dialog that summarizes what the agent thinks it is about to do does not fix that architecture.

Not every action deserves a modal dialog, and not every action can be safely automated. Map each capability to one of four patterns based on whether a mistake can be undone cleanly.

1. Block (pre-execution gate)

The agent prepares the exact API payload, pauses execution, and waits for an explicit human confirmation before the credential broker attaches a single-use token.

Use block for any action that moves money, changes billing state, sends an external message to a customer or stranger, modifies production infrastructure, or merges code into a protected branch. In Founder2, outward writes like creating a GitHub issue or posting a comment require an explicit approval card with the destination and verbatim text shown first; Red actions such as sending email, merging PRs, or issuing Stripe refunds have no auto-execute path at all.

2. Batch (bundled review)

When an agent finishes an investigation, it often proposes three to five tightly linked steps: opening one bug issue, updating two plan claims, and staging four customer follow-up drafts. Asking for eight separate clicks fractures attention.

Batch groups related, coherent writes from a single job into one reviewable unit that enumerates every individual side effect. The founder inspects the list, unchecks any item they dislike, and approves the bundle once.

3. Sample (post-hoc audit)

For high-volume internal classification work, such as categorizing 200 support messages or clustering Sentry stack traces, blocking on every item stalls the workflow and teaches the human to rubber-stamp.

Sample runs the classification automatically against an internal, non-destructive label store and surfaces a random 10% sample (plus low-confidence outliers) during a weekly review. You catch systematic drift without paying a per-item click tax.

4. Reversible-by-default (staged diffs and branches)

Whenever a system supports native versioning or staging, make the agent's default output a draft rather than a live mutation.

  • Editing a living business plan produces an inline suggestion diff that sits beside the canonical block until accepted.
  • Writing application code happens in an isolated feature branch with unit tests, never directly on main.
  • Drafting customer outreach saves to a review queue with zero SMTP or Gmail send scope attached to the agent's runtime.

Reversible-by-default eliminates 80% of approval modals while preserving 100% of human control over what ships.

Four human-in-the-loop patterns matched to reversibility and volume.
CriterionPatternMechanismWhen to use itRisk profileConcrete SaaS exampleHow it runs
Block (per-action gate)Irreversible external effects, money movement, public writes, or production merges.Issuing a Stripe refund, sending customer email, merging PR #142, deleting records.
Batch (bundled review)Multiple related low-to-medium writes generated from one investigation.One approval card covering 'create 1 GitHub issue + stage 3 follow-up draft replies'.
Sample (post-hoc audit)High-volume, low-blast-radius classifications where 100% gating creates fatigue.Tagging support tickets or clustering Sentry issues; founder audits 10% weekly.
Reversible-by-defaultInternal state changes with clean rollback, version history, or draft staging.Plan suggestions arriving as inline diffs, opening a feature branch, staging a draft email.

To decide which pattern governs each integration, classify every API capability across five verbs: Read, Write, Spend, Delete, and Send.

Notice the crucial architectural boundary: prompt instructions are not a security boundary. Untrusted text from a support ticket, Reddit thread, or GitHub issue enters the model's context window as data. If the agent VM itself holds a read/write GITHUB_TOKEN or sk_live_ Stripe key in environment variables, a prompt injection can bypass any markdown rule in AGENTS.md.

Enforce the matrix outside the model inside a credential broker or restricted API proxy:

  • The agent runtime holds zero raw third-party secrets.
  • Read-only tokens stay separate from write endpoints.
  • Write requests pass through a policy engine that checks the risk tier (Green = execute, Amber/Red = pause for signed human confirmation) before injecting a scoped credential for that single approved payload.
Blast radius across the four core SaaS surfaces (Read, Write, Spend, Delete, Send).
CriterionSurfaceToolGreen (Auto / Reversible)No external side effectAmber / Red (Blocked)Requires named yes
StripeRead subscriptions, invoices, customers, MRR snapshots.Refunds, price/plan edits, subscription cancellations, payouts (block or manual-only).
GitHubRead repos, issues, diffs; push commits to an isolated feature branch.Create issue/comment (Amber); merge to main, force-push, change repo settings (Red).
Customer emailRead forwarded threads; write local unsent drafts inside workspace.Send outbound reply, bulk sequence, or domain DNS/SPF edits (Red block).
Production databaseRead-only replica queries with row limits and PII redaction.INSERT, UPDATE, DELETE, DROP, schema migrations (strictly blocked or manual).

Enforcement belongs in the credential broker or token scope, never in prompt instructions alone.

Most approval dialogs fail because they compress the action into a reassuring sentence like "Agent wants to update GitHub". Compression hides the exact mistake you needed to catch.

Before shipping or trusting any approval UI, verify that every card answers five questions plainly:

  1. Destination: What exact repository, email recipient, Slack channel, or Stripe customer ID will receive this call? ("GitHub" is not a destination; leemer/web#412 is.)
  2. Full payload: Can you read the exact, untruncated text, SQL query, or JSON body that will be transmitted? Summaries hide leaked internal metrics and tone mistakes.
  3. Diff and scope: Which lines, records, or dollar amounts change, and how many items are affected?
  4. Reversibility: Once executed, can this action be rolled back cleanly, or is it permanent (like an outbound email or DELETE)?
  5. Credential identity: Under whose name, account, and token scope will the destination log this action?

If an approval prompt omits any of those five answers, it is approval theatre.

  • Destination

    Question 1

    Exact repo, email address, Stripe ID, or table.

  • Payload

    Question 2

    Full verbatim body, not an LLM summary.

  • Diff / Scope

    Question 3

    Exact lines or records added, changed, or spent.

  • Rollback

    Question 4

    Whether the effect can be undone and how.

Over-gating is just as dangerous as under-gating, because humans adapt to noisy alerts by clicking through them.

Never put a blocking approval modal on:

  • Read-only workspace queries (unless reading sensitive PII that warrants audit logging).
  • Local file writes inside a disposable sandbox where the agent runs tests or linters.
  • Reversible plan drafts or task-board suggestions that carry a one-click Reject or Undo button.

Keep your approval surface quiet. One crisp Amber card for an external write you actually need to inspect beats twenty Green popups for routine reading. You can inspect a ready-to-use risk classification policy in the Agent Guardrails Pack or generate repository rules with the Founder2 AGENTS.md generator.

How do you design an AI agent approval workflow?

Match each tool call to its blast radius rather than gating every step: run read-only queries automatically, stage internal changes as reversible diffs or feature branches, batch related low-risk edits, and require an explicit blocking human approval card with destination and full payload before any external write, send, or money movement.

What are the four approval patterns for AI agents?

The four patterns are block (pausing an irreversible or external write until a human inspects the full payload), batch (reviewing a grouped set of related actions on one card), sample (auditing a random subset of high-volume internal classifications post-hoc), and reversible-by-default (producing inline diffs, feature branches, or unsent drafts instead of live writes).

Why do prompt-based approval rules fail?

Prompt rules live inside the same language model context as untrusted external inputs like customer emails, web pages, and issue comments. A prompt injection inside those inputs can convince the model to ignore its instructions. Real safety requires keeping raw API keys out of the agent runtime and enforcing approval gates inside a separate credential broker.

What is approval fatigue and how do you prevent it?

Approval fatigue happens when an agent interrupts a founder dozens of times a day for low-risk reads or reversible drafts, training the human to click Approve automatically. You prevent it by gating only external writes, spending, deletions, and sends while letting read-only analysis and reversible local drafts run unblocked.

Which five details must every agent approval card display?

Every approval card must show the exact destination target, the full untruncated payload (never a summary), the specific diff or record count affected, whether the action is reversible, and the exact credential or account identity that will execute the request.

Should an AI co-founder ever auto-merge pull requests or issue Stripe refunds?

No. Merging to production and issuing refunds or plan changes are high-blast-radius, outward-facing actions. Keep the coding agent scoped to pushing branches, running tests, and proposing pull requests or issues for human review, and keep Stripe connected via read-only restricted keys.

Sources

Checked 22 November 2026.