What "permissions" means in Zero
Zero has a permission mode system that controls whether the agent prompts the user before taking side-effectful actions (writing files, running shell commands, network access, etc.). The modes are:
ask — interactive default; prompts before every write/shell/network action
auto — auto-approves low-risk tools, prompts for higher-risk ones
unsafe — disables permission prompts entirely; all tool calls are auto-allowed (the sandbox still enforces hard blocks like out-of-workspace writes)
The current situation
Right now, the only way to run in unsafe mode is to pass --skip-permissions-unsafe as a CLI flag on every invocation, or use --auto high with zero exec. There is no way to persist this preference in the config file.
The FileConfig struct (internal/config/types.go) supports fields like sandbox, notify, tools, mcp, etc., but has no permissionMode field.
What this feature request is asking for
Add a permissionMode (or similar) key to the config file (e.g. ~/.config/zero/config.json or the project-level config) so users can set their preferred mode persistently. For example:
{
"permissionMode": "unsafe"
}
Use case
This is useful for trusted local environments or CI pipelines where the user doesn't want to pass --skip-permissions-unsafe on every run, and doesn't want to be interrupted by permission prompts. It's essentially a "remember my choice" for the permission mode.