mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
Preflight `/cwd` against the active sandbox before switching the live session directory. If the target would be unusable, the TUI now opens a focused permissions prompt instead of reporting a late failure. This keeps cwd changes aligned with the existing permissions UX and adds focused tests plus snapshot coverage for the new prompt.