Skip to content

[BUG] Strange context bloat and truncation #11990

@JNevrly

Description

@JNevrly

Problem (one or two sentences)

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:

Image

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.

Expected result

Actual result

Variations tried (optional)

No response

App Version

3.51.1 (7c9722b)

API Provider (optional)

OpenRouter

Model Used (optional)

openai/gpt5.1-codex, openai/gpt5.3-codex

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions