ruvnet/ruflo · error

gt stderr output

Error message

gt stderr output

What it means

Log warning in execGt: the gt child process produced non-empty stderr; it is logged for diagnostics while the successful stdout result is wrapped and returned as usual.

Source

Thrown at v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts:463

        });

        const { stdout, stderr } = await execFileAsync(
          this.config.gtPath,
          validatedArgs,
          {
            cwd: this.config.cwd,
            env: this.config.env,
            timeout: this.config.timeout,
            maxBuffer: this.config.maxBuffer,
            shell: false, // CRITICAL: Never use shell
            windowsHide: true,
          }
        );

        const durationMs = Date.now() - startTime;

        if (stderr && stderr.trim()) {
          this.logger.warn('gt stderr output', { stderr });
        }

        const result: GtResult<string> = {
          success: true,
          data: stdout.trim(),
          command: 'gt',
          args: validatedArgs,
          durationMs,
        };

        // Cache successful results
        if (isCacheable && result.success) {
          if (isStatic) {
            staticCache.set(cacheKey, result);
          } else {
            resultCache.set(cacheKey, result);
          }
        }

View on GitHub (pinned to fa13ee4ad6)

Solutions

  1. Inspect the gt command stderr in the log; fix the gt invocation arguments or the gt binary environment.
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts:463 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18). Data as JSON: /api/errors/73752a02c1e215c8. Report an issue: GitHub.