Skip to content

[BUG] Crashes and loses all session information #4243

Closed as duplicate
Closed as duplicate

Description

@jmmirabile

Environment

  • Platform (select one):
  • Claude CLI version: 1.0.53 (Claude Code)
  • Operating System: Linux 5.15.0-144-generic Add NPM version badge #157-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
  • Terminal: xterm

Bug Description

When Claude Code crashes or is closed and started again in the same IDE and project, the knowledge of the project, TODO list is lost.

Steps to Reproduce

  1. Launch IDE, go to terminal, launch Claude
  2. Perform work
  3. Close IDE
  4. Open new IDE and open project
  5. Launch claude. Knowledge of project is lost.

Expected Behavior

Claude should remember where we left off, store todo list in ~/.claude somewhere.

Actual Behavior

Claude has to relearn the project.

Activity

  1. added
    bug
    on Jul 23, 2025
  2. egantz commented on Jul 23, 2025

    @egantz

    +1 just happened to me lol

  3. jmmirabile commented on Jul 24, 2025

    @jmmirabile
    Author

    Here is what I did. I asked Claude to create dedicated project directories in ~/.claude/projects/. I told it to store my project session, todo list and other project related information there. This is so that I can have more than one IDE running with at least two projects going independently. Then Claude suggested creating a project-standards.md file in .claude and adding a reference to ~/dev-projects/projectname/.claude. We'll see how it goes. But I like the fact I can tell it how to configure itself. Used it for less than 7 days before upgrading to the Pro version. I can definitely see spending $100 a month on this. Also, it helps to have it generate documentation and update it when significant progress has been made. Then ask it to update the docs again and review the docs. Have it generate full design and API specs, edit those specs to make clear anything up. Then if you lose your session again, tell Claude to read the documentation.

  4. added
    has repro
    platform:linux
    on Jul 27, 2025
  5. github-actions commented on Aug 15, 2025

    @github-actions

    Found 1 possible duplicate issue:

    1. [BUG] Resuming sessions only works from the directory in which they were started #5768

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code


  6. added
    duplicate
    and removed
    bug
    has repro
    platform:linux
    on Aug 19, 2025
  7. github-actions commented on Aug 19, 2025

    @github-actions

    This issue has been automatically closed as a duplicate of #5768.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

  8. github-actions commented on Aug 28, 2025

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  9. locked as resolved and limited conversation to collaborators on Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions