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

fix: v2.7.22 - Fix misleading 'Enabled: false' log message in ReasoningBank

rUvf00d13142748
diff --git a/.claude-flow/metrics/performance.json b/.claude-flow/metrics/performance.json
index f848e8f7bf..b3f6ad278b 100644
--- a/.claude-flow/metrics/performance.json
+++ b/.claude-flow/metrics/performance.json
@@ -1,7 +1,7 @@
{
- "startTime": 1761425939622,
- "sessionId": "session-1761425939622",
- "lastActivity": 1761425939622,
+ "startTime": 1761426379640,
+ "sessionId": "session-1761426379640",
+ "lastActivity": 1761426379640,
"sessionDuration": 0,
"totalTasks": 1,
"successfulTasks": 1,
diff --git a/.claude-flow/metrics/system-metrics.json b/.claude-flow/metrics/system-metrics.json
index bfcb91372e..631aac5e81 100644
--- a/.claude-flow/metrics/system-metrics.json
+++ b/.claude-flow/metrics/system-metrics.json
@@ -6250,5 +6250,185 @@
"cpuLoad": 0.056875,
"platform": "linux",
"uptime": 17821.3
+ },
+ {
+ "timestamp": 1761425947310,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5700517888,
+ "memoryFree": 61727023104,
+ "memoryUsagePercent": 8.454287082301198,
+ "memoryEfficiency": 91.54571291769881,
+ "cpuCount": 16,
+ "cpuLoad": 0.07625,
+ "platform": "linux",
+ "uptime": 17851.33
+ },
+ {
+ "timestamp": 1761425977340,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5953851392,
+ "memoryFree": 61473689600,
+ "memoryUsagePercent": 8.829999291693582,
+ "memoryEfficiency": 91.17000070830642,
+ "cpuCount": 16,
+ "cpuLoad": 0.064375,
+ "platform": "linux",
+ "uptime": 17881.36
+ },
+ {
+ "timestamp": 1761426007341,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5675819008,
+ "memoryFree": 61751721984,
+ "memoryUsagePercent": 8.417656827606116,
+ "memoryEfficiency": 91.58234317239388,
+ "cpuCount": 16,
+ "cpuLoad": 0.101875,
+ "platform": "linux",
+ "uptime": 17911.36
+ },
+ {
+ "timestamp": 1761426037372,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5482598400,
+ "memoryFree": 61944942592,
+ "memoryUsagePercent": 8.131096461979071,
+ "memoryEfficiency": 91.86890353802093,
+ "cpuCount": 16,
+ "cpuLoad": 0.0825,
+ "platform": "linux",
+ "uptime": 17941.39
+ },
+ {
+ "timestamp": 1761426067381,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5602439168,
+ "memoryFree": 61825101824,
+ "memoryUsagePercent": 8.308829130614011,
+ "memoryEfficiency": 91.69117086938599,
+ "cpuCount": 16,
+ "cpuLoad": 0.075625,
+ "platform": "linux",
+ "uptime": 17971.4
+ },
+ {
+ "timestamp": 1761426097411,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5629882368,
+ "memoryFree": 61797658624,
+ "memoryUsagePercent": 8.349529413608545,
+ "memoryEfficiency": 91.65047058639145,
+ "cpuCount": 16,
+ "cpuLoad": 0.11875,
+ "platform": "linux",
+ "uptime": 18001.43
+ },
+ {
+ "timestamp": 1761426127426,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5632266240,
+ "memoryFree": 61795274752,
+ "memoryUsagePercent": 8.353064871026877,
+ "memoryEfficiency": 91.64693512897313,
+ "cpuCount": 16,
+ "cpuLoad": 0.11625,
+ "platform": "linux",
+ "uptime": 18031.45
+ },
+ {
+ "timestamp": 1761426157428,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5654749184,
+ "memoryFree": 61772791808,
+ "memoryUsagePercent": 8.386408729736878,
+ "memoryEfficiency": 91.61359127026313,
+ "cpuCount": 16,
+ "cpuLoad": 0.105,
+ "platform": "linux",
+ "uptime": 18061.45
+ },
+ {
+ "timestamp": 1761426187443,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5466726400,
+ "memoryFree": 61960814592,
+ "memoryUsagePercent": 8.107557119202381,
+ "memoryEfficiency": 91.89244288079762,
+ "cpuCount": 16,
+ "cpuLoad": 0.133125,
+ "platform": "linux",
+ "uptime": 18091.47
+ },
+ {
+ "timestamp": 1761426217452,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5669146624,
+ "memoryFree": 61758394368,
+ "memoryUsagePercent": 8.407761191636249,
+ "memoryEfficiency": 91.59223880836375,
+ "cpuCount": 16,
+ "cpuLoad": 0.10125,
+ "platform": "linux",
+ "uptime": 18121.47
+ },
+ {
+ "timestamp": 1761426247453,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5482737664,
+ "memoryFree": 61944803328,
+ "memoryUsagePercent": 8.131303000728597,
+ "memoryEfficiency": 91.8686969992714,
+ "cpuCount": 16,
+ "cpuLoad": 0.085625,
+ "platform": "linux",
+ "uptime": 18151.48
+ },
+ {
+ "timestamp": 1761426277484,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5474934784,
+ "memoryFree": 61952606208,
+ "memoryUsagePercent": 8.11973075608612,
+ "memoryEfficiency": 91.88026924391389,
+ "cpuCount": 16,
+ "cpuLoad": 0.051875,
+ "platform": "linux",
+ "uptime": 18181.51
+ },
+ {
+ "timestamp": 1761426307511,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5356335104,
+ "memoryFree": 62071205888,
+ "memoryUsagePercent": 7.9438387121895895,
+ "memoryEfficiency": 92.05616128781041,
+ "cpuCount": 16,
+ "cpuLoad": 0.058125,
+ "platform": "linux",
+ "uptime": 18211.53
+ },
+ {
+ "timestamp": 1761426337540,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5432479744,
+ "memoryFree": 61995061248,
+ "memoryUsagePercent": 8.056766810826664,
+ "memoryEfficiency": 91.94323318917334,
+ "cpuCount": 16,
+ "cpuLoad": 0.050625,
+ "platform": "linux",
+ "uptime": 18241.56
+ },
+ {
+ "timestamp": 1761426367556,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5623431168,
+ "memoryFree": 61804109824,
+ "memoryUsagePercent": 8.339961809770278,
+ "memoryEfficiency": 91.66003819022973,
+ "cpuCount": 16,
+ "cpuLoad": 0.068125,
+ "platform": "linux",
+ "uptime": 18271.58
}
]
\ No newline at end of file
diff --git a/.claude-flow/metrics/task-metrics.json b/.claude-flow/metrics/task-metrics.json
index a5a0af6a22..4113bb03cd 100644
--- a/.claude-flow/metrics/task-metrics.json
+++ b/.claude-flow/metrics/task-metrics.json
@@ -1,10 +1,10 @@
[
{
- "id": "cmd-hooks-1761425939722",
+ "id": "cmd-hooks-1761426379739",
"type": "hooks",
"success": true,
- "duration": 6.988779000000022,
- "timestamp": 1761425939729,
+ "duration": 6.913920000000019,
+ "timestamp": 1761426379746,
"metadata": {}
}
]
\ No newline at end of file
diff --git a/bin/claude-flow b/bin/claude-flow
index 30cb9cc991..9d88bd42df 100755
--- a/bin/claude-flow
+++ b/bin/claude-flow
@@ -1,7 +1,7 @@
#!/bin/sh
# Claude-Flow Smart Dispatcher - Detects and uses the best available runtime
-VERSION="2.7.21"
+VERSION="2.7.22"
# Determine the correct path based on how the script is invoked
if [ -L "$0" ]; then
diff --git a/package.json b/package.json
index b2fa9a1c53..cf2c8e48bd 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "claude-flow",
- "version": "2.7.21",
+ "version": "2.7.22",
"description": "Enterprise-grade AI agent orchestration with WASM-powered ReasoningBank memory and AgentDB vector database (always uses latest agentic-flow)",
"mcpName": "io.github.ruvnet/claude-flow",
"main": "cli.mjs",
@@ -50,7 +50,7 @@
"format": "prettier --write 'src/**/*.{ts,js,json}'",
"diagnostics": "node -e \"import('./dist/monitoring/diagnostics.js').then(m => m.DiagnosticManager.quickDiagnostic().then(console.log))\"",
"health-check": "node -e \"import('./dist/monitoring/health-check.js').then(m => new m.HealthCheckManager().performHealthCheck().then(console.log))\"",
- "postinstall": "node scripts/install-arm64.js || true && bash scripts/fix-agentdb-imports.sh || true && bash scripts/fix-agentic-flow-sqlite.sh || true",
+ "postinstall": "node scripts/install-arm64.js || true && bash scripts/fix-agentdb-imports.sh || true && bash scripts/fix-agentic-flow-sqlite.sh || true && bash scripts/fix-agentic-flow-enabled-log.sh || true",
"prepublishOnly": "npm run update-version",
"publish:alpha": "npm publish --tag alpha",
"publish:major": "npm version major && npm publish",
diff --git a/scripts/fix-agentic-flow-enabled-log.sh b/scripts/fix-agentic-flow-enabled-log.sh
new file mode 100755
index 0000000000..aad6bdf69f
--- /dev/null
+++ b/scripts/fix-agentic-flow-enabled-log.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+# Fix agentic-flow's misleading "Enabled: false" log message
+# Changes it to show actual initialization status
+
+INDEX_FILE="node_modules/agentic-flow/dist/reasoningbank/index.js"
+
+if [ ! -f "$INDEX_FILE" ]; then
+ echo "❌ File not found: $INDEX_FILE"
+ exit 1
+fi
+
+echo "🔧 Fixing agentic-flow 'Enabled' log message..."
+
+# Check if already fixed
+if grep -q "Enabled: true" "$INDEX_FILE"; then
+ echo "✅ Already fixed!"
+ exit 0
+fi
+
+# Backup original
+cp "$INDEX_FILE" "${INDEX_FILE}.backup-enabled"
+
+# Replace the misleading env check with hardcoded true since we're initializing
+sed -i "41s/console.log(\`\[ReasoningBank\] Enabled: \${!!process.env.REASONINGBANK_ENABLED}\`);/console.log('[ReasoningBank] Enabled: true (initializing...)');/" "$INDEX_FILE"
+
+echo "✅ Fixed agentic-flow 'Enabled' log message!"
+echo " Now shows: [ReasoningBank] Enabled: true (initializing...)"
+echo " Patched: $INDEX_FILE"