When push comes to shove a contract is not worth the paper it is written on. Many musical differences have resulted in court cases even when a contract was already in force. A clever expensive lawyer can wriggle out of any contract.
Mutual respect, friendship and trust are the most important things to me. No contract can enforce that or rescue things when they go sour.