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

  1. Record the old and new project paths and check whether the original directory or a backup still exists.
  2. Use the session picker or known session ID with the current documented resume command. Confirm the session's repository before continuing.
  3. 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

Official guidance

Claude documentation