{"record":{"id":"f844ee2985c7568b","repo":"ruvnet/ruflo","slug":"hookslearningdaemon-reasoningbank-not-available","errorCode":null,"errorMessage":"[HooksLearningDaemon] ReasoningBank not available:","messagePattern":"\\[HooksLearningDaemon\\] ReasoningBank not available:","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"v3/@claude-flow/hooks/src/daemons/index.ts","lineNumber":447,"sourceCode":"        name: 'hooks-learning',\n        interval: 60000, // 60 seconds\n        enabled: true,\n      },\n      () => this.consolidate()\n    );\n  }\n\n  /**\n   * Start learning consolidation\n   */\n  async start(): Promise<void> {\n    // Lazy load ReasoningBank to avoid circular dependencies\n    try {\n      const { reasoningBank } = await import('../reasoningbank/index.js');\n      this.reasoningBank = reasoningBank;\n      await this.reasoningBank.initialize();\n    } catch (error) {\n      console.warn('[HooksLearningDaemon] ReasoningBank not available:', error);\n    }\n\n    await this.manager.start('hooks-learning');\n  }\n\n  /**\n   * Stop learning consolidation\n   */\n  async stop(): Promise<void> {\n    await this.manager.stop('hooks-learning');\n  }\n\n  /**\n   * Consolidate learned patterns using ReasoningBank\n   */\n  private async consolidate(): Promise<void> {\n    if (!this.reasoningBank) {\n      return;","sourceCodeStart":429,"sourceCodeEnd":465,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/@claude-flow/hooks/src/daemons/index.ts#L429-L465","documentation":"Log warning in start: the lazy import of ReasoningBank failed (module missing or circular-dependency issue at runtime); the daemon starts without the reasoning-bank backend and consolidation is degraded.","triggerScenarios":"Thrown at v3/@claude-flow/hooks/src/daemons/index.ts:447 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install AgentDB/ReasoningBank dependencies; without them the hooks learning daemon runs without learned pattern recall."],"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"}