Skip to content

Commit 8a51cbd

Browse files
committed
core: prevent accidental edits to migration files by restricting agent access
1 parent 399b8f0 commit 8a51cbd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.opencode/opencode.jsonc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"options": {},
66
},
77
},
8+
"permission": {
9+
"edit": {
10+
"packages/opencode/migration/*": "deny",
11+
},
12+
},
813
"mcp": {},
914
"tools": {
1015
"github-triage": false,

0 commit comments

Comments
 (0)