agent/pkg/agentic/runner.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

14 lines
556 B
Go

// SPDX-License-Identifier: EUPL-1.2
package agentic
// StartRunner is a no-op — queue drain is now owned by pkg/runner.Service.
// Kept for backward compatibility with OnStartup call.
//
// The runner service registers as core.WithService(runner.Register) and
// manages its own background loop, frozen state, and concurrency checks.
func (s *PrepSubsystem) StartRunner() {}
// Poke is a no-op — queue poke is now owned by pkg/runner.Service.
// Runner catches AgentCompleted via HandleIPCEvents and pokes itself.
func (s *PrepSubsystem) Poke() {}