Files
codex/codex-rs/protocol
viyatb-oai 965ee845b1 Require a resolved filesystem policy before probing Bubblewrap (#64422)
## 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
2026-11-28 05:03:13 +00:00
..

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.