# Interface SubTask

A subtask broken down from the main task.

interface SubTask {
id: string;
parentTaskId: string;
description: string;
expectedOutput: string;
dependencies: string[];
priority: SubtaskPriority;
status: SubtaskStatus;
assignedRole?: AgentRole;
complexity: number;
requiredCapabilities: string[];
}

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:26

##### Index

### Properties

id
parentTaskId
description
expectedOutput
dependencies
priority
status
assignedRole?
complexity
requiredCapabilities

## Properties

### id

id: string

Unique subtask identifier

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:28

### parentTaskId

parentTaskId: string

Parent task ID

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:30

### description

description: string

Description of what needs to be done

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:32

### expectedOutput

expectedOutput: string

Expected output format or type

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:34

### dependencies

dependencies: string[]

Dependencies on other subtasks (by ID)

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:36

### priority

priority: SubtaskPriority

Priority level

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:38

### status

status: SubtaskStatus

Current status

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:40

### `Optional` assignedRole

assignedRole?: AgentRole

Assigned expert role (if any)

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:42

### complexity

complexity: number

Estimated complexity (1-10)

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:44

### requiredCapabilities

requiredCapabilities: string[]

Required capabilities for this subtask

- Defined in packages/nexus-agents/src/agents/tech-lead-types.ts:46