agent/pkg/agentic/runner_example_test.go
Snider 8911dc5f42 fix(agentic): delegate runner/shutdown/poke to runner service
StartRunner and Poke are now no-ops — runner.Service owns the queue.
Shutdown MCP tools delegate to runner.start/stop/kill Actions via IPC.
Updated 18 tests to verify delegation instead of direct state mutation.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 11:19:45 +00:00

17 lines
317 B
Go

// SPDX-License-Identifier: EUPL-1.2
package agentic
import (
core "dappco.re/go/core"
)
func ExamplePrepSubsystem_Poke() {
// Poke is now a no-op — queue poke is owned by pkg/runner.Service.
s := newPrepWithProcess()
s.pokeCh = make(chan struct{}, 1)
s.Poke()
core.Println(len(s.pokeCh))
// Output: 0
}