go-process/pkg/api
Claude 861c88b8e8
fix(ax): AX compliance sweep — banned imports, naming, test coverage
- pkg/api/provider.go: remove banned os/syscall imports; delegate to
  new process.KillPID and process.IsPIDAlive exported helpers
- service.go: rename `sr` → `startResult`; add KillPID/IsPIDAlive exports
- runner.go: rename `aggResult` → `aggregate` in all three RunXxx methods;
  add usage-example comments on all exported functions
- process.go: replace prose doc-comments with usage-example comments
- buffer.go, registry.go, health.go: replace prose comments with examples
- buffer_test.go: rename TestRingBuffer_Basics_Good → TestBuffer_{Write,String,Reset}_{Good,Bad,Ugly}
- All test files: add missing _Bad and _Ugly variants for all functions
  (daemon, health, pidfile, registry, runner, process, program, exec, pkg/api)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 08:15:47 +01:00
..
ui/dist feat(ui): add Lit custom elements for process management 2026-03-14 12:25:06 +00:00
embed.go feat(ui): add Lit custom elements for process management 2026-03-14 12:25:06 +00:00
provider.go fix(ax): AX compliance sweep — banned imports, naming, test coverage 2026-03-31 08:15:47 +01:00
provider_test.go fix(ax): AX compliance sweep — banned imports, naming, test coverage 2026-03-31 08:15:47 +01:00