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:

rUv7a43c5a38c69
diff --git a/v3/@claude-flow/swarm/src/federation-hub.ts b/v3/@claude-flow/swarm/src/federation-hub.ts
index d3210e5c2a..b7b19ed0d8 100644
--- a/v3/@claude-flow/swarm/src/federation-hub.ts
+++ b/v3/@claude-flow/swarm/src/federation-hub.ts
@@ -917,7 +917,8 @@ export class FederationHub extends EventEmitter {
agent.completedAt &&
now.getTime() - agent.completedAt.getTime() > cleanupThreshold
) {
- this.ephemeralAgents.delete(id);
+ this.removeAgentFromIndexes(agent);
+ this.ephemeralAgents.delete(agentId);
}
}
}