[Bug] Session resume picker doesn't list sessions from git worktrees
Bug Description
claude --resume picker (incl. Ctrl+A "show all") doesn't list sessions created inside git worktrees
Sessions started from inside a git worktree are stored under their own ~/.claude/projects/<encoded-worktree-path>/ bucket, separate from the main repo's bucket. The resume picker (claude -r) doesn't surface them, and Ctrl+A ("show all") also
doesn't include them.
The session files clearly exist on disk — e.g. I have buckets like -Users-roeerokah-dev-inspection-tool-fe--claude-worktrees-ticket-to-pr-5 with valid .jsonl sessions in them, but they never appear in the picker.
Workaround today: cd into the worktree path manually and run claude --resume, or pass the session id explicitly. Both require knowing where to look.
Requests:
- Have Ctrl+A truly include every bucket under ~/.claude/projects/, or
- Detect that the current cwd's parent repo has worktree buckets and include them in the picker, or
- At minimum, document what Ctrl+A's scope actually is.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.123
- Feedback ID: 5eed8a22-3fc4-4bc9-89c4-9aab7237eba8
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/roeerokah/.local/share/claude/versions/2.1.123 (expected in multi-process scenarios)\n at x86 (/$bunfs/root/src/entrypoints/cli.js:2769:2177)\n at Jw8 (/$bunfs/root/src/entrypoints/cli.js:2769:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-10T17:20:52.233Z"},{"error":"AxiosError: Request failed with status code 404\n at Cn (/$bunfs/root/src/entrypoints/cli.js:115:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12716)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-10T17:21:58.714Z"},{"error":"AxiosError: Request failed with status code 404\n at Cn (/$bunfs/root/src/entrypoints/cli.js:115:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12716)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-10T17:22:01.855Z"},{"error":"AxiosError: Request failed with status code 404\n at Cn (/$bunfs/root/src/entrypoints/cli.js:115:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12716)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-10T17:28:02.608Z"}]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗