Self-host preflight
Before starting the first assessment on a new or changed deployment, run the API preflight diagnostic. It checks dependencies that the normal readiness probe does not gate: S3/MinIO, Flagship/flagd, runner gRPC, Polar billing when configured, and required API secrets.
docker compose run --rm api aisafe-api preflight
The command prints one line per check:
PASSmeans the dependency responded correctly.FAILmeans the deployment needs attention before running assessments.SKIPmeans the dependency is optional or checked by another service.
The process exits 0 only when every required check passes. Use that exit code
as a deploy gate in CI or automation.