Fix bd-u4f5: Add warning when import syncs with working tree but not git HEAD

- Detect uncommitted changes in .beads/issues.jsonl
- Warn users when database matches working tree but differs from git HEAD
- Clarify import status messages (working tree vs git sync)
- Add comprehensive tests for dirty working tree scenarios
- Prevents false confidence about sync status

Amp-Thread-ID: https://ampcode.com/threads/T-5a0f1045-a690-42ef-8bfc-f8cf30ee4084
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Steve Yegge
2025-11-08 00:00:28 -08:00
parent 0e6cb2d092
commit f72a1d826d
3 changed files with 650 additions and 186 deletions

File diff suppressed because one or more lines are too long