Files
beads/cmd/bd
Steve Yegge 00f045a972 bd-vcg5: Add daemon crash recovery with panic handler + socket cleanup
Improvements:
1. Added top-level panic recovery in runDaemonLoop
   - Captures stack trace and logs to daemon.log
   - Writes daemon-error file with crash details for user visibility
   - Cleans up PID file on panic
2. Replaced os.Exit calls with return statements where possible
   - Allows deferred cleanup to run (lock release, socket removal, etc)
   - Improves graceful shutdown on errors
3. Enhanced stopDaemon forced-kill path
   - Removes stale socket file after process.Kill()
   - Prevents socket artifacts from accumulating
4. Added integration tests for crash recovery

Closes bd-vcg5
2025-11-07 21:17:24 -08:00
..
2025-11-06 20:15:34 -08:00
2025-10-31 22:39:53 -07:00
2025-11-05 14:25:48 -08:00
2025-11-05 13:56:12 -08:00
2025-11-05 13:56:12 -08:00
2025-10-31 22:39:53 -07:00
2025-11-05 13:56:12 -08:00
2025-11-02 21:25:40 -08:00
2025-11-02 17:09:39 -08:00
2025-11-06 20:25:36 -08:00