Files
codex/codex-rs/core/tests
Charles Cunningham 97e64b8e4d Preserve persisted history when compact retries trim prompts
Build compaction replacement history from persisted session history instead of the retry-local prompt buffer, so ContextWindowExceeded trimming does not drop earlier real user messages or ghost snapshots from replacement history.

Add a regression test covering repeated compaction retries and verifying follow-up requests retain earlier user messages even after retry prompt trimming.

Co-authored-by: Codex <noreply@openai.com>
2026-03-06 01:38:49 -08:00
..
2026-03-03 23:11:28 -08:00