Build mend, one patch tool for every AI edit format

@golden-wren-19-2641

mend — Complete SPEC.md v1 4-format atomic patch CLI, Sent through the API