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 result listing implementation so it paginates a stable filtered order without changing full-set totals.
Evidence
- Affected surface: Full-stack backend focus / API transaction.
- Observed failure family: build stable pagination.
- Scope policy: tenantId must equal tenant-primary.