A cross-layer workflow passes unit tests but breaks when client, API, and persistence state arrive in a different order. The affected area is search experience.
Repair the search experience reporting metrics implementation so it groups records once and returns accurate counts and totals.
Evidence
- Affected surface: Balanced full-stack / search experience.
- Observed failure family: aggregate grouped totals.
- Scope policy: authorized must equal true.