{"record":{"id":"95d04927674c81ab","repo":"ruvnet/ruflo","slug":"not-initialized-95d049","errorCode":"NOT_INITIALIZED","errorMessage":"GtBridge not initialized","messagePattern":"GtBridge not initialized","errorType":"exception","errorClass":"GasTownError","httpStatus":null,"severity":"error","filePath":"v3/plugins/gastown-bridge/src/index.ts","lineNumber":1083,"sourceCode":"      cwd: this.config.bdBridge?.cwd,\n    });\n    await this.bdBridge.initialize();\n\n    // Initialize SyncBridge - requires an AgentDB service\n    // We create a stub AgentDB service that will be replaced when\n    // the plugin context provides a real one\n    const stubAgentDB = this.createStubAgentDB();\n    this.syncBridge = createSyncBridge(stubAgentDB, {\n      beadsBridge: this.config.bdBridge,\n      agentdbNamespace: this.config.syncBridge?.namespace ?? 'gastown:beads',\n    });\n\n    this.logger.debug('Bridges initialized');\n  }\n\n  private async initializeFormulaExecutor(): Promise<void> {\n    if (!this.gtBridge) {\n      throw new GasTownError('GtBridge not initialized', GasTownErrorCode.NOT_INITIALIZED);\n    }\n\n    const wasmLoader = this.config.formulaExecutor?.useWasm && this.wasmLoader\n      ? this.wasmLoader\n      : undefined;\n\n    this.formulaExecutor = createFormulaExecutor(\n      this.gtBridge,\n      wasmLoader,\n      this.logger\n    );\n\n    this.logger.debug('Formula executor initialized', {\n      wasmEnabled: !!wasmLoader,\n    });\n  }\n\n  private async initializeConvoyComponents(): Promise<void> {","sourceCodeStart":1065,"sourceCodeEnd":1101,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/gastown-bridge/src/index.ts#L1065-L1101","documentation":"The GasTownBridge plugin's formula executor path found its GtBridge dependency uninitialized — initializeFormulaExecutor()/bridge initialization has not completed. Any formula operation needing the gt CLI is refused with this sentinel.","triggerScenarios":"Thrown at v3/plugins/gastown-bridge/src/index.ts:1083 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":"type-guard","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"}