[BUG] Claude Code's past conversation indexing is not working and may suffer from poor design

Resolved 💬 8 comments Opened Oct 19, 2025 by kerim-ca Closed Jan 12, 2026

Preflight Checklist

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

What's Wrong?

Claude Code has three interfaces:

  1. Terminal Application
  2. IDE Terminal
  3. VS Code Extension v2.0

The /resume command fails to reliably index and display conversation history, causing several issues:

Cross-Interface Inconsistency:

  • Conversations created in one interface often don't appear in /resume when accessed from another interface

Same-Interface Indexing Failures:

  • Within a single interface, switching between many conversations may cause some to disappear from /resume

Incomplete v2.0 Migration:

  • When VS Code Extension v2.0 launched, it only indexed a some of pre-v2.0 conversations
  • Terminal /resume shows different number of conversations than Extension /resume or 'Past conversations'

Path-Dependent Design Flaw:

  • All conversations are stored in ~/.claude/projects/ organized by absolute directory path
  • Moving a project directory breaks access to ALL previous conversations via /resume
  • The conversation files still exist in ~/.claude/projects/ but become inaccessible

Root Cause:
Conversations are indexed by absolute directory paths rather than a centralized index or project identifier.

What Should Happen?

Claude Code should implement a centralized conversation index similar to claude.ai/recents where:

  1. Unified History: All conversations accessible from a single, persistent index across all three interfaces
  2. Portable Projects: Conversations tied to project identifiers (not absolute paths), so moving/renaming directories doesn't break history
  3. Reliable Indexing: All conversations in ~/.claude/projects/ are consistently indexed and accessible
  4. Cross-Interface Sync: Conversations created in any interface appear in /resume across all interfaces

Steps to Reproduce

Issue 1: Cross-interface visibility

  1. Create a conversation using the Terminal Application
  2. Open the same project in VS Code Extension v2.0
  3. Run /resume
  4. Observe: Conversation may not appear in the list

Issue 2: Lost after project move

  1. Create a conversation in a project at /path/to/project
  2. Verify it appears in /resume
  3. Move the project to /new/path/to/project
  4. Run /resume in the new location
  5. Observe: All previous conversations for that project are gone from /resume
  6. Check ~/.claude/projects/ - files still exist but are inaccessible

Issue 3: Same-interface disappearance

  1. Create multiple conversations in the same interface
  2. Switch between them multiple times using /resume
  3. Observe: Some conversations disappear from the /resume list despite files existing in ~/.claude/projects/

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.22

Platform

Other

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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