You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Activity
github-actions commentedon May 3, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct from the above (e.g. it reproduces without subagents, or on a specific version), please note that in the issue.
thdxr commentedon May 3, 2026
can you share
opencode debug configmejobloggs-cw commentedon May 3, 2026
opencode debug config
thdxr commentedon May 3, 2026
i tested that config and it works fine. you might want to have it deny the
task: { general: "deny"}so it can't spawn a subagent that can editmejobloggs-cw commentedon May 3, 2026
With my config, using "Plan-Expensive", it will create a new file 100% of the time with the prompt:
```create a todo.md file that says hello world"``
I confirm that by adding permission:
"task": { "general": "deny"}Plan-Expensive can no longer create the file.
But why does it ignore
"edit": "deny"and"bash": "deny"?It seems like a permissions vulnerability if an agent is explicitly denied write access, but can just spawn a subagent that's allowed write access
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.