A cross-layer workflow passes unit tests but breaks when client, API, and persistence state arrive in a different order. The affected area is API transaction.
Repair the API transaction activity stream implementation so it splits activity after the configured inactivity gap and counts sessions per actor.
Evidence
- Affected surface: Full-stack backend focus / API transaction.
- Observed failure family: sessionize event activity.
- Scope policy: tenantId must equal tenant-primary.