What this thread does
Do first: Open Devin Local settings under Allow, Deny and Ask; add Exec(git status) to allow status commands.
Short answer
The terminal page now describes Devin Local permission rules. Command prefixes match whole words; uncovered calls follow the session mode. Edit a proposed command in its approval card before accepting it.
What to do
| Item | Value / action |
|---|---|
| Allow; Deny; Ask | Settings categories for no-prompt execution, blocking and approval. |
| permissions.allow; permissions.ask; permissions.deny | Config arrays for the three outcomes. |
| Exec(git status) | Narrow example allow. |
| Exec(prefix) | Matches a complete-word command prefix. |
| Exec(git); git status; git commit; gitk; github-cli | Matches the Git examples, excludes gitk and github-cli. |
| Exec(npm run) | Allow a script-command family. |
| .devin/config.json | Team/project permissions live under permissions. |
| .devin/config.local.json | Personal project override. |
| Deny always wins | An allow never overrides a matching deny. |
| Specific allow versus broader ask | At the same level, equally or more specific command/MCP allows can carve out an ask exception. |
| Organization > Session > Project local > Project > User | Configuration-source precedence; lower-level allow cannot override higher-level ask. |
| Code | Default change-making mode; workspace edits auto-approve, uncovered shell commands prompt. |
| Smart | Fast model may approve routine uncovered calls; uncertainty prompts. Gradual rollout can hide it. |
| Bypass Permissions | Auto-approves uncovered calls; organization-enforced asks/denies remain. |
| Ask; Plan | Read-only questions / planning. |
| /code; /smart; /ask; /plan; /bypass | Input commands to switch modes; also use the mode selector. |
| Autonomous | Sandboxed sessions use this mode instead of ordinary permission modes. |
| Once: unsaved; Session: memory | Temporary approval persistence. |
| Project; Project local; Global | Persist to .devin/config.json, .devin/config.local.json or user config respectively. |
| Command specificity | Exact beats prefix; longer prefix beats shorter for allow-versus-ask exceptions. |
| Smart high-risk exclusions | Uncovered installs, mutating Git, rm, sudo, destructive cloud actions and sensitive-file access always prompt. |
| Read()/Write() exception excluded | The narrow-allow ask exception applies to command/MCP matchers, not path globs. |
Limits and open questions
Rules are evaluated before Smart’s classifier. Organization-enforced rules remain active in every mode. The current terminal page does not document an old Windsurf auto-execution-level setting. Global approval refers to user config; this thread provides project file paths.
Not for: Claude Code Bash permission matchers.
Sources
- terminal documentation, Cognition.
- permissions documentation, Cognition.
- modes documentation, Cognition.
Checked
2026-11-16; read terminal, permissions, modes documentation; no command was run.
Started from a post by @Cognition, packaged by the editor. Original post