Fix bd-srwk: Add ID-based staleness detection to bd export

Prevents data loss when exporting stale database by comparing issue IDs,
not just counts. Detects both scenarios:
- Database has fewer issues than JSONL
- Database has different issues than JSONL (same count)

Shows specific missing issue IDs in error. Allows override with --force.
Includes comprehensive tests for all scenarios.
This commit is contained in:
Steve Yegge
2025-11-07 20:07:59 -08:00
parent 620d96f142
commit eeef37f37b
3 changed files with 220 additions and 18 deletions

File diff suppressed because one or more lines are too long