[BUG] /resume shows global history instead of filtering by current directory (breaks worktree isolation)

Resolved 💬 3 comments Opened Dec 15, 2025 by alexeigs Closed Feb 14, 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?

/resume shows sessions from all directories globally instead of filtering to the current working directory.

What Should Happen?

/resume should only show sessions started in the current directory, as it did previously. This is essential for git worktree workflows where each worktree needs isolated session history.

Error Messages/Logs

Steps to Reproduce

  1. Start a Claude session in directory A, have a conversation, exit
  2. Start a Claude session in directory B, have a conversation, exit
  3. Return to directory A, run /resume
  4. Observe: sessions from both directories appear instead of only directory A

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.65

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Cursor

Additional Information

Sessions are stored per-directory in ~/.claude/projects/[encoded-path]/, so directory-scoped filtering should be straightforward. This particularly affects git worktree workflows where parallel feature development relies on isolated session contexts.

View original on GitHub ↗

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