mirror of
https://github.com/openai/codex.git
synced 2026-09-07 15:40:00 +00:00
## Why Executed-tool metadata for a Code Mode cell can span its `exec` and `wait` outputs. Consumers need to know whether that metadata contains the cell's full tool call inventory or only a partial record. ## What changed - Associate recorded tool calls with the originating Code Mode cell across `exec` and `wait` outputs. - Add a host-owned `tool_calls_complete` marker when recording finishes without dropped or truncated calls. The marker describes inventory completeness, not tool success. - Preserve the cell metadata through replay and pruning, and clear the completeness marker when prompt budgeting makes the record incomplete. ## Testing Add coverage for multi-wait cells, retries, interruptions, recording limits, argument truncation, prompt budgeting, and rejection of input-forged metadata. GitOrigin-RevId: 377014edec06aab42aadab78b8b5dccc0a1c83ba