Same! I actually have some comments in my codebase now like this one:
# Note: This is inefficient, but deterministic and predictable. Previous
attempts at improvements led to hard-to-predict bugs and were
scrapped. TODO improve this function when AI gets better
I don't love it or even like it, but it is realistic.
1) that AI will be more advanced in the future
2) that the AI I am using will be worse in the future