{"record":{"id":"481c3a2f6ef2df95","repo":"ruvnet/ruflo","slug":"command-not-found-481c3a","errorCode":"COMMAND_NOT_FOUND","errorMessage":"Failed to verify gt installation","messagePattern":"Failed to verify gt installation","errorType":"exception","errorClass":"GtBridgeError","httpStatus":null,"severity":"error","filePath":"v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts","lineNumber":374,"sourceCode":"    this.config = {\n      gtPath: config?.gtPath ?? 'gt',\n      cwd: config?.cwd ?? process.cwd(),\n      timeout: config?.timeout ?? 30000,\n      maxBuffer: config?.maxBuffer ?? 10 * 1024 * 1024,\n      env: config?.env ?? process.env,\n      defaultNetwork: config?.defaultNetwork ?? 'mainnet',\n    };\n    this.logger = logger ?? defaultLogger;\n  }\n\n  /**\n   * Initialize the bridge and verify gt is available\n   */\n  async initialize(): Promise<void> {\n    try {\n      const result = await this.execGt(['version']);\n      if (!result.success) {\n        throw new GtBridgeError(\n          'Failed to verify gt installation',\n          'COMMAND_NOT_FOUND',\n          'gt',\n          ['version']\n        );\n      }\n      this.initialized = true;\n      this.logger.info('Gas Town bridge initialized', {\n        gtPath: this.config.gtPath,\n        version: result.data,\n      });\n    } catch (error) {\n      if (error instanceof GtBridgeError) throw error;\n      throw new GtBridgeError(\n        'Failed to initialize Gas Town bridge',\n        'COMMAND_NOT_FOUND',\n        'gt',\n        ['version'],","sourceCodeStart":356,"sourceCodeEnd":392,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts#L356-L392","documentation":"GtBridge.initialize() ran 'gt version' to confirm the gt CLI is installed and usable, and the check came back unsuccessful (binary missing, not executable, or errored). Initialization aborts so later calls fail fast with a clear cause instead of per-command surprises.","triggerScenarios":"Thrown at v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts:374 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install the required CLI/tool and ensure it is on PATH; re-run the verification command manually to confirm."],"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"}