fix(skills): secure and complete async-pr-review policy.toml

This commit is contained in:
mkorwel
2026-03-11 11:02:38 -07:00
parent 0c8b8bdacb
commit 739de66d87

View File

@@ -1,3 +1,33 @@
[[rule]]
toolName = "read_file"
decision = "allow"
priority = 100
[[rule]]
toolName = "write_file"
decision = "allow"
priority = 100
[[rule]]
toolName = "grep_search"
decision = "allow"
priority = 100
[[rule]]
toolName = "glob"
decision = "allow"
priority = 100
[[rule]]
toolName = "list_directory"
decision = "allow"
priority = 100
[[rule]]
toolName = "codebase_investigator"
decision = "allow"
priority = 100
[[rule]]
toolName = "run_shell_command"
commandPrefix = [
@@ -5,9 +35,9 @@ commandPrefix = [
"find",
"head",
"cat",
"echo",
"cd",
"grep",
"npm",
"npm run start",
"npm install",
"npm run",
@@ -20,14 +50,12 @@ commandPrefix = [
"git branch",
"git br",
"git log",
"git add",
"git show",
"gh pr",
"gh repo view",
"gh run",
"gh api",
"gh log",
"code"
"gh log"
]
decision = "allow"
priority = 100