Warn that Auto falls back to prompting when unavailable
Secret Scan / scan (push) Successful in 4s
Build App (Preview) / compute-version (pull_request) Successful in 5s
Build App (Preview) / test (pull_request) Successful in 4m34s
Build App (Preview) / create-release (pull_request) Canceled after 0s
Build App (Preview) / build-linux (pull_request) Canceled after 0s
Build App (Preview) / build-macos (pull_request) Canceled after 0s
Build App (Preview) / build-windows (pull_request) Canceled after 0s
Build App (Preview) / prune-previews (pull_request) Canceled after 0s
Secret Scan / scan (pull_request) Canceled after 0s
Build Container / build-container (pull_request) Canceled after 5m30s

Claude Code starts in its prompting mode when auto isn't available for the
session's model or backend, so a headless Auto task can still stall. Say so
in the task editor, the task runner comment, and HOW-TO-USE.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-25 09:54:29 -07:00
co-authored by Claude Opus 5.5
parent 1a31cf4128
commit 99d8493008
4 changed files with 15 additions and 10 deletions
+4 -3
View File
@@ -61,9 +61,10 @@ TASK_TYPE=$(jq -r '.type' "$TASK_FILE")
# project's permission setting. Keep this mapping in sync with
# PermissionMode::cli_args() in app/src-tauri/src/models/project.rs.
# NOTE: headless `claude -p` runs cannot answer a permission prompt, so any
# mode other than "bypass" or "auto" means the task may stop early when Claude
# Code asks for permission. In "auto", actions the classifier blocks are
# denied rather than prompted, so the run continues without them. Unset or unrecognized values pass no flag (Claude's default).
# mode other than "bypass" means the task may stop early when Claude Code asks
# for permission. In "auto", classifier-blocked actions are denied instead of
# prompted, but if auto mode is unavailable for the session's model/backend,
# Claude Code falls back to prompting and the same stall applies. Unset or unrecognized values pass no flag (Claude's default).
PERMISSION_ARGS=()
case "${TRIPLE_C_PERMISSION_MODE:-}" in
plan) PERMISSION_ARGS=(--permission-mode plan) ;;