You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 15, 2026. It is now read-only.
Lately I'm getting problems with strange context bloat that is not related to actual prompt (I have experienced it even on empty project folder and in the beginning of the prompt session). I have only noticed it by increase token consumption (=costs) and context truncation messages, which look like the truncated context is larger than the original context:
Context (who is affected and when)
I have experienced it in Architect and Code roles, during sessions and even in the beginning of the prompt session. I haven't yet figured out the pattern.
Reproduction steps
I have not yet figured out clear reproduction pattern.
Yes, the indicator shows before 251367, after 334680
Auto-condense context: disabled; context management threshold - don't see this setting anywhere. No per-profile override.
Yes, at times even the first prompt already shows Context Truncation symbol
Context window is reported 400000 tokens
I have 0 MCP servers, no custom mode prompts and short custom instructions. Moreover, I havent changed those for some time and this has started happenning only recently.
The problem appears even when there is no hiden folder or .git folder.
ghost added a commit that references this issue on Mar 25, 2026
Activity
JNevrly commentedon Mar 25, 2026
@roomote
fix: use consistent token counting for truncation before/after display