mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
- Reorganize v3/ into implementation/ subfolders: - planning/, architecture/, migration/, integration/ - security/, adrs/, research/, swarm-plans/ - Add 15-agent concurrent swarm implementation plans: - SWARM-OVERVIEW.md: Hierarchical mesh topology, 4 phases - AGENT-SPECIFICATIONS.md: 15 agent configs with capabilities - TDD-LONDON-SCHOOL-PLAN.md: Mock-first TDD methodology - BENCHMARK-OPTIMIZATION.md: Performance targets (2.49x-7.47x) - DEPLOYMENT-PLAN.md: Release strategy, CI/CD, rollback - GITHUB-ISSUE-TRACKING.md: Issue workflow with agent replies - Update .claude/settings.json with proper hooks format - Add bash aliases for claude --dangerously-skip-permissions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
270 lines
7.7 KiB
JSON
270 lines
7.7 KiB
JSON
{
|
|
"env": {
|
|
"CLAUDE_FLOW_AUTO_COMMIT": "true",
|
|
"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_CHECKPOINT_ENABLED": "true",
|
|
"CLAUDE_FLOW_MEMORY_PERSISTENCE": "true",
|
|
"CLAUDE_FLOW_NEURAL_OPTIMIZATION": "true",
|
|
"CLAUDE_FLOW_AUTO_LEARNING": "true",
|
|
"CLAUDE_FLOW_PERFORMANCE_MODE": "optimized",
|
|
"CLAUDE_FLOW_CACHE_ENABLED": "true",
|
|
"CLAUDE_FLOW_PARALLEL_PROCESSING": "true",
|
|
"CLAUDE_FLOW_AGENT_POOL": "true"
|
|
},
|
|
"performance": {
|
|
"caching": {
|
|
"hooks": {
|
|
"enabled": true,
|
|
"ttl": 300000,
|
|
"maxSize": 1000
|
|
},
|
|
"neural": {
|
|
"enabled": true,
|
|
"ttl": 300000,
|
|
"maxSize": 10000
|
|
},
|
|
"memory": {
|
|
"enabled": true,
|
|
"ttl": 60000,
|
|
"maxSize": 1000
|
|
}
|
|
},
|
|
"parallelization": {
|
|
"enabled": true,
|
|
"maxConcurrent": 10,
|
|
"workerThreads": 4,
|
|
"taskQueue": {
|
|
"size": 100,
|
|
"priorityLevels": 4
|
|
}
|
|
},
|
|
"batching": {
|
|
"hooks": {
|
|
"enabled": true,
|
|
"size": 10,
|
|
"flushInterval": 100
|
|
},
|
|
"memory": {
|
|
"enabled": true,
|
|
"size": 50,
|
|
"flushInterval": 1000
|
|
},
|
|
"neural": {
|
|
"enabled": true,
|
|
"size": 100,
|
|
"maxWaitTime": 50
|
|
}
|
|
},
|
|
"pooling": {
|
|
"agents": {
|
|
"enabled": true,
|
|
"sizes": {
|
|
"coordinator": { "min": 1, "max": 3 },
|
|
"coder": { "min": 2, "max": 5 },
|
|
"researcher": { "min": 1, "max": 3 },
|
|
"analyst": { "min": 1, "max": 2 },
|
|
"tester": { "min": 1, "max": 2 }
|
|
},
|
|
"idleTimeout": 300000,
|
|
"recycleAfter": 100
|
|
},
|
|
"connections": {
|
|
"database": { "min": 2, "max": 10 },
|
|
"mcp": { "min": 1, "max": 5 }
|
|
}
|
|
}
|
|
},
|
|
"checkpoints": {
|
|
"enabled": true,
|
|
"interval": 300,
|
|
"auto_commit": true,
|
|
"commit_message_prefix": "🔄 Checkpoint:",
|
|
"include_metrics": true,
|
|
"branch_strategy": "checkpoint/{timestamp}",
|
|
"max_checkpoints": 20
|
|
},
|
|
"memory": {
|
|
"auto_persist": true,
|
|
"compression": true,
|
|
"sync_interval": 60,
|
|
"namespaces": ["swarm", "tasks", "patterns", "errors", "optimizations"],
|
|
"retention_days": 30,
|
|
"backup_to_github": true,
|
|
"optimization": {
|
|
"writeBatch": true,
|
|
"readCache": true,
|
|
"compressionThreshold": 1024
|
|
}
|
|
},
|
|
"neural": {
|
|
"auto_optimize": true,
|
|
"optimization_triggers": ["error", "success", "pattern", "performance"],
|
|
"models": {
|
|
"task_predictor": {
|
|
"enabled": true,
|
|
"learning_rate": 0.001,
|
|
"update_frequency": 100,
|
|
"preload": true,
|
|
"cache": true
|
|
},
|
|
"error_preventer": {
|
|
"enabled": true,
|
|
"threshold": 0.85,
|
|
"block_risky_operations": true,
|
|
"preload": true,
|
|
"cache": true
|
|
},
|
|
"performance_optimizer": {
|
|
"enabled": true,
|
|
"target_metrics": ["speed", "accuracy", "efficiency"],
|
|
"auto_tune": true,
|
|
"preload": true,
|
|
"cache": true
|
|
}
|
|
},
|
|
"wasm": {
|
|
"enabled": true,
|
|
"simd": true,
|
|
"threads": 4,
|
|
"memoryPages": 256
|
|
}
|
|
},
|
|
"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(gh *)",
|
|
"Bash(node *)",
|
|
"Bash(which *)",
|
|
"Bash(pwd)",
|
|
"Bash(ls *)"
|
|
],
|
|
"deny": [
|
|
"Bash(rm -rf /)",
|
|
"Bash(curl * | bash)",
|
|
"Bash(wget * | sh)",
|
|
"Bash(eval *)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"_optimization": {
|
|
"batch": true,
|
|
"parallel": true,
|
|
"cache": true,
|
|
"deduplicate": true
|
|
},
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Bash",
|
|
"batch": true,
|
|
"parallel": true,
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "npx claude-flow@alpha hooks pre-command --command \"$CLAUDE_COMMAND\" --validate-safety true --prepare-resources true --predict-outcome true --check-patterns true --batch true --cache true"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "npx claude-flow@alpha memory store --key \"command/pre/$CLAUDE_TIMESTAMP\" --value \"$CLAUDE_COMMAND\" --namespace \"commands\" --batch true"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "npx claude-flow@alpha neural predict --model \"error_preventer\" --input \"$CLAUDE_COMMAND\" --block-if-risky true --cache true"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Write|Edit|MultiEdit",
|
|
"batch": true,
|
|
"parallel": true,
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "npx claude-flow@alpha hooks pre-edit --file \"$CLAUDE_EDITED_FILE\" --auto-assign-agents true --load-context true --analyze-impact true --batch true --cache true"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "npx claude-flow@alpha memory store --key \"edit/pre/$CLAUDE_EDITED_FILE\" --value \"$CLAUDE_OPERATION_CONTEXT\" --namespace \"edits\" --batch true"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "npx claude-flow@alpha neural optimize --operation \"file-edit\" --target \"$CLAUDE_EDITED_FILE\" --suggest-improvements true --cache true"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Bash",
|
|
"batch": true,
|
|
"parallel": true,
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "npx claude-flow@alpha hooks post-command --command \"$CLAUDE_COMMAND\" --track-metrics true --store-results true --analyze-performance true --batch true"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "npx claude-flow@alpha memory store --key \"command/post/$CLAUDE_TIMESTAMP\" --value \"{\\\"command\\\": \\\"$CLAUDE_COMMAND\\\", \\\"result\\\": \\\"$CLAUDE_RESULT\\\", \\\"duration\\\": $CLAUDE_DURATION}\" --namespace \"commands\" --batch true"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "npx claude-flow@alpha neural train --model \"performance_optimizer\" --data \"{\\\"operation\\\": \\\"bash\\\", \\\"duration\\\": $CLAUDE_DURATION, \\\"success\\\": $CLAUDE_SUCCESS}\" --batch true"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "npx claude-flow@alpha hooks session-end --generate-summary true --persist-state true --export-metrics true --backup-memory true --optimize-models true"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"github": {
|
|
"checkpoint_branch": "checkpoints",
|
|
"memory_backup_gists": true,
|
|
"auto_issue_on_error": true,
|
|
"pr_on_major_improvement": true,
|
|
"sync_learnings": true
|
|
},
|
|
"optimization": {
|
|
"continuous_improvement": true,
|
|
"performance_targets": {
|
|
"command_execution": "< 100ms overhead",
|
|
"memory_operations": "< 20ms",
|
|
"neural_predictions": "< 10ms",
|
|
"hook_execution": "< 50ms",
|
|
"agent_spawn": "< 100ms"
|
|
},
|
|
"auto_tune_parameters": true,
|
|
"share_anonymized_patterns": true,
|
|
"monitoring": {
|
|
"enabled": true,
|
|
"metrics": ["latency", "throughput", "errors", "cache_hits"],
|
|
"alert_thresholds": {
|
|
"latency": 200,
|
|
"error_rate": 0.05
|
|
}
|
|
}
|
|
},
|
|
"includeCoAuthoredBy": true,
|
|
"enabledMcpjsonServers": ["claude-flow", "ruv-swarm"]
|
|
} |