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
Rule syntax
Each rule istool=mode:
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.