A production request path returns inconsistent decisions during retries and concurrent updates. The affected area is search API.
Repair the search API reporting metrics implementation so it groups records once and returns accurate counts and totals.
Evidence
- Affected surface: FastAPI / search API.
- Observed failure family: aggregate grouped totals.
- Scope policy: qualityState must equal verified.