import { expect, test } from "bun:test"; import { PROMPT } from "./planner"; test("settles blocking opening choices before writing a first plan", () => { expect(PROMPT).toContain( "When a new room has no plan prose, settle genuinely blocking choices before writing the first draft", ); expect(PROMPT.indexOf("settle genuinely blocking choices")) .toBeLessThan(PROMPT.indexOf("The plan is yours to write")); expect(PROMPT).toContain("Do not invent a question when repository evidence already settles it"); });