{"record":{"id":"64e92df7f8857d15","repo":"ruvnet/ruflo","slug":"v3-router-failed-using-fallback","errorCode":null,"errorMessage":"V3 router failed, using fallback","messagePattern":"V3 router failed, using fallback","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"v3/plugins/agentic-qe/src/bridges/QEModelRoutingAdapter.ts","lineNumber":190,"sourceCode":"\n      // 1. Get QE-specific complexity\n      const complexity = this.getCategoryComplexity(task.category);\n\n      // 2. Determine tier based on complexity\n      const tier = this.determineTier(complexity);\n\n      // 3. Check for Agent Booster availability\n      const agentBooster = this.canUseAgentBooster(task);\n\n      // 4. Try V3 router if available for enhanced routing\n      let v3Result: EnhancedRouteResult | null = null;\n      if (this.v3Router) {\n        try {\n          v3Result = await this.v3Router.route(task.description, {\n            filePath: task.targetPath,\n          });\n        } catch (error) {\n          this.logger.warn('V3 router failed, using fallback', error);\n        }\n      }\n\n      // 5. Build final route result\n      const model = this.selectModel(tier, v3Result);\n      const recommendedAgents = this.getRecommendedAgents(task.category, tier);\n      const costEstimate = this.estimateCost(task, tier);\n\n      const result: QERouteResult = {\n        tier: agentBooster.available ? 1 : tier,\n        model: agentBooster.available ? 'haiku' : model,\n        qeCategory: task.category,\n        qeComplexity: complexity,\n        recommendedAgents,\n        costEstimate: agentBooster.available ? 0 : costEstimate,\n        agentBoosterAvailable: agentBooster.available,\n        agentBoosterIntent: agentBooster.intent,\n        explanation: this.buildExplanation(task, tier, agentBooster, v3Result),","sourceCodeStart":172,"sourceCodeEnd":208,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/agentic-qe/src/bridges/QEModelRoutingAdapter.ts#L172-L208","documentation":"Log warning in routeQETask: invoking the V3 router for enhanced routing failed; the adapter logs the failure and continues with its own complexity/tier-based fallback routing decision.","triggerScenarios":"Thrown at v3/plugins/agentic-qe/src/bridges/QEModelRoutingAdapter.ts:190 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the V3 router error detail and router configuration; the fallback model route is used until the router is fixed."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}