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

rUv4329645cb35f
diff --git a/.claude/settings.json b/.claude/settings.json
index 6d93ecd43a..260163789d 100644
--- a/.claude/settings.json
+++ b/.claude/settings.json
@@ -107,11 +107,6 @@
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
- {
- "type": "command",
- "timeout": 5000,
- "command": "/workspaces/claude-flow/.claude/helpers/guidance-hooks.sh pre-edit \"$TOOL_INPUT_file_path\""
- },
{
"type": "command",
"timeout": 4000,
@@ -122,11 +117,6 @@
{
"matcher": "Bash",
"hooks": [
- {
- "type": "command",
- "timeout": 3000,
- "command": "/workspaces/claude-flow/.claude/helpers/guidance-hooks.sh pre-command \"$TOOL_INPUT_command\""
- },
{
"type": "command",
"timeout": 3000,
@@ -137,21 +127,6 @@
{
"matcher": "Task",
"hooks": [
- {
- "type": "command",
- "timeout": 2000,
- "command": "/workspaces/claude-flow/.claude/helpers/guidance-hooks.sh route \"$TOOL_INPUT_prompt\""
- },
- {
- "type": "command",
- "timeout": 3000,
- "command": "/workspaces/claude-flow/.claude/helpers/swarm-hooks.sh pre-task \"$TOOL_INPUT_prompt\""
- },
- {
- "type": "command",
- "timeout": 3000,
- "command": "cat | jq -r '.tool_input.prompt // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-task --description '{}' --coordinate-swarm true"
- },
{
"type": "command",
"timeout": 4000,
@@ -164,41 +139,16 @@
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
- {
- "type": "command",
- "timeout": 5000,
- "command": "/workspaces/claude-flow/.claude/helpers/guidance-hooks.sh post-edit \"$TOOL_INPUT_file_path\""
- },
- {
- "type": "command",
- "timeout": 4000,
- "command": "/workspaces/claude-flow/.claude/helpers/learning-hooks.sh store \"Edit: $TOOL_INPUT_file_path\" code 0.7"
- },
{
"type": "command",
"timeout": 4000,
"command": "node /workspaces/claude-flow/v3/@claude-flow/cli/bin/cli.js hooks post-edit --file \"$TOOL_INPUT_file_path\" --success true --train-patterns true --memory-key \"edit/$TOOL_INPUT_file_path\""
- },
- {
- "type": "command",
- "timeout": 10000,
- "command": "/workspaces/claude-flow/.claude/helpers/auto-commit.sh batch 'Checkpoint: File edits'"
}
]
},
{
"matcher": "Bash",
"hooks": [
- {
- "type": "command",
- "timeout": 3000,
- "command": "npx agentic-flow@alpha hooks post-command \"$TOOL_INPUT_command\" -c 0"
- },
- {
- "type": "command",
- "timeout": 2000,
- "command": "/workspaces/claude-flow/.claude/helpers/swarm-monitor.sh check"
- },
{
"type": "command",
"timeout": 3000,
@@ -209,31 +159,6 @@
{
"matcher": "Task",
"hooks": [
- {
- "type": "command",
- "timeout": 2000,
- "command": "npx agentic-flow@alpha hooks metrics"
- },
- {
- "type": "command",
- "timeout": 3000,
- "command": "/workspaces/claude-flow/.claude/helpers/swarm-monitor.sh check"
- },
- {
- "type": "command",
- "timeout": 3000,
- "command": "/workspaces/claude-flow/.claude/helpers/swarm-hooks.sh post-task \"$TOOL_INPUT_prompt\" true"
- },
- {
- "type": "command",
- "timeout": 4000,
- "command": "/workspaces/claude-flow/.claude/helpers/checkpoint-manager.sh agent-checkpoint \"Task completed: $TOOL_INPUT_prompt\""
- },
- {
- "type": "command",
- "timeout": 3000,
- "command": "cat | jq -r '{agent: .tool_input.subagent_type, description: .tool_input.description} | @json' | xargs -I {} npx claude-flow@alpha hooks post-task --agent-data '{}' --update-swarm-status true --train-patterns true"
- },
{
"type": "command",
"timeout": 4000,
@@ -246,11 +171,6 @@
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
- {
- "type": "command",
- "timeout": 5000,
- "command": "npx agentic-flow@alpha hooks post-edit \"$TOOL_INPUT_file_path\" --fail"
- },
{
"type": "command",
"timeout": 4000,
@@ -261,11 +181,6 @@
{
"matcher": "Bash",
"hooks": [
- {
- "type": "command",
- "timeout": 3000,
- "command": "npx agentic-flow@alpha hooks post-command \"$TOOL_INPUT_command\" -c 1"
- },
{
"type": "command",
"timeout": 3000,
@@ -287,31 +202,6 @@
"SessionStart": [
{
"hooks": [
- {
- "type": "command",
- "timeout": 3000,
- "command": "/workspaces/claude-flow/.claude/helpers/daemon-manager.sh start 3 5"
- },
- {
- "type": "command",
- "timeout": 8000,
- "command": "/workspaces/claude-flow/.claude/helpers/learning-hooks.sh session-start"
- },
- {
- "type": "command",
- "timeout": 3000,
- "command": "/workspaces/claude-flow/.claude/helpers/swarm-hooks.sh agents"
- },
- {
- "type": "command",
- "timeout": 5000,
- "command": "/workspaces/claude-flow/.claude/helpers/guidance-hooks.sh session-context"
- },
- {
- "type": "command",
- "timeout": 5000,
- "command": "npx claude-flow@alpha hooks session-start --auto-configure true --restore-context true"
- },
{
"type": "command",
"timeout": 6000,
@@ -328,31 +218,6 @@
"SessionEnd": [
{
"hooks": [
- {
- "type": "command",
- "timeout": 10000,
- "command": "/workspaces/claude-flow/.claude/helpers/learning-hooks.sh session-end"
- },
- {
- "type": "command",
- "timeout": 8000,
- "command": "npx agentic-flow@alpha hooks metrics --json"
- },
- {
- "type": "command",
- "timeout": 6000,
- "command": "/workspaces/claude-flow/.claude/helpers/checkpoint-manager.sh session-end \"V3 development session completed\""
- },
- {
- "type": "command",
- "timeout": 4000,
- "command": "/workspaces/claude-flow/.claude/helpers/update-v3-progress.sh status > /workspaces/claude-flow/.claude-flow/last-session-status.txt"
- },
- {
- "type": "command",
- "timeout": 2000,
- "command": "/workspaces/claude-flow/.claude/helpers/daemon-manager.sh stop"
- },
{
"type": "command",
"timeout": 8000,
@@ -369,16 +234,6 @@
"UserPromptSubmit": [
{
"hooks": [
- {
- "type": "command",
- "timeout": 4000,
- "command": "/workspaces/claude-flow/.claude/helpers/guidance-hooks.sh user-prompt \"$USER_PROMPT\""
- },
- {
- "type": "command",
- "timeout": 5000,
- "command": "npx claude-flow@alpha hooks route-task --auto-swarm true --detect-complexity true"
- },
{
"type": "command",
"timeout": 5000,
@@ -396,21 +251,6 @@
{
"matcher": ".*",
"hooks": [
- {
- "type": "command",
- "timeout": 8000,
- "command": "/workspaces/claude-flow/.claude/helpers/learning-hooks.sh session-end"
- },
- {
- "type": "command",
- "timeout": 5000,
- "command": "npx agentic-flow@alpha hooks metrics --json"
- },
- {
- "type": "command",
- "timeout": 5000,
- "command": "npx claude-flow@alpha hooks session-end --generate-summary true --persist-state true --export-metrics true"
- },
{
"type": "command",
"timeout": 6000,
@@ -431,11 +271,6 @@
"type": "command",
"timeout": 5000,
"command": "node /workspaces/claude-flow/v3/@claude-flow/cli/bin/cli.js hooks teammate-idle --auto-assign true --check-task-list true"
- },
- {
- "type": "command",
- "timeout": 3000,
- "command": "npx claude-flow@alpha hooks teammate-idle --auto-assign true"
}
]
}
@@ -447,11 +282,6 @@
"type": "command",
"timeout": 5000,
"command": "node /workspaces/claude-flow/v3/@claude-flow/cli/bin/cli.js hooks task-completed --task-id \"$TASK_ID\" --train-patterns true --notify-lead true --update-metrics true"
- },
- {
- "type": "command",
- "timeout": 3000,
- "command": "npx claude-flow@alpha hooks task-completed --train-patterns true --store-results true"
}
]
}
@@ -460,10 +290,6 @@
{
"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\"'"
- },
{
"type": "command",
"timeout": 5000,
@@ -474,10 +300,6 @@
{
"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\"'"
- },
{
"type": "command",
"timeout": 6000,