Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I asked Composer 1.5 to find all instances of a string (Searched term was --env-file).
It found only about about 60% of all instances.
I’m not using .cursorignore, and the files I expected to be found were NOT hidden by .gitignore .
I was able to find ALL instances when I used the built-in search (CTRL+SHIFT+F).
It seems the issue is with the tool that’s available to the models, I got the “Grepped term in dir” message, and it returned only the subset of results (see screenshot).
The workspace contains about 195 files tracked by git.
The problem is NOT related to which files are committed to git or untracked.
Steps to Reproduce
- Clone GitHub - JuroOravec/safe-ai-factory: Agentic Swarms for Engineering Teams: Spec-driven AI factory. Use with any agentic CLI. Language-agnostic. Safe by design. · GitHub
- Open it within Cursor
- Prompt Composer 1.5 in Ask mode to “find all instances of --env-file”
Expected Behavior
NOTE: I can’t upload multiple screenshots. But the searched term was present in 11 files total.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 2.6.13
VSCode Version: 1.105.1
Commit: 60faf7b51077ed1df1db718157bbfed740d2e160
Date: 2026-03-06T06:17:49.499Z
Build Type: Stable
Release Track: Early Access
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin x64 25.3.0
Additional Information
I’m noticing incidence of this went up over the last week. I don’t think it was an issue e.g. a month ago. Could be repo-specific, since I’m working on a single repo for the past 3 weeks.
Very annoying. I use Cursor because in the past it felt other tools were really at search & indexing capabilities. And a coding agent that updates only 50% of the files is no good.
Does this stop you from using Cursor
No - Cursor works, but with this issue
