nexus-agents - v2.80.0
    Preparing search index...

    Interface WorkflowRoutingDecision

    Routing decision with explanation.

    interface WorkflowRoutingDecision {
        pattern: WorkflowPattern;
        reasoning: string;
        confidence: number;
        matchedRules: readonly string[];
        alternatives: readonly WorkflowPattern[];
        analysis: TaskAnalysisResult;
        needsClarification?: boolean;
        suggestedQuestions?: readonly string[];
        capabilityGaps?: CapabilityGapReport;
    }
    Index

    Properties

    Selected workflow pattern

    reasoning: string

    Human-readable explanation of why this pattern was selected

    confidence: number

    Confidence in the selection (0-1)

    matchedRules: readonly string[]

    Which rules matched during selection

    alternatives: readonly WorkflowPattern[]

    Alternative patterns that were considered

    analysis: TaskAnalysisResult

    Analysis result from SharedTaskAnalyzer

    needsClarification?: boolean

    Whether the task should be clarified before execution (Issue #904)

    suggestedQuestions?: readonly string[]

    Suggested clarification questions when needsClarification is true

    capabilityGaps?: CapabilityGapReport

    Capability gap report — what's available vs what's needed (Issue #906)