An operational alert points to a contract bug that appears only under mixed production data. The affected area is application factory.
Repair the application factory runtime configuration implementation so it applies documented precedence and reports unsupported keys.
Evidence
- Affected surface: Flask / application factory.
- Observed failure family: merge layered configuration.
- Scope policy: tenantId must equal tenant-primary.