{"record":{"id":"dd7576a5cb8e2b27","repo":"ruvnet/ruflo","slug":"sona-requested-but-not-available","errorCode":null,"errorMessage":"SONA requested but not available:","messagePattern":"SONA requested but not available:","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"v3/@claude-flow/cli/src/services/ruvector-training.ts","lineNumber":431,"sourceCode":"    }\n  } catch (attentionError) {\n    // @ruvector/attention not available - attention features skipped\n    const reason = attentionError instanceof Error ? attentionError.message : String(attentionError);\n    console.warn(`[ruvector] @ruvector/attention unavailable (${reason}), attention features disabled`);\n  }\n\n  // --- SONA (optional, backward compatible) ---\n  if (config.useSona !== false) {\n    try {\n      const sona = await importWithInterop('@ruvector/sona');\n      const sonaRank = config.sonaRank || 4;\n      sonaEngine = new sona.SonaEngine(dim, sonaRank, alpha, lr) as SonaEngineInstance;\n      sonaAvailable = true;\n      features.push(`SONA (${dim}-dim, rank-${sonaRank}, 624k learn/s)`);\n    } catch (sonaError) {\n      sonaAvailable = false;\n      if (config.useSona === true) {\n        console.warn('SONA requested but not available:', sonaError);\n      }\n    }\n  }\n\n  initialized = true;\n  return { success: true, features, backend: activeBackend };\n}\n\n/**\n * Operator types for scoped LoRA (0-16)\n */\nexport const OperatorType = {\n  GENERAL: 0,\n  ATTENTION: 1,\n  MLP: 2,\n  EMBEDDING: 3,\n  NORMALIZATION: 4,\n  PROJECTION: 5,","sourceCodeStart":413,"sourceCodeEnd":449,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/@claude-flow/cli/src/services/ruvector-training.ts#L413-L449","documentation":"Log warning in ruvector-training setup: SONA adaptation was requested (useSona) but @ruvector/sona could not be imported; the SONA engine is left unset and training proceeds without it (backward compatible).","triggerScenarios":"Thrown at v3/@claude-flow/cli/src/services/ruvector-training.ts:431 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install the SONA dependency or remove the SONA request from the training configuration."],"exampleFix":null,"handlingStrategy":"fallback","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-14T05:17:10.506Z"}