matt-grilling

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Interview the user relentlessly until you reach a shared understanding. Map this as a design tree: every decision branches into the decisions that hang off it.
Work the tree in rounds. The frontier is every decision whose prerequisites are already settled: the questions you can ask now without guessing at answers you haven't heard yet. Ask the whole frontier in one round: number each question and give your recommended answer. Then wait for the user's answers before the next round.
Format a round like so:
❓ **Q1** - **<question title>**: <question body, might be multiple paragraphs, including multiple choices>

➡️ <your recommended answer>

---

❓ **Q2** - **<question title>**: <question body, might be multiple paragraphs, including multiple choices>

➡️ <your recommended answer>
Each round the user answers reshapes the tree: settled decisions push the frontier outward and unblock questions that depended on them. Recompute the frontier and ask the next round. A question whose answer depends on another question still open in this round belongs to a later round, not this one.
Finding facts is your job, never the user's. When a frontier question needs a fact from the environment (filesystem, tools, etc.), dispatch a sub-agent to find it; don't ask the user for anything you could look up yourself. Don't block on it: a running exploration is an unsettled prerequisite, so only the questions downstream of it wait for the sub-agent to report; ask the rest of the frontier now. The decisions are the user's: put each to them and wait.
The session is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Do not act on it until the user confirms you have reached a shared understanding.
持续访谈用户,直到双方达成共识。将过程映射为一个 design tree:每个决策都会分支出与其相关的后续决策。
按轮次推进这个树。frontier 是所有前置条件已经确定的决策,也就是目前可以提问、无需猜测尚未获得的答案的问题。在一轮中提出整个 frontier 的所有问题:给每个问题编号,并给出你的建议答案。然后等待用户回答,再进入下一轮。
每轮按照以下格式:
❓ **Q1** - **<问题标题>**: <问题正文,可能包含多个段落和多个选项>

➡️ <你的建议答案>

---

❓ **Q2** - **<问题标题>**: <问题正文,可能包含多个段落和多个选项>

➡️ <你的建议答案>
每一轮用户的回答都会重塑这棵树:已确定的决策会推动 frontier 向外扩展,并解锁此前依赖这些决策的问题。重新计算 frontier,然后提出下一轮问题。如果某个问题的答案依赖于本轮中仍未解决的另一个问题,那么它应留到之后的轮次,而不能在本轮提出。
查找_事实_是你的职责,绝不能交给用户。当 frontier 中的问题需要从环境(filesystem、tools 等)中获取事实时,派发一个 sub-agent 进行查找;不要询问用户任何你能够自行查证的信息。不要因此阻塞整个流程:正在进行的探索属于尚未确定的前置条件,因此只有依赖该探索结果的下游问题需要等待 sub-agent 报告,其余 frontier 问题应立即提出。由用户决定_决策_:逐一向用户提出这些问题并等待回答。
当 frontier 为空时,本轮会话结束:design tree 的每个分支都已访问,没有任何内容被默默忽略。在用户确认双方已经达成共识之前,不要执行任何操作。