mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
## Why Changing a deferred tool's output schema could add or remove the shared MCP type preamble from the `exec` description. ## What changed Include the default or configured MCP TypeScript preamble whenever `code_mode_only` is enabled, regardless of the available tools' output schemas. Preserve an empty preamble override as a way to omit the section. ## Testing Add a regression test that checks description stability when a deferred tool gains an MCP output schema, covering default, custom, and empty preambles. Update description expectations, request snapshots, and two Guardian context-budget test thresholds for the added preamble. GitOrigin-RevId: 725035d6159e9da3c4beff5482c426c082e768b4