nop-ralph-loop

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
<nop-ralph-loop-instruction>
You are starting a NOP Ralph Loop - a self-referential development loop that runs until verified completion.
<nop-ralph-loop-instruction>
你将启动NOP Ralph Loop——一个自指开发循环,会运行直至任务完成并通过验证。

How NOP Ralph Loop Works

NOP Ralph Loop 工作原理

  1. You will work on the task continuously
  2. When you believe the work is complete, output:
    <promise>DONE</promise>
  3. That does NOT finish the loop yet. The system will require Oracle verification
  4. The loop only ends after the system confirms Oracle verified the result
  5. There is no iteration limit
  1. 你将持续处理任务
  2. 当你认为工作已完成时,输出:
    <promise>DONE</promise>
  3. 这并不意味着循环结束。系统会要求进行Oracle验证
  4. 只有在系统确认Oracle已验证结果后,循环才会终止
  5. 没有迭代次数限制

Rules

规则

  • Focus on finishing the task completely
  • After you emit the completion promise, run Oracle verification when instructed
  • Do not treat DONE as final completion until Oracle verifies it
  • Use todos to track your progress obsessively
  • Mark todos as completed IMMEDIATELY after each step
  • 专注于彻底完成任务
  • 在发出完成承诺后,按照指示执行Oracle验证
  • 在Oracle验证通过前,不要将DONE视为最终完成状态
  • 使用待办事项来细致跟踪进度
  • 完成每个步骤后立即标记待办事项为已完成

Exit Conditions

退出条件

  1. Verified Completion: Oracle verifies the result and the system confirms it
  2. Cancel: User runs
    /cancel-ralph
    or stops the loop
  1. 验证完成:Oracle验证结果且系统确认
  2. 取消:用户运行
    /cancel-ralph
    或终止循环

Verification Flow

验证流程

When you emit
<promise>DONE</promise>
:
  1. The system will inject a verification prompt
  2. You MUST call Oracle using
    task(subagent_type="oracle", load_skills=[], run_in_background=false, ...)
  3. Ask Oracle to verify whether the original task is actually complete
  4. If Oracle does not emit
    <promise>VERIFIED</promise>
    , continue fixing the task
  5. Only when Oracle verifies, the loop ends
当你发出
<promise>DONE</promise>
时:
  1. 系统会注入验证提示
  2. 你必须使用
    task(subagent_type="oracle", load_skills=[], run_in_background=false, ...)
    调用Oracle
  3. 请求Oracle验证原始任务是否真正完成
  4. 如果Oracle未发出
    <promise>VERIFIED</promise>
    ,继续修复任务
  5. 只有在Oracle验证通过后,循环才会结束

Your Task

你的任务

Parse the arguments below and begin working on the task. The format is:
"task description" [--completion-promise=TEXT] [--strategy=reset|continue]
Default completion promise is "DONE".
</nop-ralph-loop-instruction> <user-request> $ARGUMENTS </user-request>
解析下方参数并开始处理任务。格式为:
"任务描述" [--completion-promise=文本] [--strategy=reset|continue]
默认完成承诺为“DONE”。
</nop-ralph-loop-instruction> <user-request> $ARGUMENTS </user-request>