{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9f962cef-0ce3-4d6e-8980-f66a6f84866b",
    "slug": "paperclip-oct-26",
    "name": "Paperclip [Oct '26]",
    "description": "AI agent orchestration: teams, budgets, governance + Postgres. [Oct '26]",
    "url": "https://railway.com/deploy/paperclip-oct-26"
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "postgres",
      "source": {
        "image": "wotonews/postgres:v18.6-1"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "paperclip",
      "source": {
        "image": "wotonews/paperclip:v2026.1005.0-4"
      },
      "needs_volume": true,
      "volume_mount_path": "/paperclip",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_URL",
      "service": "paperclip",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "paperclip",
      "description": "Provide a value for BETTER_AUTH_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "paperclip-oct-26"
      }
    },
    "cli": "railway deploy --template paperclip-oct-26",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9f962cef-0ce3-4d6e-8980-f66a6f84866b",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "8269ebc8-5c73-446a-b1b6-8fe1ecf0cede": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "wotonews/postgres:v18.6-1"
                  },
                  "variables": {
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "8269ebc8-5c73-446a-b1b6-8fe1ecf0cede": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "ebbf9c80-a505-446c-b383-68f0dae603f4": {
                  "icon": null,
                  "name": "paperclip",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "wotonews/paperclip:v2026.1005.0-4"
                  },
                  "variables": {
                    "DATABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "postgres://app:${{postgres.POSTGRES_PASSWORD}}@${{postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/app"
                    },
                    "BETTER_AUTH_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{BETTER_AUTH_SECRET}}"
                    }
                  },
                  "volumeMounts": {
                    "ebbf9c80-a505-446c-b383-68f0dae603f4": {
                      "mountPath": "/paperclip"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-30T10:14:56.137Z",
  "generator_version": "0.1.0"
}
