[BUG] "Allow for all scheduled runs" folder permission not persisting in scheduled tasks
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
- Open Claude Desktop (Cowork mode)
- Create a scheduled task whose prompt calls
mcp__cowork__request_cowork_directorywith a folder path (e.g. C:\Users\HP\Desktop\Claude\shared) - Click "Run now" on the task
- When the folder access prompt appears, select "Allow for all scheduled runs"
- Wait for the task to complete successfully
- Open the task detail page and check the "Always allowed" panel — it is empty
- 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
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗