A service boundary accepts valid traffic but mishandles duplicate, stale, or unauthorized records. The affected area is application factory.
Repair the application factory tests implementation so it classifies stable, flaky, and consistently failing tests from repeated independent runs.
Evidence
- Affected surface: Flask / application factory.
- Observed failure family: triage an unreliable test suite.
- Scope policy: tenantId must equal tenant-primary.