agent/pkg
Snider 8521a55907 refactor: eliminate os/exec from all source files → go-process
Replace ALL exec.Command calls with proc.go helpers backed by go-process:
- runCmd/runCmdEnv/runCmdOK — general command execution
- gitCmd/gitCmdOK/gitOutput — git-specific helpers
- ensureProcess() — lazy default service init

Refactored files (0 source files import os/exec now):
- verify.go: runGoTests, runPHPTests, runNodeTests, rebaseBranch
- dispatch.go: runQA (3 exec.Command chains → runCmdOK)
- prep.go: getGitLog, prepWorkspace clone/branch
- pr.go: createPR branch detection + push
- auto_pr.go: commit counting + push
- mirror.go: all git ops + gh CLI calls
- review_queue.go: pushAndMerge, buildReviewCommand (returns string+args now)
- paths.go: DefaultBranch

Coverage: 77.2% → 78.4% (+1.2pp from testable process paths)
802 tests

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-25 09:51:57 +00:00
..
agentic refactor: eliminate os/exec from all source files → go-process 2026-03-25 09:51:57 +00:00
brain fix: imports forge.lthn.ai/core/mcp → dappco.re/go/mcp 2026-03-24 21:40:04 +00:00
lib fix: extract default workspace template for go.work 2026-03-22 15:45:32 +00:00
messages feat(messages): define IPC message types for inter-service communication 2026-03-24 14:44:23 +00:00
monitor test(monitor): add logic_test.go — 26 tests for uncovered functions 2026-03-24 23:12:32 +00:00
setup test: 413 new tests — agentic 54.3%, setup 75.8%, all packages passing 2026-03-25 00:44:17 +00:00