agent/pkg/monitor
Snider 4e69daf2da feat: replace initServices() with core.New() service conclave
Services are now registered during Core construction:
  core.New(
      core.WithService(agentic.Register),
      core.WithService(monitor.Register),
      core.WithService(brain.Register),
  )

- Remove initServices() closure — services created once in conclave
- Commands use c.ServiceStartup()/c.ServiceShutdown() for lifecycle
- Service instances retrieved via c.Config() for MCP tool registration
- run/orchestrator reduced to ServiceStartup + block + ServiceShutdown
- run/task uses conclave's agentic instance

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-24 16:33:04 +00:00
..
harvest.go fix(monitor): scan new workspace layout for channel notifications 2026-03-22 15:45:32 +00:00
harvest_test.go test(monitor): add harvest and channel notification tests 2026-03-21 13:21:23 +00:00
monitor.go feat(ipc): replace CompletionNotifier callbacks with Core IPC messages 2026-03-24 14:46:59 +00:00
monitor_test.go fix(monitor): emit agent.completed per task, verify PIDs for queue.drained 2026-03-24 13:02:41 +00:00
register.go feat: replace initServices() with core.New() service conclave 2026-03-24 16:33:04 +00:00
sync.go refactor(monitor): adopt core helpers 2026-03-22 13:40:14 +00:00