beads/cmd/bd
Steve Yegge edd4ec95c5 Implement bd merge command with dependency migration and text references
- Add performMerge() with dependency migration in both directions
- Implement updateMergeTextReferences() for text reference updates
- Close source issues with 'Merged into bd-X' reason
- Fix store initialization panic by checking daemon mode earlier
- Add TODO for transaction support (deferred, see bd-215 for idempotency approach)

Closes bd-202, bd-193, bd-194, bd-195, bd-196
Related: bd-190 (merge epic), bd-215 (idempotency enhancement)

Amp-Thread-ID: https://ampcode.com/threads/T-30fe297d-4713-4f84-abc9-3bd264caa4c6
Co-authored-by: Amp <amp@ampcode.com>
2025-10-21 19:39:22 -07:00
..
testdata Enhance .gitignore created during bd init (#98) 2025-10-21 13:59:19 -07:00
autoimport.go Auto-import from git on empty DB (bd-189) 2025-10-21 14:10:26 -07:00
autoimport_collision_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
autostart_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
comments.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
compact.go Add RPC support for compact command (bd-184) 2025-10-21 00:29:50 -07:00
daemon.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
daemon_rotation_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
daemon_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
daemon_unix.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
daemon_windows.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
delete.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
dep.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
direct_mode.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
direct_mode_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
epic.go Add epic closure management commands (fixes #62) 2025-10-17 13:50:20 -07:00
export.go Fix bd-120: Fix nil pointer crash in export command when daemon is running 2025-10-17 17:40:16 -07:00
export_import_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
import.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
import_collision_test.go fix: sync ID counters after import to prevent collisions 2025-10-14 01:19:03 -07:00
import_profile_test.go fix: Resolve race condition in parallel issue creation (bd-89) 2025-10-15 02:57:10 -07:00
import_shared.go Add comments feature (bd-162) 2025-10-19 18:28:41 -07:00
init.go Enhance .gitignore created during bd init (#98) 2025-10-21 13:59:19 -07:00
init_test.go Enhance .gitignore created during bd init (#98) 2025-10-21 13:59:19 -07:00
label.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
label_test.go Add comprehensive tests for label management commands 2025-10-15 17:51:09 -07:00
list.go Auto-import from git on empty DB (bd-189) 2025-10-21 14:10:26 -07:00
main.go Fix bd-180: bd import now creates database if .beads/ directory exists 2025-10-20 23:36:40 -07:00
main_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
markdown.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
markdown_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
merge.go Implement bd merge command with dependency migration and text references 2025-10-21 19:39:22 -07:00
merge_test.go Implement merge validation logic (bd-192) 2025-10-21 18:23:17 -07:00
onboard.go Add agent-first 'bd onboard' command (bd-173) 2025-10-20 15:04:33 -07:00
output_test.go Close bd-157: Complete auto-import refactoring 2025-10-18 18:21:17 -07:00
quickstart.go Fix quickstart EXTENDING.md reference to use full URL (#12) 2025-10-14 01:10:18 -07:00
ready.go Auto-import from git on empty DB (bd-189) 2025-10-21 14:10:26 -07:00
rename_prefix.go Fix #97: Add daemon mode check to rename-prefix command 2025-10-21 14:56:18 -07:00
rename_prefix_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
renumber.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
renumber_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
reopen.go Add bd reopen command for explicit issue reopening 2025-10-15 16:31:11 -07:00
reopen_test.go Add reopen command tests (bd-248) 2025-10-15 17:06:59 -07:00
repos.go feat: Add bd repos multi-repo commands and fix bd ready for in_progress issues 2025-10-18 00:37:27 -07:00
restore.go Implement bd restore command and flip ready work sort order 2025-10-16 18:06:53 -07:00
scripttest_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
stale.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
sync.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
version.go chore: Bump version to 0.10.1 2025-10-20 22:18:41 -07:00