[BUG] "Allow for all scheduled runs" folder permission not persisting in scheduled tasks

Resolved 💬 3 comments Opened May 15, 2026 by hellolaixin-png Closed May 18, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When a scheduled task prompts for folder access via request_cowork_directory, clicking "Allow for all scheduled runs" does not save the approval. The "Always allowed" panel on the task detail page remains empty after every approval, and the same folder access prompt appears again on every subsequent run — including automatic scheduled runs.

What Should Happen?

After clicking "Allow for all scheduled runs", the approval should be saved and visible in the "Always allowed" panel on the task detail page. Future runs of the same task should automatically have access to the approved folder without prompting the user again.

Error Messages/Logs

No error messages. The task runs successfully when manually approved, but the "Always allowed" panel always shows: "Approvals you grant during a run appear here." (empty).

Steps to Reproduce

  1. Open Claude Desktop (Cowork mode)
  2. Create a scheduled task whose prompt calls mcp__cowork__request_cowork_directory with a folder path (e.g. C:\Users\HP\Desktop\Claude\shared)
  3. Click "Run now" on the task
  4. When the folder access prompt appears, select "Allow for all scheduled runs"
  5. Wait for the task to complete successfully
  6. Open the task detail page and check the "Always allowed" panel — it is empty
  7. Run the task again (manually or wait for scheduled run) — the folder access prompt appears again

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

1.7196.0 (Claude Desktop)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

This affects all scheduled tasks that require folder access. I have 3 daily scheduled tasks, all requiring access to C:\Users\HP\Desktop\Claude\shared. I need to manually approve folder access every single day for each task, which defeats the purpose of automated scheduling.

I have already tried:

  • Recreating the task from scratch
  • Clicking "Run now" and selecting "Allow for all scheduled runs" on the fresh task
  • The "Always allowed" panel remains empty after every attempt

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗