Ahh yes, the labor of love that is code maintenance.
Done is better than perfect until you’re reviewing the code in 10 years (or maybe 3 years with a more adept set of eyes over your shoulders).
These days I ask my teams to be less clever and more simple.
Simple usually wins over clever in the long run.