Commit graph

7 commits

Author SHA1 Message Date
Snider
5d316650e2 feat(rfc): add Current State + File Layout — save future session research
- Current State: every file with specific migration action
- File Layout: annotated tree showing what exists and what changes
- Factory signature, lifecycle returns, singleton removal documented
- Future session reads this and knows exactly what to change

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-25 20:01:01 +00:00
Snider
5a1812bfd3 refactor(rfc): rewrite as v0.8.0 contract — not migration plan
- Status: Design spec v0.7.0 → v0.8.0
- Removed "What Changes from v0.3.3" migration table
- Added Section 6: Error handling (core.E, Concat)
- Added Section 8: Quality gates (os/exec exception documented)
- Added Consumer RFCs back-reference
- Fixed string concat → core.Concat in kill handler
- Noted go-process is the ONE os/exec exception explicitly

8 sections, complete contract for next session.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-25 19:57:34 +00:00
Snider
87f53ad8dd docs: v0.7.0 implementation plan — align with core/go v0.8.0
7-step plan to update factory signature, register process.* Actions,
remove global singleton, and align with Startable returning Result.

Written with full core/go domain context from RFC implementation session.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-25 15:34:24 +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
Snider
59e82f74af docs: remove implemented plan files
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 12:45:56 +00:00
Snider
0ae76c2414 feat(ui): add Lit custom elements for process management
Five Lit custom elements following the go-scm UI pattern:
- <core-process-panel> tabbed container (Daemons/Processes/Pipelines)
- <core-process-daemons> daemon registry with health checks and stop
- <core-process-list> managed processes with status badges
- <core-process-output> live stdout/stderr WS stream viewer
- <core-process-runner> pipeline execution results display

Also adds provider.Renderable interface to ProcessProvider with
Element() returning core-process-panel tag, extends WS channels
with process-level events, and embeds the built UI bundle via
go:embed.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 12:25:06 +00:00
Snider
ec95200765 docs: add human-friendly documentation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:02:40 +00:00