Add discovery_unit_test.go with comprehensive unit tests that run without the integration build tag. Tests cover: - walkWithDepth: depth limiting, hidden dir skipping, callback errors - checkDaemonErrorFile: file presence/absence, content reading - CleanupStaleSockets: stale removal, alive daemon preservation - findBeadsDirForWorkspace: regular repos, nonexistent paths - discoverDaemon: socket missing, not listening, with error file - discoverDaemonsLegacy: multiple roots, deduplication, filtering - StopDaemon: not alive error, connection failures - KillAllDaemons: empty list, not alive daemons, mixed states, force mode 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 KiB
22 KiB