go/pkg/log
Snider 29e6d06633 fix(core): replace fmt.Errorf with structured errors, add log service tests
- Replace all fmt.Errorf calls with coreerr.E() from go-log for structured
  error context (op, msg, underlying error) across core.go, service_manager.go,
  and runtime_pkg.go (12 violations fixed)
- Replace local Error type and E() in e.go with re-exports from go-log,
  eliminating duplicate implementation while preserving public API
- Add comprehensive tests for pkg/log Service (NewService, OnStartup,
  QueryLevel, TaskSetLevel) — coverage 72.2% → 87.8%
- Update CLAUDE.md: Go 1.25 → 1.26, runtime.go → runtime_pkg.go,
  document go-log error convention
- No os.ReadFile/os.WriteFile violations found (all I/O uses go-io)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 08:03:05 +00:00
..
log.go refactor: delete pkg/io, slim pkg/log to go-io/go-log re-exports 2026-03-06 12:23:52 +00:00
rotation.go refactor: delete pkg/io, slim pkg/log to go-io/go-log re-exports 2026-03-06 12:23:52 +00:00
rotation_test.go fix(core): replace fmt.Errorf with structured errors, add log service tests 2026-03-17 08:03:05 +00:00
service.go refactor: promote pkg/framework/core to pkg/core 2026-03-06 14:10:34 +00:00
service_test.go fix(core): replace fmt.Errorf with structured errors, add log service tests 2026-03-17 08:03:05 +00:00