Skip to content

Add an opt-in to trust OS-managed settings - #1263

Open
billiam-wang wants to merge 1 commit into
mainfrom
bill-wang_data/trust-os-settings-pr
Open

billiam-wang wants to merge 1 commit into
mainfrom
bill-wang_data/trust-os-settings-pr

Conversation

@billiam-wang

@billiam-wang billiam-wang commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Worktree: ug-trust-os-settings | Branch: trust-os-settings-pr

What did you change, and why?

Add UG_TRUST_OS_SETTINGS=1 to skip OS-managed writes and stale-settings checks for externally maintained hosts, avoiding sudo prompts and UG conflict failures during Omnigent startup. UG still generates per-user settings; Claude/Codex apply native precedence. Existing UG_SKIP_OS_SETTINGS behavior is unchanged.

How do you know it works?

743 passed, 1 skipped across managed-file, Claude, Codex, and integration-contract component tests on main. Ruff check, format check, and ty passed using the existing Python environment (uv dependency download was blocked by DNS). Covers standalone/combined switches, boolean parsing, continued user-config generation, and no managed writes/checks. Live Omnigent testing was not run.


This PR was created with GitHub MCP.

@billiam-wang
billiam-wang marked this pull request as ready for review October 23, 2026 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant