Files
codex/codex-rs/protocol/src
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
..