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