{"record":{"id":"d8765f27e0abbb2b","repo":"ruvnet/ruflo","slug":"teammatebridge-failed-to-enable-optimizers","errorCode":null,"errorMessage":"[TeammateBridge] Failed to enable optimizers:","messagePattern":"\\[TeammateBridge\\] Failed to enable optimizers:","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"v3/plugins/teammate-plugin/src/teammate-bridge.ts","lineNumber":522,"sourceCode":"    }\n\n    try {\n      // Initialize semantic router (neural routing)\n      this.semanticRouter = await createSemanticRouter();\n      this.optimizersEnabled = true;\n\n      // Initialize topology optimizers for existing teams\n      for (const [teamName, team] of this.activeTeams) {\n        await this.initializeTeamOptimizer(teamName, team);\n      }\n\n      this.emit('optimizers:enabled', {\n        wasmAvailable: !this.semanticRouter['useFallback'],\n      });\n\n      return !this.semanticRouter['useFallback'];\n    } catch (error) {\n      console.warn('[TeammateBridge] Failed to enable optimizers:', error);\n      return false;\n    }\n  }\n\n  /**\n   * Check if optimizers are enabled\n   */\n  areOptimizersEnabled(): boolean {\n    return this.optimizersEnabled;\n  }\n\n  /**\n   * Find optimal message routing path using BMSSP\n   */\n  async findOptimalPath(\n    teamName: string,\n    fromId: string,\n    toId: string","sourceCodeStart":504,"sourceCodeEnd":540,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/teammate-plugin/src/teammate-bridge.ts#L504-L540","documentation":"Log warning in enableOptimizers: creating the semantic router or initializing per-team topology optimizers failed; optimizersEnabled stays false and the bridge continues without optimization rather than throwing.","triggerScenarios":"Thrown at v3/plugins/teammate-plugin/src/teammate-bridge.ts:522 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the optimizer enable error detail; the bridge continues without optimizers — fix the optimizer dependency or configuration."],"exampleFix":null,"handlingStrategy":"try-catch","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"}