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