Your comment won't appeal to the capitalism-oriented audience of HN but you're right; so right in fact I believe a lot of this is already done.
Usually there is sharing between NASA and all private launch companies when it comes to failures, because they have a vested interest in the outcome of the rockets due to flying payloads on them (someone name me a US rocket that NASA _hasn't_ flown a payload on).
I don't disagree that I think the information sharing could be amped up little, though.