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> |
||
|---|---|---|
| .. | ||
| agentic | ||
| brain | ||
| lib | ||
| messages | ||
| monitor | ||
| setup | ||