# Cursor agent keeps losing path

**URL:** <https://forum.cursor.com/t/cursor-agent-keeps-losing-path/164537>\
**Category:** Bug Reports\
**Tags:** terminal\
**Created:** [July 1, 2026, 11:01am UTC](https://forum.cursor.com/t/cursor-agent-keeps-losing-path/164537 "2026-07-01T11:01:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Noonan](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@Joseph\_Noonan](https://forum.cursor.com/u/Joseph_Noonan)\
**Post date:** [July 1, 2026, 11:01am UTC](https://forum.cursor.com/t/cursor-agent-keeps-losing-path/164537/1 "2026-07-01T11:01:19Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

This has been happening for a couple of days. The cursor agent keeps losing the current path and reports the path as None. I have to restart Cursor or instruct the agent on the path location. I faithfully update it on every notification. The version I am using is:

Version: 3.9.16 (Universal)  
VS Code Extension API: 1.105.1  
Commit: 042b3c1a4c53f2c3808067f519fbfc67b72cad80  
Date: 2026-06-27T06:41:01.941Z  
Layout: editor  
Build Type: Stable  
Release Track: Default  
Electron: 40.10.3  
Chromium: 144.0.7559.236  
Node.js: 24.15.0  
V8: 14.4.258.32-electron.0  
xterm.js: 6.1.0-beta.256  
OS: Darwin arm64 25.5.0

### Steps to Reproduce

It happens randomly throughout the day.

### Expected Behavior

It should not use the working path.

### Operating System

MacOS

### Version Information

Version: 3.9.16 (Universal)  
VS Code Extension API: 1.105.1  
Commit: 042b3c1a4c53f2c3808067f519fbfc67b72cad80  
Date: 2026-06-27T06:41:01.941Z  
Layout: editor  
Build Type: Stable  
Release Track: Default  
Electron: 40.10.3  
Chromium: 144.0.7559.236  
Node.js: 24.15.0  
V8: 14.4.258.32-electron.0  
xterm.js: 6.1.0-beta.256  
OS: Darwin arm64 25.5.0

### For AI issues: which model did you use?

Opus 4.8 High

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![mohitjain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mohitjain/32/100229_2.png) [@mohitjain](https://forum.cursor.com/u/mohitjain)\
**Post date:** [July 1, 2026, 11:31am UTC](https://forum.cursor.com/t/cursor-agent-keeps-losing-path/164537/6 "2026-07-01T11:31:42Z")

</div>

Hey there! Thanks for flagging this.

Your workspace isn’t actually lost when this happens. What you’re hitting is a display glitch where Cursor’s workspace context briefly reads empty for a turn, so the agent sees the path as `none` and behaves as if no folder is open. Your files and project stay safe the whole time.

Instead of a full restart, try `Cmd+Shift+P` and then run **Developer: Reload Window**. It rebinds the real workspace and clears the `none` state much faster than quitting and reopening, and you shouldn’t need to re-tell the agent its path.

This is a known issue we’re actively tracking. There isn’t a fix in a released build yet, so Reload Window is the best workaround for now. If you ever run Reload Window and it still shows `none`, reply here and I’ll dig in further.
