A cross-layer workflow passes unit tests but breaks when client, API, and persistence state arrive in a different order. The affected area is audit pipeline.
Repair the audit pipeline performance telemetry implementation so it computes a fixed-width rolling average in event order.
Evidence
- Affected surface: Full-stack backend focus / audit pipeline.
- Observed failure family: compute rolling metrics.
- Scope policy: contractVersion must equal 2.