/** * Subagent dispatch guard + lightweight task telemetry. * * The parent agent selects which subagent to delegate to (via the Task tool), * so this module performs NO keyword routing. It survives for two narrow * responsibilities, both cheap and LLM-free: * 1. Depth guard — a process may only delegate while its depth is below the * tree-wide cap (HOOCODE_SUBAGENT_MAX_DEPTH, default 1). At the default cap * this means a subagent cannot spawn further subagents. * 2. Complexity estimate — a heuristic recorded in the dispatch log for * diagnostics only. */ export interface TaskAnalysis { /** False only when the depth guard blocks delegation. */ should_delegate: boolean; reason: string; estimated_complexity: "low" | "medium" | "high"; } export declare class DispatchEvaluator { evaluate(task: string): TaskAnalysis; } //# sourceMappingURL=dispatch-evaluator.d.ts.map