{"record":{"id":"0ca75de840775b1d","repo":"ruvnet/ruflo","slug":"cli-execution-failed","errorCode":"CLI_EXECUTION_FAILED","errorMessage":"Step execution failed: ${result.error}","messagePattern":"Step execution failed: (.+?)","errorType":"exception","errorClass":"GasTownError","httpStatus":null,"severity":"error","filePath":"v3/plugins/gastown-bridge/src/formula/executor.ts","lineNumber":1491,"sourceCode":"      'step',\n      step.id,\n      '--execution-id', context.executionId,\n      '--json',\n    ];\n\n    if (options.targetAgent) {\n      args.push('--agent', options.targetAgent);\n    }\n\n    if (options.stepTimeout) {\n      args.push('--timeout', String(options.stepTimeout));\n    }\n\n    // Execute via bridge\n    const result = await this.gtBridge.execGt(args);\n\n    if (!result.success) {\n      throw new GasTownError(\n        `Step execution failed: ${result.error}`,\n        GasTownErrorCode.CLI_EXECUTION_FAILED,\n        { stepId: step.id, error: result.error }\n      );\n    }\n\n    return result.data ? JSON.parse(result.data) : null;\n  }\n\n  /**\n   * Merge multiple abort signals\n   */\n  private mergeSignals(...signals: AbortSignal[]): AbortSignal {\n    const controller = new AbortController();\n\n    for (const signal of signals) {\n      if (signal.aborted) {\n        controller.abort();","sourceCodeStart":1473,"sourceCodeEnd":1509,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/gastown-bridge/src/formula/executor.ts#L1473-L1509","documentation":"A single step's execution via this.gtBridge.execGt returned success=false. The CLI_EXECUTION_FAILED wrapper embeds the step's error text and attaches stepId plus the error details; remaining steps in the wave do not silently continue past it.","triggerScenarios":"Thrown at v3/plugins/gastown-bridge/src/formula/executor.ts:1491 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect result.error for the failing step; correct the step's inputs or handler and re-run the formula."],"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"}