Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When an agent reply mentions a bare filename such as INDEX.md, Cursor turns it into a file link. If the open workspace contains a different file with the same name, that link opens the workspace file. In the same turn, the Files Changed card lists the file that was actually edited, which can live in another repository outside the workspace.
Steps to Reproduce
- Open a workspace that contains plans/INDEX.md.
- Have the agent edit and commit an INDEX.md in a second repository that is outside that workspace.
- In the reply, the agent mentions the basename INDEX.md.
- Click the file link in the reply, then compare it with the INDEX.md row in Files Changed.
Expected Behavior
The inline link and the Files Changed row open the same file: the one the agent edited, outside the workspace. An absolute path in the same reply already links to the correct file. Only the bare basename is wrong.
Operating System
MacOS
Version Information
Version: 3.24.12
Commit: 37b865941ccb
For AI issues: which model did you use?
Grok 4.7
Does this stop you from using Cursor
No - Cursor works, but with this issue