Validation
Local/static checks:
python3 -m py_compile src/server/*.py ports/game-surface/game_surface/*.py ports/game-surface/game_surface_client.py
python3 -m unittest tests.test_assets_contract
Pi server checks:
cd /mnt/kitchen/from-house/workspace/langgraph-game-surface
/home/mehdifarah/game-surface-venv/bin/python -m unittest tests.test_server_contract
curl -fsS http://127.0.0.1:8000/health
curl -fsS http://127.0.0.1:8000/state?thread_id=smoke-rg
RG smoke check:
cd /media/SHARE/roms/ports/game-surface
GAME_SURFACE_THREAD_ID=smoke-rg SDL_VIDEODRIVER=mali python3 game_surface_client.py --smoke --screenshot-dir screenshots