Repository navigation
No Persistent Auto-Compaction and Token Usage Status #24366
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.519.41501
What subscription do you have?
Pro
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Auto-Compaction is not preserved inside the chat thread so I can see if it happened during work. It only shows up during the work and then goes away after work is completed. That is a real problem and needs to be retained in chat thread and not removed after the work is complete. It provides significant information for the users. Also, the auto-compaction method or resulting impact of it is brutal if not prepared. It seems to compact and flatten everything in the thread instead of prioritizing the most recent parts of the thread or existing work it's doing if it happens during the work. You would think it wouldn't compact any context window that the actual work being performed depends on to finish, but it does not. It compacts all of it and then mid-work completely messes up the remaining execution of the task. That is a major design flaw.
And in addition, and relevant, is the missing Token Usage Monitor that was at the bottom of the input next to the Model and Intelligence Dropdown. That was incredibly important and valuable and allowed the users to know when auto-compaction was about to occur, prep the ai workstream for it, and also get estimations on token usage during tasks to improve system optimizations.
What steps can reproduce the bug?
Just use the app in the same chat thread until it auto-compacts.
What is the expected behavior?
It should notify me of auto-compaction and then keep the auto-compaction part in the thread so we can see exactly when it happened. The token usage monitor should be at the bottom like it was before.
Additional information
I sure hope the removal of the monitor for token usage was not to prevent users from knowing their token burn. But after all the updates, I cannot understand any reason in favor of the Users/Customers to have removed that very useful token monitoring. This is very frustrating, and honestly, might be a deal breaker for me if it isn't fixed. Those auto-compactions are brutal at times on the amount of drift that can occur if not prepared when it happens.
Activity
github-actions commentedon May 24, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
gomisha commentedon May 25, 2026
Once activated, the
/statuspanel keeps displaying the context window at all times for new and existing threads, not just on demand.I activate it by typing
/statusand then selecting theStatus Toggle Context Usageoverlay popup.Once it's activated, it stays on all the time for the current and future threads:
eah3699 commentedon May 25, 2026
I appreciate the tip on that and where we can find it. However, the issue still remains that it should be still down in the chat area like before. Burying it or forcing me to have to have my window larger or having to remember to open it at times to double check since i often use multi window layouts and preserve space on my monitors, makes that not an ideal method. The amount of value added from a simple UX/UI fix is well worth it for the users. But again, I really appreciate you letting me know that I can turn that on. You rock!
Hxnnyy commentedon May 25, 2026
+1. Revert this bad change.
Apparently intentional, but going to be reviewed per: #23794 (comment)
blain3white commentedon Jun 9, 2026
Token and disk usage stats per Codex session is one of Clean My Agent's features — I'm the author and it reads local JSONL files to surface this: https://github.com/blain3white/clean-my-agent