Skip to content

fix(start): skip bypassPermissions prompt for non-interactive modes#604

Merged
acreeger merged 1 commit intomainfrom
fix/bypass-permissions-prompt-non-interactive
Feb 16, 2026
Merged

fix(start): skip bypassPermissions prompt for non-interactive modes#604
acreeger merged 1 commit intomainfrom
fix/bypass-permissions-prompt-non-interactive

Conversation

@acreeger
Copy link
Collaborator

Summary

  • Skip the bypassPermissions confirmation prompt when --no-claude is passed or in JSON mode
  • Previously JSON mode threw an error, blocking non-interactive workflows using --one-shot=bypassPermissions
  • The explicit --one-shot=bypassPermissions flag is sufficient intent; the safety warning is still shown when Claude actually launches via il spin

Test plan

  • il start <issue> --one-shot=bypassPermissions --no-claude proceeds without prompt
  • il start <issue> --one-shot=bypassPermissions --json no longer throws
  • il start <issue> --one-shot=bypassPermissions (interactive, with Claude) still shows confirmation prompt
  • il spin in a loom created with bypassPermissions still shows the warning and applies the mode

Skip the bypassPermissions confirmation prompt when --no-claude is
passed (Claude won't launch) or in JSON mode (non-interactive). The
explicit --one-shot=bypassPermissions flag is sufficient intent, and
the warning is shown again when Claude launches via 'il spin'.

Previously JSON mode threw an error instead of proceeding, blocking
non-interactive workflows that use bypassPermissions.
@acreeger acreeger merged commit 10a373e into main Feb 16, 2026
4 checks passed
@acreeger acreeger deleted the fix/bypass-permissions-prompt-non-interactive branch February 16, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant