OpenAI Devs
@OpenAIDevs
When using a Git repository as the workspace for a Codex session, the default permission profile lets Codex edit source files without explicit approval, but blocks writes to the root .git and .codex folders.
This profile also allows broad filesystem reads, subject to the user’s existing OS permissions. This lets commands access tools and libraries outside the repository if needed.
Each child process inherits its parent’s sandbox constraints. These apply throughout the command’s process tree, even to descendants that outlive the original process.