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:

rUvc5a4c56e777b
diff --git a/v3/@claude-flow/memory/src/agentdb-backend.ts b/v3/@claude-flow/memory/src/agentdb-backend.ts
index ba1007f2da..724c03681d 100644
--- a/v3/@claude-flow/memory/src/agentdb-backend.ts
+++ b/v3/@claude-flow/memory/src/agentdb-backend.ts
@@ -231,6 +231,9 @@ export class AgentDBBackend extends EventEmitter implements IMemoryBackend {
// Store in-memory for quick access
this.entries.set(entry.id, entry);
+ // Register ID mapping for O(1) reverse lookup
+ this.registerIdMapping(entry.id);
+
// Update indexes
this.updateIndexes(entry);