From d3e6839b07bf8c99c25ab2a384f9d7772f63031f Mon Sep 17 00:00:00 2001 From: can1357 Date: Fri, 13 Feb 2026 14:23:59 +0100 Subject: [PATCH] fix(coding-agent/patch): removed misleading quickfix suggestions from stale ref error messages - Removed misleading quickfix suggestions from stale ref error messages. --- packages/coding-agent/src/patch/hashline.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/coding-agent/src/patch/hashline.ts b/packages/coding-agent/src/patch/hashline.ts index 7ea561181..de0a0b2bc 100644 --- a/packages/coding-agent/src/patch/hashline.ts +++ b/packages/coding-agent/src/patch/hashline.ts @@ -594,18 +594,6 @@ export class HashlineMismatchError extends Error { lines.push(` ${prefix}|${content}`); } } - - // Append quick-fix remap section - const remapEntries: string[] = []; - for (const m of mismatches) { - const actual = computeLineHash(m.line, fileLines[m.line - 1]); - remapEntries.push(`\t${m.line}:${m.expected} \u2192 ${m.line}:${actual}`); - } - if (remapEntries.length > 0) { - lines.push(""); - lines.push("Quick fix \u2014 replace stale refs:"); - lines.push(...remapEntries); - } return lines.join("\n"); } }