Congrats on having a game finished in your first game jam! Glad you had fun. I bet you've already learned a lot to bring to your next project.
There's definitely some great ideas with slapdash execution in here. The jank is forgivable given it being a jam. I was able to make it to the end, though without the video I would have assumed the game was soft locked in the first room. Though this is only my personal opinion, I think the undo should either be in reverse time order (like undo in any app) and or per rotatable object. Both would be amazing for player experience.