diff --git a/packages/coding-agent/test/plan-mode/reentry-prompt.test.ts b/packages/coding-agent/test/plan-mode/reentry-prompt.test.ts index f2313d0ab..372eccf06 100644 --- a/packages/coding-agent/test/plan-mode/reentry-prompt.test.ts +++ b/packages/coding-agent/test/plan-mode/reentry-prompt.test.ts @@ -32,24 +32,24 @@ describe("plan-mode re-entry prompt", () => { describe("plan-mode-active tool availability", () => { it("omits ask-tool directives when ask is unavailable", () => { const withoutAsk = render({ askAvailable: false, iterative: true }); - expect(withoutAsk).not.toContain("`ask` with 2–4 mutually exclusive options"); - expect(withoutAsk).not.toContain("use `ask` for preferences and tradeoffs"); + expect(withoutAsk).not.toContain("`ask`: 2–4 mutually exclusive options"); + expect(withoutAsk).not.toContain("`ask` only for preferences/tradeoffs"); expect(withoutAsk).not.toContain("Using `ask` to gather requirements"); const withAsk = render({ askAvailable: true, iterative: true }); - expect(withAsk).toContain("`ask` with 2–4 mutually exclusive options"); - expect(withAsk).toContain("use `ask` for preferences and tradeoffs"); + expect(withAsk).toContain("`ask`: 2–4 mutually exclusive options"); + expect(withAsk).toContain("`ask` only for preferences/tradeoffs"); }); it("records preferences as assumptions when ask is unavailable", () => { const iterativeWithoutAsk = render({ askAvailable: false, iterative: true }); - expect(iterativeWithoutAsk).toContain("Record them as Assumptions with a recommended default"); - expect(iterativeWithoutAsk).toContain("record preferences and tradeoffs as Assumptions"); - expect(iterativeWithoutAsk).not.toContain("`ask` for preferences and tradeoffs only"); + expect(iterativeWithoutAsk).toContain("Record as Assumptions with a recommended default"); + expect(iterativeWithoutAsk).toContain("record preferences/tradeoffs as Assumptions"); + expect(iterativeWithoutAsk).not.toContain("`ask` only for preferences/tradeoffs"); const parallelWithoutAsk = render({ askAvailable: false, iterative: false }); expect(parallelWithoutAsk).toContain( - "record any remaining preference questions as Assumptions with a recommended default", + "record remaining preference questions as Assumptions with a recommended default", ); // A prose question cannot end the turn in plan mode — no prose-terminal option. expect(parallelWithoutAsk).not.toContain("Presenting a choice between approaches");