Skip to content

list_files incorrectly returns .gitignore'd directoriesΒ #5393

@X9VoiD

Description

@X9VoiD

App Version

3.22.6

API Provider

Google Gemini

Model Used

gemini-2.5-pro

Roo Code Task Links (Optional)

No response

πŸ” Steps to Reproduce

  1. In a project with nested directories and .gitignore (could be in root, could be scattered).
  2. Ask the LLM to use list_files with recursive.

πŸ’₯ Outcome Summary

Expected that it would follow the .gitignore, but got a list that includes even igonored directories.

πŸ“„ Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

Labels

Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions