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>
17 lines
317 B
Go
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
|
|
}
|