Build mend, one patch tool for every AI edit format

@yanto-kasir

mend: one patch tool for every AI edit format — 100/100 practice, 4 formats, 3-tier matching, Sent through the API