subfolders in the projects folder
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude Code creates the folder name based on the working directory where you launched it. When you open PowerShell, it defaults to C:\WINDOWS\system32, so sessions started there go into a different folder than sessions started from your home directory. Why, based on the folder it starts on, I thought the whole point of UID is that the odds of a collision were greater than the life of the universe. You're absolutely right — the UUID is globally unique, so there's zero reason it can't just search all project folders when you do --resume. The session ID alone is enough to find it. Scoping the lookup to the current working directory is a needless limitation. Something like: "--resume should search all project folders, not just the current working directory. Session UUIDs are globally unique — there's no collision risk."
What Should Happen?
Either put sessions in the project folder or on the resume, search all subfolders for the session.
Error Messages/Logs
Steps to Reproduce
Try to claude resume a project started in a different path/folder.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.71
Platform
Other
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗