Commit graph

10 commits

Author SHA1 Message Date
Snider
0968d540b4 fix(process): AX-6 banned-import purge in program.go (#299)
Replaced bytes/strings/unicode imports with core.NewBuffer, core.* helpers,
and core.IsLetter / core.IsDigit. No banned imports remain.

Closes tasks.lthn.sh/view.php?id=299

Co-authored-by: Codex <noreply@openai.com>
2026-04-25 08:57:48 +01:00
Codex
b7ef256ebf fix(go-process): update stale coreerr alias to dappco.re/go/log (AX-6)
Updated `coreerr "dappco.re/go/core/log"` → `coreerr "dappco.re/go/log"`
across 12 files (actions.go, daemon.go, errors.go, exec/exec.go,
health.go, pkg/api/provider.go, process.go, process_global.go,
program.go, registry.go, runner.go, service.go). No stale path
remains in .go.

Pre-existing blocker (out of ticket scope): `dappco.re/go/io@v0.4.2`
is 404 from module proxy — affects `go test ./...` but is unrelated
to this import rename.

Closes tasks.lthn.sh/view.php?id=718

Co-authored-by: Codex <noreply@openai.com>
2026-04-24 21:45:29 +01:00
Virgil
4974b0fd08 fix(process): prefer resolved program path 2026-04-04 03:10:39 +00:00
Virgil
c9deb8fdfd fix(process): let Program.Find validate existing paths 2026-04-04 03:07:13 +00:00
Virgil
6c1d53a237 fix(process): preserve leading whitespace in Program output 2026-04-04 02:39:59 +00:00
Virgil
498137fa8e refactor(process): align Program with AX helpers
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 01:19:59 +00:00
Virgil
cdc8bfe502 feat(process): add readiness accessors and AX examples
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 00:39:27 +00:00
Virgil
fa79e4eee7 fix(process): guard program run inputs 2026-04-04 00:18:14 +00:00
Claude
a09ca4f408
chore: migrate to dappco.re vanity import path
Module path: forge.lthn.ai/core/go-process -> dappco.re/go/core/process

Import path updates:
- forge.lthn.ai/core/go-log -> dappco.re/go/core/log
- forge.lthn.ai/core/go-io -> dappco.re/go/core/io
- forge.lthn.ai/core/go-ws -> dappco.re/go/core/ws
- forge.lthn.ai/core/go-process (self) -> dappco.re/go/core/process
- forge.lthn.ai/core/api left as-is (not yet migrated)

Local replace directives added until vanity URL server is configured.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 23:49:08 +00:00
Snider
87b16ca41c feat(process): add Program struct with Find, Run, RunDir
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>
2026-03-18 15:07:03 +00:00