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
+32 -4
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]] [[rule]]
toolName = "run_shell_command" toolName = "run_shell_command"
commandPrefix = [ commandPrefix = [
@@ -5,9 +35,9 @@ commandPrefix = [
"find", "find",
"head", "head",
"cat", "cat",
"echo",
"cd", "cd",
"grep", "grep",
"npm",
"npm run start", "npm run start",
"npm install", "npm install",
"npm run", "npm run",
@@ -20,14 +50,12 @@ commandPrefix = [
"git branch", "git branch",
"git br", "git br",
"git log", "git log",
"git add",
"git show", "git show",
"gh pr", "gh pr",
"gh repo view", "gh repo view",
"gh run", "gh run",
"gh api", "gh api",
"gh log", "gh log"
"code"
] ]
decision = "allow" decision = "allow"
priority = 100 priority = 100