Antipatterns from Failure
When an action fails or produces a bad result, Hefty doesn't just recover - it remembers what went wrong. For example, if a sed command corrupted a file because of unescaped characters, Hefty saves that as an antipattern with a note about what to do differently.
These antipatterns are recalled when Hefty faces similar situations, so it actively avoids repeating mistakes.