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

πŸ”– Task checkpoint: {{user_prompt}} ...

rUva92c720936cc
diff --git a/.claude-flow/metrics/performance.json b/.claude-flow/metrics/performance.json
index 17f86c5df5..0e63296f6d 100644
--- a/.claude-flow/metrics/performance.json
+++ b/.claude-flow/metrics/performance.json
@@ -1,5 +1,5 @@
{
- "startTime": 1753991640059,
+ "startTime": 1753992813158,
"totalTasks": 1,
"successfulTasks": 1,
"failedTasks": 0,
diff --git a/.claude-flow/metrics/system-metrics.json b/.claude-flow/metrics/system-metrics.json
index d3e135bd4c..a4704f5061 100644
--- a/.claude-flow/metrics/system-metrics.json
+++ b/.claude-flow/metrics/system-metrics.json
@@ -790,5 +790,41 @@
"cpuLoad": 0.02375,
"platform": "linux",
"uptime": 26684.51
+ },
+ {
+ "timestamp": 1753992762403,
+ "memoryTotal": 67427545088,
+ "memoryUsed": 5488996352,
+ "memoryFree": 61938548736,
+ "memoryUsagePercent": 8.140584600605413,
+ "memoryEfficiency": 91.85941539939459,
+ "cpuCount": 16,
+ "cpuLoad": 0.018125,
+ "platform": "linux",
+ "uptime": 26714.54
+ },
+ {
+ "timestamp": 1753992792434,
+ "memoryTotal": 67427545088,
+ "memoryUsed": 5518290944,
+ "memoryFree": 61909254144,
+ "memoryUsagePercent": 8.184030631395602,
+ "memoryEfficiency": 91.8159693686044,
+ "cpuCount": 16,
+ "cpuLoad": 0.015625,
+ "platform": "linux",
+ "uptime": 26744.57
+ },
+ {
+ "timestamp": 1753992822458,
+ "memoryTotal": 67427545088,
+ "memoryUsed": 5597335552,
+ "memoryFree": 61830209536,
+ "memoryUsagePercent": 8.301259588636798,
+ "memoryEfficiency": 91.6987404113632,
+ "cpuCount": 16,
+ "cpuLoad": 0.02625,
+ "platform": "linux",
+ "uptime": 26774.59
}
]
\ No newline at end of file
diff --git a/.claude-flow/metrics/task-metrics.json b/.claude-flow/metrics/task-metrics.json
index a0269fd35b..ea8acf9052 100644
--- a/.claude-flow/metrics/task-metrics.json
+++ b/.claude-flow/metrics/task-metrics.json
@@ -1,10 +1,10 @@
[
{
- "id": "cmd-hooks-1753991640160",
+ "id": "cmd-hooks-1753992813257",
"type": "hooks",
"success": true,
- "duration": 88.59693099999998,
- "timestamp": 1753991640249,
+ "duration": 7.139896999999962,
+ "timestamp": 1753992813264,
"metadata": {}
}
]
\ No newline at end of file
diff --git a/.claude/checkpoints/1753906298.json b/.claude/checkpoints/1753906298.json
deleted file mode 100644
index 72a6263c50..0000000000
--- a/.claude/checkpoints/1753906298.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "tag": "checkpoint-20250730-201138",
- "file": "demo.txt",
- "timestamp": "2025-07-30T20:11:38Z",
- "type": "post-edit",
- "branch": "alpha-80",
- "diff_summary": " .gitignore | 1 +
- README.md | 20 ++++++++++++++++++++
- claude-flow-wiki | 0
- demo.txt | 1 +
- 4 files changed, 22 insertions(+)"
-}
diff --git a/.claude/checkpoints/task-1753992757.json b/.claude/checkpoints/task-1753992757.json
new file mode 100644
index 0000000000..d8ef6463bf
--- /dev/null
+++ b/.claude/checkpoints/task-1753992757.json
@@ -0,0 +1,7 @@
+{
+ "checkpoint": "task-20250731-201236",
+ "task": "{{user_prompt}} ",
+ "timestamp": "2025-07-31T20:12:37Z",
+ "commit": "2a07e8135441ac509f95079cfef0f278f0731f2b",
+ "github_release": "true"
+}
diff --git a/.claude/settings-backup-1753992809.json b/.claude/settings-backup-1753992809.json
new file mode 100644
index 0000000000..c0ca5cb7fd
--- /dev/null
+++ b/.claude/settings-backup-1753992809.json
@@ -0,0 +1,158 @@
+{
+ "env": {
+ "CLAUDE_FLOW_AUTO_COMMIT": "false",
+ "CLAUDE_FLOW_AUTO_PUSH": "false",
+ "CLAUDE_FLOW_HOOKS_ENABLED": "true",
+ "CLAUDE_FLOW_TELEMETRY_ENABLED": "true",
+ "CLAUDE_FLOW_REMOTE_EXECUTION": "true",
+ "CLAUDE_FLOW_GITHUB_INTEGRATION": "true",
+ "CLAUDE_FLOW_CHECKPOINTS_ENABLED": "true",
+ "CREATE_GH_RELEASE": "true"
+ },
+ "permissions": {
+ "allow": [
+ "Bash(npx claude-flow *)",
+ "Bash(npm run lint)",
+ "Bash(npm run test:*)",
+ "Bash(npm test *)",
+ "Bash(git status)",
+ "Bash(git diff *)",
+ "Bash(git log *)",
+ "Bash(git add *)",
+ "Bash(git commit *)",
+ "Bash(git push)",
+ "Bash(git config *)",
+ "Bash(git tag *)",
+ "Bash(git branch *)",
+ "Bash(git checkout *)",
+ "Bash(git stash *)",
+ "Bash(git reset *)",
+ "Bash(git rev-parse *)",
+ "Bash(git ls-files *)",
+ "Bash(gh *)",
+ "Bash(node *)",
+ "Bash(which *)",
+ "Bash(pwd)",
+ "Bash(ls *)",
+ "Bash(jq *)",
+ "Bash(test *)",
+ "Bash(find *)",
+ "Bash(grep *)",
+ "Bash(sed *)",
+ "Bash(awk *)",
+ "Bash(curl *)",
+ "Bash(mkdir *)",
+ "Bash(cd *)",
+ "Bash(cat *)",
+ "Bash(echo *)",
+ "Bash(npx claude-flow@alpha *)",
+ "Bash(./claude-flow *)",
+ "Bash(./.claude/helpers/*)"
+ ],
+ "deny": [
+ "Bash(rm -rf /)",
+ "Bash(curl * | bash)",
+ "Bash(wget * | sh)",
+ "Bash(eval *)"
+ ]
+ },
+ "hooks": {
+ "PreToolUse": [
+ {
+ "matcher": "Bash",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "cat | jq -r '.tool_input.command // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-command --command '{}' --validate-safety true --prepare-resources true"
+ }
+ ]
+ },
+ {
+ "matcher": "Write|Edit|MultiEdit",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-edit --file '{}' --auto-assign-agents true --load-context true"
+ },
+ {
+ "type": "command",
+ "command": "bash .claude/helpers/github-checkpoint-hooks.sh pre-edit \"{{tool_input}}\""
+ }
+ ]
+ }
+ ],
+ "PostToolUse": [
+ {
+ "matcher": "Bash",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "cat | jq -r '.tool_input.command // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks post-command --command '{}' --track-metrics true --store-results true"
+ }
+ ]
+ },
+ {
+ "matcher": "Write|Edit|MultiEdit",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks post-edit --file '{}' --format true --update-memory true"
+ },
+ {
+ "type": "command",
+ "command": "bash .claude/helpers/github-checkpoint-hooks.sh post-edit \"{{tool_input}}\""
+ }
+ ]
+ }
+ ],
+ "UserPromptSubmit": [
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "bash .claude/helpers/github-checkpoint-hooks.sh task \"{{user_prompt}}\""
+ }
+ ]
+ }
+ ],
+ "Stop": [
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "npx claude-flow@alpha hooks session-end --generate-summary true --persist-state true --export-metrics true"
+ },
+ {
+ "type": "command",
+ "command": "bash .claude/helpers/github-checkpoint-hooks.sh session-end"
+ }
+ ]
+ }
+ ],
+ "PreCompact": [
+ {
+ "matcher": "manual",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "/bin/bash -c 'INPUT=$(cat); CUSTOM=$(echo \"$INPUT\" | jq -r \".custom_instructions // \"\"\"); echo \"πŸ”„ PreCompact Guidance:\"; echo \"πŸ“‹ IMPORTANT: Review CLAUDE.md in project root for:\"; echo \" β€’ 54 available agents and concurrent usage patterns\"; echo \" β€’ Swarm coordination strategies (hierarchical, mesh, adaptive)\"; echo \" β€’ SPARC methodology workflows with batchtools optimization\"; echo \" β€’ Critical concurrent execution rules (GOLDEN RULE: 1 MESSAGE = ALL OPERATIONS)\"; if [ -n \"$CUSTOM\" ]; then echo \"🎯 Custom compact instructions: $CUSTOM\"; fi; echo \"βœ… Ready for compact operation\"'"
+ }
+ ]
+ },
+ {
+ "matcher": "auto",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "/bin/bash -c 'echo \"πŸ”„ Auto-Compact Guidance (Context Window Full):\"; echo \"πŸ“‹ CRITICAL: Before compacting, ensure you understand:\"; echo \" β€’ All 54 agents available in .claude/agents/ directory\"; echo \" β€’ Concurrent execution patterns from CLAUDE.md\"; echo \" β€’ Batchtools optimization for 300% performance gains\"; echo \" β€’ Swarm coordination strategies for complex tasks\"; echo \"⚑ Apply GOLDEN RULE: Always batch operations in single messages\"; echo \"βœ… Auto-compact proceeding with full agent context\"'"
+ }
+ ]
+ }
+ ]
+ },
+ "includeCoAuthoredBy": true,
+ "enabledMcpjsonServers": [
+ "claude-flow",
+ "ruv-swarm"
+ ]
+}
\ No newline at end of file
diff --git a/.claude/settings-npx-hooks.json b/.claude/settings-npx-hooks.json
new file mode 100644
index 0000000000..fa6b397f17
--- /dev/null
+++ b/.claude/settings-npx-hooks.json
@@ -0,0 +1,158 @@
+{
+ "env": {
+ "CLAUDE_FLOW_AUTO_COMMIT": "false",
+ "CLAUDE_FLOW_AUTO_PUSH": "false",
+ "CLAUDE_FLOW_HOOKS_ENABLED": "true",
+ "CLAUDE_FLOW_TELEMETRY_ENABLED": "true",
+ "CLAUDE_FLOW_REMOTE_EXECUTION": "true",
+ "CLAUDE_FLOW_GITHUB_INTEGRATION": "true",
+ "CLAUDE_FLOW_CHECKPOINTS_ENABLED": "true",
+ "CREATE_GH_RELEASE": "true"
+ },
+ "permissions": {
+ "allow": [
+ "Bash(npx claude-flow *)",
+ "Bash(npm run lint)",
+ "Bash(npm run test:*)",
+ "Bash(npm test *)",
+ "Bash(git status)",
+ "Bash(git diff *)",
+ "Bash(git log *)",
+ "Bash(git add *)",
+ "Bash(git commit *)",
+ "Bash(git push)",
+ "Bash(git config *)",
+ "Bash(git tag *)",
+ "Bash(git branch *)",
+ "Bash(git checkout *)",
+ "Bash(git stash *)",
+ "Bash(git reset *)",
+ "Bash(git rev-parse *)",
+ "Bash(git ls-files *)",
+ "Bash(gh *)",
+ "Bash(node *)",
+ "Bash(which *)",
+ "Bash(pwd)",
+ "Bash(ls *)",
+ "Bash(jq *)",
+ "Bash(test *)",
+ "Bash(find *)",
+ "Bash(grep *)",
+ "Bash(sed *)",
+ "Bash(awk *)",
+ "Bash(curl *)",
+ "Bash(mkdir *)",
+ "Bash(cd *)",
+ "Bash(cat *)",
+ "Bash(echo *)",
+ "Bash(npx claude-flow@alpha *)",
+ "Bash(./claude-flow *)",
+ "Bash(./.claude/helpers/*)"
+ ],
+ "deny": [
+ "Bash(rm -rf /)",
+ "Bash(curl * | bash)",
+ "Bash(wget * | sh)",
+ "Bash(eval *)"
+ ]
+ },
+ "hooks": {
+ "PreToolUse": [
+ {
+ "matcher": "Bash",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "cat | jq -r '.tool_input.command // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-command --command '{}' --validate-safety true --prepare-resources true"
+ }
+ ]
+ },
+ {
+ "matcher": "Write|Edit|MultiEdit",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-edit --file '{}' --auto-assign-agents true --load-context true"
+ },
+ {
+ "type": "command",
+ "command": "cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha github checkpoint pre-edit --file '{}' --create-checkpoint true"
+ }
+ ]
+ }
+ ],
+ "PostToolUse": [
+ {
+ "matcher": "Bash",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "cat | jq -r '.tool_input.command // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks post-command --command '{}' --track-metrics true --store-results true"
+ }
+ ]
+ },
+ {
+ "matcher": "Write|Edit|MultiEdit",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks post-edit --file '{}' --format true --update-memory true"
+ },
+ {
+ "type": "command",
+ "command": "cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha github checkpoint post-edit --file '{}' --save-changes true"
+ }
+ ]
+ }
+ ],
+ "UserPromptSubmit": [
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "echo \"{{user_prompt}}\" | npx claude-flow@alpha github checkpoint task --task \"$(cat)\" --create-release true"
+ }
+ ]
+ }
+ ],
+ "Stop": [
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "npx claude-flow@alpha hooks session-end --generate-summary true --persist-state true --export-metrics true"
+ },
+ {
+ "type": "command",
+ "command": "npx claude-flow@alpha github checkpoint session-end --save-session true"
+ }
+ ]
+ }
+ ],
+ "PreCompact": [
+ {
+ "matcher": "manual",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "/bin/bash -c 'INPUT=$(cat); CUSTOM=$(echo \"$INPUT\" | jq -r \".custom_instructions // \"\"\"); echo \"πŸ”„ PreCompact Guidance:\"; echo \"πŸ“‹ IMPORTANT: Review CLAUDE.md in project root for:\"; echo \" β€’ 54 available agents and concurrent usage patterns\"; echo \" β€’ Swarm coordination strategies (hierarchical, mesh, adaptive)\"; echo \" β€’ SPARC methodology workflows with batchtools optimization\"; echo \" β€’ Critical concurrent execution rules (GOLDEN RULE: 1 MESSAGE = ALL OPERATIONS)\"; if [ -n \"$CUSTOM\" ]; then echo \"🎯 Custom compact instructions: $CUSTOM\"; fi; echo \"βœ… Ready for compact operation\"'"
+ }
+ ]
+ },
+ {
+ "matcher": "auto",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "/bin/bash -c 'echo \"πŸ”„ Auto-Compact Guidance (Context Window Full):\"; echo \"πŸ“‹ CRITICAL: Before compacting, ensure you understand:\"; echo \" β€’ All 54 agents available in .claude/agents/ directory\"; echo \" β€’ Concurrent execution patterns from CLAUDE.md\"; echo \" β€’ Batchtools optimization for 300% performance gains\"; echo \" β€’ Swarm coordination strategies for complex tasks\"; echo \"⚑ Apply GOLDEN RULE: Always batch operations in single messages\"; echo \"βœ… Auto-compact proceeding with full agent context\"'"
+ }
+ ]
+ }
+ ]
+ },
+ "includeCoAuthoredBy": true,
+ "enabledMcpjsonServers": [
+ "claude-flow",
+ "ruv-swarm"
+ ]
+}
\ No newline at end of file