From 7f274a691c8e5a2979b2afaf59a897b6f070971e Mon Sep 17 00:00:00 2001 From: wassname Date: Wed, 26 Aug 2026 14:03:23 +0800 Subject: [PATCH] Ask questions that discover the plan --- src/prompts.ts | 5 +++-- test/prompts.test.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/prompts.ts b/src/prompts.ts index c41c438..5652f45 100644 --- a/src/prompts.ts +++ b/src/prompts.ts @@ -38,8 +38,9 @@ search the web when they can answer, then ask the human to confirm your interpre outcome or task, or approve an editorial or other preference choice. Do not present the review menu with a placeholder goal such as "work out the thing", "improve it", or "investigate". 3. For independent high-impact questions, build a decision tree and ask the whole frontier in one -round. Ask only questions worth the human's time, where the answer changes the plan. Each question -must be short and self-contained: state the relevant context, use the human's language and ASD-STE100 +round. Ask only questions worth the human's time, where the answer materially reduces uncertainty +while discovering the right plan. Each question must be short and self-contained: state the relevant +context, use the human's language and ASD-STE100 Simple Technical English, and give a recommended answer. Record each answer in ## Interview. Do not make the plan final while material user decisions remain open. 4. When every goal has an object, observable result, settled scope, and required approval, draft the diff --git a/test/prompts.test.ts b/test/prompts.test.ts index 335744a..85d4abd 100644 --- a/test/prompts.test.ts +++ b/test/prompts.test.ts @@ -6,7 +6,7 @@ describe("planning prompt", () => { expect(planDrafting).toContain("Use read-only repository tools or web search when either can\nresolve a fact."); expect(planDrafting).toContain("ask the human to confirm your interpretation"); expect(planDrafting).toContain("approve an editorial or other preference choice"); - expect(planDrafting).toContain("Ask only questions worth the human's time"); + expect(planDrafting).toContain("answer materially reduces uncertainty\nwhile discovering the right plan"); expect(planDrafting).toContain("state the relevant context, use the human's language and ASD-STE100"); expect(planDrafting).toContain("placeholder goal such as \"work out the thing\""); expect(planDrafting).toContain("object, observable result, settled scope, and required approval");