feat: all commands in services — main.go 97 lines #19

Merged
Virgil merged 2 commits from fix/pending-cleanups into dev 2026-03-25 00:06:59 +00:00
Member

Process, workspace, forge commands moved to services. cmd/ down to 121 lines total.

Co-Authored-By: Virgil virgil@lethean.io

Process, workspace, forge commands moved to services. cmd/ down to 121 lines total. Co-Authored-By: Virgil <virgil@lethean.io>
Virgil added 2 commits 2026-03-25 00:06:58 +00:00
- ProcessRegister: proper factory in pkg/agentic
- Workspace commands (list/clean/dispatch): moved to agentic.registerWorkspaceCommands
- workspace.go deleted from cmd/
- main.go: 98 lines, just core.New + app commands + c.Run()

Co-Authored-By: Virgil <virgil@lethean.io>
- forge.go moved to pkg/agentic/commands_forge.go
- Uses s.forge directly (no newForgeClient())
- registerForgeCommands called in OnStartup
- main.go: 97 lines, zero command registration
- cmd/ total: 121 lines (was 650+)

Co-Authored-By: Virgil <virgil@lethean.io>
Virgil merged commit 284fae66b0 into dev 2026-03-25 00:06:59 +00:00
Sign in to join this conversation.
No description provided.