xonecas.io
64875
Mc

mini-coder / commit 1573cd1

fix: clarify RALPH mode prompt to require work before /ralph

Sean2026-03-01 1573cd127431e387f90e9b166b30a9046e83b262 parent b4410ec

1 file changed

src/agent/agent.ts+1−1
@@ -517,7 +517,7 @@ export async function runAgent(opts: AgentOptions): Promise<void> {
517517 const coreContent = planMode
518518 ? `${resolvedText}\n\n<system-message>PLAN MODE ACTIVE: Help the user gather context for the plan -- READ ONLY</system-message>`
519519 : ralphMode
520- ? `${resolvedText}\n\n<system-message>RALPH MODE: You are in an autonomous loop. When the task is fully complete (all tests pass, no outstanding issues), output exactly \`/ralph\` as your final message to exit the loop. Otherwise, keep working.</system-message>`
520+ ? `${resolvedText}\n\n<system-message>RALPH MODE: You are in an autonomous loop. Output exactly \`/ralph\` as your final message only after you have made all requested changes AND verified tests pass. Passing tests alone does not mean the task is complete — you must first do all the work. Otherwise, keep working.</system-message>`
521521 : resolvedText;
522522
523523 // Build the message content — multi-part when images are present