feat: add module contracts and discovery
CI / verify (push) Has been cancelled
CI / infrastructure-smoke (push) Has been cancelled

This commit is contained in:
ekklesia
2026-07-12 22:14:01 -05:00
parent d9489384c1
commit 57552a21a4
43 changed files with 2277 additions and 21 deletions
@@ -0,0 +1,17 @@
import { z } from "zod";
export const MODULE_LIFECYCLE_STAGES = [
"discovered",
"validated",
"configured",
"registered",
"migrated",
"initialized",
"started",
"stopped",
"failed",
] as const;
export const moduleLifecycleStageSchema = z.enum(MODULE_LIFECYCLE_STAGES);
export type ModuleLifecycleStage = z.infer<typeof moduleLifecycleStageSchema>;