summaryrefslogtreecommitdiff
path: root/tests/claude-code
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2025-11-29 17:15:21 -0800
committerJesse Vincent <jesse@fsck.com>2025-12-17 16:44:50 -0800
commit8fbeca830a89027f9a40ee7cdcfee54202b9f65a (patch)
treee458499babcb2be87b619553ee9fee59a1008e1b /tests/claude-code
parent67de772d7f8fc53e426e856571a22dba69d625a1 (diff)
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.
Diffstat (limited to 'tests/claude-code')
-rwxr-xr-xtests/claude-code/test-subagent-driven-development-integration.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/claude-code/test-subagent-driven-development-integration.sh b/tests/claude-code/test-subagent-driven-development-integration.sh
index cf3c730..e528519 100755
--- a/tests/claude-code/test-subagent-driven-development-integration.sh
+++ b/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: $?)"