Interface ExecutionPlan

Complete execution plan generated by the planning engine.

interface ExecutionPlan {
    planId: string;
    goal: string;
    steps: PlanStep[];
    dependencies: Map<string, string[]>;
    estimatedTokens: number;
    confidenceScore: number;
    createdAt: Date;
    strategy: PlanningStrategy;
    metadata: PlanMetadata;
}

Properties

planId: string

Unique plan identifier

goal: string

Original goal this plan addresses

steps: PlanStep[]

Ordered list of plan steps

dependencies: Map<string, string[]>

Dependency graph: stepId -> dependent stepIds

estimatedTokens: number

Estimated total token cost

confidenceScore: number

Overall confidence score (0-1)

createdAt: Date

Plan generation timestamp

Planning strategy used

metadata: PlanMetadata

Metadata about plan generation