mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
## Why Messages with the `partial_answer` phase contain answer text without declaring a terminal answer. They should remain searchable and speakable without being treated as final messages. ## What changed - Preserve explicit `partial_answer` phases in streamed and completed realtime handoffs, bypassing legacy channel-prefix parsing and routing them to the `speakable` channel. - Treat partial answers as nonterminal in V1 handoffs and omit the final-message prefix. - Include partial answers in thread occurrence searches and normalize them to the final conversation channel in rollout traces. ## Testing Extend coverage for realtime phase routing, streamed and completed handoffs, partial-answer search results, and rollout normalization. Verify that turn summaries still exclude nonterminal messages. GitOrigin-RevId: aa183da783f6e7e0b78ddd51073cba533297e121