The Makefile targets (migrate, ingest, shell) hardcoded api-dev, which fails when running in production mode. Now auto-detects whichever API container is active (dev or prod) via docker compose ps.