-
Notifications
You must be signed in to change notification settings - Fork 12.3k
Support recursive trusted project roots #19426
Copy link
Copy link
Open
Labels
configIssues involving config.toml, config keys, config merging, or config updatesIssues involving config.toml, config keys, config merging, or config updatesenhancementNew feature or requestNew feature or requestsandboxIssues related to permissions or sandboxingIssues related to permissions or sandboxing
Metadata
Metadata
Assignees
Labels
configIssues involving config.toml, config keys, config merging, or config updatesIssues involving config.toml, config keys, config merging, or config updatesenhancementNew feature or requestNew feature or requestsandboxIssues related to permissions or sandboxingIssues related to permissions or sandboxing
Type
Fields
Give feedbackNo fields configured for issues without a type.
What variant of Codex are you using?
CLI
What feature would you like to see?
Codex currently appears to require exact per-repo trust entries like:
For users who keep many trusted repositories under a known parent directory, it would be useful to support an explicit trusted umbrella/root, for example:
or an equivalent dedicated setting such as:
This would let repositories under
/Users/me/repos/*inherit trusted status without clutteringconfig.tomlwith one entry per repo. Exact child entries should still be able to override the inherited trust, e.g. marking a sensitive subdirectory as untrusted.Additional information
Related pain points have come up around exact-path trust, wildcard/global trust not working, and
config.tomlaccumulating many auto-added trust entries. This request is narrower than trusting every directory globally: it asks for an explicit recursive trust boundary chosen by the user.