agent/pkg/agentic
Snider 52f6031822 refactor(test): delete catch-all test files, rewrite dispatch_test.go
Delete edge_case_test.go, coverage_push_test.go, dispatch_extra_test.go.
Rewrite dispatch_test.go with proper naming: TestDispatch_Function_{Good,Bad,Ugly}.

Every function in dispatch.go now has Good/Bad/Ugly test groups.
Tests for non-dispatch functions will be restored to their correct files.

agentic 72.6% (temporary regression — tests being redistributed)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-25 08:08:36 +00:00
..
auto_pr.go fix(monitor): emit agent.completed per task, verify PIDs for queue.drained 2026-03-24 13:02:41 +00:00
commands.go refactor: extract commands.go closures into methods — agentic 65.1% 2026-03-25 00:54:07 +00:00
commands_forge.go refactor: extract command closures into named methods — agentic 61.4% 2026-03-25 00:52:00 +00:00
commands_forge_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
commands_test.go test: command method edge cases — agentic 66.4%, 524 tests 2026-03-25 00:56:19 +00:00
commands_workspace.go refactor: extract command closures into named methods — agentic 61.4% 2026-03-25 00:52:00 +00:00
commands_workspace_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
dispatch.go refactor: decompose spawnAgent monolith — agentic 67.8%, 546 tests 2026-03-25 01:11:04 +00:00
dispatch_sync.go fix(monitor): emit agent.completed per task, verify PIDs for queue.drained 2026-03-24 13:02:41 +00:00
dispatch_test.go refactor(test): delete catch-all test files, rewrite dispatch_test.go 2026-03-25 08:08:36 +00:00
epic.go refactor: migrate core/agent to Core primitives — reference implementation 2026-03-22 06:13:41 +00:00
epic_test.go test(agentic): add epic_test.go — Forge API integration tests with httptest 2026-03-24 23:30:44 +00:00
events.go feat(monitor): agent.started + agent.complete channel notifications 2026-03-22 15:45:32 +00:00
handlers.go feat: complete DI migration — IPC pipeline + Config + Locks 2026-03-24 16:44:19 +00:00
handlers_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
ingest.go fix(monitor): emit agent.completed per task, verify PIDs for queue.drained 2026-03-24 13:02:41 +00:00
ingest_test.go test(agentic): add ingest_test.go — findings ingestion and issue creation tests 2026-03-24 23:30:58 +00:00
logic_test.go test(agentic): add logic_test.go — 66 tests for 10 pure functions 2026-03-24 22:59:42 +00:00
mirror.go feat: devops plugin, CLI commands, Codex dispatch fixes, AX sweep 2026-03-22 15:45:16 +00:00
mirror_test.go test(agentic): add mirror_test.go — git helper integration tests 2026-03-24 23:30:38 +00:00
paths.go refactor(agentic): adopt core.Env() + core.Path() across package 2026-03-22 10:15:15 +00:00
paths_test.go feat: devops plugin, CLI commands, Codex dispatch fixes, AX sweep 2026-03-22 15:45:16 +00:00
plan.go feat: devops plugin, CLI commands, Codex dispatch fixes, AX sweep 2026-03-22 15:45:16 +00:00
plan_crud_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
plan_logic_test.go test(agentic): add queue/status/plan/register test files 2026-03-24 23:07:02 +00:00
plan_test.go refactor(pkg): migrate go-io/go-log to Core primitives 2026-03-22 03:41:07 +00:00
pr.go fix(monitor): emit agent.completed per task, verify PIDs for queue.drained 2026-03-24 13:02:41 +00:00
pr_test.go test(agentic): add pr_test.go — PR creation and listing tests 2026-03-24 23:31:21 +00:00
prep.go feat: all commands in services — cmd/ has only main.go (97 lines) + update.go (24 lines) 2026-03-25 00:06:46 +00:00
prep_extra_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
prep_test.go fix: test uses core.New() directly — no .Value unwrap 2026-03-24 21:53:45 +00:00
process_register.go feat: move workspace + process commands into services — main.go 98 lines 2026-03-25 00:03:22 +00:00
queue.go feat: complete DI migration — IPC pipeline + Config + Locks 2026-03-24 16:44:19 +00:00
queue_extra_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
queue_logic_test.go test(agentic): add queue/status/plan/register test files 2026-03-24 23:07:02 +00:00
queue_test.go feat(concurrency): nested per-model limits under agent pools 2026-03-24 13:05:41 +00:00
register.go feat: factories return instances — WithService handles registration 2026-03-24 20:36:17 +00:00
register_test.go test(agentic): add queue/status/plan/register test files 2026-03-24 23:07:02 +00:00
remote.go refactor(agentic): adopt core.Env() + core.Path() across package 2026-03-22 10:15:15 +00:00
remote_client.go fix: resolve final AX audit findings 2026-03-22 06:42:42 +00:00
remote_client_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
remote_dispatch_test.go test: renderPlan + dispatchRemote + statusRemote — agentic 71.5%, 559 tests 2026-03-25 01:13:35 +00:00
remote_status.go feat(agent): background runner, slim status, Docker dispatch, stopwatch, CLI fixes 2026-03-23 12:53:33 +00:00
remote_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
render_plan_test.go test: renderPlan + dispatchRemote + statusRemote — agentic 71.5%, 559 tests 2026-03-25 01:13:35 +00:00
resume.go fix(monitor): emit agent.completed per task, verify PIDs for queue.drained 2026-03-24 13:02:41 +00:00
resume_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
review_queue.go refactor(agentic): adopt core.Env() + core.Path() across package 2026-03-22 10:15:15 +00:00
review_queue_extra_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
review_queue_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
runner.go feat(agent): v0.3.0 — dispatch control, run task CLI, quiet notifications, spark pool 2026-03-23 16:08:08 +00:00
sanitise.go feat: devops plugin, CLI commands, Codex dispatch fixes, AX sweep 2026-03-22 15:45:16 +00:00
scan.go refactor(agentic): use go-forge library instead of raw HTTP 2026-03-22 15:45:16 +00:00
scan_test.go test(agentic): add scan_test.go — Forge issue scanning with mock API 2026-03-24 23:31:07 +00:00
shutdown.go fix(monitor): emit agent.completed per task, verify PIDs for queue.drained 2026-03-24 13:02:41 +00:00
status.go fix(monitor): emit agent.completed per task, verify PIDs for queue.drained 2026-03-24 13:02:41 +00:00
status_extra_test.go test(agentic): add status_extra_test.go — status, shutdown, brain, and lifecycle tests 2026-03-24 23:31:28 +00:00
status_logic_test.go test(agentic): add queue/status/plan/register test files 2026-03-24 23:07:02 +00:00
status_test.go fix(monitor): emit agent.completed per task, verify PIDs for queue.drained 2026-03-24 13:02:41 +00:00
verify.go fix(monitor): emit agent.completed per task, verify PIDs for queue.drained 2026-03-24 13:02:41 +00:00
verify_extra_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00
verify_test.go test(agentic): add verify_test.go — PR merge, labels, and verification tests 2026-03-24 23:30:50 +00:00
watch.go fix(monitor): emit agent.completed per task, verify PIDs for queue.drained 2026-03-24 13:02:41 +00:00
watch_test.go test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00