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
{{ message }}
Repository navigation
Permission denied, yet command is executed regardless #7063
I've also set restriction to run these commands in project's instructions AGENTS.md, while this happens:
→ Read frontend/tests/admin-config.test.tsx
The admin-config test is already fixed. Let me run the tests to verify:
# Run frontend tests to verify fixes
$ cd /mnt/c/Users/klo/projects/app/frontend && yarn test 2>&1 | head -100
yarn run v1.22.22
warning ../../../../package.json: No license field
$ vitest
⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯
So it runs yarn regardless all restrictions, and pollutes node_modules
in my config... been working fine for a few days and starting yesterday, commits go through without my approval. Oddly git push still asks for approval.
I have no bash: true in my config. Removing that is what helped @aaronnewsome in his ticket.
One thing I did do is add the Superpowers plugin but there isn't anything to overwrite my config. Will try uninstalling that and testing more.
Activity
github-actions commentedon Jan 6, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
klonuo commentedon Jan 6, 2026
Additionally, I've set:
Yet, it run
rmto remove file without asking meaaronnewsome commentedon Jan 6, 2026
check my issue above, posted by github-actions: #6873
morcth commentedon Jan 6, 2026
I'm experiencing the same thing. New opencode user... I have:
in my config... been working fine for a few days and starting yesterday, commits go through without my approval. Oddly git push still asks for approval.
I have no bash: true in my config. Removing that is what helped @aaronnewsome in his ticket.
One thing I did do is add the Superpowers plugin but there isn't anything to overwrite my config. Will try uninstalling that and testing more.
rekram1-node commentedon Jan 6, 2026
i think you need to add the wildcards:
"git commit *"
"git push" works because it does an exact match on the command
jerome-benoit commentedon Jan 8, 2026
It's a configuration syntax breaking changes not documented, nor expected.
DanOps-1 commentedon Jan 12, 2026
fix: deny bash commands with arguments when command name matches rule
DoiiarX commentedon Jan 31, 2026
蹲
github-actions commentedon Apr 2, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.