beads/crew/dave
9e639da5ba
fix(create): allow creating issues with explicit ID that matches tombstone (bd-0gm4r)
...
When using `bd create --id=<id>` where the ID matches an existing
tombstone (from `bd delete --hard --force`), the creation now succeeds
by first deleting the tombstone and all related records.
This enables use cases like polecat respawn where a worker needs to
recreate an issue with the same ID.
Changes:
- queries.go: Check for tombstone before insert, delete it if found
(cleans up events, labels, dependencies, comments, dirty_issues)
- tombstone_test.go: Add regression test
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
Executed-By: beads/crew/dave
Rig: beads
Role: crew
2026-01-14 20:36:47 -08:00
..
2026-01-10 23:46:44 -08:00
2025-11-21 14:40:22 -05:00
2025-11-04 01:08:21 -08:00
2025-11-03 12:02:15 -08:00
2026-01-10 22:02:03 -08:00
2026-01-12 19:42:04 -08:00
2025-11-23 19:53:44 -08:00
2025-11-23 19:35:52 -08:00
2025-12-31 13:14:15 -08:00
2025-12-28 22:37:04 -08:00
2025-11-06 20:06:45 -08:00
2025-12-24 13:22:55 -08:00
2026-01-10 13:36:52 -08:00
2025-11-08 02:22:15 -08:00
2025-11-08 02:22:15 -08:00
2025-12-02 22:41:07 -08:00
2026-01-12 18:29:42 -08:00
2025-12-02 22:41:07 -08:00
2025-11-20 18:55:10 -05:00
2025-12-28 22:37:04 -08:00
2026-01-12 18:29:42 -08:00
2025-12-28 06:04:05 -08:00
2025-12-20 13:33:15 -08:00
2025-12-21 14:37:22 -08:00
2025-12-23 01:30:06 -08:00
2026-01-12 18:29:42 -08:00
2025-11-02 14:49:27 -08:00
2025-12-17 19:10:13 -08:00
2026-01-12 18:29:42 -08:00
2025-12-31 13:14:15 -08:00
2025-10-25 18:44:38 -07:00
2025-11-24 00:59:49 -08:00
2025-11-20 19:17:57 -05:00
2025-11-02 14:49:27 -08:00
2025-12-31 13:14:15 -08:00
2026-01-12 18:29:42 -08:00
2026-01-05 22:06:52 -08:00
2025-11-02 16:27:42 -08:00
2026-01-06 12:59:26 -08:00
2025-12-16 13:26:51 -08:00
2025-12-16 13:26:51 -08:00
2025-12-16 13:26:51 -08:00
2026-01-06 12:52:19 -08:00
2025-12-31 13:14:15 -08:00
2025-11-20 21:57:23 -05:00
2026-01-12 18:29:42 -08:00
2026-01-12 18:29:42 -08:00
2025-12-14 17:23:46 -08:00
2025-12-24 13:22:55 -08:00
2026-01-06 12:59:26 -08:00
2026-01-06 12:59:26 -08:00
2026-01-12 19:42:04 -08:00
2025-12-17 19:10:13 -08:00
2026-01-12 18:29:42 -08:00
2025-12-29 13:47:04 -08:00
2025-12-29 13:47:04 -08:00
2025-12-27 16:02:15 -08:00
2026-01-10 23:55:16 -08:00
2026-01-10 22:38:04 -08:00
2025-12-27 16:02:15 -08:00
2025-12-27 16:02:15 -08:00
2026-01-09 14:12:48 -08:00
2025-12-16 01:06:14 -08:00
2025-11-20 21:57:23 -05:00
2026-01-14 20:36:47 -08:00
2025-12-30 16:47:38 -08:00
2026-01-09 22:57:07 -08:00
2026-01-13 00:14:12 -08:00
2025-12-19 17:52:44 -08:00
2025-12-24 14:39:30 -08:00
2025-12-24 14:39:30 -08:00
2025-11-08 15:40:19 -08:00
2025-12-19 19:57:14 -08:00
2026-01-10 23:55:16 -08:00
2026-01-02 17:30:58 -08:00
2026-01-09 22:59:06 -08:00
2025-11-23 19:04:34 -08:00
2026-01-09 23:03:03 -08:00
2025-12-31 13:14:15 -08:00
2026-01-14 20:36:47 -08:00
2025-12-31 13:14:15 -08:00
2026-01-12 19:42:04 -08:00
2025-11-20 21:57:23 -05:00
2025-11-24 01:10:16 -08:00
2025-11-24 22:21:55 -08:00
2026-01-10 22:00:32 -08:00
2025-12-05 15:41:35 -08:00