On through-checked baggage, USDOT regulations require the marketing carrier of the initial segment baggage rules apply to USA originating (or ending, iirc) flights. E.g. flying QF as an AA codeshare, or QF connecting from AA marketed by AA, AA rules would apply. These take precedent of IATA rules if travel begins (or ends) in the USA.