Expand test coverage for agentic editing
Unit tests: add atomicity guarantee (second op fails → first file
untouched), trailing whitespace tolerance, multi-line search/replace,
multiple edits to same file, write overwrite, diffs summary.
E2E tests: add multi-file patch, multiple URLs, empty/malformed/
unparseable body → 400, non-POST passthrough, runtime error detection,
durationMs assertion.