It sounds to me, OP, that this is the "Top Dog" wanting you to belly up and show her you know she is alpha. It has nothing to do with your conduct. It is a test that you know she is the alpha. Roll, over, show your belly, and she may back off. Write a note that says that you are memorializing the conversation and want to work with her more productively in the future.
If this goes on constantly, then you need to leave.