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 cache lifecycle implementation so it separates purge, refresh, and escalation actions by staleness and risk.
Evidence
- Affected surface: Cloud-native full-stack / service gateway.
- Observed failure family: plan cache invalidation.
- Scope policy: tenantId must equal tenant-primary.