This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/pkg/agent
Levi Neely c6f6e7feeb agent: testability, dead code removal, coverage to 83%
- Hook timeout configurable via hookTimeout var (unlocks <-timeout branch)
- newBackend injection into agentCore (unlocks /backend switch in tests)
- Remove dead code: WatchSignals, Prompt(), Goal(), isComplete/markComplete,
  contextStatsString, extractMCPText, DefaultAgentsDir, DefaultSessionsDir,
  Dispatcher() on AgentEnv
- Signal handling moved to process entry points; core has no OS signal knowledge
- Tests: extractMCPResult, mcpToolsToBackend, RestoreSession, SetEnv,
  BuildAgentEnv, firstSentence, hook timeout, backend injection

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 12:28:29 +02:00
..
core.go agent: testability, dead code removal, coverage to 83% 2026-04-21 12:28:29 +02:00
core_test.go agent: testability, dead code removal, coverage to 83% 2026-04-21 12:28:29 +02:00
fifo_test.go agent: add PromptFIFO unit tests 2026-04-11 10:03:47 +02:00
hooks.go agent: testability, dead code removal, coverage to 83% 2026-04-21 12:28:29 +02:00
loop.go agent: testability, dead code removal, coverage to 83% 2026-04-21 12:28:29 +02:00
session.go agent: testability, dead code removal, coverage to 83% 2026-04-21 12:28:29 +02:00
state.go agent: testability, dead code removal, coverage to 83% 2026-04-21 12:28:29 +02:00
types.go agent: testability, dead code removal, coverage to 83% 2026-04-21 12:28:29 +02:00
waitchange_test.go agent: fix AfterFunc broadcast missing lock; add WaitChange tests 2026-04-19 16:55:57 +02:00