Permission modes

Decide when RiloCode asks before editing or running a command.

Set the mode in the project's rilo.json.

{
  "permission_mode": "auto-edit"
}
ModeApproval behavior
askUses the project's permission rules and asks when approval is required. This is the default.
auto-editAllows edits. Shell commands use the project's permission rules.
full-autoAllows edits and shell commands subject to explicit denies.

Destructive shell commands ask every time in ask and auto-edit. Explicit denies still apply in all modes. Set RILO_PERMISSION_MODE to override the file for a single environment.

Markdown version