Compare a session's home worktree as a directory, not a string

Commit

peyton-alt5d ago

isSessionHomeWorktree gates every re-home and sessionsFromSingleWorktree the commit-linking fallback; a symlinked or trailing-slash spelling of the same worktree re-homed an unmoved session or declined a single-worktree match.

Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com Entire-Checkpoint: 01M3WJD8ZQKY7T17F2PXCK47G8

Checkpoints

Track Subagent Work Across Worktrees

Claude CodeOpus 5.5[1m]
View session
Checkpoint 1