Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When the workspace is a subdirectory of a monorepo (not the repo root), the review agent finds issues but cannot open or fix them because it uses file paths relative to the repository root instead of the workspace root. The UI shows “nothing to review” when reviewing an issue, and fix attempts report “Related files (could not be opened)” for the same reason.
Environment
-
Workspace: A folder that is a subdirectory of a git repository (e.g. my-monorepo/apps/frontend).
-
Repo root: The repository root (e.g. my-monorepo).
-
Expected: Paths and file opening use the workspace root (the folder the user opened).
-
Actual: Paths are relative to the repo root, so they don’t resolve inside the workspace and files cannot be opened
Steps to reproduce
-
Open only a subdirectory of a monorepo as the Cursor workspace (e.g. my-monorepo/apps/some-app), not the full repo root.
-
Run the review agent (e.g. on the current branch or PR).
-
Wait for the agent to finish; it reports that it found issues.
-
Try to review one of the reported issues (e.g. click to view or apply feedback).
-
Observed: The UI shows “nothing to review” (or equivalent).
-
Ask Cursor to fix one of the reported issues.
-
Observed: At the end of the fix attempt, a message like:
-
“Related files (could not be opened): path/to/file/from/repo/root (lines 101-102)”
-
The path is from the repository root, not from the workspace, so Cursor cannot open it in the current workspace.
Expected behavior
-
Paths in review results and fix flows are relative to the workspace root (or otherwise resolvable in the opened folder).
-
The user can open the related files and review and apply fixes for the issues the agent found.
Actual behavior
-
Paths are given from the repository root.
-
Because the workspace is a subdirectory, those paths do not resolve in the current workspace.
-
Review: Shows “nothing to review” when trying to review an issue.
-
Fix: Shows “Related files (could not be opened): (lines X–Y)” and the fix cannot be applied.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 2.5.17
VSCode Version: 1.105.1
Commit: 7b98dcb824ea96c9c62362a5e80dbf0d1aae4770
Date: 2026-02-17T05:58:33.110Z
Build Type: Stable
Release Track: Default
Electron: 39.3.0
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
