[agent/claude:sonnet] Implement the plan at docs/plans/2026-03-18-absorb-sail-prog... #3

Merged
Virgil merged 1 commit from agent/implement-the-plan-at-docs-plans-2026-03 into main 2026-03-18 15:07:18 +00:00
Member

Task

Implement the plan at docs/plans/2026-03-18-absorb-sail-program.md — add Program struct with Find(), Run(), RunDir() to program.go with tests. Follow the plan exactly, task by task. Commit after each task.

Agent: claude:sonnet
Commits: 1
Branch: agent/implement-the-plan-at-docs-plans-2026-03


Auto-created by core-agent dispatch system.
Co-Authored-By: Virgil virgil@lethean.io

## Task Implement the plan at docs/plans/2026-03-18-absorb-sail-program.md — add Program struct with Find(), Run(), RunDir() to program.go with tests. Follow the plan exactly, task by task. Commit after each task. **Agent:** claude:sonnet **Commits:** 1 **Branch:** `agent/implement-the-plan-at-docs-plans-2026-03` --- Auto-created by core-agent dispatch system. Co-Authored-By: Virgil <virgil@lethean.io>
Virgil added 1 commit 2026-03-18 15:07:15 +00:00
Add Program to the process package as a lightweight tool-finder and runner.
Find() resolves a binary via exec.LookPath (wrapping ErrProgramNotFound),
Run() and RunDir() execute the binary and return trimmed combined output.
Includes 7 tests covering happy paths, error paths, and the errors.Is contract.

Co-Authored-By: Virgil <virgil@lethean.io>
Virgil merged commit 94c4fde4b0 into main 2026-03-18 15:07:18 +00:00
Virgil deleted branch agent/implement-the-plan-at-docs-plans-2026-03 2026-03-18 15:07:18 +00:00
Author
Member

Auto-Verified & Merged

Tests: go test ./... — PASS

Auto-merged by core-agent dispatch system.

## Auto-Verified & Merged **Tests:** `go test ./...` — PASS Auto-merged by core-agent dispatch system.
Sign in to join this conversation.
No description provided.