Files
beads/cmd/bd
Steve Yegge 5438485fb8 Fix bd-9bsx: Add sync validation to prevent infinite dirty loop
- Added dbNeedsExport() to check if DB and JSONL are in sync
- Only re-export after import if DB has changes that differ from JSONL
- Prevents unconditional re-export that caused infinite dirty state
- Added comprehensive tests for sync validation

Fixes recurring dirty state after merge conflicts that plagued users for weeks.

Amp-Thread-ID: https://ampcode.com/threads/T-f4f8c8c6-07bc-4334-9109-4626b4fd7a24
Co-authored-by: Amp <amp@ampcode.com>
2025-11-05 18:10:06 -08:00
..
2025-10-27 20:08:50 -07:00
2025-10-31 22:39:53 -07:00
2025-11-05 14:25:48 -08:00
2025-11-05 14:25:48 -08:00
2025-11-05 17:37:53 -08:00
2025-11-05 13:56:12 -08:00
2025-11-05 13:56:12 -08:00
2025-10-27 20:08:50 -07:00
2025-10-31 22:39:53 -07:00
2025-11-05 13:56:12 -08:00
2025-11-02 21:25:40 -08:00
2025-11-02 17:09:39 -08:00
2025-10-27 20:08:50 -07:00
2025-11-05 01:16:45 -08:00