{
  "contract": "cloud-api-runtime-smoke",
  "environment": "dev",
  "projectId": "prj_cloud-api-runtime-smoke",
  "gatewaySession": {
    "gatewaySessionId": "gws_cloud-api-runtime-smoke",
    "projectId": "prj_cloud-api-runtime-smoke",
    "serviceId": "hwlab-gateway-simu",
    "gatewayId": "gtw_cloud-api-runtime-smoke",
    "endpoint": "http://127.0.0.1:7101",
    "status": "connected",
    "environment": "dev",
    "startedAt": "2026-05-21T00:00:00.000Z",
    "lastSeenAt": "2026-05-21T00:00:00.000Z",
    "labels": {
      "fixture": "cloud-api-runtime"
    }
  },
  "resource": {
    "resourceId": "res_cloud-api-runtime-smoke",
    "projectId": "prj_cloud-api-runtime-smoke",
    "gatewaySessionId": "gws_cloud-api-runtime-smoke",
    "boxId": "box_cloud-api-runtime-smoke",
    "resourceType": "board",
    "name": "cloud api runtime smoke board",
    "state": "available",
    "environment": "dev",
    "metadata": {
      "ports": ["shell0"]
    },
    "createdAt": "2026-05-21T00:00:00.000Z",
    "updatedAt": "2026-05-21T00:00:00.000Z"
  },
  "capability": {
    "capabilityId": "cap_cloud-api-runtime-smoke",
    "resourceId": "res_cloud-api-runtime-smoke",
    "projectId": "prj_cloud-api-runtime-smoke",
    "name": "shell.exec",
    "description": "Record a shell invoke request through the L1 cloud API runtime.",
    "direction": "bidirectional",
    "valueType": "object",
    "constraints": {
      "dispatch": "degraded-not-connected"
    },
    "mutatesState": true,
    "createdAt": "2026-05-21T00:00:00.000Z",
    "updatedAt": "2026-05-21T00:00:00.000Z"
  },
  "expected": {
    "healthStatus": "degraded",
    "dbStatusWhenEnvMissing": "blocked",
    "runtimeAdapter": "memory",
    "runtimeDurable": false,
    "shellDispatchStatus": "not_connected",
    "auditActions": [
      "gateway.session.register",
      "box.resource.register",
      "box.capability.report",
      "hardware.operation.request",
      "hardware.invoke.shell"
    ],
    "evidenceKind": "trace"
  }
}
