ruvnet/ruflo · error

[TopologyOptimizer] BMSSP not available, using fallback

Error message

[TopologyOptimizer] BMSSP not available, using fallback

What it means

Log warning in loadBMSSP: importing/initializing the @ruvnet/bmssp WASM module failed, so WasmGraph stays null and the topology optimizer uses its JavaScript fallback graph algorithms.

Source

Thrown at v3/plugins/teammate-plugin/src/topology-optimizer.ts:24

 *
 * @module @claude-flow/teammate-plugin/topology
 * @version 1.0.0-alpha.1
 */

import type { TeammateInfo, TeamState, TeamTopology } from './types.js';

// Dynamic import for BMSSP (WASM module)
let WasmGraph: any = null;

async function loadBMSSP(): Promise<void> {
  if (WasmGraph) return;

  try {
    const bmssp = await import('@ruvnet/bmssp' as string);
    await bmssp.default(); // Initialize WASM
    WasmGraph = bmssp.WasmGraph;
  } catch (error) {
    console.warn('[TopologyOptimizer] BMSSP not available, using fallback');
  }
}

// ============================================================================
// Types
// ============================================================================

export interface TopologyNode {
  id: string;
  index: number;
  role: string;
  status: 'active' | 'idle' | 'busy' | 'unhealthy';
  load: number; // 0-1 representing current load
}

export interface TopologyEdge {
  from: string;
  to: string;

View on GitHub (pinned to fa13ee4ad6)

Solutions

  1. Install the BMSSP dependency to enable optimized topology computation; without it the fallback algorithm is used.
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at v3/plugins/teammate-plugin/src/topology-optimizer.ts:24 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/a0a6942afbe9e1ac. Report an issue: GitHub.