Auto allow lens_diagnostics and bash sort, removing allow for tools not enabled

This commit is contained in:
2026-07-15 11:07:19 +02:00
parent fd01d4a42e
commit ed360e5cc2

View File

@@ -1,5 +1,8 @@
{ {
"$schema": "https://raw.githubusercontent.com/gotgenes/pi-packages/main/packages/pi-permission-system/schemas/permissions.schema.json", "$schema": "https://raw.githubusercontent.com/gotgenes/pi-packages/main/packages/pi-permission-system/schemas/permissions.schema.json",
"debugLog": false,
"permissionReviewLog": true,
"yoloMode": false,
"permission": { "permission": {
"*": "ask", "*": "ask",
"path": { "path": {
@@ -10,11 +13,9 @@
}, },
"read": "allow", "read": "allow",
"glob": "allow", "glob": "allow",
"grep": "allow",
"find": "allow",
"ls": "allow",
"write": "allow", "write": "allow",
"edit": "allow", "edit": "allow",
"lens_diagnostics": "allow",
"bash": { "bash": {
"*": "ask", "*": "ask",
"cat *": "allow", "cat *": "allow",
@@ -35,6 +36,7 @@
"rg *": "allow", "rg *": "allow",
"find *": "allow", "find *": "allow",
"fd *": "allow", "fd *": "allow",
"sort *": "allow",
"diff *": "allow", "diff *": "allow",
"cmp *": "allow", "cmp *": "allow",
"comm *": "allow", "comm *": "allow",