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>
50 lines
1.2 KiB
Bash
50 lines
1.2 KiB
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
echo "========================================="
|
|
echo "Test 1: CLI Basic Functionality"
|
|
echo "========================================="
|
|
|
|
echo "📦 Testing npx claude-flow@2.7.40..."
|
|
|
|
# Test version command
|
|
echo ""
|
|
echo "🔍 Testing --version command..."
|
|
VERSION_OUTPUT=$(npx claude-flow@2.7.40 --version 2>&1)
|
|
echo "$VERSION_OUTPUT"
|
|
|
|
if echo "$VERSION_OUTPUT" | grep -q "v2.7.40"; then
|
|
echo "✅ Version command works (2.7.40)"
|
|
else
|
|
echo "❌ FAIL: Version command failed or wrong version"
|
|
exit 1
|
|
fi
|
|
|
|
# Test help command
|
|
echo ""
|
|
echo "📖 Testing --help command..."
|
|
HELP_OUTPUT=$(npx claude-flow@2.7.40 --help 2>&1)
|
|
|
|
if echo "$HELP_OUTPUT" | grep -qE "Usage:|Commands:|Options:"; then
|
|
echo "✅ Help command works"
|
|
else
|
|
echo "❌ FAIL: Help command not working"
|
|
exit 1
|
|
fi
|
|
|
|
# Test hooks list
|
|
echo ""
|
|
echo "🪝 Testing hooks command..."
|
|
HOOKS_OUTPUT=$(npx claude-flow@2.7.40 hooks 2>&1)
|
|
|
|
if echo "$HOOKS_OUTPUT" | grep -qE "pre-task|post-task|pre-edit|post-edit"; then
|
|
echo "✅ Hooks command works"
|
|
else
|
|
echo "❌ FAIL: Hooks command not working"
|
|
exit 1
|
|
fi
|
|
|
|
echo ""
|
|
echo "✅ PASS: CLI basic functionality test completed"
|
|
echo "========================================="
|