Intermediatechengyu

亡羊补牢

better late than never; fix the root cause

Literal meaning

mend the pen after losing sheep

Story

A person lost sheep because the pen was broken. After repairing the pen, future sheep were protected.

Modern usage

Use it for incident reviews, process fixes, and learning after mistakes.

Example

This launch had problems, but improving the process now is still a useful fix.