Agent often stops after compaction instead of continuing the active task
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.901.22334
What subscription do you have?
Pro
What platform is your computer?
macOS: 26.5.2
What issue are you seeing?
Title:
Summary
With the experimental context_management feature enabled, Codex frequently stops after automatic context compaction and asks the user what to do next, even though the current task has a clear unfinished objective and the agent was progressing autonomously before compaction.
Environment
- Codex CLI: 0.153.0
- Model: gpt-5.6-sol
- Configuration:
[features]
context_management = true
What steps can reproduce the bug?
Feedback ID: 01a066fe-556d-7610-827e-421fbbdfad30
What is the expected behavior?
I don't know. It doesn't stop, at least. 🤔
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior in Codex CLI 0.153.0 with the experimental context_management feature enabled in the supplied TOML configuration, using feedback ID 01a066fe-556d-7610-827e-421fbbdfad30 as context. Investigate what happens after automatic compaction; done means the agent continues a clearly unfinished task instead of stopping and asking the user what to do next.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- ai, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100