[BUG] ccdScheduledTasksEnabled preference value is silently reset to false on Claude Desktop startup
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 manually editing ccdScheduledTasksEnabled in claude_desktop_config.json to true, the value is silently reset to false after starting Claude Desktop. This happens consistently on every startup.
Environment
Configuration file location:
~/Library/Application Support/Claude-3p/claude_desktop_config.json (macOS)
~/.config/Claude/claude_desktop_config.json (Linux)
Expected behavior:
Both ccdScheduledTasksEnabled and coworkScheduledTasksEnabled should persist their values across restarts.
Actual behavior:
coworkScheduledTasksEnabled: true✅ Persists correctlyccdScheduledTasksEnabled: true❌ Gets reset tofalseon every startup
Root Cause Analysis
Through code analysis of the Claude Desktop app bundle (app.asar), I found:
- Both preferences have identical default values in the code:
coworkScheduledTasksEnabled:!1, // false
ccdScheduledTasksEnabled:!1, // false
- Both are defined in Zod schemas as optional with no default:
coworkScheduledTasksEnabled: nt().optional(),
ccdScheduledTasksEnabled: nt().optional(),
- The issue is related to the preferences writer overwriting the entire config file instead of merging (similar to Issue #32345 which was closed as "invalid" but the underlying problem persists).
Workaround Attempted
Closing Claude Desktop completely before editing the config file does not prevent the reset. The application appears to overwrite the config file during initialization.
---
What Should Happen?
Setting ccdScheduledTasksEnabled: true in the config file should persist across Claude Desktop restarts, just like coworkScheduledTasksEnabled does.
---
Steps to Reproduce
- Ensure Claude Desktop is completely closed (all processes stopped)
- Edit
claude_desktop_config.jsonand set"ccdScheduledTasksEnabled": true - Verify the file content shows
"ccdScheduledTasksEnabled": true - Start Claude Desktop
- Wait for startup to complete
- Check the config file again
- Observe:
ccdScheduledTasksEnabledis nowfalse
---
Related Issues
- Issue #32345 - Config file overwrite bug (closed as "invalid" but similar problem)
- Issue #44129 - Scheduled tasks never execute automatically (related: wakeScheduler unavailable)
---
Claude Model
Not applicable (this is a desktop app preference issue)
Is this a regression?
Unknown - the user only recently needed this feature
Last Working Version
Not applicable
Claude Code Version
Claude Desktop: 1.8089.1
Claude Code CLI: 2.1.142
Platform
Anthropic API
Operating System
macOS (Apple Silicon)
Terminal/Shell
Not applicable (Desktop app)
Additional Information
The user is trying to enable scheduled tasks functionality which depends on ccdScheduledTasksEnabled. The workaround is to manually re-enable the setting after every Claude Desktop restart, which is not sustainable.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗