Auto-compact fails
Resolved 💬 2 comments Opened Feb 13, 2026 by le876 Closed Feb 13, 2026
### Steps to reproduce
- Start a long, multi-turn diagnostic conversation.
- Accumulate many context-heavy messages (commands/results/analysis).
- When context window is near limit, continue with another query.
- Observe hard error asking to start new thread / clear history instead of graceful summarization.
### Expected behavior
- Before hard cutoff, Codex should trigger automatic context compression (or offer an explicit “compress and continue” option).
- It should preserve key context (e.g., session goal, environment state, diagnostic findings, IDs, executed commands).
- Conversation should continue without requiring manual new-thread handoff.
### Actual behavior
- No auto-compression observed.
- Session abruptly stops with context window error.
- User must manually start a new thread or clear history, interrupting troubleshooting flow.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗