Skip to content

[BUG] desktop.ini is ingested as a rule #11381

@winne617

Description

@winne617

Problem (one or two sentences)

System files like desktop.ini (Windows) are added to the system prompt, polluting it with gibberish.

Context (who is affected and when)

Roo Code currently excludes some system files like .DS_Store and Thumbs.db when reading the .roo/rules/ directory. On Windows, desktop.ini is frequently generated in these folders and is currently being read as a custom instruction, polluting the system prompt with gibberish.
Please add desktop.ini to the default exclusion list.
Or even better: maybe we could define some file types ourselves ...?

thx a lot;)

Reproduction steps

Have a Windows PC, put a desktop.ini in the rules folder and read the resulting system prompt. Easy.

Expected result

no ini read

Actual result

ini read

Variations tried (optional)

No response

App Version

2026-02-10

API Provider (optional)

None

Model Used (optional)

No response

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