Просмотр исходного кода

test: use bypassPermissions mode for unrestricted testing

dontAsk mode was auto-denying Write tool. Use bypassPermissions
instead to allow full tool access in this controlled test environment.
Jesse Vincent 9 месяцев назад
Родитель
Сommit
8fbeca830a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tests/claude-code/test-subagent-driven-development-integration.sh

+ 1 - 1
tests/claude-code/test-subagent-driven-development-integration.sh

@@ -149,7 +149,7 @@ Begin now. Execute the plan."
 
 echo "Running Claude (output will be shown below and saved to $OUTPUT_FILE)..."
 echo "================================================================================"
-cd "$SCRIPT_DIR/../.." && timeout 1800 claude -p "$PROMPT" --allowed-tools=all --add-dir "$TEST_PROJECT" --permission-mode dontAsk 2>&1 | tee "$OUTPUT_FILE" || {
+cd "$SCRIPT_DIR/../.." && timeout 1800 claude -p "$PROMPT" --allowed-tools=all --add-dir "$TEST_PROJECT" --permission-mode bypassPermissions 2>&1 | tee "$OUTPUT_FILE" || {
     echo ""
     echo "================================================================================"
     echo "EXECUTION FAILED (exit code: $?)"