The Context Used indicator shows the context of the subagent.
Steps to Reproduce
At least after a failure in the Subagent’s operation (loss of connection) and continuation through the new prompt, most likely the indicator shows the context window that the Subagent had, and not the one that the Agent currently has
This is an interesting bug. The indicator is showing a “frozen” sub-agent context after it crashes. The team is actively working on sub-agent stability in nightly, so your report is really timely.
Can you share the Request ID from one of these cases? That’ll help the engineers pinpoint the moment when the indicator stops updating.
For context, you’re right that after the first edit_file the indicator “wakes up” again. That’s a good sign the issue is with the UI state update after the crash, not with the agent context itself.
I decided to work only privately “to be safe”, but the bug consistently reoccurs when using chat. It’s noticeable when there’s a significant difference between the Agent and Subagent contexts.