mirror of
https://github.com/openai/codex.git
synced 2026-11-29 00:00:54 +00:00
## Why Codex checks candidate Bubblewrap executables before sandbox confinement. At that point, the metadata protections applied by the sandbox are not yet in effect. ## What changed Evaluate candidate paths against configured filesystem restrictions without counting sandbox-applied metadata protections or discovered Git metadata carveouts. Skip executable lookup when permission resolution fails. ## Testing Extend the managed-network regression test to verify that writable Bubblewrap candidates are skipped with a legacy Git metadata carveout or a metadata resolution error. GitOrigin-RevId: 17045604caadfb41cac78a252cf3a519b7149aed
codex-protocol
This crate defines the "types" for the protocol used by Codex CLI, which includes both "internal types" for communication between codex-core and codex-tui, as well as "external types" used with codex app-server.
This crate should have minimal dependencies.
Ideally, we should avoid "material business logic" in this crate, as we can always introduce Ext-style traits to add functionality to types in other crates.