Keeping track of (the latest) completed layers

What is the problem?

I recently had a power failure during a longer lasting print and I noticed it too late.
I wonder whether there is a plug-in available that keeps track of the (latest) printed layer so that I can intervene after power failure and slice the object again with the "not printed" layers.
*** I know that a solution wouldn't be easy but I think that would be the only solution (in this case) ***

Systeminfo Bundle

octoprint-systeminfo-20240210233552.zip (674.2 KB)

Additional information about your setup

OctoPrint v 11.1.2, OctoPi Build 2023.05.23.082504 , Ender-3, Chromium, Linux Mint 22.1

Thanks in advance

PS: I'm hoping this is the right spot to post my question.