Pārlūkot izejas kodu

core: prevent accidental edits to migration files by restricting agent access

Dax Raad 1 mēnesi atpakaļ
vecāks
revīzija
8a51cbd253
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      .opencode/opencode.jsonc

+ 5 - 0
.opencode/opencode.jsonc

@@ -5,6 +5,11 @@
       "options": {},
     },
   },
+  "permission": {
+    "edit": {
+      "packages/opencode/migration/*": "deny",
+    },
+  },
   "mcp": {},
   "tools": {
     "github-triage": false,