[PR #7041] docs: fix order of permissions in agents docs (permissions subsection) #12219

Closed
opened 2026-02-16 18:17:08 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7041

State: closed
Merged: Yes


Permission rules are evaluated last-match-wins, so * wildcard should come first with specific rules after. Updated examples to reflect this.

Addresses some confusion in https://github.com/anomalyco/opencode/issues/6856#issuecomment-3708694403

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7041 **State:** closed **Merged:** Yes --- Permission rules are evaluated last-match-wins, so `*` wildcard should come first with specific rules after. Updated examples to reflect this. Addresses some confusion in [https://github.com/anomalyco/opencode/issues/6856#issuecomment-3708694403](https://github.com/anomalyco/opencode/issues/6856#issuecomment-3708694403)
yindo added the pull-request label 2026-02-16 18:17:08 -05:00
yindo closed this issue 2026-02-16 18:17:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12219