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 edits

rUv838d43dd848d
diff --git a/v3/@claude-flow/memory/src/auto-memory-bridge.ts b/v3/@claude-flow/memory/src/auto-memory-bridge.ts
index 9142cb1458..9eec1b63f3 100644
--- a/v3/@claude-flow/memory/src/auto-memory-bridge.ts
+++ b/v3/@claude-flow/memory/src/auto-memory-bridge.ts
@@ -200,8 +200,10 @@ export class AutoMemoryBridge extends EventEmitter {
private lastSyncTime: number = 0;
private syncTimer: ReturnType<typeof setInterval> | null = null;
private insights: MemoryInsight[] = [];
- /** Track AgentDB IDs of insights already written to files during this session */
+ /** Track AgentDB keys of insights already written to files during this session */
private syncedInsightKeys = new Set<string>();
+ /** Monotonic counter to prevent key collisions within the same ms */
+ private insightCounter = 0;
constructor(backend: IMemoryBackend, config: AutoMemoryBridgeConfig = {}) {
super();