Skip to content

CadenceStateZ

const CadenceStateZ: ZodObject<{ activeDraft: ZodNullable<ZodString>; activePhase: ZodNullable<ZodString>; activeSpec: ZodDefault<ZodNullable<ZodString>>; activeTask: ZodNullable<ZodObject<{ id: ZodString; status: ZodEnum<{ BLOCKED: "BLOCKED"; DONE: "DONE"; DONE_WITH_CONCERNS: "DONE_WITH_CONCERNS"; IN_PROGRESS: "IN_PROGRESS"; NEEDS_CONTEXT: "NEEDS_CONTEXT"; PENDING: "PENDING"; }>; touchedFiles: ZodArray<ZodString>; }, $strip>>; decisions: ZodArray<ZodObject<{ decidedAt: ZodString; draft: ZodOptional<ZodString>; id: ZodString; phase: ZodString; rationale: ZodOptional<ZodString>; title: ZodString; }, $strip>>; deferred: ZodArray<ZodObject<{ createdAt: ZodString; from: ZodString; id: ZodString; title: ZodString; type: ZodOptional<ZodString>; }, $strip>>; draftReadAt: ZodDefault<ZodNullable<ZodString>>; loopPosition: ZodEnum<{ BUILD: "BUILD"; DRAFT: "DRAFT"; IDLE: "IDLE"; SETTLE: "SETTLE"; SPEC: "SPEC"; }>; openDrafts: ZodArray<ZodObject<{ id: ZodString; since: ZodString; }, $strip>>; project: ZodObject<{ createdAt: ZodString; name: ZodString; }, $strip>; revision: ZodDefault<ZodNumber>; schemaVersion: ZodLiteral<1>; session: ZodObject<{ lastHandoff: ZodNullable<ZodString>; subagentBaselines: ZodDefault<ZodRecord<ZodString, ZodObject<{ startedAt: ZodString; taskStatuses: ZodRecord<ZodString, ZodString>; touchedFiles: ZodArray<ZodString>; }, $strip>>>; subagentSpawns: ZodNumber; tokenUtilization: ZodNumber; }, $strip>; skillAudit: ZodObject<{ invoked: ZodArray<ZodString>; required: ZodArray<ZodString>; }, $strip>; tier: ZodNullable<ZodEnum<{ complex: "complex"; quick-fix: "quick-fix"; standard: "standard"; }>>; }, $strip>

Defined in: types/src/state.ts:38