mirror of
https://github.com/openai/codex.git
synced 2026-09-09 15:58:47 +00:00
## What changed - Track protected messages, ordinary messages, and tool entries in separate pools with cached token totals. - Evict the oldest eligible evidence across pools while preserving transcript token and entry limits and the reserved recent tool entries. ## Testing - Add regression coverage that a small, tool-heavy transcript window retains the latest final assistant reply. GitOrigin-RevId: 7aa78d0b0609d8e45cb82e4f7773c0877a4d8224