Compacting resurfaces completed tasks
Resolved 💬 3 comments Opened Dec 3, 2025 by whizzrd Closed Jun 12, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.64.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.1-codex-max
What platform is your computer?
Darwin 25.0.0 arm64 arm
What issue are you seeing?
Compacting in the plan tool resurrected steps that were already marked completed. After compacting, “completed” tasks reappeared, effectively rolling the plan state backward (same symptom as GitHub issue #6077).
What steps can reproduce the bug?
Uploaded thread: 019ae3ed-0119-72d2-afea-9e39a2100ccd
What is the expected behavior?
Once a step is marked completed, compacting should not reintroduce it. The plan should remain stable with completed steps staying completed/hidden as appropriate, not resurfacing after compacting.
Additional information
_No response_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Reviewing old (possibly stale and no-longer-relevant) bugs. Are you still seeing this bug with the latest versions of Codex?
Closing as a duplicate of #6077.