Repository navigation
cli/tui: add codex trust + warn on untrusted MCP config - #9708
Closed
swordfish444 wants to merge 1 commit into
Closed
swordfish444 wants to merge 1 commit into
swordfish444 wants to merge 1 commit into
Conversation
Contributor
Author
|
Note: the |
Contributor
|
@swordfish444, thanks for the contribution, but we are already working on a fix for this. |
Contributor
Author
|
Makes sense — thanks for the heads up. I left the root-cause summary + mitigation options on #9676 in case it’s useful, and I’m happy to help test the fix on Windows once it lands. |
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.
Fixes #9676.
Project-local
.codex/config.tomlis intentionally only loaded for trusted projects. When[mcp_servers]is defined in an untrusted project config, MCP servers can appear to “disappear” after upgrading because the config layer is skipped.Changes:
• Add
codex trustto mark the current directory (or git root) as trusted (writes toCODEX_HOME/config.toml).• Improve
codex mcp listempty-state messaging for the untrusted project-local MCP config case.• Improve the TUI
/mcpempty-state with the same guidance.• Add CLI regression tests covering the untrusted hint +
codex trustflow.• Update
docs/config.mdto mention project-local config trust.Test plan:
Tagging @AyinMostima and @etraut-openai for visibility.