Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

checkpoint: File edit:

rUv71662d9eeec7
diff --git a/v3/@claude-flow/neural/src/reasoning-bank.ts b/v3/@claude-flow/neural/src/reasoning-bank.ts
index 47bf8cf6fe..6f791546a1 100644
--- a/v3/@claude-flow/neural/src/reasoning-bank.ts
+++ b/v3/@claude-flow/neural/src/reasoning-bank.ts
@@ -1221,8 +1221,19 @@ export class ReasoningBank {
}
private inferDomain(memory: DistilledMemory): string {
+ // First check if we have the trajectory directly in our store
const trajectory = this.trajectories.get(memory.trajectoryId);
- return trajectory?.domain || 'general';
+ if (trajectory?.domain) {
+ return trajectory.domain;
+ }
+
+ // Check if the memory entry has the trajectory with domain info
+ const memoryEntry = this.memories.get(memory.memoryId);
+ if (memoryEntry?.trajectory?.domain) {
+ return memoryEntry.trajectory.domain;
+ }
+
+ return 'general';
}
private determineEvolutionType(