agent/pkg
Snider 2d58145e65 test(monitor): add unit tests for completions, inbox, lifecycle
Cover checkCompletions, checkInbox, syncRepos, loop, Poke,
Start/Shutdown, New, initSyncTimestamp, and agentStatusResource.
Mock HTTP endpoints with httptest, use t.TempDir for workspace
scanning, and create fake status.json files for completions.

Also fix dispatch.go build error (removed unsupported RunOptions
fields: KillGroup, Timeout, GracePeriod).

Coverage: 23.2% → 86.5%

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 00:45:43 +00:00
..
agentic fix(dispatch): use correct Codex CLI flags (exec --full-auto) 2026-03-21 21:26:13 +00:00
brain fix: address Codex round 5 findings — 2 high, 5 medium, 4 low 2026-03-21 16:53:55 +00:00
lib refactor: flatten go/ subdir, migrate to dappco.re/go/agent, restore process service 2026-03-21 11:10:44 +00:00
monitor test(monitor): add unit tests for completions, inbox, lifecycle 2026-03-22 00:45:43 +00:00
setup refactor: flatten go/ subdir, migrate to dappco.re/go/agent, restore process service 2026-03-21 11:10:44 +00:00