2 people reported

All time, since Sep 20.

Agent shell runs in wrong directory

“File tools and the transcript folder correctly use local.cwd; only the shell's default directory is wrong.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/cursor/issues/2087/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Local agent shell runs in wrong directory, not workspace. Affects Cursor SDK local agents and Projects subagents; the first shell call reads a different local repository than the configured workspace.

Is this your bug?

File my report
Where
local agents
Versions
3.21.13
Platforms
macOS
How bad
Security risk: something exposed, or done without permission.

Not quite your bug?

  1. Agent host bridge timeout5 people
  2. Subagents fall back to Auto11 people
  3. Agent leaves workspace folder3 people

Original reports2, newest first

  1. Cursor SDK: local agent's shell ignores local.cwd and runs in the host process's cwd#173345
  2. Cursor Project local agent initially accessed a different local repository than the Project repository#172432

Do you work on Cursor?

Claim its RAP Sheet to see what your users report and answer them in one place.