Repository navigation
Replies: 1 comment 1 reply
|
This looks like a gap between OAC's prompt-level approval rules and OpenCode's actual tool permissions. Looking at the current agent definitions:
Both agents contain explicit approval instructions, but these are model instructions, not enforced permission gates. The model can simply skip them. For OpenCode V1, a stricter configuration in each agent's frontmatter would be: permission:
edit:
"*": "ask"
bash:
"*": "ask"
task:
"*": "ask"Existing For OpenCode V2, the equivalent uses a One important distinction: tool-level approval prevents unapproved execution, but it doesn't guarantee that the agent presents a proposed plan or diff beforehand. That requires a separate plan → approval → execution workflow. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I've started using OAC. One of the big benefits I was hoping for was that it would constantly ask me for approvals before changing anything. But at least 3 times in the first morning of using it I've had OpenAgent or OpenCoder go ahead and change code withoutr asking for a review or approval. Here's an example where it's admitted guilt:
What might I be doing wrong that it's just ignoring what the skills files tell it and then apologises later after the damage is done?
All reactions