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 lifecycle transitions implementation so it accepts only declared state transitions and reports rejected requests.
Evidence
- Affected surface: Full-stack backend focus / audit pipeline.
- Observed failure family: validate state transitions.
- Scope policy: contractVersion must equal 2.