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:

rUv3115efc34f52
diff --git a/.agentic-flow/intelligence.json b/.agentic-flow/intelligence.json
index f45d72c0e8..9f49c1e2e1 100644
--- a/.agentic-flow/intelligence.json
+++ b/.agentic-flow/intelligence.json
@@ -146,7 +146,7 @@
"test-engineer": 0.6
},
"command:": {
- "success": 0.9996670103634684
+ "success": 0.9997003093271215
}
},
"sequences": {},
@@ -456,8 +456,8 @@
},
"errorPatterns": [],
"metrics": {
- "totalRoutes": 143,
- "successfulRoutes": 143,
+ "totalRoutes": 144,
+ "successfulRoutes": 144,
"routingHistory": [
{
"timestamp": "2026-01-04T15:51:13.039Z",
diff --git a/v3/integration/sona-adapter.ts b/v3/integration/sona-adapter.ts
index 2c4e4f8edf..b668f6a072 100644
--- a/v3/integration/sona-adapter.ts
+++ b/v3/integration/sona-adapter.ts
@@ -114,12 +114,45 @@ export class SONAAdapter extends EventEmitter {
private consolidationTimer: NodeJS.Timeout | null = null;
private learningCycleCount: number = 0;
+ /**
+ * Reference to agentic-flow SONA for delegation (ADR-001)
+ * When set, methods delegate to agentic-flow instead of local implementation
+ */
+ private agenticFlowSona: AgenticFlowSONAReference | null = null;
+
+ /**
+ * Indicates if delegation to agentic-flow is active
+ */
+ private delegationEnabled: boolean = false;
+
constructor(config: Partial<SONAConfiguration> = {}) {
super();
this.config = this.mergeConfig(config);
this.stats = this.initializeStats();
}
+ /**
+ * Set reference to agentic-flow SONA for delegation
+ *
+ * This implements ADR-001: Adopt agentic-flow as Core Foundation
+ * When a reference is provided, pattern storage and retrieval
+ * delegate to agentic-flow's optimized implementations.
+ *
+ * @param sonaRef - The agentic-flow SONA interface reference
+ */
+ setAgenticFlowReference(sonaRef: AgenticFlowSONAReference): void {
+ this.agenticFlowSona = sonaRef;
+ this.delegationEnabled = true;
+ this.emit('delegation-enabled', { target: 'agentic-flow' });
+ }
+
+ /**
+ * Check if delegation to agentic-flow is enabled
+ */
+ isDelegationEnabled(): boolean {
+ return this.delegationEnabled && this.agenticFlowSona !== null;
+ }
+
/**
* Initialize the SONA adapter
*/