> If you start something new from this code and it becomes successful, guess who is going to come out of the woodwork and want a portion of it?
This is literally the reason lawyers exist. It’s not hard to draft up an agreement where the former co-founder transfers all rights and ownership and relinquishes any claim to the technology.