Steve Yegge
7b1573c4d4
fix(bd-f2f): Add hash-based staleness detection to prevent stale DB from corrupting JSONL
...
The existing ZFC checks only compared issue counts, missing the case where
counts match but content differs (e.g., status=open vs status=closed).
Added Case 3 (bd-f2f) hash-based staleness detection:
- Before export, check if JSONL content hash differs from stored hash
- If hash mismatch detected, import JSONL first to get remote changes
- Then proceed with export to write merged state
This prevents the corruption scenario where:
1. Stale DB has old status values (e.g., status=closed)
2. Remote JSONL has correct values (e.g., status=open)
3. Export would overwrite correct JSONL with stale DB values
4. Git 3-way merge would propagate the corruption
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-29 19:44:52 -08:00
..
2025-11-29 15:05:10 -08:00
2025-11-24 22:23:45 -08:00
2025-11-29 17:08:43 -08:00
2025-11-28 23:14:12 -08:00
2025-11-27 00:54:29 -08:00
2025-11-27 22:51:39 -08:00
2025-11-21 19:30:48 -05:00
2025-11-26 22:02:59 -08:00
2025-11-26 22:02:59 -08:00
2025-11-21 22:17:26 -05:00
2025-11-21 15:51:07 -05:00
2025-11-20 21:57:23 -05:00
2025-11-21 16:13:18 -05:00
2025-11-25 16:36:46 -08:00
2025-11-20 21:57:23 -05:00
2025-11-28 23:19:21 -08:00
2025-11-21 19:21:05 -05:00
2025-11-21 15:51:07 -05:00
2025-11-28 23:28:30 -08:00
2025-11-24 23:39:54 -08:00
2025-11-24 23:39:54 -08:00
2025-11-26 20:59:07 -08:00
2025-11-28 23:14:12 -08:00
2025-11-28 23:10:44 -08:00
2025-11-28 23:10:44 -08:00
2025-11-28 23:10:44 -08:00
2025-11-24 23:39:54 -08:00
2025-11-23 21:33:00 -08:00
2025-11-21 14:40:22 -05:00
2025-11-23 21:33:00 -08:00
2025-11-24 23:39:54 -08:00
2025-11-22 18:17:19 -08:00
2025-11-22 18:17:19 -08:00
2025-11-28 23:14:12 -08:00
2025-11-29 17:01:36 -08:00
2025-11-20 21:57:23 -05:00
2025-11-21 19:32:45 -05:00
2025-11-21 19:32:45 -05:00
2025-11-24 23:39:54 -08:00
2025-11-25 11:46:06 -08:00
2025-11-21 14:40:22 -05:00
2025-11-25 11:46:06 -08:00
2025-11-25 16:36:46 -08:00
2025-11-25 12:03:21 -08:00
2025-11-23 21:42:43 -08:00
2025-11-25 19:32:05 -08:00
2025-11-25 19:32:05 -08:00
2025-11-23 20:33:31 -08:00
2025-11-21 23:09:47 -08:00
2025-11-27 22:40:57 -08:00
2025-11-28 22:16:11 -08:00
2025-11-28 23:09:20 -08:00
2025-11-27 22:39:13 -08:00
2025-11-27 22:39:13 -08:00
2025-11-21 16:14:30 -05:00
2025-11-20 21:57:23 -05:00
2025-11-28 23:28:30 -08:00
2025-11-20 21:57:23 -05:00
2025-11-21 14:40:22 -05:00
2025-11-20 21:54:11 -05:00
2025-11-23 20:33:31 -08:00
2025-11-21 20:08:55 -05:00
2025-11-22 00:11:45 -08:00
2025-11-22 00:11:45 -08:00
2025-11-26 17:42:14 -08:00
2025-11-23 12:39:11 -08:00
2025-11-23 12:36:38 -08:00
2025-11-20 21:57:23 -05:00
2025-11-21 23:09:47 -08:00
2025-11-21 14:40:22 -05:00
2025-11-26 23:10:43 -08:00
2025-11-21 14:40:22 -05:00
2025-11-28 23:14:12 -08:00
2025-11-29 17:07:59 -08:00
2025-11-26 22:02:59 -08:00
2025-11-23 19:42:21 -08:00
2025-11-28 22:15:13 -08:00
2025-11-28 23:28:30 -08:00
2025-11-21 14:40:22 -05:00
2025-11-28 23:14:12 -08:00
2025-11-29 17:01:36 -08:00
2025-11-20 21:57:23 -05:00
2025-11-20 21:57:23 -05:00
2025-11-21 15:51:07 -05:00
2025-11-24 20:16:07 -08:00
2025-11-28 18:58:04 -08:00
2025-11-29 15:05:10 -08:00
2025-11-20 21:57:23 -05:00
2025-11-22 16:49:29 -08:00
2025-11-28 23:11:24 -08:00
2025-11-20 21:57:23 -05:00
2025-11-23 20:33:31 -08:00
2025-11-20 21:57:23 -05:00
2025-11-20 21:57:23 -05:00
2025-11-20 21:57:23 -05:00
2025-11-26 17:42:14 -08:00
2025-11-26 17:42:14 -08:00
2025-11-23 21:16:09 -08:00
2025-11-27 13:23:14 -08:00
2025-11-25 17:12:42 -08:00
2025-11-21 15:51:07 -05:00
2025-11-24 10:56:14 -08:00
2025-11-21 23:34:22 -08:00
2025-11-20 21:57:23 -05:00
2025-11-20 21:57:23 -05:00
2025-11-23 20:33:31 -08:00
2025-11-24 01:12:33 -08:00
2025-11-20 21:57:23 -05:00
2025-11-20 21:57:23 -05:00
2025-11-20 21:57:23 -05:00
2025-11-20 21:57:23 -05:00
2025-11-21 19:32:45 -05:00
2025-11-21 19:32:45 -05:00
2025-11-21 19:32:45 -05:00
2025-11-21 22:46:12 -05:00
2025-11-24 21:16:44 -08:00
2025-11-23 15:13:54 -08:00
2025-11-28 17:36:01 -08:00
2025-11-23 21:42:43 -08:00
2025-11-21 15:51:07 -05:00
2025-11-20 21:57:23 -05:00
2025-11-26 22:02:59 -08:00
2025-11-21 23:22:12 -08:00
2025-11-26 22:02:59 -08:00
2025-11-21 14:40:22 -05:00
2025-11-21 23:34:22 -08:00
2025-11-29 19:44:52 -08:00
2025-11-29 19:44:52 -08:00
2025-11-20 21:57:23 -05:00
2025-11-24 00:21:01 -08:00
2025-11-24 10:56:14 -08:00
2025-11-24 11:28:32 -08:00
2025-11-24 22:21:55 -08:00
2025-11-23 17:16:27 -08:00
2025-11-21 16:14:30 -05:00
2025-11-20 21:57:23 -05:00
2025-11-27 01:36:57 -08:00
2025-11-26 22:02:59 -08:00
2025-11-29 17:01:36 -08:00