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