Approvals

{
  "id": "apr_...",
  "kind": "tool_call | tool_call_batch | plugin_install | plugin_update | memory_question | question",
  "risk": "low | medium | high",
  "question": "Send this email to sam@example.com?",
  "details": { "plugin": "mail", "tool": "send", "args": { } },
  "options": ["yes", "no", "edit"],
  "expires_at": "..."
}

What the turn does while it waits:

Answer:

{ "answer": "yes" }
{ "answer": "no", "note": "optional reason shown to the model" }
{ "answer": "edit", "args": { "subject": "New subject" } }

A question card comes from the model's ask_user tool. details holds question and options (up to 6, only suggestions). Answer with { "answer": "reply", "text": "..." } (any text, up to 1000 characters) or { "answer": "no" } to skip.

It is low risk, a client token may answer it, and a late reply starts a short follow-up turn. Turns the user is not waiting on (scheduler, trigger) cannot ask.

edit replaces some tool arguments. The core checks the new arguments against the tool's input schema and the Safety Gate again before running. edit is not allowed on a batch.

Batches

Six calendar holds should be one tap, not six. The core, not the model, groups them.

{
  "id": "apr_...",
  "kind": "tool_call_batch",
  "risk": "low",
  "question": "Add 6 calendar holds?",
  "items": [
    { "item_id": "it_1", "plugin": "calendar", "tool": "create_event", "args": { } }
  ]
}

Why only low: a batch of sends or deletes invites a blind yes. For low calls the worst case is a few private entries that can be undone.

Autonomy levels

The effective level comes from these rules, in this order:

  1. Plugin never is final. Only disabling the plugin or tool changes it.
  2. User config (per tool, owner token): if set, it is used. A user may loosen a tool the plugin marked ask, or tighten one the plugin marked auto.
  3. Plugin request: the level in plugin.yaml, used when the user has set nothing. It is only a request and is shown on the approval card.
  4. Core floor (built in, not editable by the model): any tool tagged sends, spends, deletes or shares is at least ask, whatever the first three say. The user can lower one of these to auto only through PATCH /v1/config with an owner token, per tool, and only with a spending cap for spends.

never from the user always blocks. Unknown tools default to ask.

Tags are claims made by the plugin author. See Plugins, Tool tags, for how they are checked.

More in code