agent/pkg/agentic
Snider eeaed52256 test: batch 3 — add 73 Good/Bad/Ugly tests across 9 files
Fill missing categories for:
- prep.go: 25 lifecycle/detect/env tests
- prep_extra.go: pullWikiContent/renderPlan/brainRecall/findConsumers Ugly
- pr.go: buildPRBody/commentOnIssue/createPR/listPRs/listRepoPRs GBU
- epic.go: createEpic/createIssue/resolveLabelIDs/createLabel Ugly
- scan.go: scan/listOrgRepos/listRepoIssues GBU
- events (logic_test.go): emitStartEvent/emitCompletionEvent GBU
- review_queue_extra.go: buildReviewCommand/countFindings/parseRetryAfter/store/save/load
- watch.go: findActiveWorkspaces/resolveWorkspaceDir Bad/Ugly
- paths.go: newFs/parseInt Good
- plan_crud.go: generatePlanID/planList/writePlan Bad/Ugly

AX-7 scorecard: 425/516 categories filled (82%)
Gap: 166 → 91 missing categories
Tests: 690 → 765 (+75)
Coverage: 76.0% → 76.8%

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-25 09:19:05 +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
auto_pr_test.go test: add Good/Bad/Ugly for status, paths, auto_pr, prep — agentic 74.0% 2026-03-25 08:16:53 +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: batch 1 — add 80 Bad/Ugly tests for paths, plan, status, shutdown, forge cmds 2026-03-25 08:43:35 +00:00
commands_test.go test: batch 2 — add 44 Bad/Ugly tests for commands, verify, queue, remote_client 2026-03-25 08:53:28 +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: batch 2 — add 44 Bad/Ugly tests for commands, verify, queue, remote_client 2026-03-25 08:53:28 +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: batch 3 — add 73 Good/Bad/Ugly tests across 9 files 2026-03-25 09:19:05 +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 refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +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 refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +00:00
logic_test.go test: batch 3 — add 73 Good/Bad/Ugly tests across 9 files 2026-03-25 09:19:05 +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 refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +00:00
paths.go refactor(agentic): adopt core.Env() + core.Path() across package 2026-03-22 10:15:15 +00:00
paths_test.go test: batch 3 — add 73 Good/Bad/Ugly tests across 9 files 2026-03-25 09:19:05 +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: batch 3 — add 73 Good/Bad/Ugly tests across 9 files 2026-03-25 09:19:05 +00:00
plan_logic_test.go refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +00:00
plan_test.go refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +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: batch 3 — add 73 Good/Bad/Ugly tests across 9 files 2026-03-25 09:19:05 +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: batch 3 — add 73 Good/Bad/Ugly tests across 9 files 2026-03-25 09:19:05 +00:00
prep_test.go test: batch 3 — add 73 Good/Bad/Ugly tests across 9 files 2026-03-25 09:19:05 +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: batch 2 — add 44 Bad/Ugly tests for commands, verify, queue, remote_client 2026-03-25 08:53:28 +00:00
queue_logic_test.go refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +00:00
queue_test.go refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +00:00
register.go feat: factories return instances — WithService handles registration 2026-03-24 20:36:17 +00:00
register_test.go refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +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: batch 2 — add 44 Bad/Ugly tests for commands, verify, queue, remote_client 2026-03-25 08:53:28 +00:00
remote_dispatch_test.go refactor(test): proper naming — resume, remote, remote_status 2026-03-25 08:11:39 +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_status_test.go refactor(test): proper naming — resume, remote, remote_status 2026-03-25 08:11:39 +00:00
remote_test.go refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +00:00
render_plan_test.go refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +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 refactor(test): proper naming — resume, remote, remote_status 2026-03-25 08:11:39 +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: batch 3 — add 73 Good/Bad/Ugly tests across 9 files 2026-03-25 09:19:05 +00:00
review_queue_test.go refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +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: batch 3 — add 73 Good/Bad/Ugly tests across 9 files 2026-03-25 09:19:05 +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: batch 1 — add 80 Bad/Ugly tests for paths, plan, status, shutdown, forge cmds 2026-03-25 08:43:35 +00:00
status_logic_test.go refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +00:00
status_test.go test: batch 1 — add 80 Bad/Ugly tests for paths, plan, status, shutdown, forge cmds 2026-03-25 08:43:35 +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 refactor(test): bulk rename 478 tests to TestFile_Function_{Good,Bad,Ugly} 2026-03-25 08:32:08 +00:00
verify_test.go test: batch 2 — add 44 Bad/Ugly tests for commands, verify, queue, remote_client 2026-03-25 08:53:28 +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: batch 3 — add 73 Good/Bad/Ugly tests across 9 files 2026-03-25 09:19:05 +00:00