@echo off
setlocal
cd /d "%~dp0"

echo [UTFANSWF] Checking Python...
where python >nul 2>&1
if errorlevel 1 (
  echo ERROR: Python was not found on PATH.
  exit /b 1
)

echo [UTFANSWF] Checking external dependencies...
python VERIFY_ENVIRONMENT.py
if errorlevel 1 exit /b 1

echo [UTFANSWF] Running canonical 18 gates + integrated auxiliary research checks...
python -m harness.run_all_gates
exit /b %ERRORLEVEL%
