AI Help
Why can’t Claude Code resume a session after I renamed the project folder?
Check session lookup from the original project context and use the documented resume controls. Renaming a folder can change how local sessions are discovered.
Steps to follow
- Record the old and new project paths and check whether the original directory or a backup still exists.
- Use the session picker or known session ID with the current documented resume command. Confirm the session's repository before continuing.
- If discovery fails, preserve local history and seek version-specific support. Avoid manually moving internal session files without documented guidance.
Example in practice
Illustrative example. After renaming a checkout, inspect the session's original path before making changes in the new folder.
Related AI help
- Why isn’t Claude Code discovering my project’s SKILL.md file?
- How do I check which AGENTS.md instructions Codex is using in a folder?