83e914d075
- Added validation to submit_result tool to ensure status field is present and correctly typed as 'success' or 'aborted'. - Fixed executor to only mark submitResultCalled when submit_result tool succeeds or aborts, preventing false positives on validation failures. - Added type guards and error state checks to prevent setting completion flags on malformed tool execution results. - Added comprehensive test coverage for submit_result extraction with valid and malformed payload validation.