Files
pikasTech-HWLAB/protocol/examples/runtime-boundary/guard.dev.json
T
Lyon 357a68bb95 fix: layer dev DB readiness evidence
Refs #49

Merged by commander after reviewing Code Queue task codex_1779422762669_1. Adds redacted DB readiness layering and refreshes DEV endpoint/report evidence. Follow-up: deploy/verify the new readiness probe in DEV via standard image CI/CD.
2026-05-22 12:27:01 +08:00

105 lines
2.8 KiB
JSON

{
"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.json",
"environment": "dev",
"namespace": "hwlab-dev",
"prodProfileEnabled": false,
"requiredServiceIds": [
"hwlab-cloud-api",
"hwlab-cloud-web",
"hwlab-agent-mgr",
"hwlab-agent-worker",
"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-agent-mgr",
"hwlab-agent-worker",
"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-agent-mgr",
"hwlab-agent-worker",
"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-agent-mgr",
"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"
]
}
}