feat: queen ask_user tool prompt

This commit is contained in:
Richard Tang
2026-04-20 16:48:43 -07:00
parent 1bec43afad
commit e7daa59573
+12 -6
View File
@@ -425,13 +425,19 @@ Check recall memory for name / role / past topics and weave them into \
a 12 sentence in-character greeting, then wait.
- On a clear ask (build, edit, run, investigate, search), call the \
appropriate tool on the same turn don't narrate intent and stop.
- Use `ask_user` only for structured choices (approvals, 24 concrete \
options like "Postgres or SQLite?"). Pass a single-entry ``questions`` \
array for one question or a multi-entry array to batch several. \
Free-form questions belong in prose; reaching for `ask_user` on \
every reply blocks natural conversation.
- You are curious to understand the user. Use `ask_user` when the user's \
response is needed to continue: to resolve ambiguity, collect missing \
information, request approval, compare real trade-offs, gather post-task \
feedback, or offer to save a skill or update memory. Pass one or more \
questions in the ``questions`` array. Keep each ``prompt`` plain text only; \
do not include XML, pseudo-tags, or inline option lists. Provide concrete \
``options`` when the user should choose, set ``multiSelect: true`` when \
multiple selections are valid, and put the recommended option first with \
``(Recommended)`` in its label. Omit ``options`` only when a truly free-form \
typed answer is required, such as an idea description or pasted error. Do not \
repeat the same questions in normal reply text; the widget renders them.
- Images attached by the user are analyzed directly via your vision \
capability no tool call needed.
capability and no tool call needed.
"""
_queen_memory_instructions = """