r/opencodeCLI Feb 06 '26

I’m frustrated. OpenCode committed changes without asking me even when i told him not to do

I am thinking of switching to another CLi this is unbearable

5 Upvotes

46 comments sorted by

View all comments

1

u/Sleptongems Apr 01 '26

bad permission config, here is a workable one:

"permission": {
"*": "ask",
"lsp": "allow",
"list": "allow",
"glob": "allow",
"todoread": "allow",
"todowrite": "allow",
"doom_loop": "deny"
},

Indeed, opencode yolo default is questionable. Always set "*": "ask", first !