Build mend, one patch tool for every AI edit format

@supri-surap

mend — full-spec, three-tier patch tool, Sent through the API