agent/pkg
Snider 19d849aa75 fix: use Core PerformAsync for agent monitoring — app stays alive
The monitoring goroutine that waits for agent completion was a raw `go func()`
that Core didn't know about. ServiceShutdown killed it immediately on CLI exit.

Now uses PerformAsync which registers with Core's WaitGroup:
- ServiceShutdown waits for all async tasks to drain
- `core-agent workspace dispatch` blocks until agent completes
- Agent lifecycle properly tracked by the framework

Also whitelist agentic.monitor.* and agentic.complete in entitlement checker.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 07:16:48 +00:00
..
agentic fix: use Core PerformAsync for agent monitoring — app stays alive 2026-03-26 07:16:48 +00:00
brain feat: AX v0.8.0 upgrade — Core features + quality gates 2026-03-26 06:38:02 +00:00
lib feat: AX v0.8.0 upgrade — Core features + quality gates 2026-03-26 06:38:02 +00:00
messages feat: AX v0.8.0 upgrade — Core features + quality gates 2026-03-26 06:38:02 +00:00
monitor feat: AX v0.8.0 upgrade — Core features + quality gates 2026-03-26 06:38:02 +00:00
setup feat: AX v0.8.0 upgrade — Core features + quality gates 2026-03-26 06:38:02 +00:00