Record a session's branch only in the worktree it is homed in

Commit

peyton-alt4d ago

A turn started in a worktree the session could not move to overwrote its recorded branch with that worktree's, which resume relies on.

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

Checkpoints

Track Subagent Work Across Worktrees

Claude CodeOpus 5.5[1m]
View session
Checkpoint 1