Follow a subagent's TodoWrite checkpoints into its worktree

Commit

peyton-alt5d ago

post-todo bypasses the lifecycle dispatcher, so it never followed the payload cwd: it looked for the task baseline and ran git status in the launch worktree. It now follows like the other task hooks, finds the baseline wherever the task started, and SaveTaskStep re-homes like SaveStep so the checkpoint lands on that worktree's shadow branch.

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

Checkpoints

Track Subagent Work Across Worktrees

Claude CodeOpus 5.5[1m]
View session
Checkpoint 1