{
  "manifest_version": "1.0.0",
  "template": {
    "id": "32767e76-20cd-4210-b338-3e1600ce360a",
    "slug": "alphaclaw-latest",
    "name": "AlphaClaw",
    "description": "Deploy and Host AlphaClaw with Railway",
    "url": "https://railway.com/deploy/alphaclaw-latest",
    "upstream": {
      "repo_url": "https://github.com/arloodots/alphaclaw"
    }
  },
  "services": [
    {
      "name": "AlphaClaw",
      "source": {
        "repo": "https://github.com/arloodots/alphaclaw"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "AlphaClaw",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "WEBHOOK_TOKEN",
      "service": "AlphaClaw",
      "description": "Provide a value for WEBHOOK_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SETUP_PASSWORD",
      "service": "AlphaClaw",
      "description": "Provide a value for SETUP_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "AlphaClaw",
      "description": "Provide a value for OPENCLAW_GATEWAY_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "alphaclaw-latest"
      }
    },
    "cli": "railway deploy --template alphaclaw-latest",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "32767e76-20cd-4210-b338-3e1600ce360a",
            "serializedConfig": {
              "services": {
                "eb736356-0fab-4666-9016-207e198ac977": {
                  "name": "AlphaClaw",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "arloodots/alphaclaw",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "3000"
                    },
                    "WEBHOOK_TOKEN": {
                      "defaultValue": "{{WEBHOOK_TOKEN}}"
                    },
                    "SETUP_PASSWORD": {
                      "defaultValue": "{{SETUP_PASSWORD}}"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "eb736356-0fab-4666-9016-207e198ac977": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "AlphaClaw",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T01:01:40.919Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_e46ef561b9c54d2ca55d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 112,
    "typical_build_seconds": 71,
    "typical_start_seconds": 11,
    "slowest_service": "AlphaClaw"
  }
}
