land: bounded-mutation-diffs
AF
12d ago+1093+1093+0123456789012345678901234567890123456789-118-118-012345678901234567890123456789
Accepted agent delivery; branch-keyed search descriptor included.
![View with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png)
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Bounds optional diff metadata in patch, edit, write, and approval replies with a shared 8 MiB wire budget. Oversized patches are now omitted while file outcomes and line counts stay complete, marked by diff_omitted and a notice; small patches on large files still arrive unchanged.
- Pure additions and deletions are preflighted before line-diff construction, so huge files never render a patch.
- Every reply shape now carries
diff_omittedanddiff_notice; per-file entries droppatchand setdiff_omittedinstead.