2 Commits

  • Fix Docker tests to achieve 100% on 2/3 installation methods
    Major fixes:
    - Fixed Claude Code verification (was checking 'claude-code', now checks 'claude')
    - Fixed volume mount paths (use absolute path /tmp/claude-repo for runtime)
    - Fixed agents copy path (removed incorrect /agents/ subdirectory)
    - Fixed critical agent paths (studio-coach in bonus/, not project-management)
    - Added expect package for interactive installer automation
    - Fixed test count aggregation to read from individual result files
    
    Test Results (after fixes):
     Manual Installation: 27/27 passing (100%)
     Master Prompt Installation: 15/15 passing (100%)
    ⚠️  Interactive Installer: 7/13 passing (54% - expect automation issue)
    
    Note: Interactive installer works fine for manual testing, just difficult
    to automate with expect scripts due to prompt matching complexity.
  • Add comprehensive Docker test environment for installation validation
    Add complete Docker testing infrastructure to validate all 3 installation methods
    
    Features:
    - Dockerfile: Ubuntu 22.04 with Node.js 20, Python 3, prerequisites
    - docker-compose.yml: Orchestrate 3 test containers + verification
    - Test suite with 5 scripts:
      * common.sh: Shared utilities and verification functions
      * test-interactive-install.sh: Test Option 2 (interactive installer)
      * test-master-prompt-install.sh: Test Option 1 (master prompt)
      * test-manual-install.sh: Test Option 3 (manual installation)
      * verify-all-installations.sh: Master verification with report generation
    - run-tests.sh: Quick start script for easy test execution
    
    What Gets Tested:
    ✓ Prerequisites (Node.js, npm, Python, Git, jq)
    ✓ Claude Code installation and version
    ✓ Settings files (settings.json, settings.local.json)
    ✓ 38 agents across 8 departments
    ✓ MCP tools (@z_ai/mcp-server, @z_ai/coding-helper, llm-tldr)
    ✓ UI/UX Pro Max skill
    ✓ Ralph CLI (optional, can be enabled)
    
    Test Results:
    - Saved to docker/test-env/test-results/
    - Detailed logs for each test method
    - Component verification counts
    - Comprehensive final report with pass/fail status
    
    Usage:
    cd docker/test-env
    ./run-tests.sh
    
    Or manually:
    docker-compose up verify-all
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>