mirror of
https://github.com/openai/codex.git
synced 2026-10-15 16:48:52 +00:00
## Why Expanded recursive deny lists can exceed the Windows command-line limit, preventing sandbox wrappers and setup helpers from launching. ## What changed - Use chunked environment transport for wrapper and non-elevating setup payloads above 24,000 UTF-16 code units, preserving the existing argument protocol for smaller requests. - Share the transport with the MXC launcher, supporting payloads up to 16 MiB with Unicode-safe chunking and validation. - Keep transport variables out of the workload environment and remove inherited chunks before launching setup helpers. ## Testing Add coverage for transport boundaries, Unicode round trips, malformed payload rejection, environment cleanup, and large payloads crossing Windows process creation. Extend the elevated sandbox integration test with 1,000 nested denied files to verify read restrictions and `AGENTS.md` discovery with a payload exceeding the command-line limit. GitOrigin-RevId: 8ef92fdc7d534143f0eac76036a2173a6f585d08