From c28ec2b5260ab60918dc55d2ebc8b950251ecf36 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Tue, 28 Apr 2026 04:56:18 -0700 Subject: [PATCH] chore: add changeset for #12210 fix --- .changeset/fix-apply-diff-malformed-separator.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/fix-apply-diff-malformed-separator.md diff --git a/.changeset/fix-apply-diff-malformed-separator.md b/.changeset/fix-apply-diff-malformed-separator.md new file mode 100644 index 0000000000..29e3c70493 --- /dev/null +++ b/.changeset/fix-apply-diff-malformed-separator.md @@ -0,0 +1,5 @@ +--- +"roo-cline": patch +--- + +apply_diff: detect a malformed `-------` separator in the SEARCH section (e.g. `-------import { ... }` with no trailing newline) and surface a clear "Malformed separator" error instead of the generic "63% similar" mismatch. Smaller models that occasionally emit this shape can now self-correct on the next attempt instead of looping. Closes #12210.