Virgil
429675ca29
feat(process): add package register helper
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 07:19:56 +00:00
Virgil
f717fc66c3
feat(process): add stdin service helpers
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 04:28:06 +00:00
Virgil
85cd6dd7c8
feat(process): add wait task surface
...
Co-authored-by: Virgil <virgil@lethean.io>
2026-04-04 03:33:29 +00:00
Virgil
79e2ffa6ed
feat(process): add signal task surface
...
Co-authored-by: Virgil <virgil@lethean.io>
2026-04-04 03:28:28 +00:00
Virgil
c31f3faa2b
Tighten process package API contracts
2026-04-04 03:17:30 +00:00
Virgil
f43e8a6e38
feat(process): add global remove and clear helpers
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 03:04:00 +00:00
Virgil
d34ab22ad3
feat(process): add global output helper
2026-04-04 02:57:25 +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
24f853631d
Add PID-based process kill support
2026-04-04 00:28:15 +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
93f3ab054c
refactor: migrate core import to dappco.re/go/core
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-21 20:00:57 +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
4fc5c3b0e5
fix: correct Signal to use os.Signal, return errors instead of panicking
...
Signal() now properly forwards to cmd.Process.Signal() instead of
calling Kill(). SetDefault(nil) returns error instead of panicking.
Wait() returns descriptive errors with process context.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 08:26:00 +00:00
Snider
85b0e002d6
refactor: swap pkg/framework imports to pkg/core
...
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 14:10:56 +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