mirror of
https://github.com/openai/codex.git
synced 2026-10-15 16:48:52 +00:00
## Why MXC rejected symbolic temporary-directory and minimal filesystem entries, preventing policies using them from reaching execution. ## What changed - Resolve `Tmpdir` entries from absolute `TEMP` and `TMP` paths in the filtered command environment, matching variable names case-insensitively. - Ignore `SlashTmp` entries because `/tmp` has no special meaning on the Windows executor. - Include platform read roots when the policy requests platform defaults, preserving explicit denies. ## Testing Add coverage for temporary paths and invalid environment values, optional platform roots, explicit denies, empty commands, and Windows case-insensitive read/write overrides. GitOrigin-RevId: feb69157ff35bcf648fa0ed0e7d4376818bc1941