When .beads/redirect exists, bd sync was using GetRepoRoot(cwd) to find the git worktree location. This failed because the worktree should be in the same repo as the beads directory, not the current working directory. Fix: Use getRepoRootFromPath(beadsDir) to derive the repo root from the actual beads location after following the redirect. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>