#!/usr/bin/env bash set -euo pipefail ROOT="/root/projects/website-builder-backend-clean" cd "$ROOT" echo "========================================" echo "Dolor3V Runtime Verification" echo "========================================" echo echo "[1/10] Compile backend..." python3 -m compileall backend echo echo "[2/10] Verify gateway..." python3 - <<'PY' from backend.llm.gateway import LLMGateway g=LLMGateway() print(type(g).__name__) PY echo echo "[3/10] Verify orchestrator..." python3 - <<'PY' from backend.agents.orchestrator import Orchestrator o=Orchestrator() print(type(o).__name__) PY echo echo "[4/10] Verify FastAPI..." python3 - <<'PY' import backend.main print("Dolor3V:",hasattr(backend.main.app.state,"dolor3v")) PY echo echo "[5/10] Verify provider registry..." python3 - <<'PY' from pathlib import Path for p in sorted(Path("backend/llm/providers").glob("*.py")): if p.name!="__init__.py": print(p.name) PY echo echo "[6/10] Verify MCP..." find backend/mcp -type f | wc -l echo echo "[7/10] Verify agents..." find backend/agents -type f | wc -l echo echo "[8/10] Verify builder..." find backend/builder -type f | wc -l echo echo "[9/10] Verify workspace..." find backend/workspace -type f | wc -l echo echo "[10/10] Imports..." python3 verify_import.py echo echo "========================================" echo "Dolor3V Runtime Verified" echo "========================================"