--- name: interview-user description: "Interview the user, one round of questions at a time, until no plan or design decision is open. Use for 'help me decide', 'figure out the approach', 'interview me', 'hash this out', or before you build on scope or design the user has not decided." argument-hint: "[plan or decision]" --- Work through the plan with the user until you reach a shared understanding. Leave no decision assumed. Map the work as a **design tree**: every decision branches into the decisions that hang off it. When you start this yourself, because the work rests on a decision the user has not made, say in one line which decision blocks you. Keep the first round to the decisions that block the work. Do not start it for a clear, fully specified task. Work the tree in **rounds**. The **frontier** is every decision whose prerequisites are settled: the questions you can ask now without guessing at answers you have not heard. Ask the whole frontier in one round, each question with your recommended answer, then wait for the answers. Each answer moves the frontier outward; recompute it and ask the next round. A question that depends on another question still open in this round belongs to a later round. ## 1-ask-a-round When the host has a built-in tool for asking the user questions, ask the round through it: one question per frontier decision, your recommendation as the first option and labeled "(Recommended)", and the real alternatives as the other options. When the frontier exceeds the tool's per-call limit, ask first the decisions that unblock the most others and carry the rest to the next round. Ask open-ended questions, which have no short set of answers, in text. A round that returns `timed_out` with every response unanswered may mean the card never reached the user, not that they declined. Re-issue it once if they ask. Otherwise, switch to the text round below; do not retry the form. An unanswered or timed-out round is never consent. Do not proceed on your own recommendations. Without such a tool, write the round in text, and word each question so "yes" accepts your recommendation: ``` ❓ **Q1 · **: ➡️ --- ❓ **Q2 · **: ➡️ ``` ## 2-find-facts-and-leave-decisions Finding facts is your job, never the user's. When a frontier question needs a fact from the code, documents, or tools, look it up, and dispatch a subagent for a substantial search. A running lookup holds back only the questions that depend on it; ask the rest of the frontier now. Check the user's claims about current behavior against the code, and put any contradiction in the next round. The decisions are the user's: put each one to them and wait. When a term is vague or overloaded, propose one precise term as a frontier question. ## 3-confirm-the-shared-understanding The session is done when the frontier is empty: every branch visited, nothing silently assumed. Summarize the settled decisions, the alternatives rejected and why, and any decision left open with its owner. Act on the result only after the user confirms the shared understanding. Put each decided point in the plan, the issue, or the PR.