beads/cmd
beads/crew/emma 76b2f1e456 refactor: gut JSONL sync engine, keep simple manual import/export (bd-h0zvj.2)
Delete 11 production files and 19 test files (~12,900 lines):
- 3-way merge engine (sync_merge, sync_conflict, sync_manual)
- Sync mode infrastructure (sync_mode, sync_mode_cmd)
- Sync state tracking and backoff (sync_state)
- Sync branch/worktree operations (sync_branch, migrate_sync)
- Integrity checks (sync_check, sync_status)
- Bridge functions (sync_bridge)

Rewrite sync.go from 805 to 159 lines:
- Default: Dolt commit + push
- --import: JSONL → Dolt
- --export/--flush-only: Dolt → JSONL
- --pull: Pull from Dolt remote

Keep sync_helpers.go with core export/import functions.
Keep sync_git.go (used by init.go, restore.go).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-15 16:42:44 -08:00
..
bd refactor: gut JSONL sync engine, keep simple manual import/export (bd-h0zvj.2) 2026-02-15 16:42:44 -08:00