Codex
d86f9abc29
fix(go-process): replace testify with stdlib testing patterns (AX-6)
...
Removes testify + davecgh/go-spew + pmezard/go-difflib from go.mod;
rewrites assert/require calls across 13 _test.go files
(buffer/daemon/errors/exec/global/health/pidfile/process/program/
registry/runner/service + pkg/api/provider) to stdlib t.Fatalf
patterns. go vet + go test all clean (GOWORK=off).
Closes tasks.lthn.sh/view.php?id=719
Co-authored-by: Codex <noreply@openai.com>
Via-codex-lane: Cyclops-719 dispatch (haiku forwarder, ~17min lane)
2026-04-24 18:03:24 +01:00
Snider
e41799b320
merge: resolve github/main conflicts keeping dappco.re module paths
...
Merged github/main into dev to resolve PR #2 conflict. Took github/main
code for all conflicted files (new features: signal, wait, start/run API,
UI streaming, process_global). Resolved go.mod by keeping dappco.re module
paths and using api v0.2.0 (dappco.re-compatible). go mod tidy confirms clean.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-07 08:29:01 +01:00
Virgil
588f4e173b
fix(exec): guard default logger access
...
Co-authored-by: Virgil <virgil@lethean.io>
2026-04-04 07:15:04 +00:00
Virgil
c31f3faa2b
Tighten process package API contracts
2026-04-04 03:17:30 +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
9b536f08c6
feat(exec): require command context
2026-04-03 23:56:56 +00:00
Virgil
87bebd7fa6
feat(exec): add background command support
2026-04-03 23:27:27 +00:00
Virgil
8a6c253ea2
fix(ax): align action handlers and exec errors
2026-03-30 13:43:00 +00:00
Virgil
8a85c3cd86
fix(ax): complete Agent Experience service alignment
2026-03-30 06:34:42 +00:00
Virgil
e75cb1fc97
docs(ax): add RFC/spec artifacts for AX contract alignment
2026-03-30 06:34:38 +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
eac2d0b0cd
Merge pull request '[agent/claude:opus] Fix CodeRabbit findings. Verify each against current code, f...' ( #2 ) from agent/fix-coderabbit-findings--verify-each-aga into main
2026-03-17 13:13:37 +00:00
Snider
f3e995ffd0
fix(coderabbit): address review findings
...
- Assert SetDefault error return in tests instead of ignoring it
- Pass caller location to wrapError for accurate error traces
- daemon.go reviewed: no actionable finding
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 13:13:26 +00:00
Snider
87ef2dbe16
fix(dx): audit CLAUDE.md, error handling, and test coverage
...
- Update CLAUDE.md: document Detach, DisableCapture, ShutdownTimeout,
auto-registration, graceful shutdown, and error handling conventions;
add missing go-log and go-io dependencies
- Replace ServiceError type in process_global.go with coreerr.E()
sentinel errors for consistency with the rest of the package
- Wrap raw error returns in Registry.Register, Registry.Unregister,
and PIDFile.Release with coreerr.E() for proper context
- Add tests for Service.Kill, Service.Output, Service.OnShutdown,
Service.OnStartup, Service.RunWithOptions, Service.Running,
Process.Signal, Daemon.Run (context cancellation),
Daemon.Stop (idempotent), DisableCapture, Detach, env vars,
exec.WithDir, exec.WithEnv, exec.WithStdin/Stdout/Stderr,
exec.RunQuiet
- Coverage: root 82.7% → 88.3%, exec/ 61.9% → 87.3%
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 08:42:56 +00:00
Snider
d73dfa3d73
refactor(process): replace fmt.Errorf and errors.New with coreerr.E()
...
Replace all 27 instances of fmt.Errorf/errors.New in production code
with coreerr.E() from forge.lthn.ai/core/go-log for structured error
context (op, message, cause). Promote go-log from indirect to direct
dependency in go.mod.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 20:38:08 +00:00
Snider
8095807ad6
feat: extract process package from core/go pkg/process
...
Process management with Core IPC integration, output streaming via
ring buffer, exec wrapper with logging, and dependency-aware runner.
Moved from forge.lthn.ai/core/go/pkg/process to standalone module.
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 12:50:09 +00:00