Add pre-flight safety check to detect when a previous sync exported but failed before commit, leaving JSONL in an inconsistent state. - Add gitHasUncommittedBeadsChanges() helper in sync_git.go - Call in sync pre-flight checks after merge/rebase check - If uncommitted changes detected, force re-export to reconcile state This catches the failure mode early before it compounds across worktrees. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
37 KiB
37 KiB