bolt agy-skills AGY 2.0
code

Permission request

What the harness shows the user before executing a tool call that isn’t pre-approved. The model produces a tool call; instead of running it immediately, the harness pauses and asks. Approve and it runs; deny and the harness reports the denial back to the model as a tool result. The mechanism by which a harness puts a human in the loop for risky or sensitive actions.

The lifecycle of a permission request:

Step Who What happens
1 Model Produces a tool call
2 Harness Checks it against the permission mode and any saved approvals
3 Harness Pre-approved: executes immediately. Otherwise: pauses and shows the request
4 User Approves once, approves for the rest of the session, or denies
5 Harness Executes the call, or sends the denial back as a tool result

Denying a request steers the agent. The model reads the denial like any other tool result and reacts to it, it tries a different approach, or asks what you’d prefer. Most harnesses let you attach a message to the denial, which turns the request into a steering point: “not like that, use the migration script instead” lands exactly when the model is deciding what to do next.

The cost is that every request is a synchronous wait on you. The agent sits blocked until you answer, which is fine while you’re watching and a problem when you’re not, an agent that triggers requests constantly can’t be left to work AFK. The permission mode is the dial: which calls run freely, which ask first, ideally with a sandbox making it safe to widen the free set.

Usage:

“It’s been blocked on a permission request for ten minutes, I was in a meeting.”

“That’s the cost of human-in-the-loop. Pre-approve the safe tools so the request only fires on the actually-risky calls.”


Back to AI Coding Dictionary Back to Home