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:

rUv4b4d1b121490
diff --git a/v3/@claude-flow/swarm/src/federation-hub.ts b/v3/@claude-flow/swarm/src/federation-hub.ts
index ee93acf7c7..6b3a35ec7e 100644
--- a/v3/@claude-flow/swarm/src/federation-hub.ts
+++ b/v3/@claude-flow/swarm/src/federation-hub.ts
@@ -472,11 +472,13 @@ export class FederationHub extends EventEmitter {
};
this.ephemeralAgents.set(agentId, agent);
+ this.addAgentToIndexes(agent);
// Simulate spawn (in real implementation, this would call the swarm coordinator)
setTimeout(() => {
const a = this.ephemeralAgents.get(agentId);
if (a && a.status === 'spawning') {
+ this.updateAgentStatusIndex(a, 'spawning');
a.status = 'active';
this.emitEvent('agent_spawned', targetSwarmId, agentId);
}