ruvnet/ruflo · error
[HooksLearningDaemon] ReasoningBank not available:
Error message
[HooksLearningDaemon] ReasoningBank not available:
What it means
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.
Source
Thrown at v3/@claude-flow/hooks/src/daemons/index.ts:447
name: 'hooks-learning',
interval: 60000, // 60 seconds
enabled: true,
},
() => this.consolidate()
);
}
/**
* Start learning consolidation
*/
async start(): Promise<void> {
// Lazy load ReasoningBank to avoid circular dependencies
try {
const { reasoningBank } = await import('../reasoningbank/index.js');
this.reasoningBank = reasoningBank;
await this.reasoningBank.initialize();
} catch (error) {
console.warn('[HooksLearningDaemon] ReasoningBank not available:', error);
}
await this.manager.start('hooks-learning');
}
/**
* Stop learning consolidation
*/
async stop(): Promise<void> {
await this.manager.stop('hooks-learning');
}
/**
* Consolidate learned patterns using ReasoningBank
*/
private async consolidate(): Promise<void> {
if (!this.reasoningBank) {
return;View on GitHub (pinned to fa13ee4ad6)
Solutions
- Install AgentDB/ReasoningBank dependencies; without them the hooks learning daemon runs without learned pattern recall.
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at v3/@claude-flow/hooks/src/daemons/index.ts:447 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/f844ee2985c7568b.
Report an issue: GitHub.