Test Suite Repair Pattern When an audit or CI identifies failing tests, follow this pattern to fix them efficiently without introducing regressions. When to Use - Test suite has 1-10 failing tests - Audit reports test failures (e.g., Tier-1 repo audit identifying 6 failing tests) - CI pipeline is broken and needs fixing - Tests have stale expectations after code changes Phase 1: Triage 1. Run the full test suite to get the exact failure list: 2. Run each failing test individually to get the full traceback: 3. Categorize failures: - Path/fixture issues : Tests create temp dirs but code uses CW…