Commit graph

1 commit

Author SHA1 Message Date
Snider
569f553b1a fix(ai): DX audit — update CLAUDE.md, add tests, fix io consistency
Some checks failed
Security Scan / security (pull_request) Successful in 9s
Test / test (pull_request) Failing after 1m33s
- CLAUDE.md: remove deleted daemon/ entry, add embed-bench/ and lab/,
  fix build commands for go workspace (./... → module path),
  update error handling guidance to coreerr.E(), remove stale
  cli.AddDaemonCommand reference
- Replace os.MkdirAll with coreio.Local.EnsureDir in bench/test code
- Add 14 unit tests for metrics (Record, ReadEvents, Summary, sortedMap,
  readMetricsFile edge cases) — ai/ coverage 65.3% → 67.3%
- Add parseDuration tests for cmd/metrics — coverage 0% → 24.6%
- No fmt.Errorf or errors.New violations found
- No os.ReadFile/os.WriteFile violations found

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 08:01:21 +00:00