Private
Public Access
0
0
Files
manual_slop/tests
ed 84b7a6937d test(baseline): add 3 Phase 9 invariant tests (ai_client Batch A complete)
TIER-2 READ conductor/code_styleguides/error_handling.md end-to-end before Phase 9.

Phase 9 Batch A migrated 8 sites in src/ai_client.py:
  - 2 _classify_*_error functions: bare except: -> except (ValueError, AttributeError)
  - set_provider: except Exception -> except (OSError, ValueError)
  - set_tool_preset: except Exception -> except (OSError, ValueError, AttributeError)
  - set_bias_profile: except Exception -> except (OSError, ValueError, AttributeError)
  - _execute_tool_calls_concurrently x2 (deepseek + minimax): bare except -> except (ValueError, TypeError)
  - _reread_file_items: except Exception -> except (OSError, UnicodeDecodeError)

Total tests: 28 pass (4 Phase 1 + 3 Phase 2 + 3 Phase 3 + 3 Phase 4 + 3 Phase 5 +
3 Phase 6 + 3 Phase 7 + 3 Phase 8 + 3 Phase 9).

Note: sites 4-5 (set_tool_preset, set_bias_profile) became narrow+log patterns
(SILENT_SWALLOW violation per anti-sliming) — will be addressed in Phase 11.
2026-06-20 11:11:05 -04:00
..