Keep Claude reviews noninteractive and read-only

This commit is contained in:
2026-09-22 10:52:38 -04:00
parent 883c985707
commit 26f812ac07
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -71,7 +71,8 @@ def main() -> int:
)
result = subprocess.run(
[CLAUDE, "-p", prompt, "--model", "claude-sonnet-5", "--effort", "high",
"--permission-mode", "plan", "--allowedTools", "Read", "Grep", "Glob",
"--permission-mode", "dontAsk", "--disallowedTools", "Edit", "Write",
"NotebookEdit", "--allowedTools", "Read", "Grep", "Glob",
"Bash(git diff:*)", "Bash(git log:*)", "Bash(git show:*)", "Bash(git status:*)"],
cwd=args.worktree, text=True, capture_output=True, timeout=1200,
)