Collapse background re-homed Claude sessions into one card - #121
Merged
Conversation
luhe19001
force-pushed
the
cvu/claude-rehome
branch
from
August 30, 2026 21:05
080cf90 to
2757318
Compare
luhe19001
reviewed
Aug 30, 2026
luhe19001
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed the re-home collapse approach — the uuid-containment + bg-only successor rules, token fold after applyForkedUsage, and fixture coverage look solid for the board/list path.
One follow-up on the preview family path (inline); otherwise LGTM for the stated goal.
milanshen
reviewed
Aug 31, 2026
calvintvu
force-pushed
the
cvu/claude-rehome
branch
from
August 31, 2026 19:21
2757318 to
ba975c5
Compare
calvintvu
force-pushed
the
cvu/claude-rehome
branch
from
August 31, 2026 20:21
8e88298 to
22f69e9
Compare
luhe19001
approved these changes
Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Claude Code can move a terminal session onto its background surface a short time after the session starts. It writes a second transcript that copies the conversation of the first, under a new session id. coSlash reads every root transcript as its own session, so one conversation renders as two identical cards and inflates the active-session count.
Changes
claude --resumebranch keeps its own card. A re-home of such a branch supersedes only the branch, not the root it resumed from.Test
go test ./...— passedgo vet ./...— passedclaude --resumepairs separate.Screenshots