claude --resume hangs when resuming conversation from a different directory

Resolved 💬 3 comments Opened Feb 8, 2026 by ewandennis Closed Feb 12, 2026

Description

When using --resume to resume a conversation that was started in a different working directory, the CLI hangs indefinitely on "resuming conversation" with no error message or timeout.

Steps to reproduce

  1. Start a Claude Code conversation in directory A (e.g. ~/project-a)
  2. Exit the conversation
  3. cd to a different directory B (e.g. ~/project-b)
  4. Run claude --resume and select the conversation from directory A

Expected behavior

Either:

  • Resume the conversation successfully (ideally with a warning about the directory mismatch), or
  • Display a clear error message explaining the conversation was started in a different directory

Actual behavior

The CLI hangs on "resuming conversation" indefinitely. The process stays alive but barely uses CPU. No error message is displayed. The only way to exit is Ctrl+C or kill.

Environment

  • OS: Linux (Arch)
  • Claude Code: latest

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗