The Wire · Showcase
CODEX CUTS REQUEST CLONING OVERHEAD WHILE HARDENING SANDBOX AND SPEECH CONTROLS
By RepoJournal · Filed · About OpenAI
A critical performance fix removes O(n) clones from every model request, while three parallel hardening efforts shore up Windows sandbox isolation, resource caching, and policy evaluation.
The biggest win lands in sampling: Codex now avoids cloning the full prepared input on every request [1], eliminating expensive copies that grow with conversation size. Instead, the input moves into the sampling loop and returns with results, preserving backward compatibility for the legacy after-agent hook. On the security front, Windows sandbox session management gets refactored [2] to extract reusable launch logic before a follow-up PR ships the fs-helper fix, making the eventual security review cleaner. Realtime speech gains explicit app-side control [3] so backends stop over-chatting by automatically speaking every preamble and progress update. Resource caching now lives at the thread level [4], eliminating repeated remote MCP fetches for the same orchestrator skill within a single thread and preventing prompt injection from observing stale catalog state. Finally, Apps policy evaluation consolidates into connectors [5], moving the evaluator out of codex-core to resolve one immutable policy snapshot per exposure build instead of rebuilding on every sampling request.
Action items
- → Review and merge cloning fix [ref:4] before next deployment cycle openai/codex [immediate]
- → Stage Windows sandbox refactor [ref:1] for security fix integration openai/codex [plan]
- → Monitor thread-level caching [ref:2] for MCP latency improvements in production openai/codex [monitor]
References
- [1] avoid cloning sampling request input (#28306) openai/codex
- [2] Extract shared Windows sandbox session runner (#28357) openai/codex
- [3] Add realtime speech append control (#27917) openai/codex
- [4] skills: cache orchestrator resources per thread (#28336) openai/codex
- [5] [codex] Reuse Apps policy evaluation across MCP tool exposure ↗ openai/codex
FAQ
- What changed in OpenAI on June 16, 2026?
- A critical performance fix removes O(n) clones from every model request, while three parallel hardening efforts shore up Windows sandbox isolation, resource caching, and policy evaluation.
- What should OpenAI teams do about it?
- Review and merge cloning fix [ref:4] before next deployment cycle • Stage Windows sandbox refactor [ref:1] for security fix integration • Monitor thread-level caching [ref:2] for MCP latency improvements in production
- Which OpenAI repositories shipped on June 16, 2026?
- openai/codex