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.