A service boundary accepts valid traffic but mishandles duplicate, stale, or unauthorized records. The affected area is async endpoint.
Repair the async endpoint data migration implementation so it selects safe work under row and risk capacity while explaining skipped candidates.
Evidence
- Affected surface: FastAPI / async endpoint.
- Observed failure family: plan migration batches.
- Scope policy: tenantId must equal tenant-primary.