harden worktree checks from review feedback

main

Commit

pfleidi2mo ago

Use Lstat and require a directory when reusing a registered worktree path, so a planted symlink is rejected instead of passing the health check. Run 'git worktree list' from the main root and include git's stderr in the failure message.

Entire-Checkpoint: 01KX6XRJEFTVG0ABV9GDFE0G00

Checkpoints

Add trail checkout --worktree Support

Claude Code
View session
Checkpoint 1