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: Edit /workspaces/claude-code-flow/.claude/commands/hooks/overview.md

rUvc6613fc2f849
diff --git a/.claude/checkpoints/1758908688.json b/.claude/checkpoints/1758908688.json
new file mode 100644
index 0000000000..72c32d3996
--- /dev/null
+++ b/.claude/checkpoints/1758908688.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250926-174448", "file": "/workspaces/claude-code-flow/.claude/commands/automation/smart-spawn.md", "timestamp": "2025-09-26T17:44:48Z", "type": "pre-edit", "original_branch": "alpha-125"}
diff --git a/.claude/checkpoints/1758908690.json b/.claude/checkpoints/1758908690.json
new file mode 100644
index 0000000000..f4580885b6
--- /dev/null
+++ b/.claude/checkpoints/1758908690.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250926-174450", "file": "/workspaces/claude-code-flow/.claude/commands/automation/smart-spawn.md", "timestamp": "2025-09-26T17:44:50Z", "type": "post-edit", "branch": "alpha-125", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 4416 +++++++++++---------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1758908614.json | 1 + .claude/checkpoints/1758908650.json | 1 + .claude/checkpoints/task-1758908593.json | 1 + .claude/commands/automation/smart-spawn.md | 155 +- .claude/commands/coordination/task-orchestrate.md | 136 +- .claude/commands/memory/memory-usage.md | 106 +- claude-flow-wiki | 0 10 files changed, 2648 insertions(+), 2176 deletions(-) "}
diff --git a/.claude/commands/hooks/overview.md b/.claude/commands/hooks/overview.md
index 46a7e1cd27..6fb39ccb28 100644
--- a/.claude/commands/hooks/overview.md
+++ b/.claude/commands/hooks/overview.md
@@ -1,26 +1,31 @@
# Claude Code Hooks for claude-flow
## Purpose
-Automatically coordinate, format, and learn from Claude Code operations using hooks.
+Automatically coordinate, format, and learn from Claude Code operations using hooks with MCP tool integration.
## Available Hooks
### Pre-Operation Hooks
- **pre-edit**: Validate and assign agents before file modifications
-- **pre-bash**: Check command safety and resource requirements
+- **pre-bash**: Check command safety and resource requirements
- **pre-task**: Auto-spawn agents for complex tasks
### Post-Operation Hooks
-- **post-edit**: Auto-format code and train neural patterns
+- **post-edit**: Auto-format code, train neural patterns, update memory
- **post-bash**: Log execution and update metrics
- **post-search**: Cache results and improve search patterns
### MCP Integration Hooks
- **mcp-initialized**: Persist swarm configuration
-- **agent-spawned**: Update agent roster
-- **task-orchestrated**: Monitor task progress
+- **agent-spawned**: Update agent roster and memory
+- **task-orchestrated**: Monitor task progress through memory
- **neural-trained**: Save pattern improvements
+### Memory Coordination Hooks
+- **memory-write**: Triggered when agents write to coordination memory
+- **memory-read**: Triggered when agents read from coordination memory
+- **memory-sync**: Synchronize memory across swarm agents
+
### Session Hooks
- **notify**: Custom notifications with swarm status
- **session-end**: Generate summary and save state