mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why A prediction fork that disables MCP inherits the parent's tool declarations, but recomputing the deferred tool list can append a conflicting declaration to the request. ## What changed Skip the deferred tool list update when the fork preserves the parent's tool declarations. The fork still reports MCP tool unavailability separately. ## Testing Extend `prediction_fork_keeps_inherited_tools` to cover both inline and deferred MCP tools and assert that the fork carries exactly the parent's `<tools>` messages. GitOrigin-RevId: 04b4a542e0d587a20706935e8b028b7f1fdb9209