four gates and a bounded repair loop
A non-zero exit is never success; every failure names the gate and the supported repair.