mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## Why The baseline for comparing additional context submissions lived in memory, so resuming a conversation could append context that was already in its history. ## What changed Persist the rendered fingerprints and history item IDs for active context entries in world state. Reuse unchanged entries across turns and resumes, and use their IDs to restore active items during compaction. A client submission replaces the active set. Tool-provided context updates only its own keys and is recorded after tool results, before the next prompt. ## Testing Extend scenario coverage to check deduplication after resume for both message and tool-output rendering. Verify that edits in the truncated portion of application context do not produce duplicate developer messages. GitOrigin-RevId: 12a65a70d871f8dcefa082825c0ec4e9446efb56