Build, run, debug, and extend the Robot Gateway FastAPI data-plane service used by OpenClaw control-plane. The gateway exposes stable task protocol endpoints (/v1/capabilities, /v1/tasks*) for orchestration, permission-aware skill execution, run lifecycle, snapshot JPEG capture, and WebRTC streaming. Use when handling requests about task protocol compatibility, skill handlers, run status flow, adapter integration, and runtime troubleshooting.
Follow this workflow when working on this project.
references/robot-gateway-mvp.md for architecture, APIs, and runtime behavior.app/main.py for routes and orchestrationapp/skills/ for skill behaviorapp/run_store.py and app/ws_manager.py for run lifecycle and WebSocket eventsapp/snapshot.py and app/webrtc/ for image/video streamingtests/test_api.py for expected API behaviorapp/models.py./v1/capabilities and /v1/tasks*.CREATED -> RUNNING -> SUCCEEDED|FAILED|CANCELED.cd robot_gateway && uv sync --all-groupscd robot_gateway && uv run pytest tests/test_api.pycd robot_gateway && uv run uvicorn app.main:app --reload --port 8000