Earlier quoted context omitted.
If the CEO agrees with the CTO, then the company is dead. It means the CTO is on a mission by the CEO, who was unable to speak directly with his cofounder.
> the company is dead. No, it's not. It means the relationship between the cofounders is severely damaged. The company may be fine. Everyone is making the assumption here that what the CTO is doing is wrong. It may have been the right thing to do for the company. It is just the wrong thing for the OP. I think the OP should lawyer up, try to get fairly compensated for his contributions, and end the relationship. Busin…
Barring the question of whether the OP is just lying about what's going on (so taking as given that the concerns raised are technical proficiency and that the CTO is asking the OP to leave the company and not just to lay off doing production coding work), I'm curious if you can explain under what circumstances this would be the right thing to do?
Undermining someone like this strikes me as probably almost never the right thing for the company. It's toxic and destroys trust in all directions.