fix: remove --permission-mode plan from reviewer args

Plan mode causes Claude to spend all time on tool calls (Read/Grep)
in -p mode, producing empty stdout. Reviewers receive full context
(diff, plan, checklist) via the prompt, so file access is not required.
Without --permission-mode, -p mode defaults to read-allowed, write-denied.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
이충영 에이닷서비스개발
2026-03-14 18:29:53 +09:00
parent cc8d583914
commit 0858675076

View File

@@ -62,10 +62,7 @@ _CLAUDE_CODER_ARGS = list(_CLAUDE_BASE_ARGS) + [
"bypassPermissions",
]
_CLAUDE_REVIEW_ARGS = list(_CLAUDE_BASE_ARGS) + [
"--permission-mode",
"plan",
]
_CLAUDE_REVIEW_ARGS = list(_CLAUDE_BASE_ARGS)
_CODER_SYSTEM_PROMPT = (
"You are a senior software engineer implementing code changes.\n"