Make managed settings synchronization explicit - #436
Open
anthonyivn2 wants to merge 1 commit into
Open
Conversation
Signed-off-by: Anthony Ivan <anthony.ivan@databricks.com>
anthonyivn2
force-pushed
the
feat/optional-managed-settings-sync
branch
from
September 2, 2026 00:04
75fcbfa to
55a69b5
Compare
anthonyivn2
marked this pull request as ready for review
September 2, 2026 00:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make OS-managed configuration synchronization explicit and optional for Claude Code and Codex.
ucode configure --sync-managed-settingsfor intentional machine-wide synchronization.ucode claudeanducode codexlaunches read-only with respect to OS-managed settings.ucode revert.ucode configurebehavior after this PRPlain configuration
ucode configureanducode configure --agents ...configure selected agents locally.For Claude Code and Codex, they:
Explicit managed synchronization
ucode configure --sync-managed-settingskeeps the normal agent picker and synchronizes OS-managed settings only for selected agents that support it: Claude Code and Codex./etc/codex/managed_config.tomlon macOS and the platform-specific managed path elsewhere.Because these settings are machine-wide, they can also affect Claude Code or Codex launched outside ucode, including editor extensions.
Launch validation
ucode claudeanducode codexvalidate higher-precedence OS-managed settings but never write them or request elevation.Cleanup and restoration
A later plain
ucode configureorucode revertrestores only changes recorded as ucode-owned. Administrator changes made after synchronization are not overwritten. If restoration requires unavailable administrator access, ucode reports incomplete cleanup rather than causing ordinary launch commands to request elevation.Validation