refactor(monorepo): remove root cmd entrypoints

This commit is contained in:
2026-03-20 14:25:50 +08:00
parent d00b2a30ee
commit bc08feda59
30 changed files with 231 additions and 176 deletions
+8 -5
View File
@@ -143,7 +143,7 @@ This package owns the inbox worker-facing runtime.
It should contain:
- `cmd/inbox/main.go`
- CLI command wiring currently under `internal/cli/inbox`
- package-local CLI command wiring under `internal/cli/inbox`
- inbox-specific packaging tests
It depends on `coord-core`.
@@ -155,7 +155,7 @@ This package owns the orch leader-facing runtime.
It should contain:
- `cmd/orch/main.go`
- CLI command wiring currently under `internal/cli/orch`
- package-local CLI command wiring under `internal/cli/orch`
- worktree-specific runtime helpers currently owned only by orch
It depends on `coord-core`.
@@ -170,9 +170,9 @@ This package owns the HTTP and read-model runtime for the operator web surface.
It should contain:
- `cmd/orchd/main.go`
- current `internal/httpapi`
- current `internal/query`
- current `internal/app/web.go`
- package-local `internal/httpapi`
- package-local `internal/query`
- package-local `internal/app/web.go`
It depends on `coord-core`.
@@ -446,6 +446,9 @@ This migration does not require:
- moving every support app into `packages/`
- forcing every skill to own its own runtime package when runtime reuse is intentional
The migration does remove root runtime ownership once package-owned runtimes are in place.
Root `cmd/` and root `internal/` are not part of the long-term target shape.
## Success Criteria
The migration is complete when: