Files
beads/cmd/bd
Steve Yegge a1e507520c Fix bd-ca0b: bd sync now auto-resolves conflicts instead of failing
Previously, bd sync would fail with "Pre-export validation failed:
refusing to export: JSONL is newer than database" when JSONL was
modified (e.g., after git pull).

Now bd sync intelligently handles this by:
- Detecting when JSONL is newer than the database
- Automatically importing before exporting
- Continuing with the normal sync flow

This makes the workflow much smoother - users can just run 'bd sync'
and it figures out what needs to be done.

Changes:
- Added isJSONLNewer() helper to check file timestamps
- Modified sync command to auto-import when JSONL is newer
- Extracted timestamp check logic for reusability

Resolves: bd-ca0b
🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 20:33:52 -05:00
..
2025-11-17 10:12:46 -07:00
2025-11-09 14:53:59 -08:00
2025-11-17 10:12:46 -07:00
2025-11-17 10:06:35 -07:00
2025-11-09 14:13:48 -08:00
2025-11-15 12:46:13 -08:00
2025-11-09 14:53:59 -08:00
2025-11-09 14:53:59 -08:00
2025-11-17 10:12:46 -07:00
2025-11-02 21:25:40 -08:00
2025-11-17 10:12:46 -07:00
2025-11-02 17:09:39 -08:00
2025-11-16 18:10:46 -07:00