Fix bd sync critical issues from code review
- Fix dry-run to not mutate state (no export/clear dirty flags) - Use os.Executable() for import to avoid path hijacking - Add preflight checks for merge/rebase in progress - Add upstream tracking validation with helpful hints - Use CommandContext for all git operations (enable cancellation) - Add chmod(0644) to exportToJSONL for consistency with export.go All critical issues from Oracle review addressed.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user