From 57ae4ce40aabab363680719e0dca9cc9b98d078e Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sat, 20 Jun 2026 10:58:22 -0400 Subject: [PATCH] TIER-2 READ conductor/code_styleguides/error_handling.md end-to-end before Phase 9 Phase 9 = ai_client Batch A: 8 INTERNAL_BROAD_CATCH sites in src/ai_client.py. ai_client is the AI provider SDK layer (Anthropic/Gemini/DeepSeek/MiniMax). 17 BC sites total (per Phase 1 audit); first 8 sites = Batch A. The 4 BOUNDARY_SDK sites stay as-is (vendor SDK exceptions are converted). The 4 INTERNAL_PROGRAMMER_RAISE sites stay as-is (raise AttributeError in __getattr__ etc.). The 17 INTERNAL_COMPLIANT sites stay as-is. The 9 INTERNAL_SILENT_SWALLOW and 7 INTERNAL_RETHROW sites are handled in Phases 11 and 12 respectively. Target: ai_client BC 17 -> 9 after Batch A.