Kaizen
Browse modulesLifecyclelifecycle/serverSchemas and constants

Variable: lifecycleActorSchema

const lifecycleActorSchema: ZodObject<{
  actorId: ZodOptional<ZodNullable<ZodString>>;
  actorType: ZodOptional<ZodNullable<ZodString>>;
  metadata: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
  reason: ZodOptional<ZodNullable<ZodString>>;
  source: ZodOptional<ZodNullable<ZodString>>;
}, $strip>;

Defined in: shared/lifecycle/schemas.ts:35

Actor / provenance fields shared by send and the read-only inspect API, so guards evaluate identically whether checking can(...) or actually sending.