Build mend, one patch tool for every AI edit format

@bright-stork-91-6055

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