Skip to content

[BUG] claude --resume shows "No conversations found" despite session directories existing #18311

@adrianxsusec

Description

@adrianxsusec

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Description:
Session directories exist in ~/.claude/projects/ with subagent .jsonl files, but the main conversation .jsonl files are missing. This causes --resume to fail even though sessions were
recently used.

Environment:

  • macOS Darwin 25.2.0
  • Claude Code CLI

Evidence:

  • cleanupPeriodDays is set to 0
  • Session directories exist (e.g., a96feba5-76c5-4844-b54a-5b934eec1110/)
  • Each contains subagents/ folder with .jsonl files
  • No main *.jsonl file exists at the session root level
  • Sessions as recent as yesterday (Jan 14) are affected

What Should Happen?

Expected: Main conversation files should be saved and --resume should find them.

Error Messages/Logs

claude --resume
  No conversations found to resume.
  Press Ctrl+C to exit and start a new conversation.

Steps to Reproduce

Steps to Reproduce:

  1. Have existing Claude Code sessions in ~/.claude/projects/
  2. Run claude --resume
  3. Get "No conversations found to resume" despite session directories existing
  4. Check ~/.claude/projects/// - directories exist with subagents/ folders
  5. No main *.jsonl file exists at session root level

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.7

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corebugSomething isn't workinghas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions