id | string | Yes | Unique task identifier (e.g. “T001”). |
title | string | Yes | Short summary of the task. |
description | string | Yes | Full task description. |
status | string | Yes | Current status (pending, active, blocked, done, cancelled). |
priority | string | Yes | Priority level (critical, high, medium, low). |
type | string | undefined | No | Task type (task, epic, milestone, bug). |
phase | string | undefined | No | Project phase this task belongs to. |
createdAt | string | Yes | ISO timestamp when the task was created. |
updatedAt | string | null | Yes | ISO timestamp of the last update, or null. |
completedAt | string | null | undefined | No | ISO timestamp when the task was completed, or null. |
cancelledAt | string | null | undefined | No | ISO timestamp when the task was cancelled, or null. |
parentId | string | null | undefined | No | Parent task ID for hierarchical nesting, or null for root tasks. |
position | number | null | undefined | No | Ordering position among siblings. |
positionVersion | number | undefined | No | Optimistic concurrency version for position updates. |
depends | string[] | undefined | No | Task IDs this task depends on (must complete first). |
relates | { taskId: string; type: string; reason?: string; }[] | undefined | No | Related tasks with relationship type and optional reason. |
files | string[] | undefined | No | File paths associated with this task. |
acceptance | string[] | undefined | No | Acceptance criteria lines. |
notes | string[] | undefined | No | Free-form notes. |
labels | string[] | undefined | No | Classification labels. |
size | string | null | undefined | No | Complexity sizing (small, medium, large). |
epicLifecycle | string | null | undefined | No | Epic lifecycle state for epic-type tasks. |
noAutoComplete | boolean | null | undefined | No | When true, prevents auto-completion on child task completion. |
verification | import("/mnt/projects/cleocode/packages/contracts/dist/task").TaskVerification | null | undefined | No | Verification gate state and round tracking. |
origin | string | null | undefined | No | How the task was created (manual, decomposition, import). |
createdBy | string | null | undefined | No | Agent or user who created the task. |
validatedBy | string | null | undefined | No | Agent or user who validated the task. |
testedBy | string | null | undefined | No | Agent or user who tested the task. |
lifecycleState | string | null | undefined | No | Current lifecycle governance state. |
validationHistory | Record<string, unknown>[] | undefined | No | History of lifecycle validation transitions. |
blockedBy | string[] | undefined | No | Task IDs that are blocking this task. |
cancellationReason | string | undefined | No | Reason provided when the task was cancelled. |
pipelineStage | string | null | undefined | No | RCASD-IVTR+C pipeline stage (T060). |