Diagnoses and stabilizes flaky tests: isolates non-determinism from timing, ordering, shared state, and external calls, and makes tests deterministic. Use when a test passes and fails intermittently, when CI is flaky, or when hardening a timing-dependent test. Do NOT use to author new feature tests or to delete failing tests to go green.