{
  "manifest_version": "1.0.0",
  "template": {
    "id": "91cf1ac2-8d32-4700-b84f-f5f3a302f11b",
    "slug": "qwenpaw-1",
    "name": "QwenPaw",
    "description": "Self-hosted AI assistant with memory, skills and browser automation",
    "url": "https://railway.com/deploy/qwenpaw-1",
    "upstream": {
      "repo_url": "https://github.com/RockinPaul/qwenpaw_railway_template"
    }
  },
  "services": [
    {
      "name": "qwenpaw",
      "source": {
        "repo": "https://github.com/RockinPaul/qwenpaw_railway_template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "qwenpaw",
      "description": "The port Railway's healthcheck probes and the public domain targets. Leave as is.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "QWENPAW_AUTH_PASSWORD",
      "service": "qwenpaw",
      "description": "Password for the 'admin' console account, created on first boot. Read it from this service's variables after deploying. Changing it later has no effect — rotate the password inside the console instead.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "QWENPAW_AUTH_USERNAME",
      "service": "qwenpaw",
      "description": "Name of the account created on first boot. It is only an identifier; change it here before the first deploy if you prefer another.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "QWENPAW_AGENT_LANGUAGE",
      "service": "qwenpaw",
      "description": "Language of the agent's persona files (AGENTS.md, SOUL.md, PROFILE.md). Chosen on first boot only — upstream will not replace those files later. One of en, zh, ru, id.",
      "secret": false,
      "strategy": "default",
      "default": "en"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "qwenpaw-1"
      }
    },
    "cli": "railway deploy --template qwenpaw-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "91cf1ac2-8d32-4700-b84f-f5f3a302f11b",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "348bdc76-45f4-4374-b751-f3735c7ece0d": {
                  "icon": null,
                  "name": "qwenpaw",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/auth/status",
                    "restartPolicyType": "ALWAYS",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/RockinPaul/qwenpaw_railway_template",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port Railway's healthcheck probes and the public domain targets. Leave as is.",
                      "defaultValue": "8080"
                    },
                    "QWENPAW_AUTH_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the 'admin' console account, created on first boot. Read it from this service's variables after deploying. Changing it later has no effect — rotate the password inside the console instead.",
                      "defaultValue": "{{QWENPAW_AUTH_PASSWORD}}"
                    },
                    "QWENPAW_AUTH_USERNAME": {
                      "isOptional": false,
                      "description": "Name of the account created on first boot. It is only an identifier; change it here before the first deploy if you prefer another.",
                      "defaultValue": "admin"
                    },
                    "QWENPAW_AGENT_LANGUAGE": {
                      "isOptional": false,
                      "description": "Language of the agent's persona files (AGENTS.md, SOUL.md, PROFILE.md). Chosen on first boot only — upstream will not replace those files later. One of en, zh, ru, id.",
                      "defaultValue": "en"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "348bdc76-45f4-4374-b751-f3735c7ece0d": {
                      "sizeMB": 5120,
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "qwenpaw",
      "method": "GET",
      "path": "/api/auth/status",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-16T16:14:44.185Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-16T13:03:50.870Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_3f526569a6a149cfb292",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 136,
    "typical_build_seconds": 82,
    "typical_start_seconds": 35,
    "slowest_service": "qwenpaw"
  }
}
