/branch sessions: parent session hard to find in Session Manager: Claude Code
Quick fix
Try claude --resume or claude -r
Symptom
Section titled “Symptom”Claude Code /branch 会话在 Session Manager 中难以找回父会话;且文档路径与实现不一致The parent session of a Claude Code /branch session is hard to find in Session Manager; the documented path also differs from the implementation.
According to the reporter's analysis of cc-switch 3.17.0, running /branch in Claude Code creates a separate child session file containing forkedFrom. The parent session file remains, but its last activity time stays at the branch point, pushing it down the descending list. Session Manager neither parses nor displays forkedFrom, leaving parent and child sessions without a visible relationship. Title detection recognizes custom-title but ignores ai-title, so searching by the familiar AI title in Claude fails. Parent and child sessions are harder to distinguish when they share the first user message. These are the reporter's findings; no maintainer confirmed them in the thread.
The same post reports that the documentation lists the session path as ~/.cache/claude/projects/*.jsonl, while the implementation recursively scans ~/.claude/projects, potentially leading users to check the wrong directory. Displaying parent-child relationships, indexing titles, and correcting the documentation are proposals; grouping sessions and navigating to the parent session are feature requests. No implemented patch or confirmed fix is reported. The issue remains open and marked stale, and the original post provides no verifiable fix.
First, check whether the parent and child session .jsonl files still exist in ~/.claude/projects/. The reporter confirmed that the local files were intact and noted that the documented ~/.cache/claude/projects/*.jsonl path differs from the implementation.
Try the reporter's proposed workaround: use claude --resume, or claude -r <sessionId> if you know the sessionId. The thread contains no subsequent confirmation of success; this is not a confirmed Session Manager fix.
Before branching again, try using /rename to set custom-title; the reporter says CCS currently recognizes this title. Do not rename jsonl files in bulk: the original post says this breaks resume.
Follow the source issue for progress on parent-child session links, ai-title support, and documentation path corrections. There are currently only proposals, with no verifiable fixed version.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
(No FAQ yet)
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.