mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## Why Stream consolidation can replace transcript cells while initial history replay is buffering capped display rows, leaving those rows stale and omitting the finalized output. ## What changed - Discard buffered rows when required stream reflow occurs during capped initial replay and rebuild the capped tail from the canonical transcript after replay finishes. - Schedule the rebuild through the resize reflow path so it waits for an active transcript overlay to close. ## Testing Added coverage for consolidated Markdown output during capped initial replay, both with and without an active transcript overlay. GitOrigin-RevId: 1c184ff561a50362daf11c1c629be59882f27a4a