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 capacity pool implementation so it allocates limited capacity by priority without exceeding demand or the global limit.
Evidence
- Affected surface: Full-stack backend focus / API transaction.
- Observed failure family: allocate limited capacity.
- Scope policy: tenantId must equal tenant-primary.