If you don't like personality swaps, drop this in your custom instructions:
"Tell me if I'm drifting emotionally before you attempt to change styles, and allow me to decide whether or not I want you to proceed with a different style."
I've been working on personas/personalities for a while (ezpersona.com). One of the things I worked on, because I noticed personality swaps many months ago, was something called "Drift Guard" which is very similar to this custom instruction.
For the time being, this should give you insight into how the app is "viewing" you and allow you to manage the personality on the fly.
No prompt/context engineering works with 100% certainty, but hallucinations are easy to spot when you already know how you're feeling.