The Wire · Showcase
CODEX STABILIZES PROMPT CACHE WITH SYNTHESIZED OUTPUT IDS
By RepoJournal · Filed · About OpenAI
Codex is fixing a subtle bug that was breaking prompt-cache reuse on retries and resumes by assigning stable IDs to synthesized outputs.
The core issue: when `ContextManager::for_prompt` repairs an unmatched call by synthesizing an aborted output, that output was getting a fresh ID on every prompt rebuild, which meant identical model context would hash differently and waste cached prompts [1]. That's now fixed with stable ID assignment, letting retries and resumes actually hit the cache. In parallel, Codex is enforcing marketplace source policy at runtime [2], filtering plugin discovery and CLI reporting through enterprise policy so blocked plugins become inactive. The app-server is also exposing a new environment-info RPC [3] so clients can discover shell and working directory before selecting an execution environment, with bounded response times to prevent hangs. Finally, custom tool calls now preserve their optional namespace through response deserialization and app-server replay [4], fixing routing and streaming argument handling for namespaced tools.
One email a day. Unsubscribe in one click.
Keep up with OpenAI in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Deploy the synthesized output ID stabilization to production before next cache-dependent workload openai/codex [immediate]
- → Integrate marketplace source policy enforcement in your enterprise deployment openai/codex [plan]
- → Update clients to call the new environment-info RPC before thread selection openai/codex [plan]
References
- [1] core: stabilize synthesized call output IDs (#30327) openai/codex
- [2] [plugins] Enforce marketplace source policy at runtime ↗ openai/codex
- [3] [app-server] expose environment info RPC ↗ openai/codex
- [4] Preserve namespaces on custom tool calls ↗ openai/codex