Open terminal in worktree does not seem to work

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

It does open a terminal but it does not appear to be in the worktree. For example, if you run git status you will not see any of the changes that the agent has made in its worktree.

Steps to Reproduce

Run multiple agents. Then click the 'open terminal in worktree option next to the agent card. Run git status in the terminal, note that it shows known of the changes in the worktree.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.39
VSCode Version: 1.105.1
Commit: 60d42bed27e5775c43ec0428d8c653c49e58e260
Date: 2025-11-27T02:30:49.286Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. To help resolve this issue, could you please provide the following information:

  1. Run pwd in the terminal - what path does it show?
  2. Run git worktree list in your main repository - do you see the created Cursor worktree there?
  3. Open Developer Tools (Help > Toggle Developer Tools > Console) and check if there are any errors when opening the terminal.

Could you also attach a screenshot or video showing the issue?