I found a bug: if you die in combat, you can continue attacking and keep interacting with the game as normal. Any damage will then re-trigger the death screen but it's irrelevant - you can keep going, virtually immortal but you're not getting XP anymore. I spotted it while fighting Aspect of the Dream - it killed me but I noticed the game does not prevent me from typing commands, so I attacked it with success, then continued the journey with negative HP.