Skip to content

ContextPacketZ

const ContextPacketZ: ZodObject<{ assumptions: ZodArray<ZodObject<{ id: ZodString; recommendationId: ZodString; status: ZodLiteral<"open">; text: ZodString; }, $strip>>; decisions: ZodArray<ZodObject<{ id: ZodString; rationale: ZodString; recommendationId: ZodOptional<ZodString>; status: ZodLiteral<"active">; title: ZodString; }, $strip>>; files: ZodArray<ZodObject<{ path: ZodString; why: ZodString; }, $strip>>; generatedAt: ZodString; loop: ZodObject<{ activeDraft: ZodOptional<ZodNullable<ZodString>>; activePhase: ZodOptional<ZodNullable<ZodString>>; activeSpec: ZodOptional<ZodNullable<ZodString>>; loopPosition: ZodOptional<ZodString>; nextAction: ZodOptional<ZodString>; present: ZodBoolean; stateError: ZodOptional<ZodString>; tier: ZodOptional<ZodNullable<ZodString>>; }, $strip>; needsAttention: ZodOptional<ZodArray<ZodObject<{ id: ZodString; priority: ZodEnum<{ critical: "critical"; high: "high"; low: "low"; medium: "medium"; }>; readiness: ZodEnum<{ blocked: "blocked"; needs-decision: "needs-decision"; needs-evidence: "needs-evidence"; raw-idea: "raw-idea"; ready-for-cadence-spec: "ready-for-cadence-spec"; ready-for-milestone: "ready-for-milestone"; }>; score: ZodNumber; status: ZodEnum<{ accepted: "accepted"; candidate: "candidate"; converted: "converted"; deferred: "deferred"; rejected: "rejected"; settle-pending: "settle-pending"; shipped: "shipped"; }>; suggestedBackendAction: ZodOptional<ZodString>; title: ZodString; }, $strip>>>; recommendations: ZodArray<ZodObject<{ id: ZodString; priority: ZodEnum<{ critical: "critical"; high: "high"; low: "low"; medium: "medium"; }>; readiness: ZodEnum<{ blocked: "blocked"; needs-decision: "needs-decision"; needs-evidence: "needs-evidence"; raw-idea: "raw-idea"; ready-for-cadence-spec: "ready-for-cadence-spec"; ready-for-milestone: "ready-for-milestone"; }>; score: ZodNumber; status: ZodEnum<{ accepted: "accepted"; candidate: "candidate"; converted: "converted"; deferred: "deferred"; rejected: "rejected"; settle-pending: "settle-pending"; shipped: "shipped"; }>; suggestedBackendAction: ZodOptional<ZodString>; title: ZodString; }, $strip>>; schemaVersion: ZodLiteral<1>; scope: ZodEnum<{ agent: "agent"; handoff: "handoff"; phase: "phase"; review: "review"; }>; totals: ZodObject<{ assumptions: ZodNumber; decisions: ZodNumber; files: ZodNumber; recommendations: ZodNumber; recommendationsOmitted: ZodNumber; }, $strip>; }, $strip>

Defined in: types/src/intelligence.ts:403