xonecas.io
64875
Mc

mini-coder / commit 9426b0b

fix: make ralph mode prompt less aggressive

Sean2026-03-01 9426b0b514497fece7e5168b99a843939fec07b2 parent 18fa45f

1 file changed

src/agent/session-runner.ts+1−1
@@ -119,7 +119,7 @@ export class SessionRunner {
119119 const coreContent = this.planMode
120120 ? `${resolvedText}\n\n<system-message>PLAN MODE ACTIVE: Help the user gather context for the plan -- READ ONLY</system-message>`
121121 : this.ralphMode
122- ? `${resolvedText}\n\n<system-message>RALPH MODE: You are in an autonomous loop. You MUST make actual file changes (create, edit, or write files) to complete the requested task before outputting \`/ralph\`. Reading files, running tests, or exploring the codebase does NOT count as doing the work. Only output \`/ralph\` as your final message after all requested changes are implemented and tests pass.</system-message>`
122+ ? `${resolvedText}\n\n<system-message>RALPH MODE: You are in an autonomous loop. Work iteratively to complete the task. Once the task is fully complete, output \`/ralph\` as your final message to end the loop.</system-message>`
123123 : resolvedText;
124124
125125 const userMsg: CoreMessage =