Description
I was using my "Plan-Expensive" mode, and during planning I asked it to write a todo.md file expecting it to update the plan with a plan to write the todo.md file, but actually it created the file
"plan-expensive": {
"description": "A higher-capability planning mode for difficult design, refactoring, and codebase analysis tasks.",
"mode": "primary",
"model": "github-copilot/gpt-5.5",
"variant": "high",
"reasoningEffort": "high",
"textVerbosity": "low",
"permission": {
"edit": "deny",
"bash": "deny"
}
}
The docs (https://opencode.ai/docs/permissions/) say:
edit — all file modifications (covers edit, write, patch)
Why / How did it create the file when it was denied edit permission, which the docs say includes "write"?
Plugins
None
OpenCode version
1.14.33
Steps to reproduce
Create an agent with
"permission": {
"edit": "deny",
"bash": "deny"
}
Then ask it to create a todo.md file saying "say hi"
It creates the file. I believe it should not have permission to create the file
Screenshot and/or share link
No response
Operating System
Debian
Terminal
No response
Description
I was using my "Plan-Expensive" mode, and during planning I asked it to write a todo.md file expecting it to update the plan with a plan to write the todo.md file, but actually it created the file
The docs (https://opencode.ai/docs/permissions/) say:
Why / How did it create the file when it was denied edit permission, which the docs say includes "write"?
Plugins
None
OpenCode version
1.14.33
Steps to reproduce
Create an agent with
Then ask it to create a todo.md file saying "say hi"
It creates the file. I believe it should not have permission to create the file
Screenshot and/or share link
No response
Operating System
Debian
Terminal
No response