beads/internal
Steve Yegge a612c575f9 fix(sync): include tombstones when building ID map during import
The importer was not seeing tombstones when building the dbByID map,
causing it to treat tombstone IDs as "new" issues. This led to UNIQUE
constraint violations during INSERT.

- Include tombstones in SearchIssues call (IncludeTombstones: true)
- Skip tombstones when matching by ID instead of trying to update them

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 10:20:22 -08:00
..
autoimport fix: NixOS symlink compatibility for mtime and permission checks (#459) 2025-12-05 13:22:09 -08:00
beads test: replace manual os.Chdir with t.Chdir in tests (#457) 2025-12-04 11:21:43 -08:00
compact Fix test compilation errors: add context.Background() to sqlite.New() calls 2025-11-21 14:57:18 -05:00
config feat(config): add BD_NO_INSTALL_HOOKS environment variable to disable git hook installation (#500) 2025-12-13 06:38:26 -08:00
configfile feat: change deletions TTL default from 7 to 3 days 2025-12-03 22:44:59 -08:00
daemon feat(doctor): add --dry-run flag and fix registry parsing (bd-qn5, bd-a5z) 2025-12-03 00:09:25 -08:00
debug feat: Complete command set standardization (bd-au0) 2025-11-23 20:33:31 -08:00
deletions fix: CI test failures on Windows 2025-11-26 20:59:07 -08:00
export Add configurable export error handling policies (bd-exug) 2025-11-23 20:21:51 -08:00
git fix(sync): merge instead of overwrite in SyncJSONLToWorktree (bd-52q) 2025-12-05 14:33:34 -08:00
importer fix(sync): include tombstones when building ID map during import 2025-12-13 10:20:22 -08:00
lockfile fix(daemon): add cross-process locking to registry (bd-5bj) 2025-11-27 14:22:42 -08:00
merge feat(tombstones): add migrate-tombstones command and compact pruning 2025-12-07 21:34:35 +11:00
reset fix: resolve golangci-lint warnings 2025-12-13 10:07:36 +11:00
routing Fix TestRoutingIntegration and improve DetectUserRole robustness 2025-11-20 19:04:42 -05:00
rpc Enable daemon RPC support for delete operations to trigger auto-sync, Fix for issue #527 (#528) 2025-12-12 13:19:31 -08:00
storage fix(tombstone): clear closed_at when converting closed issue to tombstone 2025-12-13 07:31:16 -08:00
syncbranch fix: resolve CI lint errors and Windows test timeout 2025-12-03 17:50:23 -08:00
testutil Fix test compilation errors: add context.Background() to sqlite.New() calls 2025-11-21 14:57:18 -05:00
types feat(tombstone): implement delete-to-tombstone and TTL expiration (bd-3b4, bd-olt) 2025-12-05 16:20:43 -08:00
util Extract normalizeLabels to internal/util/strings.go 2025-11-06 20:00:08 -08:00
utils fix: accept 3-char all-letter base36 hashes in ExtractIssuePrefix (#446) 2025-12-02 23:00:24 -08:00
validation Refactor: Extract duplicated validation logic to internal/validation 2025-11-20 20:39:23 -05:00