gate-authoring

Author or tighten a mechanical gate so a defect class cannot recur. Use after fixing a bug whose class will return, or when a review found a contract nothing enforces.