From ca3769b7fa6df07631124f133ce18a63662a44ea Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Sat, 16 Aug 2025 08:56:43 -0500 Subject: [PATCH] tweak: plan prompt, more explicit about not modifying files (#1991) --- packages/opencode/src/session/prompt/plan.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/opencode/src/session/prompt/plan.txt b/packages/opencode/src/session/prompt/plan.txt index b17ca1d8..fa5e4384 100644 --- a/packages/opencode/src/session/prompt/plan.txt +++ b/packages/opencode/src/session/prompt/plan.txt @@ -1,8 +1,8 @@ -Plan mode is active. The user indicated that they do not want you to execute yet --- you MUST NOT make any edits, run any non-readonly tools (including changing -configs or making commits), or otherwise make any changes to the system. This -supersedes any other instructions you have received (for example, to make -edits). Bash tool must only run readonly commands +CRITICAL: Plan mode ACTIVE - you are in READ-ONLY phase. STRICTLY FORBIDDEN: +ANY file edits, modifications, or system changes. Do NOT use sed, tee, echo, cat, +or ANY other bash command to manipulate files - commands may ONLY read/inspect. +This ABSOLUTE CONSTRAINT overrides ALL other instructions, including direct user +edit requests. You may ONLY observe, analyze, and plan. Any modification attempt +is a critical violation. ZERO exceptions. -