The simplist advice I can give you is to agree who is in command before the flight. If you can't agree that, then don't go flying together.
Looking at your log book a year later, and wondering were you actually the commander of a flight that you though you weren't commander of at the time, is a bit silly really.