[BUG] Claude Desktop rewrites $schema in ~/.claude/settings.json to invalid URL
Resolved 💬 1 comment Opened May 9, 2026 by ryancwing Closed Jun 8, 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?
Claude Desktop rewrites $schema in ~/.claude/settings.json to invalid URL json-schema.org/claude-code-settings.json — standalone CLI then rejects the file
What Should Happen?
Expected: Desktop writes the canonical schemastore URL.
Actual: Desktop writes a non-existent URL on a different domain.
Error Messages/Logs
Steps to Reproduce
- Have Claude.app running
- Set ~/.claude/settings.json $schema to https://json.schemastore.org/claude-code-settings.json (the canonical value per docs and #11795)
- Wait 1 second; Desktop has rewritten it to https://json-schema.org/claude-code-settings.json
- Launch standalone CLI from terminal → Settings Error, file skipped
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.138 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗