A cross-layer workflow passes unit tests but breaks when client, API, and persistence state arrive in a different order. The affected area is service gateway.
Repair the service gateway capacity pool implementation so it allocates limited capacity by priority without exceeding demand or the global limit.
Evidence
- Affected surface: Cloud-native full-stack / service gateway.
- Observed failure family: allocate limited capacity.
- Scope policy: tenantId must equal tenant-primary.