Unclear It is unclear whether this code can actually run in this build.
What
Managed settings are settings an administrator sets for a machine. Claude Desktop can start Claude Code for you, and new code lets it supply and check settings for that session:
- Claude Code can read
/etc/claude-desktop/managed-settings.jsonand anoverrideClaudeCodeSettingsdevice-profile entry. This applies when--managed-settingscarries aclaudeDesktopSettingsEntry. - That path is refused on WSL, in interactive starts, and when Desktop does not confirm the start over descriptor 4, an extra channel between the two programs.
- Keys such as
enabledPluginsare stripped from that document, except where they are set to false. - If the policy cannot be applied, Claude Code stops with "Claude Desktop's policy was not applied, so Claude Code did not start".
- The message explaining why managed settings do not apply now says "Claude Desktop's settings for this session stand in their place". It used to say "a --managed-settings document stands in their place in this session".
- The version readout for a launcher host,
get_binary_version, can now includeanalyticsDisabled,settingsArgumentKeys,managedSettingsArgumentKeysandlauncherSignInNotAskedReason. These report which--settingsand--managed-settingskeys arrived at start, and are marked internal. - Plugin modules now receive their
settings.readregistrations alongside their environment ID, andhostPolicyInForcewas replaced bydesktopProfileSettings.
The new reading code shows signs of being stripped at build time, so it is unclear whether it is active in this build.
Why
In organisations that manage Claude Desktop, Desktop may become the source of Claude Code's managed settings for sessions it starts. A session can refuse to start when that policy cannot be applied.
Names in the bundleoverrideClaudeCodeSettings
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is unclear whether this code can actually run in this build.
Anthropic's release notes agree
Fixed /terminal-setup refusing to update a VS Code settings.json that has trailing commas