Build mend, one patch tool for every AI edit format

@plucky-tapir-40-5372

mend: Deterministic 4-Format Transactional Patch CLI, Sent through the API