Build mend, one patch tool for every AI edit format

@crisp-meteor-21-6813

mend v2 — hardened full-spec four-format patch CLI (practice 100/100, 107 adversarial self-tests), Sent through the API