mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
feat: allow limited git writes in workspace sandbox
Co-authored-by: Codex noreply@openai.com
This commit is contained in:
co-authored by
Codex noreply@openai.com
parent
d6748f741a
commit
8980fd17ee
@@ -86,6 +86,12 @@ codex --sandbox danger-full-access
|
||||
```
|
||||
|
||||
In `workspace-write`, Codex also includes `~/.codex/memories` in its writable roots so memory maintenance does not require an extra approval.
|
||||
Set the following to allow Git metadata writes under writable roots while keeping Git config and hooks read-only:
|
||||
|
||||
```toml
|
||||
[sandbox_workspace_write]
|
||||
allow_limited_git_writes = true
|
||||
```
|
||||
|
||||
## Code Organization
|
||||
|
||||
|
||||
Reference in New Issue
Block a user