// engine/triagier/router.ts — SPEC-726: Route triage kind to next tool
/**
 * Given a classified triage kind, return the routing hint for the next tool.
 *
 * Routing rules:
 *   idea        → capture_idea (backlog, no spec)
 *   quick-fix   → implement_plan (direct, ~10 min)
 *   bug-spec    → elicit_requirements (interactive)
 *   feature-spec→ elicit_requirements (interactive)
 *   epic        → elicit_requirements (interactive)
 */
export function routeToNextStep(kind) {
    switch (kind) {
        case 'idea':
            return { tool: 'capture_idea' };
        case 'quick-fix':
            return { tool: 'implement_plan', mode: 'direct', estimatedMinutes: 10 };
        case 'bug-spec':
        case 'feature-spec':
        case 'epic':
            return { tool: 'elicit_requirements', mode: 'interactive' };
        default:
            // unreachable in well-typed callers; default to interactive elicitation
            return { tool: 'elicit_requirements', mode: 'interactive' };
    }
}
//# sourceMappingURL=router.js.map