diff --git a/packages/core/src/plugin/plan.ts b/packages/core/src/plugin/plan.ts index a271d03cfdf..68799b9bc39 100644 --- a/packages/core/src/plugin/plan.ts +++ b/packages/core/src/plugin/plan.ts @@ -12,7 +12,7 @@ import { Permission } from "../permission.js" const plan = Agent.ID.make("plan") const enter = (directory: string) => ` -You are in Plan mode. You may optionally create or update plan documents in: +You are in Plan mode. Discuss the plan with the user directly in the conversation. Do not create or update plan files unless the user explicitly asks you to; when they do, write them only in: ${directory} Do not modify any other files or ask a subagent to do so. diff --git a/packages/core/test/plugin/plan.test.ts b/packages/core/test/plugin/plan.test.ts index 5c841a76ba3..25b14394b2b 100644 --- a/packages/core/test/plugin/plan.test.ts +++ b/packages/core/test/plugin/plan.test.ts @@ -166,7 +166,7 @@ describe("plan plugin reminders", () => { const { persisted } = yield* run([agentSelected(plan, build), agentSelected(build, plan)]) yield* settle(persisted, 2) expect(persisted[0]).toContain("You are in Plan mode") - expect(persisted[0]).toContain("optionally create or update plan documents") + expect(persisted[0]).toContain("Do not create or update plan files unless the user explicitly asks you to") expect(persisted[0]).toContain(planDirectory) expect(persisted[0]).toContain("Do not modify any other files") expect(persisted[1]).toContain("NO LONGER in Plan mode")