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
16 KiB
16 KiB