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

rUvb7a1e1fdf8a2
diff --git a/v3/.agentic-flow/intelligence.json b/v3/.agentic-flow/intelligence.json
index 914e580c42..4b5f143510 100644
--- a/v3/.agentic-flow/intelligence.json
+++ b/v3/.agentic-flow/intelligence.json
@@ -1,7 +1,7 @@
{
"patterns": {
"command:": {
- "success": 0.9997815254994715,
+ "success": 0.9998033729495244,
"failure": -0.38561603772519504
}
},
@@ -10,8 +10,8 @@
"dirPatterns": {},
"errorPatterns": [],
"metrics": {
- "totalRoutes": 95,
- "successfulRoutes": 81,
+ "totalRoutes": 96,
+ "successfulRoutes": 82,
"routingHistory": [
{
"timestamp": "2026-01-04T17:04:00.672Z",
diff --git a/v3/@claude-flow/cli/src/commands/hooks.ts b/v3/@claude-flow/cli/src/commands/hooks.ts
index 3ed4d5af86..8260f15960 100644
--- a/v3/@claude-flow/cli/src/commands/hooks.ts
+++ b/v3/@claude-flow/cli/src/commands/hooks.ts
@@ -3547,7 +3547,8 @@ const tokenOptimizeCommand: Command = {
memoriesRetrieved: 0,
};
let agenticFlowAvailable = false;
- let reasoningBank: { retrieveMemories?: (q: string, opts: unknown) => Promise<unknown[]>; formatMemoriesForPrompt?: (m: unknown[]) => string } | null = null;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ let reasoningBank: any = null;
try {
// Check if agentic-flow is available
@@ -3556,7 +3557,7 @@ const tokenOptimizeCommand: Command = {
agenticFlowAvailable = true;
// Try to load ReasoningBank
const rb = await import('agentic-flow/reasoningbank').catch(() => null);
- if (rb && rb.retrieveMemories) {
+ if (rb && typeof rb.retrieveMemories === 'function') {
reasoningBank = rb;
}
}