Interface TaskDecomposition

Result of decomposing a complex task into subtasks.

interface TaskDecomposition {
    originalTask: string;
    subtasks: SubTask[];
    reasoning: string;
    isComplete: boolean;
    executionOrder: string[];
}

Properties

originalTask: string

Original task

subtasks: SubTask[]

Decomposed subtasks

reasoning: string

Decomposition reasoning

isComplete: boolean

Whether decomposition is complete

executionOrder: string[]

Suggested execution order