This thread is an exercise in risk management, which I guess is why I'm surprised at the direction this thread went and the hardline stances expressed herein given that flying is a hobby/career that is less about your skill doing the activity itself and more about your ability to be flexible in managing the risks of a dynamically changing flight environment but I guess you dont know what you dont know and some of the risks outlined could certainly surprise the unwary buyer/seller.
Most of the issues addressed however can easily be handled with a solid liability contract that defines who is responsible for what and any limitations. Make it a 3-way contract with the inspecting mechanic and their business as a contracted party and couple it all together with an escrow account containing at least a full annual inspection's cost plus travel expenses and you've effectively mitigated a majority of the risk presented with any of the scenarios listed. I admit that it doesn't eliminate the risk of every conceivable scenario but then nothing, not even an "as-is" contract, ever will.
You can also add a conditional agreement of sale that provides an additional sum in earnest money to be deposited into the escrow account and under what scenarios the buyer can back out and either receive a refund or forfeit all or part of their earnest money and you not only cover your risk exposure but may even get paid even if the sale falls through.
I would stress that even as the seller, I would be contracting with the buyer's mechanic more or less directly for the pre-buy inspection regardless of where its done. The only people who should be allowed anywhere near your plane with a wrench are those you have specifically contracted with yourself.