The coding agent's session that caused this incident, replayed with the post-mortem's rule added to its instructions. Did the rule stop the bad change?
Suggested fix, from the post-mortem
Modification type
No replay results yet
Apply a modification and run the replay