From ac15e2529d4dc91dd571b1cbc2f7fccdc1941b93 Mon Sep 17 00:00:00 2001 From: Devin Oldenburg Date: Wed, 8 Jul 2026 21:40:12 +0200 Subject: [PATCH] fix(transcript): prefix truncation marker Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- plugins/goal-mode/transcript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/goal-mode/transcript.js b/plugins/goal-mode/transcript.js index f7ef701..fc35116 100644 --- a/plugins/goal-mode/transcript.js +++ b/plugins/goal-mode/transcript.js @@ -36,7 +36,7 @@ export function formatTranscript(messages, maxChars = DEFAULT_MAX_CHARS) { const half = Math.floor(Math.max(1, maxChars) / 2); const head = out.slice(0, half); const tail = out.slice(-half); - out = `${head}\n\n...[transcript truncated — ${out.length} total chars, keeping first ${half} + last ${half}]\n\n${tail}`; + out = `…[transcript truncated — ${out.length} total chars, keeping first ${half} + last ${half}]\n\n${head}\n\n${tail}`; } return out; }