Repository navigation
feat: implement ignore patterns in macOS Sandbox - #299
ShlomoCode wants to merge 3 commits into
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
There are times where allowing the agent to modify files that are covered by .gitignore is useful. Deferring to @fouad-openai for review here. |
|
Yeah the tricky thing is that in full auto mode, commands need to be able to access some of those paths to function. Agree with providing more granularity for read access - we'll likely want it to be more configurable/config option. Thanks for starting this! |
|
@fouad-openai Okay, so would you like to elaborate more on your vision of what the configuration would look like? Or would you like to merge it and continue on your own from here? |
|
Thanks for the contribution! We're primarily focused on the native/Rust implementation of Codex CLI and would love to see if this is still an issue on the latest version. If it is, we're happy to take a look at a PR to the |
This PR implements support for enforcing ignore patterns, which are currently only enforced for the context, also at the sandbox level (see #85 (comment))
Refs:
https://chromium.googlesource.com/chromium/src/+/master/sandbox/mac/seatbelt_sandbox_design.md#sandbox-profile-language
https://reverse.put.as/wp-content/uploads/2011/09/Apple-Sandbox-Guide-v1.0.pdf