Skip to content

Scheduled tasks: 'Always allow' option missing from permission prompts #33027

Description

@dust2dustin

Description

When a scheduled task triggers a permission prompt during execution, only the "Allow once" option is presented. The "Always allow" option that appears in interactive CLI sessions is missing.

This makes it difficult to achieve fully automated scheduled tasks — each run may re-prompt for the same permission, and since the user isn't watching a scheduled task, the prompt blocks execution indefinitely.

Expected behavior

Permission prompts in scheduled task context should offer "Always allow" (persist to settings) in addition to "Allow once", matching the behavior of interactive sessions.

Steps to reproduce

  1. Create a scheduled task that uses curl or playwright-cli commands
  2. Run the task via Claude Code Desktop scheduler
  3. Observe that permission prompts only show "Allow once" — no "Always allow" option

Environment

  • Claude Code Desktop (macOS)
  • Scheduled tasks via ~/.claude/scheduled-tasks/
  • Commands that should match existing auto-allow patterns (e.g., curl, playwright-cli) still trigger prompts in scheduled context

Workaround

Pre-configuring exact command patterns in ~/.claude/settings.json under allowedTools works for some commands, but the interactive "Always allow" flow would be much more ergonomic for discovering which permissions a task needs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions