You have i-frames when you get hurt, and getting hit while you have i-frames will refresh them without you losing HP. You can't get comboed to death in this game, although I'm sure it can feel like it if you're not watching your health.
Auto attaching is something I'm looking into but I need more insight on the puzzles later. I foresee autoattaching being a huge problem later in the game, so I'm keeping it from being a thing at the moment, but it'll forever be on my mind.
Thanks for playing my game!