Private
Public Access
0
0

TIER-2 READ conductor/code_styleguides/error_handling.md end-to-end before Phase 8

Re-read lines 462-540 (The Broad-Except Distinction), lines 625-690 (Re-Raise
Patterns), and the AI Agent Checklist. CRITICAL anti-sliming protocol:

Phase 8 = mcp_client silent-swallow + UNCLEAR (6 sites):
  - 5 INTERNAL_SILENT_SWALLOW sites (bare-except or except+pass patterns)
  - 1 UNCLEAR site
Plus 3 nested BC cleanup (1 _search_file in py_find_usages_result + 2 trace
in derive_code_path_result).

RULES (anti-sliming):
  - NO narrowing+logging (narrow + sys.stderr.write / logging.error = STILL violation)
  - NO silent recovery (except: pass = SILENT_SWALLOW violation)
  - MUST use full Result[T] propagation up to a true drain point
  - Logging is NOT a drain (per user's principle 2026-06-17)
This commit is contained in:
2026-06-20 10:33:36 -04:00
parent 6aa5b9fa57
commit b037a8129f

Diff Content Not Available