انتقل إلى المحتوى الرئيسي

Variable: PLATFORM_HOST_LABELS

const PLATFORM_HOST_LABELS: readonly ["identity", "agents", "api", "admin", "id", "docs", "api-console", "setup"]

Defined in: packages/contracts/src/schemas/federation.ts:72

The labels directly beneath a deployment's domain that the platform serves itself: api.<domain>, admin.<domain> and so on, as the edge's site list has them (infra/edge/Caddyfile), plus agents, which D3.2 reserves for protocol hosts.

It is here so the modules that must keep a tenant's name away from the platform's own have one list to read. It is not the edge's configuration and nothing generates the Caddyfile from it: a site added to the edge is added here by hand, in the same change. identity is in it because every organisation's own host sits beneath that label (<slug>.identity.<domain>, D2.7), so no organisation may be named identity itself.