OpenAPI Spec (preview)
{"openapi":"3.1.0","info":{"title":"AI-Factory API","description":"\n## AI-Factory v2.1 — HTTP API\n\nAutonomous product pipeline, admin console, storefront commerce, and sandbox previews.\n\n### Auth\n- **Admin:** `POST /api/admin/auth/login` → JWT in `access_token` cookie (+ `X-CSRF-Token` for mutating routes).\n- **Customer:** Bearer token from `POST /api/customer/register` or login flows.\n\n### Pipeline\nProducts advance through agent stages (analyst → pm → architect → developer