beads/cmd/bd/protocol
darcy fb8ca5fc90 fix: resolve gofmt and golangci-lint CI failures
- gofmt: 7 files had formatting issues (dolt.go, close_guard_test.go,
  init_hooks_test.go, discovery_test.go, types.go, metadata_schema_test.go,
  testdoltserver.go)
- gosec G304: suppress false positives for os.ReadFile on trusted paths
  (daemon PID files, test cleanup)
- gosec G104: handle Close() return values with _ = pattern
- errcheck: wrap os.RemoveAll in defer closure

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 13:31:06 -08:00
..
blocked_status_test.go test(protocol): split blocked-status test into separate file 2026-02-22 23:47:56 -05:00
blocked_test.go fix: include waits-for deps in bd blocked output (GH#2043) 2026-02-23 10:08:25 -08:00
blocking_semantics_test.go refactor(protocol): split protocol_test.go monolith into thematic files 2026-02-24 14:25:54 -08:00
close_guard_test.go fix: resolve gofmt and golangci-lint CI failures 2026-02-25 13:31:06 -08:00
comments_test.go fix: reject empty and whitespace-only comment text 2026-02-23 04:52:58 -05:00
defer_test.go fix: warn when bd defer --until date is in the past 2026-02-23 04:54:06 -05:00
exit_codes_test.go fix: exit non-zero when all close/update attempts fail (GH#2014) 2026-02-23 10:04:06 -08:00
helpers_test.go fix(init): use prefix directly as database name instead of beads_ prefix 2026-02-24 14:57:01 -08:00
input_validation_test.go fix: reject empty title and empty label on update/label add (GH#1994) 2026-02-23 10:05:06 -08:00
lifecycle_test.go fix: report correct status when reopen/undefer is a no-op (GH#2037) 2026-02-23 10:08:12 -08:00
preservation_test.go refactor(protocol): split protocol_test.go monolith into thematic files 2026-02-24 14:25:54 -08:00
roundtrip_test.go refactor(protocol): split protocol_test.go monolith into thematic files 2026-02-24 14:25:54 -08:00
stale_test.go fix: reject non-positive --days flag on bd stale 2026-02-23 04:44:01 -05:00
status_validation_test.go fix: validate status on update against built-in + custom statuses (#2021) 2026-02-23 10:05:17 -08:00