mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +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>
44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
#!/usr/bin/env python3
|
|
"""Quick test of claude-flow integration."""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Add benchmark src to path
|
|
sys.path.insert(0, str(Path(__file__).parent / "src"))
|
|
|
|
from swarm_benchmark.core.claude_flow_executor import ClaudeFlowExecutor
|
|
|
|
def main():
|
|
print("🧪 Quick Integration Test")
|
|
|
|
try:
|
|
# Test initialization
|
|
executor = ClaudeFlowExecutor()
|
|
print(f"✅ Executor initialized: {executor.claude_flow_path}")
|
|
|
|
# Test version check
|
|
if executor.validate_installation():
|
|
print("✅ Claude-flow installation validated")
|
|
else:
|
|
print("❌ Installation validation failed")
|
|
return False
|
|
|
|
# Test simple command
|
|
result = executor._execute_command([executor.claude_flow_path, "--help"], timeout=5)
|
|
print(f"✅ Help command executed: exit_code={result.exit_code}")
|
|
|
|
if result.stdout:
|
|
print("\n📄 Help output (first 500 chars):")
|
|
print(result.stdout[:500])
|
|
|
|
return True
|
|
|
|
except Exception as e:
|
|
print(f"❌ Test failed: {e}")
|
|
return False
|
|
|
|
|
|
if __name__ == "__main__":
|
|
success = main()
|
|
sys.exit(0 if success else 1) |