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