Overview
Permission profiles define default approval rules that are merged into the active permission set on startup. They let you declare — once — which operations an agent can run freely, which require confirmation, and which are always denied.Permission modes
Defining a profile
*=deny first, then the exceptions after it.
Rule syntax
Each rule istool=mode:
Denied tools are hidden from the model
When a session has permission rules, the tools those rules deny are no longer sent to the model. The model never sees their names or schemas, so it can’t call them and the prompt is smaller. This holds in every mode, includingdontAsk, bypass and GIZZI_SKIP_PERMISSIONS. A tool is hidden only when the last rule that matches it is a deny. Deny *, then allow a few tools, and the model gets only those few. A session with no rules keeps every tool.
Hosted Platform agents use this: each conversation denies everything except the agent’s tools list.
Listing profiles
Activating a profile
Combining with config.toml
Profiles defined via CLI are persisted inconfig.toml under [permissions.profiles]:
CI usage
In CI pipelines, usedontAsk with a restricted tool allowlist:
ci-safe only allows bash (for the linter) and edit, denying everything else.
Approvals
/inbox lists what is waiting on you, and you approve or deny it yourself. The assistant cannot approve, and a command run by the assistant to approve or deny is refused. Rolling out with the next release, not live yet. See Approvals in your inbox.