{
  "guard": "hwlab-runtime-boundary",
  "schemaVersion": "v1",
  "environment": "dev",
  "endpoint": "http://74.48.78.17:16667",
  "namespace": "hwlab-dev",
  "scope": "static-runtime-boundary",
  "policy": {
    "runtimeSubstitution": "forbidden",
    "prodDeployment": "forbidden",
    "realDevDeployment": "out_of_scope",
    "allowedUniDeskRoles": [
      "ci",
      "cd",
      "code_queue_scheduling"
    ],
    "forbiddenRuntimeSubstitutes": [
      "unidesk-backend",
      "provider-gateway",
      "microservice-proxy"
    ]
  },
  "requiredManifest": {
    "path": "deploy/deploy.yaml",
    "environment": "dev",
    "namespace": "hwlab-dev",
    "prodProfileEnabled": false,
    "requiredServiceIds": [
      "hwlab-cloud-api",
      "hwlab-cloud-web",
      "hwlab-gateway",
      "hwlab-gateway-simu",
      "hwlab-box-simu",
      "hwlab-patch-panel",
      "hwlab-router",
      "hwlab-tunnel-client",
      "hwlab-edge-proxy",
      "hwlab-cli",
      "hwlab-agent-skills"
    ]
  },
  "requiredHealthContract": {
    "path": "deploy/master-edge/health-contract.json",
    "reverseLink": {
      "mode": "frp",
      "direction": "d601-to-master",
      "client": "hwlab-tunnel-client"
    },
    "requiredContractServiceIds": [
      "hwlab-edge-proxy",
      "hwlab-router",
      "hwlab-tunnel-client",
      "hwlab-cloud-api",
      "hwlab-cloud-web",
      "hwlab-gateway-simu",
      "hwlab-box-simu",
      "hwlab-patch-panel"
    ]
  },
  "requiredK3sSkeleton": {
    "workloadsPath": "deploy/k8s/base/workloads.yaml",
    "servicesPath": "deploy/k8s/base/services.yaml",
    "devKustomizationPath": "deploy/k8s/dev/kustomization.yaml",
    "devHealthContractPath": "deploy/k8s/dev/health-contract.yaml",
    "prodKustomizationPath": "deploy/k8s/prod/kustomization.yaml",
    "prodDisabledPath": "deploy/k8s/prod/prod-disabled.yaml",
    "requiredWorkloadServiceIds": [
      "hwlab-cloud-api",
      "hwlab-cloud-web",
      "hwlab-gateway",
      "hwlab-gateway-simu",
      "hwlab-box-simu",
      "hwlab-patch-panel",
      "hwlab-router",
      "hwlab-tunnel-client",
      "hwlab-edge-proxy",
      "hwlab-cli",
      "hwlab-agent-skills"
    ],
    "requiredServiceServiceIds": [
      "hwlab-cloud-api",
      "hwlab-cloud-web",
      "hwlab-gateway",
      "hwlab-cli",
      "hwlab-agent-skills",
      "hwlab-gateway-simu",
      "hwlab-box-simu",
      "hwlab-patch-panel",
      "hwlab-router",
      "hwlab-tunnel-client",
      "hwlab-edge-proxy"
    ]
  },
  "validation": {
    "script": "scripts/validate-runtime-boundary.mjs",
    "commands": [
      "node --check scripts/validate-runtime-boundary.mjs",
      "node scripts/validate-runtime-boundary.mjs"
    ]
  }
}
