mirror of
https://github.com/openai/codex.git
synced 2026-10-22 17:58:46 +00:00
## What changed - Lazily index items in larger thread-history turns so late updates can reuse their positions after turn completion and rollback. - Map reverse-history search matches back to Unicode byte ranges with a linear scan. - Preserve first-occurrence semantics for duplicate item IDs and Unicode match boundaries. ## Testing - Cover indexed duplicate updates before and after the indexing threshold. - Cover retained-turn updates after rollback and Unicode history-search ranges. GitOrigin-RevId: 3a9c819966d90d833c4183cf6523b6ea4f7be7e7