Files
codex/codex-rs/sandboxing
ioanbudea-OAI 776bd46f03 Centralize permission profile compatibility helpers in protocol (#61784)
## What changed

Move legacy sandbox policy conversion into `codex-protocol` and add a shared helper for resolving compatibility writable roots. Re-export the policy helper from `codex-sandboxing` and use the writable-roots helper in both Windows sandbox backends, preserving the existing workspace-write fallback.

## Testing

Add a regression test confirming that an output-only permission profile retains the fallback's output and working-directory writable roots, including protected `.git` and `.codex` subpaths.

GitOrigin-RevId: a40474eb74544f34f7eea8135a7eb1b57706dbc2
2026-11-16 10:48:00 +00:00
..