Steve Yegge
|
648ecfafe7
|
Address gosec security warnings (bd-102)
- Enable gosec linter in .golangci.yml
- Tighten file permissions: 0755→0750 for directories, 0644→0600 for configs
- Git hooks remain 0700 (executable, user-only access)
- Add #nosec comments for safe cases with justifications:
- G204: Safe subprocess launches (git show, bd daemon)
- G304: File inclusions with controlled paths
- G201: SQL formatting with controlled column names
- G115: Integer conversions with controlled values
All gosec warnings resolved (20→0). All tests passing.
Amp-Thread-ID: https://ampcode.com/threads/T-d7166b9e-cbbe-4c7b-9e48-3df36b20f0d0
Co-authored-by: Amp <amp@ampcode.com>
|
2025-10-26 22:48:19 -07:00 |
|
Steve Yegge
|
7980b9c9e9
|
Implement bd daemons killall and logs (bd-153, bd-152)
Amp-Thread-ID: https://ampcode.com/threads/T-f1cff202-188b-4850-a909-c2750d24ad22
Co-authored-by: Amp <amp@ampcode.com>
|
2025-10-26 19:03:00 -07:00 |
|
Steve Yegge
|
93e170627d
|
bd-154: Implement bd daemons stop and restart subcommands
|
2025-10-26 18:35:28 -07:00 |
|
Steve Yegge
|
0a283d5148
|
bd-151: Implement bd daemons health subcommand
|
2025-10-26 18:21:55 -07:00 |
|
Steve Yegge
|
9448d5227c
|
bd-149: Add auto-cleanup of stale sockets and PID files to bd daemons list
|
2025-10-26 18:17:33 -07:00 |
|
Steve Yegge
|
c61ca494fe
|
feat(daemons): implement discovery and list command (bd-146, bd-147)
- Add daemon discovery mechanism with socket scanning
- Implement depth-limited filesystem walk to avoid hangs
- Add DaemonInfo struct with metadata collection
- Create 'bd daemons list' command with table and JSON output
- Add FindDaemonByWorkspace and CleanupStaleSockets utilities
- Fix workspace path to be parent of .beads directory
- Add comprehensive tests for discovery functionality
Closes bd-146
Closes bd-147
|
2025-10-26 18:10:24 -07:00 |
|