π 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Checkpoint: File edits
rUvbf7ec2102780
diff --git a/.claude/settings.json b/.claude/settings.jsonindex 4d6c7cea0a..14fa6316d9 100644--- a/.claude/settings.json+++ b/.claude/settings.json@@ -297,6 +297,11 @@"timeout": 8000,"command": "/workspaces/claude-flow/.claude/helpers/learning-hooks.sh session-start 2>/dev/null || true"},+ {+ "type": "command",+ "timeout": 6000,+ "command": "node /workspaces/claude-flow/.claude/helpers/auto-memory-hook.mjs import 2>/dev/null || true"+ },{"type": "command","timeout": 3000,@@ -328,6 +333,11 @@"SessionEnd": [{"hooks": [+ {+ "type": "command",+ "timeout": 8000,+ "command": "node /workspaces/claude-flow/.claude/helpers/auto-memory-hook.mjs sync 2>/dev/null || true"+ },{"type": "command","timeout": 10000,@@ -462,7 +472,7 @@"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\"'"+ "command": "/bin/bash -c 'INPUT=$(cat); CUSTOM=$(echo \"$INPUT\" | jq -r \".custom_instructions // \\\"\\\"\"); echo \"\ud83d\udd04 PreCompact Guidance:\"; echo \"\ud83d\udccb IMPORTANT: Review CLAUDE.md in project root for:\"; echo \" \u2022 54 available agents and concurrent usage patterns\"; echo \" \u2022 Swarm coordination strategies (hierarchical, mesh, adaptive)\"; echo \" \u2022 SPARC methodology workflows with batchtools optimization\"; echo \" \u2022 Critical concurrent execution rules (GOLDEN RULE: 1 MESSAGE = ALL OPERATIONS)\"; if [ -n \"$CUSTOM\" ]; then echo \"\ud83c\udfaf Custom compact instructions: $CUSTOM\"; fi; echo \"\u2705 Ready for compact operation\"'"},{"type": "command",@@ -476,7 +486,7 @@"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\"'"+ "command": "/bin/bash -c 'echo \"\ud83d\udd04 Auto-Compact Guidance (Context Window Full):\"; echo \"\ud83d\udccb CRITICAL: Before compacting, ensure you understand:\"; echo \" \u2022 All 54 agents available in .claude/agents/ directory\"; echo \" \u2022 Concurrent execution patterns from CLAUDE.md\"; echo \" \u2022 Batchtools optimization for 300% performance gains\"; echo \" \u2022 Swarm coordination strategies for complex tasks\"; echo \"\u26a1 Apply GOLDEN RULE: Always batch operations in single messages\"; echo \"\u2705 Auto-compact proceeding with full agent context\"'"},{"type": "command",@@ -572,7 +582,7 @@},"attribution": {"commit": "Co-Authored-By: claude-flow <[email protected]>",- "pr": "π€ Generated with [claude-flow](https://github.com/ruvnet/claude-flow)"+ "pr": "\ud83e\udd16 Generated with [claude-flow](https://github.com/ruvnet/claude-flow)"},"enabledMcpjsonServers": ["claude-flow",@@ -606,4 +616,4 @@}}}-}\ No newline at end of file+}diff --git a/v3/@claude-flow/cli/src/init/settings-generator.ts b/v3/@claude-flow/cli/src/init/settings-generator.tsindex 5b37e57cbc..1946a431bb 100644--- a/v3/@claude-flow/cli/src/init/settings-generator.ts+++ b/v3/@claude-flow/cli/src/init/settings-generator.ts@@ -338,6 +338,12 @@ function generateHooksConfig(config: HooksConfig): object {timeout: 5000,continueOnError: true,},+ {+ type: 'command',+ command: cmd.simple('node .claude/helpers/auto-memory-hook.mjs import'),+ timeout: 6000,+ continueOnError: true,+ },{type: 'command',command: cmd.ifVar('SESSION_ID',@@ -352,6 +358,28 @@ function generateHooksConfig(config: HooksConfig): object {];}+ // SessionEnd for memory sync and state persistence+ if (config.sessionStart) {+ hooks.SessionEnd = [+ {+ hooks: [+ {+ type: 'command',+ command: cmd.simple('node .claude/helpers/auto-memory-hook.mjs sync'),+ timeout: 8000,+ continueOnError: true,+ },+ {+ type: 'command',+ command: cmd.simple('npx @claude-flow/cli@latest hooks session-end --persist-memory true --export-patterns true'),+ timeout: 8000,+ continueOnError: true,+ },+ ],+ },+ ];+ }+// Stop hooks for task evaluation - always return ok by default// The hook outputs JSON that Claude Code validatesif (config.stop) {diff --git a/v3/@claude-flow/memory/agents/architect.yaml b/v3/@claude-flow/memory/agents/architect.yamlindex a8330d970b..f03e0ad287 100644--- a/v3/@claude-flow/memory/agents/architect.yaml+++ b/v3/@claude-flow/memory/agents/architect.yaml@@ -8,4 +8,4 @@ capabilities:optimizations:- context-caching- memory-persistence-createdAt: "2026-02-08T16:40:29.186Z"+createdAt: "2026-02-08T17:14:49.393Z"diff --git a/v3/@claude-flow/memory/agents/coder.yaml b/v3/@claude-flow/memory/agents/coder.yamlindex a05b6fbbcd..44ab3f782f 100644--- a/v3/@claude-flow/memory/agents/coder.yaml+++ b/v3/@claude-flow/memory/agents/coder.yaml@@ -8,4 +8,4 @@ capabilities:optimizations:- flash-attention- token-reduction-createdAt: "2026-02-08T16:40:29.186Z"+createdAt: "2026-02-08T17:14:49.393Z"diff --git a/v3/@claude-flow/memory/agents/reviewer.yaml b/v3/@claude-flow/memory/agents/reviewer.yamlindex 9996ec38ad..b315e08232 100644--- a/v3/@claude-flow/memory/agents/reviewer.yaml+++ b/v3/@claude-flow/memory/agents/reviewer.yaml@@ -7,4 +7,4 @@ capabilities:- best-practicesoptimizations:- incremental-analysis-createdAt: "2026-02-08T16:40:29.186Z"+createdAt: "2026-02-08T17:14:49.393Z"diff --git a/v3/@claude-flow/memory/agents/security-architect.yaml b/v3/@claude-flow/memory/agents/security-architect.yamlindex 5c742c08e9..976881ef68 100644--- a/v3/@claude-flow/memory/agents/security-architect.yaml+++ b/v3/@claude-flow/memory/agents/security-architect.yaml@@ -7,4 +7,4 @@ capabilities:- security-reviewoptimizations:- pattern-matching-createdAt: "2026-02-08T16:40:29.186Z"+createdAt: "2026-02-08T17:14:49.393Z"diff --git a/v3/@claude-flow/memory/agents/tester.yaml b/v3/@claude-flow/memory/agents/tester.yamlindex 17b807de85..c9a96e0c1b 100644--- a/v3/@claude-flow/memory/agents/tester.yaml+++ b/v3/@claude-flow/memory/agents/tester.yaml@@ -7,4 +7,4 @@ capabilities:- coverageoptimizations:- parallel-execution-createdAt: "2026-02-08T16:40:29.186Z"+createdAt: "2026-02-08T17:14:49.393Z"