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 edit:

rUv7af8b35cada1
diff --git a/.claude/helpers/swarm-hooks.sh b/.claude/helpers/swarm-hooks.sh
index dbe7ba1c6a..a1eae69f16 100755
--- a/.claude/helpers/swarm-hooks.sh
+++ b/.claude/helpers/swarm-hooks.sh
@@ -431,14 +431,20 @@ initiate_handoff() {
# Parse context or use defaults - ensure valid JSON
local context
- if command -v jq &>/dev/null && echo "$context_json" | jq -e . >/dev/null 2>&1; then
- context=$(echo "$context_json" | jq -c '{
+ if command -v jq &>/dev/null && [ -n "$context_json" ] && [ "$context_json" != "{}" ]; then
+ # Try to parse and merge with defaults
+ context=$(jq -c '{
filesModified: (.filesModified // []),
patternsUsed: (.patternsUsed // []),
decisions: (.decisions // []),
blockers: (.blockers // []),
nextSteps: (.nextSteps // [])
- }')
+ }' <<< "$context_json" 2>/dev/null)
+
+ # If parsing failed, use defaults
+ if [ -z "$context" ] || [ "$context" = "null" ]; then
+ context='{"filesModified":[],"patternsUsed":[],"decisions":[],"blockers":[],"nextSteps":[]}'
+ fi
else
context='{"filesModified":[],"patternsUsed":[],"decisions":[],"blockers":[],"nextSteps":[]}'
fi
diff --git a/v3/@claude-flow/shared/README.md b/v3/@claude-flow/shared/README.md
index d6429f9d14..0b5cae844c 100644
--- a/v3/@claude-flow/shared/README.md
+++ b/v3/@claude-flow/shared/README.md
@@ -306,15 +306,17 @@ export * from './types/mcp.types';
This package is a dependency of all other @claude-flow modules:
-- [@claude-flow/cli](../cli)
-- [@claude-flow/security](../security)
-- [@claude-flow/memory](../memory)
-- [@claude-flow/neural](../neural)
-- [@claude-flow/performance](../performance)
-- [@claude-flow/swarm](../swarm)
-- [@claude-flow/integration](../integration)
-- [@claude-flow/testing](../testing)
-- [@claude-flow/deployment](../deployment)
+- [@claude-flow/cli](../cli) - CLI module
+- [@claude-flow/security](../security) - Security & validation
+- [@claude-flow/memory](../memory) - AgentDB & HNSW indexing
+- [@claude-flow/neural](../neural) - SONA learning & RL algorithms
+- [@claude-flow/performance](../performance) - Benchmarking & optimization
+- [@claude-flow/swarm](../swarm) - 15-agent coordination
+- [@claude-flow/integration](../integration) - agentic-flow@alpha bridge
+- [@claude-flow/testing](../testing) - TDD framework & fixtures
+- [@claude-flow/deployment](../deployment) - Release management
+- [@claude-flow/embeddings](../embeddings) - Embedding service
+- [@claude-flow/hooks](../hooks) - Hooks system
## License