A mechanism where a system detects its own errors and automatically refines its approach to fix them.