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

rUvebd5ba3a5005
diff --git a/v3/@claude-flow/cli/.claude/settings.json b/v3/@claude-flow/cli/.claude/settings.json
index 7cc1af882c..ed18bb7470 100644
--- a/v3/@claude-flow/cli/.claude/settings.json
+++ b/v3/@claude-flow/cli/.claude/settings.json
@@ -9,29 +9,7 @@
"hooks": [
{
"type": "command",
- "command": "[ -n \"$TOOL_INPUT_file_path\" ] && npx @claude-flow/cli@latest hooks pre-edit --file \"$TOOL_INPUT_file_path\" 2>/dev/null || true",
- "timeout": 5000,
- "continueOnError": true
- }
- ]
- },
- {
- "matcher": "^Bash$",
- "hooks": [
- {
- "type": "command",
- "command": "[ -n \"$TOOL_INPUT_command\" ] && npx @claude-flow/cli@latest hooks pre-command --command \"$TOOL_INPUT_command\" 2>/dev/null || true",
- "timeout": 5000,
- "continueOnError": true
- }
- ]
- },
- {
- "matcher": "^Task$",
- "hooks": [
- {
- "type": "command",
- "command": "[ -n \"$TOOL_INPUT_prompt\" ] && npx @claude-flow/cli@latest hooks pre-task --task-id \"task-$(date +%s)\" --description \"$TOOL_INPUT_prompt\" 2>/dev/null || true",
+ "command": "node .claude/helpers/auto-memory-hook.mjs pre-edit 2>NUL || node .claude/helpers/auto-memory-hook.mjs pre-edit 2>/dev/null || exit 0",
"timeout": 5000,
"continueOnError": true
}
@@ -44,41 +22,7 @@
"hooks": [
{
"type": "command",
- "command": "[ -n \"$TOOL_INPUT_file_path\" ] && npx @claude-flow/cli@latest hooks post-edit --file \"$TOOL_INPUT_file_path\" --success \"${TOOL_SUCCESS:-true}\" 2>/dev/null || true",
- "timeout": 5000,
- "continueOnError": true
- }
- ]
- },
- {
- "matcher": "^Bash$",
- "hooks": [
- {
- "type": "command",
- "command": "[ -n \"$TOOL_INPUT_command\" ] && npx @claude-flow/cli@latest hooks post-command --command \"$TOOL_INPUT_command\" --success \"${TOOL_SUCCESS:-true}\" 2>/dev/null || true",
- "timeout": 5000,
- "continueOnError": true
- }
- ]
- },
- {
- "matcher": "^Task$",
- "hooks": [
- {
- "type": "command",
- "command": "[ -n \"$TOOL_RESULT_agent_id\" ] && npx @claude-flow/cli@latest hooks post-task --task-id \"$TOOL_RESULT_agent_id\" --success \"${TOOL_SUCCESS:-true}\" 2>/dev/null || true",
- "timeout": 5000,
- "continueOnError": true
- }
- ]
- }
- ],
- "UserPromptSubmit": [
- {
- "hooks": [
- {
- "type": "command",
- "command": "[ -n \"$PROMPT\" ] && npx @claude-flow/cli@latest hooks route --task \"$PROMPT\" || true",
+ "command": "node .claude/helpers/auto-memory-hook.mjs post-edit 2>NUL || node .claude/helpers/auto-memory-hook.mjs post-edit 2>/dev/null || exit 0",
"timeout": 5000,
"continueOnError": true
}
@@ -90,21 +34,9 @@
"hooks": [
{
"type": "command",
- "command": "npx @claude-flow/cli@latest daemon start --quiet 2>/dev/null || true",
- "timeout": 5000,
- "continueOnError": true
- },
- {
- "type": "command",
- "command": "node ./node_modules/@claude-flow/cli/.claude/helpers/auto-memory-hook.mjs import 2>/dev/null || npx -y @claude-flow/cli@latest .claude/helpers/auto-memory-hook.mjs import 2>/dev/null || true",
+ "command": "node .claude/helpers/auto-memory-hook.mjs import 2>NUL || node .claude/helpers/auto-memory-hook.mjs import 2>/dev/null || exit 0",
"timeout": 8000,
"continueOnError": true
- },
- {
- "type": "command",
- "command": "[ -n \"$SESSION_ID\" ] && npx @claude-flow/cli@latest hooks session-restore --session-id \"$SESSION_ID\" 2>/dev/null || true",
- "timeout": 10000,
- "continueOnError": true
}
]
}
@@ -114,15 +46,9 @@
"hooks": [
{
"type": "command",
- "command": "node ./node_modules/@claude-flow/cli/.claude/helpers/auto-memory-hook.mjs sync 2>/dev/null || true",
+ "command": "node .claude/helpers/auto-memory-hook.mjs sync 2>NUL || node .claude/helpers/auto-memory-hook.mjs sync 2>/dev/null || exit 0",
"timeout": 10000,
"continueOnError": true
- },
- {
- "type": "command",
- "command": "npx @claude-flow/cli@latest hooks session-end --persist-memory true --export-patterns true 2>/dev/null || true",
- "timeout": 8000,
- "continueOnError": true
}
]
}
@@ -132,27 +58,9 @@
"hooks": [
{
"type": "command",
- "command": "node ./node_modules/@claude-flow/cli/.claude/helpers/auto-memory-hook.mjs sync 2>/dev/null || true",
+ "command": "node .claude/helpers/auto-memory-hook.mjs sync 2>NUL || node .claude/helpers/auto-memory-hook.mjs sync 2>/dev/null || exit 0",
"timeout": 10000,
"continueOnError": true
- },
- {
- "type": "command",
- "command": "npx @claude-flow/cli@latest hooks session-end --persist-memory true 2>/dev/null || true",
- "timeout": 8000,
- "continueOnError": true
- }
- ]
- }
- ],
- "Notification": [
- {
- "hooks": [
- {
- "type": "command",
- "command": "[ -n \"$NOTIFICATION_MESSAGE\" ] && npx @claude-flow/cli@latest memory store --namespace notifications --key \"notify-$(date +%s)\" --value \"$NOTIFICATION_MESSAGE\" 2>/dev/null || true",
- "timeout": 3000,
- "continueOnError": true
}
]
}
@@ -160,7 +68,7 @@
},
"statusLine": {
"type": "command",
- "command": "npx @claude-flow/cli@latest hooks statusline 2>/dev/null || node .claude/helpers/statusline.cjs 2>/dev/null || echo \"â–Š Claude Flow V3\"",
+ "command": "node .claude/helpers/statusline.cjs 2>NUL || node .claude/helpers/statusline.cjs 2>/dev/null || echo Claude Flow V3",
"refreshMs": 5000,
"enabled": true
},
@@ -175,9 +83,11 @@
"claudeFlow": {
"version": "3.0.0",
"enabled": true,
- "modelPreferences": {
- "default": "claude-opus-4-5-20251101",
- "routing": "claude-3-5-haiku-20241022"
+ "agentTeams": {
+ "enabled": true,
+ "teammateMode": "auto",
+ "taskListEnabled": true,
+ "mailboxEnabled": true
},
"swarm": {
"topology": "hierarchical-mesh",
@@ -189,83 +99,6 @@
},
"neural": {
"enabled": true
- },
- "daemon": {
- "autoStart": true,
- "workers": [
- "map",
- "audit",
- "optimize",
- "consolidate",
- "testgaps",
- "ultralearn",
- "deepdive",
- "document",
- "refactor",
- "benchmark"
- ],
- "schedules": {
- "audit": {
- "interval": "1h",
- "priority": "critical"
- },
- "optimize": {
- "interval": "30m",
- "priority": "high"
- },
- "consolidate": {
- "interval": "2h",
- "priority": "low"
- },
- "document": {
- "interval": "1h",
- "priority": "normal",
- "triggers": [
- "adr-update",
- "api-change"
- ]
- },
- "deepdive": {
- "interval": "4h",
- "priority": "normal",
- "triggers": [
- "complex-change"
- ]
- },
- "ultralearn": {
- "interval": "1h",
- "priority": "normal"
- }
- }
- },
- "learning": {
- "enabled": true,
- "autoTrain": true,
- "patterns": [
- "coordination",
- "optimization",
- "prediction"
- ],
- "retention": {
- "shortTerm": "24h",
- "longTerm": "30d"
- }
- },
- "adr": {
- "autoGenerate": true,
- "directory": "/docs/adr",
- "template": "madr"
- },
- "ddd": {
- "trackDomains": true,
- "validateBoundedContexts": true,
- "directory": "/docs/ddd"
- },
- "security": {
- "autoScan": true,
- "scanOnEdit": true,
- "cveCheck": true,
- "threatModel": true
}
}
-}
\ No newline at end of file
+}