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

rUve3a9e54f3f84
diff --git a/.claude/helpers/context-persistence-hook.mjs b/.claude/helpers/context-persistence-hook.mjs
index 3eaf9791b9..aa8788b978 100644
--- a/.claude/helpers/context-persistence-hook.mjs
+++ b/.claude/helpers/context-persistence-hook.mjs
@@ -1265,7 +1265,7 @@ async function retrieveContextSmart(backend, sessionId, budget) {
// Use the most recent turn's summary as the search query
const recentSummary = sessionEntries[0]?.metadata?.summary || '';
if (recentSummary) {
- const crossResults = crossSessionSearch(backend, recentSummary, sessionId, 3);
+ const crossResults = await crossSessionSearch(backend, recentSummary, sessionId, 3);
if (crossResults.length > 0) {
const crossLines = crossResults.map(r =>
`- [Session ${r.sessionId?.slice(0, 8)}..., turn ${r.chunkIndex ?? '?'}, conf:${(r.confidence || 0).toFixed(2)}] ${r.summary || '(no summary)'}`