When a repo has a .beads/redirect file pointing to a shared beads directory, restoreBeadsDirFromBranch would fail because it runs git checkout from the local repo but with a path outside that repo. Skip the restore when the beads directory is redirected since the beads dir is managed by a different repo anyway. Fixes: bd-lmqhe Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>