{"record":{"id":"aec146aa6b0c57d3","repo":"ruvnet/ruflo","slug":"version-incompatible","errorCode":"VERSION_INCOMPATIBLE","errorMessage":"TeammateBridge not initialized. Call initialize() first.","messagePattern":"TeammateBridge not initialized\\. Call initialize\\(\\) first\\.","errorType":"exception","errorClass":"TeammateError","httpStatus":null,"severity":"error","filePath":"v3/plugins/teammate-plugin/src/teammate-bridge.ts","lineNumber":2103,"sourceCode":"    }\n\n    statuses.push({\n      backend: 'in_process',\n      available: true,\n      activeTeammates: inProcessCount,\n      capacity: 50,\n    });\n\n    return statuses;\n  }\n\n  // ==========================================================================\n  // Private Methods\n  // ==========================================================================\n\n  private ensureAvailable(): void {\n    if (!this.initialized) {\n      throw new TeammateError(\n        'TeammateBridge not initialized. Call initialize() first.',\n        TeammateErrorCode.VERSION_INCOMPATIBLE\n      );\n    }\n\n    if (!this.teammateToolAvailable && !this.config.fallbackToMCP) {\n      throw new TeammateError(\n        `TeammateTool not available. Requires Claude Code >= ${MINIMUM_CLAUDE_CODE_VERSION}, ` +\n        `found: ${this.claudeCodeVersion ?? 'not installed'}`,\n        TeammateErrorCode.VERSION_INCOMPATIBLE\n      );\n    }\n  }\n\n  private getTeamOrThrow(teamName: string): TeamState {\n    const team = this.activeTeams.get(teamName);\n    if (!team) {\n      throw new TeammateError(","sourceCodeStart":2085,"sourceCodeEnd":2121,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/teammate-plugin/src/teammate-bridge.ts#L2085-L2121","documentation":"ensureAvailable() found this.initialized false — a bridge operation was invoked before initialize() completed or after teardown. Sentinel lifecycle guard (reported under VERSION_INCOMPATIBLE): the underlying team store/handlers are not wired up yet, so any operation is refused.","triggerScenarios":"Thrown at v3/plugins/teammate-plugin/src/teammate-bridge.ts:2103 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the module/bridge/plugin initialize() method has been called and awaited before invoking this operation.","Guard against calls made during startup: await the initialization promise or check the initialized flag and fail fast with a clear setup hint."],"exampleFix":null,"handlingStrategy":"validation","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-14T05:17:10.506Z"}