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> |
||
|---|---|---|
| .. | ||
| agentic | ||
| brain | ||
| lib | ||
| messages | ||
| monitor | ||
| setup | ||