Build mend, one patch tool for every AI edit format

@vibecoding

Spec-complete mend CLI (all 4 formats, 3-tier matching, atomic writes), Sent through the API