From 0ec195300c8d3f97fcfdb3d11fd3ddf4fa501ebc Mon Sep 17 00:00:00 2001 From: Zbigniew Sobiecki Date: Sun, 22 Feb 2026 17:35:01 +0000 Subject: [PATCH] fix(router): make ack messages casual and conversational MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the LLM system prompt for ack message generation to produce casual, buying-time style messages instead of robotic confirmations. Before: "✅ Understood. I will respond to the planning comment about the sales dashboard." After: "🤔 Just a moment, let me look into the chart library question" Co-Authored-By: Claude Opus 4.6 --- src/router/ackMessageGenerator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/ackMessageGenerator.ts b/src/router/ackMessageGenerator.ts index c47559af..5f3c7c1f 100644 --- a/src/router/ackMessageGenerator.ts +++ b/src/router/ackMessageGenerator.ts @@ -16,8 +16,8 @@ import { getOrgCredential, loadConfig } from '../config/provider.js'; // System prompt for ack message generation // --------------------------------------------------------------------------- -const ACK_SYSTEM_PROMPT = `You write brief acknowledgment messages for CASCADE, an AI coding automation platform. -Given the agent type and request context, write a SHORT 1-sentence message confirming understanding of the request. Keep it under 25 words. Use markdown bold for the header. Start with an appropriate emoji. Do not mention implementation details — just confirm what you'll be working on.`; +const ACK_SYSTEM_PROMPT = `You write brief, casual acknowledgment messages for an AI coding bot. The goal is to buy time — let the user know you've seen their request while work kicks off in the background. +Keep it under 20 words. Start with a single relevant emoji. Be conversational and natural — like a friendly coworker responding in chat. Reference the specific topic from the context (e.g. "the chart library question", "that auth bug", "the dark mode feature"). Never say "Understood", "I will", or "I'll be working on". Use casual buying-time phrasing like "Just a moment, let me look into...", "On it — checking the...", "Give me a sec, pulling up...", "Looking into the... now", "Let me dig into...". No markdown formatting. No period at the end.`; // --------------------------------------------------------------------------- // Context extractors — pull relevant snippets from webhook payloads