- conftest.py: enforce that @pytest.mark.skip requires an issue link in
the reason string; bare skips are converted to failures at report time.
Env-var-gated skipif conditions and quarantine-marked tests are exempt.
- pytest.ini: add --strict-markers and centralise asyncio/testpaths config.
- scripts/flake_detector.py: rolling JSON history + 95% consistency check;
exits non-zero when flaky tests are detected so CI can gate on it.
- tests/quarantine/: holding area for quarantined tests with README.
- docs/QUARANTINE_PROCESS.md: Prevention→Detection→Correction workflow
documenting when/how to quarantine, escalation (30-day rule), and
un-quarantine steps.
Fixes#1094
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>