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:

rUv4ee9bca315ee
diff --git a/v3/coordination/swarm-hub.ts b/v3/coordination/swarm-hub.ts
index e5e5915fa6..a584391be5 100644
--- a/v3/coordination/swarm-hub.ts
+++ b/v3/coordination/swarm-hub.ts
@@ -1,6 +1,26 @@
/**
- * V3 Swarm Hub
- * Central coordination hub for the 15-agent hierarchical mesh swarm
+ * V3 Swarm Hub - DUPLICATE FILE (DEPRECATED)
+ *
+ * ⚠️ DEPRECATION WARNING:
+ * This file is a DUPLICATE and should NOT be used.
+ * Use the canonical implementation at:
+ * /workspaces/claude-flow/v3/@claude-flow/swarm/src/coordination/swarm-hub.ts
+ *
+ * ADR-003 Decision:
+ * - ONE canonical coordination engine: UnifiedSwarmCoordinator
+ * - ONE SwarmHub compatibility layer: @claude-flow/swarm/coordination/swarm-hub.ts
+ * - This duplicate file is marked for removal
+ *
+ * Migration:
+ * ```typescript
+ * // CORRECT IMPORT:
+ * import { createUnifiedSwarmCoordinator } from '@claude-flow/swarm';
+ * const coordinator = createUnifiedSwarmCoordinator();
+ *
+ * // OR use compatibility layer:
+ * import { createSwarmHub } from '@claude-flow/swarm';
+ * const hub = createSwarmHub();
+ * ```
*
* Based on ADR-001 (agentic-flow integration), ADR-003 (Single Coordination Engine),
* and the 15-Agent Swarm Architecture