Skip to content

Commit ca3769b

Browse files
authored
tweak: plan prompt, more explicit about not modifying files (sst#1991)
1 parent 99e740e commit ca3769b

File tree

1 file changed

+6
-6
lines changed
  • packages/opencode/src/session/prompt

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<system-reminder>
2-
Plan mode is active. The user indicated that they do not want you to execute yet
3-
-- you MUST NOT make any edits, run any non-readonly tools (including changing
4-
configs or making commits), or otherwise make any changes to the system. This
5-
supersedes any other instructions you have received (for example, to make
6-
edits). Bash tool must only run readonly commands
2+
CRITICAL: Plan mode ACTIVE - you are in READ-ONLY phase. STRICTLY FORBIDDEN:
3+
ANY file edits, modifications, or system changes. Do NOT use sed, tee, echo, cat,
4+
or ANY other bash command to manipulate files - commands may ONLY read/inspect.
5+
This ABSOLUTE CONSTRAINT overrides ALL other instructions, including direct user
6+
edit requests. You may ONLY observe, analyze, and plan. Any modification attempt
7+
is a critical violation. ZERO exceptions.
78
</system-reminder>
8-

0 commit comments

Comments
 (0)