Steve Yegge
079effdaeb
Fix bd-373c: Surface daemon errors when multiple .db files exist
...
When daemon detects multiple .db files (after filtering .backup and vc.db),
it now writes detailed error to .beads/daemon-error file before exiting.
The error file is checked and displayed when:
- Daemon discovery fails to connect
- Auto-start fails to yield a running daemon
- User runs 'bd daemons list'
This makes the error immediately visible without requiring users to check
daemon logs.
Changes:
- cmd/bd/daemon.go: Write daemon-error file on multiple .db detection
- internal/daemon/discovery.go: Read and surface daemon-error in DaemonInfo.Error
- cmd/bd/main.go: Display daemon-error when auto-start fails
Amp-Thread-ID: https://ampcode.com/threads/T-1005a8d1-7a5a-4844-ad2d-2b8a6145825f
Co-authored-by: Amp <amp@ampcode.com >
2025-10-31 22:01:45 -07:00
..
2025-10-31 00:19:42 -07:00
2025-10-31 18:40:32 -07:00
2025-10-31 21:27:33 -07:00
2025-10-31 18:40:32 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:08:50 -07:00
2025-10-26 22:31:24 -07:00
2025-10-30 15:41:46 -07:00
2025-10-31 20:40:04 -07:00
2025-10-26 21:55:01 -07:00
2025-10-31 21:51:54 -07:00
2025-10-30 14:42:08 -07:00
2025-10-27 20:08:50 -07:00
2025-10-29 12:32:27 -07:00
2025-10-29 22:55:13 -07:00
2025-10-31 20:18:05 -07:00
2025-10-26 22:48:19 -07:00
2025-10-29 15:30:47 -07:00
2025-10-29 15:53:41 -07:00
2025-10-29 11:47:40 -07:00
2025-10-29 22:55:13 -07:00
2025-10-31 22:01:45 -07:00
2025-10-31 18:40:32 -07:00
2025-10-26 22:48:19 -07:00
2025-10-26 22:48:19 -07:00
2025-10-31 15:11:29 -07:00
2025-10-31 15:11:29 -07:00
2025-10-28 19:46:12 -07:00
2025-10-26 22:31:24 -07:00
2025-10-31 21:27:05 -07:00
2025-10-31 21:27:05 -07:00
2025-10-31 19:51:44 -07:00
2025-10-27 20:00:49 -07:00
2025-10-29 21:57:15 -07:00
2025-10-26 23:06:03 -07:00
2025-10-29 21:57:15 -07:00
2025-10-27 20:45:59 -07:00
2025-10-27 22:44:40 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:00:49 -07:00
2025-10-30 22:24:42 -07:00
2025-10-31 01:07:42 -07:00
2025-10-31 01:07:42 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 01:38:29 -07:00
2025-10-27 20:00:49 -07:00
2025-10-26 20:17:48 -07:00
2025-10-31 01:07:42 -07:00
2025-10-26 22:31:24 -07:00
2025-10-31 14:36:20 -07:00
2025-10-31 21:27:33 -07:00
2025-10-28 11:34:27 -07:00
2025-10-31 17:17:33 -07:00
2025-10-31 22:01:45 -07:00
2025-10-27 20:08:50 -07:00
2025-10-27 20:00:49 -07:00
2025-10-31 14:36:20 -07:00
2025-10-30 16:28:13 -07:00
2025-10-30 16:28:13 -07:00
2025-10-30 21:51:39 -07:00
2025-10-31 17:26:37 -07:00
2025-10-27 20:21:34 -07:00
2025-10-31 18:12:40 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 18:15:13 -07:00
2025-10-27 22:59:19 -07:00
2025-10-27 18:31:01 +00:00
2025-10-26 22:31:24 -07:00
2025-10-31 14:36:20 -07:00
2025-10-29 12:56:51 -07:00
2025-10-29 12:56:51 -07:00
2025-10-31 19:44:43 -07:00
2025-10-26 22:48:19 -07:00
2025-10-31 20:29:17 -07:00
2025-10-31 14:36:20 -07:00
2025-10-27 20:38:13 -07:00
2025-10-31 19:44:43 -07:00
2025-10-31 21:34:34 -07:00
2025-10-27 20:08:50 -07:00
2025-10-31 19:44:43 -07:00
2025-10-31 19:37:18 -07:00
2025-10-31 20:21:15 -07:00