Summary
The typed foundation of the epic: ProcessGraphShape/ProcessSpecShape Zod schemas (exported as Standard Schema, JSON Schema derived — E11), the canonical state vocabulary (E2: engine FSM canonical, wire enum a projection with an explicit mapping table), and restart/start-policy sub-schemas with S7 pm2-floor defaults (E3: backoff double-to-cap-15000ms, reset-after-30000ms).
Scope
Design source
research/design/d5-config-scaffold-docs-rfc.md §1 + d1-supervision-engine-core.md (state machine) · plan.md §4 PM-1, E2/E3/E11
Acceptance criteria
Non-scope
- No
instances > 1 semantics (E9 hard-errors — PM-35 owns clustering); no deploy-facing target schema (PM-21).
Drift / Debt
RFC #820 amendment (owner-ratified 2026-07-17 — PR #822)
Summary
The typed foundation of the epic:
ProcessGraphShape/ProcessSpecShapeZod schemas (exported as Standard Schema, JSON Schema derived — E11), the canonical state vocabulary (E2: engine FSM canonical, wire enum a projection with an explicit mapping table), and restart/start-policy sub-schemas with S7 pm2-floor defaults (E3: backoff double-to-cap-15000ms, reset-after-30000ms).Scope
packages/plugin-process-manager-corecontracts/v1(Archetype 2)WorkerTaskPermissions(+ schema) from@netscript/plugin-workers-coremod.ts(today internal-only atsrc/executor/executor-types.ts:33-41; doctrine 02 bars internal-path imports, 09 bars duplication)Design source
research/design/d5-config-scaffold-docs-rfc.md§1 +d1-supervision-engine-core.md(state machine) ·plan.md§4 PM-1, E2/E3/E11Acceptance criteria
ProcessStatedefined once incontracts/v1as a projection of the engine FSM with a mapping tableWorkerTaskPermissionsre-exported from workers-coremod.ts; pm imports it from the public surfacedeno doc --lintclean on the full export map; public surface ≤ 20 per mod.ts--ext ts,tsx)Non-scope
instances > 1semantics (E9 hard-errors — PM-35 owns clustering); no deploy-facing target schema (PM-21).Drift / Debt
RFC #820 amendment (owner-ratified 2026-07-17 — PR #822)
tcpandprocess-lingeringkinds (POC-validated: Garnet exposes no HTTP; background workers expose no port). Public contract types — jsr rubric applies.