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

Merge branch 'pr-4021' into batch/rudycelekli-fixes

rcc44e3248c25
diff --cc v3/@claude-flow/cli-core/src/memory/json-backend.ts
index 59ca9dcd07,3bee5fb6b9..a70d3325cf
--- a/v3/@claude-flow/cli-core/src/memory/json-backend.ts
+++ b/v3/@claude-flow/cli-core/src/memory/json-backend.ts
@@@ -73,8 -73,11 +73,11 @@@ export class JsonMemoryBackend implemen
if (parsed.version !== 1) {
throw new Error(`Unsupported memory file version: ${parsed.version}`);
}
+ if (typeof parsed.entries !== 'object' || parsed.entries === null || Array.isArray(parsed.entries)) {
+ throw new Error('Memory entries must be a JSON object');
+ }
this.cache = parsed;
- return parsed;
+ return structuredClone(parsed);
} catch (err) {
throw new Error(`memory: failed to load ${this.path}: ${(err as Error).message}`);
}