{"record":{"id":"7ee2702df1de44b9","repo":"ruvnet/ruflo","slug":"neural-neural-substrate-not-available","errorCode":null,"errorMessage":"[neural] Neural substrate not available:","messagePattern":"\\[neural\\] Neural substrate not available:","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"v3/@claude-flow/embeddings/src/neural-integration.ts","lineNumber":90,"sourceCode":"  private substrate: any = null;\n  private initialized = false;\n  private available = false;\n\n  constructor(private config: NeuralSubstrateConfig = {}) {}\n\n  /**\n   * Initialize neural substrate\n   */\n  async init(): Promise<boolean> {\n    if (this.initialized) return this.available;\n\n    try {\n      const { getNeuralSubstrate } = await import('agentic-flow/embeddings');\n      this.substrate = await getNeuralSubstrate(this.config);\n      await this.substrate.init();\n      this.available = true;\n    } catch (error) {\n      console.warn('[neural] Neural substrate not available:', error instanceof Error ? error.message : error);\n      this.available = false;\n    }\n\n    this.initialized = true;\n    return this.available;\n  }\n\n  /**\n   * Check if neural features are available\n   */\n  isAvailable(): boolean {\n    return this.available;\n  }\n\n  /**\n   * Detect semantic drift from baseline\n   */\n  async detectDrift(input: string): Promise<DriftResult | null> {","sourceCodeStart":72,"sourceCodeEnd":108,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/@claude-flow/embeddings/src/neural-integration.ts#L72-L108","documentation":"Log warning in init: dynamically importing or initializing the agentic-flow neural substrate failed (package missing or init error); available is left false so the integration runs its degraded non-neural path.","triggerScenarios":"Thrown at v3/@claude-flow/embeddings/src/neural-integration.ts:90 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install the neural substrate dependency (agentic-flow with neural extras); without it, neural features are disabled and hash-based embeddings are used."],"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"}