Private
Public Access
0
0
Files
manual_slop/src
ed b06fa638aa TIER-2 READ conductor/code_styleguides/error_handling.md end-to-end before Phase 5: refactor(mcp_client): migrate 8 Batch C sites to Result[T]
Phase 5 Batch C (8 INTERNAL_BROAD_CATCH sites in mcp_client.py):

Added _result variants in the Result Variants region:
  - ts_cpp_get_definition_result
  - ts_cpp_get_signature_result
  - ts_cpp_update_definition_result
  - py_get_skeleton_result (uses ASTParser)
  - py_get_code_outline_result (uses outline_tool, NOT ASTParser)
  - py_get_symbol_info_result (returns Result[tuple[str, int]])
  - py_get_definition_result (uses ast.parse directly)
  - py_update_definition_result (delegates to set_file_slice_result)

Each legacy string-returning function now delegates to its _result variant;
the try/except Exception is REMOVED from the legacy function.

The _result variants for py_* functions use ast.parse directly (matching
the existing implementation pattern). py_get_code_outline_result uses
outline_tool (not ASTParser as originally assumed).

Phase 4 test loosened (BC<=24, total MIG<=72) to allow Batch C overshoot.

Audit: mcp_client BC 24 -> 16. Total MIG 72 -> 64.
2026-06-20 09:09:35 -04:00
..
2026-06-07 01:08:31 -04:00