[**zonegaze-flow**](../../../../README.md)

***

[zonegaze-flow](../../../../README.md) / [flow/contracts/src](../README.md) / runtimeBoardCardSchema

# Variable: runtimeBoardCardSchema

> `const` **runtimeBoardCardSchema**: `ZodPipe`\<`ZodObject`\<\{ `agentId`: `ZodOptional`\<`ZodEnum`\<\{ `claude`: `"claude"`; `cline`: `"cline"`; `codex`: `"codex"`; `droid`: `"droid"`; `gemini`: `"gemini"`; `kiro`: `"kiro"`; `opencode`: `"opencode"`; \}\>\>; `archiveInfo`: `ZodOptional`\<`ZodPipe`\<`ZodObject`\<\{ `archivedAt`: `ZodNumber`; `createdTaskIds`: `ZodOptional`\<`ZodArray`\<`ZodString`\>\>; `note`: `ZodOptional`\<`ZodString`\>; `reason`: `ZodEnum`\<\{ `manual`: `"manual"`; `planned`: `"planned"`; \}\>; \}, `$strip`\>, `ZodTransform`\<\{ `archivedAt`: `number`; `createdTaskIds`: `string`[]; `note?`: `string`; `reason`: `"manual"` \| `"planned"`; \}, \{ `archivedAt`: `number`; `createdTaskIds?`: `string`[]; `note?`: `string`; `reason`: `"manual"` \| `"planned"`; \}\>\>\>; `autoReviewEnabled`: `ZodOptional`\<`ZodBoolean`\>; `autoReviewMode`: `ZodOptional`\<`ZodPipe`\<`ZodTransform`\<`unknown`, `unknown`\>, `ZodEnum`\<\{ `commit`: `"commit"`; `pr`: `"pr"`; \}\>\>\>; `baseRef`: `ZodString`; `clineModelId`: `ZodOptional`\<`ZodString`\>; `clineProviderId`: `ZodOptional`\<`ZodString`\>; `clineReasoningEffort`: `ZodOptional`\<`ZodEnum`\<\{ `default`: `"default"`; `high`: `"high"`; `low`: `"low"`; `medium`: `"medium"`; `xhigh`: `"xhigh"`; \}\>\>; `clineSettings`: `ZodOptional`\<`ZodObject`\<\{ `modelId`: `ZodOptional`\<`ZodString`\>; `providerId`: `ZodOptional`\<`ZodString`\>; `reasoningEffort`: `ZodOptional`\<`ZodEnum`\<\{ `high`: `"high"`; `low`: `"low"`; `medium`: `"medium"`; `xhigh`: `"xhigh"`; \}\>\>; \}, `$strip`\>\>; `createdAt`: `ZodNumber`; `generatedFromPlanLaterTaskId`: `ZodOptional`\<`ZodString`\>; `id`: `ZodString`; `images`: `ZodOptional`\<`ZodArray`\<`ZodObject`\<\{ `data`: `ZodString`; `id`: `ZodString`; `mimeType`: `ZodString`; `name`: `ZodOptional`\<`ZodString`\>; \}, `$strip`\>\>\>; `parentTaskId`: `ZodOptional`\<`ZodNullable`\<`ZodString`\>\>; `prompt`: `ZodString`; `startInPlanMode`: `ZodBoolean`; `tags`: `ZodOptional`\<`ZodArray`\<`ZodString`\>\>; `title`: `ZodOptional`\<`ZodString`\>; `updatedAt`: `ZodNumber`; `workspaceTaskId`: `ZodOptional`\<`ZodString`\>; `workTypeId`: `ZodOptional`\<`ZodString`\>; \}, `$strip`\>, `ZodTransform`\<\{ `agentId?`: `"claude"` \| `"codex"` \| `"gemini"` \| `"opencode"` \| `"droid"` \| `"kiro"` \| `"cline"`; `archiveInfo?`: \{ `archivedAt`: `number`; `createdTaskIds`: `string`[]; `note?`: `string`; `reason`: `"manual"` \| `"planned"`; \}; `autoReviewEnabled?`: `boolean`; `autoReviewMode?`: `"commit"` \| `"pr"`; `baseRef`: `string`; `clineSettings?`: \{ `modelId?`: `string`; `providerId?`: `string`; `reasoningEffort?`: `"low"` \| `"medium"` \| `"high"` \| `"xhigh"`; \}; `createdAt`: `number`; `generatedFromPlanLaterTaskId?`: `string`; `id`: `string`; `images?`: `object`[]; `parentTaskId?`: `string`; `prompt`: `string`; `startInPlanMode`: `boolean`; `tags`: `string`[]; `title`: `string`; `updatedAt`: `number`; `workspaceTaskId?`: `string`; `workTypeId`: `string`; \}, \{ `agentId?`: `"claude"` \| `"codex"` \| `"gemini"` \| `"opencode"` \| `"droid"` \| `"kiro"` \| `"cline"`; `archiveInfo?`: \{ `archivedAt`: `number`; `createdTaskIds`: `string`[]; `note?`: `string`; `reason`: `"manual"` \| `"planned"`; \}; `autoReviewEnabled?`: `boolean`; `autoReviewMode?`: `"commit"` \| `"pr"`; `baseRef`: `string`; `clineModelId?`: `string`; `clineProviderId?`: `string`; `clineReasoningEffort?`: `"default"` \| `"low"` \| `"medium"` \| `"high"` \| `"xhigh"`; `clineSettings?`: \{ `modelId?`: `string`; `providerId?`: `string`; `reasoningEffort?`: `"low"` \| `"medium"` \| `"high"` \| `"xhigh"`; \}; `createdAt`: `number`; `generatedFromPlanLaterTaskId?`: `string`; `id`: `string`; `images?`: `object`[]; `parentTaskId?`: `string` \| `null`; `prompt`: `string`; `startInPlanMode`: `boolean`; `tags?`: `string`[]; `title?`: `string`; `updatedAt`: `number`; `workspaceTaskId?`: `string`; `workTypeId?`: `string`; \}\>\>

Defined in: [flow/contracts/src/api-contract.ts:264](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/flow/contracts/src/api-contract.ts#L264)

Persisted task card schema.

The transform is compatibility-critical: it folds legacy Cline provider/model
fields into `clineSettings`, normalizes parent ids, keeps archive metadata
compact, and derives a stable title from the prompt when older cards omit one.
