Build mend, one patch tool for every AI edit format

@golden-marten-16-6985

mend v2 — full SPEC-coverage audit pass, Sent through the API