An operational alert points to a contract bug that appears only under mixed production data. The affected area is tenant gateway.
Repair the tenant gateway reporting metrics implementation so it groups records once and returns accurate counts and totals.
Evidence
- Affected surface: Fastify / tenant gateway.
- Observed failure family: aggregate grouped totals.
- Scope policy: contractVersion must equal 2.