{
  "manifest_version": "1.0.0",
  "template": {
    "id": "168f4cc6-70da-492d-96a4-7b6315d7256f",
    "slug": "roko",
    "name": "roko",
    "description": "Self-building agent orchestration control plane",
    "url": "https://railway.com/deploy/roko",
    "upstream": {
      "image": "wpank/roko:latest"
    }
  },
  "services": [
    {
      "name": "wpank/roko:latest",
      "source": {
        "image": "wpank/roko:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/workspace/.roko",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "wpank/roko:latest",
      "description": "Railway injects this",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "RUST_LOG",
      "service": "wpank/roko:latest",
      "description": "Log level",
      "secret": false,
      "strategy": "default",
      "default": "info"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "roko"
      }
    },
    "cli": "railway deploy --template roko",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "168f4cc6-70da-492d-96a4-7b6315d7256f",
            "serializedConfig": {
              "services": {
                "f6e69462-96ef-47a6-bcc0-1ec49c5b90c9": {
                  "name": "wpank/roko:latest",
                  "source": {
                    "image": "wpank/roko:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Railway injects this",
                      "defaultValue": "3000"
                    },
                    "RUST_LOG": {
                      "isOptional": false,
                      "description": "Log level",
                      "defaultValue": "info"
                    }
                  },
                  "volumeMounts": {
                    "f6e69462-96ef-47a6-bcc0-1ec49c5b90c9": {
                      "mountPath": "/workspace/.roko"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "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-20T13:28:42.739Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_00e84f25a49048a5ac01",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 73,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "wpank/roko:latest"
  }
}
