/** * System prompt snippets for the ask_user tool. * * Provided to the tool definition so the default system prompt describes the tool * and guides the LLM on when and how to use it. */ export const promptSnippet = "Ask the user one focused question with optional multiple-choice answers to collect explicit decisions"; export const promptGuidelines = [ "Before calling ask_user, gather context with tools (read, web, grep, find) and pass a short summary via the context field.", "Use ask_user when the user's intent is ambiguous, when a decision requires explicit user input, or when multiple valid options exist.", "Ask exactly one focused question per ask_user call. Do not combine multiple numbered, multipart, or unrelated questions into one prompt.", "Provide 2-5 clear options when the decision space is known. Leave options empty or use allowFreeform for open-ended input.", "Prefer ask_user over guessing when the user's preference materially changes the implementation.", "If the user presses Escape or cancels, treat it as a deliberate choice to stop that line of inquiry.", ];