Summary
The typed oRPC contract: exactly the normative 18-route table (E4/F-2) — describe · listProcesses · getProcess · status · health · getState · logs · followLogs · start · stop · restart · block · unblock · terminate · applyGraph · subscribeEvents · mintToken · revokeToken — with Zod schemas, spreading BASE_PLUGIN_CONTRACT_ROUTES, satisfies, no erasure cast.
Scope
Design source
research/design/d2-control-plane-contract.md §1.3 (normative) · plan.md §4 PM-9, E4
Acceptance criteria
Non-scope
- Handlers (PM-10); transport (PM-11); auth (PM-12).
Drift / Debt
Summary
The typed oRPC contract: exactly the normative 18-route table (E4/F-2) —
describe · listProcesses · getProcess · status · health · getState · logs · followLogs · start · stop · restart · block · unblock · terminate · applyGraph · subscribeEvents · mintToken · revokeToken— with Zod schemas, spreadingBASE_PLUGIN_CONTRACT_ROUTES,satisfies, no erasure cast.Scope
packages/plugin-process-manager-corecontracts/v1Design source
research/design/d2-control-plane-contract.md§1.3 (normative) ·plan.md§4 PM-9, E4Acceptance criteria
reload,enable-service,disable-service) map in PM-26, never hereBASE_PLUGIN_CONTRACT_ROUTESspread +satisfies; only the 2 accepted casts)ActionResult {id, action, accepted, state, correlationId})deno doc --lintclean on the full export map--ext ts,tsx)Non-scope
Drift / Debt