mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
Implements a complete loop execution system with multi-loop parallel support, dashboard monitoring, and comprehensive security validation. Core features: - Loop orchestration engine (loop-manager, loop-state-manager) - Multi-loop parallel execution with independent state management - REST API endpoints for loop control (pause, resume, stop, retry) - WebSocket real-time status updates - Dashboard Loop Monitor view with live updates - Security: path traversal protection and sandboxed JavaScript evaluation Test coverage: - 42 comprehensive tests covering multi-loop, API, WebSocket, security - Security validation for success_condition injection attacks - Edge case handling and end-to-end workflow tests
27 lines
651 B
Bash
27 lines
651 B
Bash
#!/bin/bash
|
|
# CCW Loop System - Comprehensive Test Runner
|
|
|
|
echo "============================================"
|
|
echo "🧪 CCW LOOP SYSTEM - COMPREHENSIVE TESTS"
|
|
echo "============================================"
|
|
echo ""
|
|
|
|
# Check if Node.js is available
|
|
if ! command -v node &> /dev/null; then
|
|
echo "❌ Error: Node.js is not installed or not in PATH"
|
|
exit 1
|
|
fi
|
|
|
|
# Get the project root directory
|
|
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "$PROJECT_ROOT"
|
|
|
|
echo "📁 Project Root: $PROJECT_ROOT"
|
|
echo ""
|
|
|
|
# Run the comprehensive test
|
|
node tests/loop-comprehensive-test.js "$@"
|
|
|
|
# Exit with the test's exit code
|
|
exit $?
|