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

rUvef54642f95b2
diff --git a/.agents/skills/hooks-automation/SKILL.md b/.agents/skills/hooks-automation/SKILL.md
new file mode 100644
index 0000000000..22c751eab4
--- /dev/null
+++ b/.agents/skills/hooks-automation/SKILL.md
@@ -0,0 +1,61 @@
+---
+name: hooks-automation
+description: >
+ Automated hook lifecycle management with 17 hooks and 12 background workers. Manages pre/post task, edit, command, and session events.
+ Use when: automating workflows, tracking changes, session management, background processing.
+ Skip when: manual operations, one-off tasks, no automation needed.
+---
+
+# Hooks Automation Skill
+
+## Purpose
+Manage hook lifecycle and background workers for automated workflows.
+
+## Hook Categories
+
+| Category | Hooks | Purpose |
+|----------|-------|---------|
+| **Core** | `pre-edit`, `post-edit`, `pre-command`, `post-command`, `pre-task`, `post-task` | Tool lifecycle |
+| **Session** | `session-start`, `session-end`, `session-restore`, `notify` | Context management |
+| **Intelligence** | `route`, `explain`, `pretrain`, `build-agents`, `transfer` | Neural learning |
+| **Learning** | `intelligence` | Reinforcement learning |
+
+## Background Workers
+
+| Worker | Priority | Description |
+|--------|----------|-------------|
+| `ultralearn` | normal | Deep knowledge acquisition |
+| `optimize` | high | Performance optimization |
+| `consolidate` | low | Memory consolidation |
+| `predict` | normal | Predictive preloading |
+| `audit` | critical | Security analysis |
+| `map` | normal | Codebase mapping |
+
+## Commands
+
+### Core Hooks
+```bash
+npx claude-flow hooks pre-task --description "[task]"
+npx claude-flow hooks post-task --task-id "[id]" --success true
+npx claude-flow hooks post-edit --file "[file]" --train-patterns
+```
+
+### Session Management
+```bash
+npx claude-flow hooks session-start --session-id "[id]"
+npx claude-flow hooks session-end --export-metrics true
+npx claude-flow hooks session-restore --session-id "[id]"
+```
+
+### Background Workers
+```bash
+npx claude-flow hooks worker list
+npx claude-flow hooks worker dispatch --trigger audit
+npx claude-flow hooks worker status
+```
+
+## Best Practices
+1. Use session-start at beginning of work
+2. Run post-edit with --train-patterns for learning
+3. Dispatch audit worker for security-sensitive changes
+4. Export metrics at session-end for analysis
diff --git a/package-lock.json b/package-lock.json
index 9da3904c8c..f33f148e7b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "claude-flow",
- "version": "3.1.0-alpha.4",
+ "version": "3.1.0-alpha.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "claude-flow",
- "version": "3.1.0-alpha.4",
+ "version": "3.1.0-alpha.5",
"license": "MIT",
"dependencies": {
"semver": "^7.6.0",
diff --git a/package.json b/package.json
index 33454a87d4..c75280314c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "claude-flow",
- "version": "3.1.0-alpha.4",
+ "version": "3.1.0-alpha.5",
"description": "Enterprise AI agent orchestration for Claude Code - Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
"main": "dist/index.js",
"type": "module",
diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.json
index a02db4f0cd..8c93bbd292 100644
--- a/v3/@claude-flow/cli/package.json
+++ b/v3/@claude-flow/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@claude-flow/cli",
- "version": "3.1.0-alpha.4",
+ "version": "3.1.0-alpha.5",
"type": "module",
"description": "Claude Flow CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
"main": "dist/src/index.js",