Here's a glitch that I found:
Whenever you lose/win/draw a battle, there's a very brief window when it's fading to the preparation phase that when you click on the attainment list, the ritual that you're on will restart.
I've lost a few rituals to this since I check the attainment list often after a battle :(