When .beads/redirect points to another location that crosses directory boundaries, isExternalBeadsDir() can return true even when both paths are in the same git repo. Previously, this would trigger the direct commit mode, bypassing the configured sync.branch workflow. Now we check hasSyncBranchConfig before entering the external path. When sync.branch is configured, we skip direct-commit mode and use the sync.branch worktree workflow instead, which properly handles copying JSONL files regardless of where the source .beads lives. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
35 KiB
35 KiB