Codex stops after compaction
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of Codex CLI is running?
0.153.4
What subscription do you have?
Pro
Which model were you using?
gpt-6-astra
What platform is your computer?
Windows
What terminal emulator and version are you using (if applicable)?
No response
Codex doctor report
What issue are you seeing?
Happened multiple times the last days. I am using the new experimental compaction too.
Basically codex works on a task and after compaction it just stops.
It says "I read the repository rules, you are on branch xxx. What should I do?"
So it loses the complete context after compaction.
[features.context_management]
experimental_mode = true
What steps can reproduce the bug?
Uploaded thread: 01a0816e-73ac-7f70-a180-efe0f4fe1a26
What is the expected behavior?
Continue with the current task after compaction..
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 with the uploaded thread 01a0816e-73ac-7f70-a180-efe0f4fe1a26 and the experimental context-management setting in the report. Compare the conversation state before and after compaction; done means the current task and its context are preserved so Codex continues instead of asking what to do.
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
- Mostly clear
- Newbie friendliness
- 48/100