"The rules my AI coding agent is not allowed to break"

How a pile of repeated corrections became the rulebook I load into every coding agent, and what writing it down taught me about my own code