bd sync was only committing beads.jsonl, leaving other tracked files like metadata.json unstaged. This caused 'git pull --rebase' to fail with 'You have unstaged changes' error. Now checks and commits the entire .beads/ directory to ensure a clean worktree before pulling. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>