Context Rate of Change
What variant of Codex are you using?
CLI
What feature would you like to see?
It would be insightful to know the rate / direction of change of the context (compaction / expansion).
We have via /status.
│ Context window: 63% left (102K used / 258K)
This is a good point in time check, but no trend (and missed operational learning). I propose we capture the rate and direction, compression or expansion of context.
│ Context window: 63% left (102K used / 258K) ↑↑↑↓↑↑↓↓
Without truly understanding the ins/outs in Codex its hard to say what is tracked. But even if it was simply state of world after each turn, this could be useful. Up means it went up from last time (end of last turn) and down means it went down after last turn. Regarding how much, again, limited real-estate, maybe status line open to show numerical values (negative / positive) starting from N positions ago.
│ Context window: 63% left (102K used / 258K) ↑10↑9↑8↓7↑6↑5↓4↓3
Given the agentic nature of things, I suspect typing mostly but not always adds to context. Here, to split hairs, we have bang command and non-bang commands. From a general session point of view, you could say bang is just another prompt (special though). Should it be considered part of context management? Or we really talking about cost management. In that case, even bang might indirectly cost (if codex decided to think about it before using it or formatting output).
Additional information
_No response_