Trust and permissions
Open Max requires trust before running an agent turn or loading project behavior. Grant trust only to a project whose code and extensions you are prepared to run. Open Max saves the grant and approval mode in ~/.openmax/trust.json. A trusted path covers its subdirectories. A separate worktree outside that path needs its own grant.
Choose an approval mode
Use /permissions in the terminal UI to see or change the project's mode.
| Mode | Behavior |
|---|---|
ask | Prompts for mutating calls unless an applicable allow rule covers them. Unapproved external tools require content approval. |
readonly | Blocks mutating calls and calls that would require approval. |
auto | Runs authorized calls without prompting. Deny rules, validation, and hook gates still apply. |
In ask mode, Open Max binds extension approvals to the manifest and the project files it names. Editing that content requires a new approval. Run openmax --spec permissions for the permission rule format.
Understand process access
Open Max confines built-in file tools to the project root. Shell commands, external tools, and hooks run as native processes with the filesystem and network access of the account running Open Max. External tools receive a reduced environment plus any variables named in their manifests. Approval modes control which calls Open Max dispatches. Use OS-level isolation when you need to restrict what a command can access after it starts.
See approval rules, project trust, and native execution for the detailed rules.