[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:
- Terminal Application
- IDE Terminal
- 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
/resumewhen 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
/resumeshows 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:
- Unified History: All conversations accessible from a single, persistent index across all three interfaces
- Portable Projects: Conversations tied to project identifiers (not absolute paths), so moving/renaming directories doesn't break history
- Reliable Indexing: All conversations in
~/.claude/projects/are consistently indexed and accessible - Cross-Interface Sync: Conversations created in any interface appear in
/resumeacross all interfaces
Steps to Reproduce
Issue 1: Cross-interface visibility
- Create a conversation using the Terminal Application
- Open the same project in VS Code Extension v2.0
- Run
/resume - Observe: Conversation may not appear in the list
Issue 2: Lost after project move
- Create a conversation in a project at
/path/to/project - Verify it appears in
/resume - Move the project to
/new/path/to/project - Run
/resumein the new location - Observe: All previous conversations for that project are gone from
/resume - Check
~/.claude/projects/- files still exist but are inaccessible
Issue 3: Same-interface disappearance
- Create multiple conversations in the same interface
- Switch between them multiple times using
/resume - Observe: Some conversations disappear from the
/resumelist 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_
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗