按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
Cancel Ralph
Trigger
The user wants to cancel or stop an active Ralph loop.
Workflow
- Check if
.cursor/ralph/scratchpad.mdexists.
- If it does not exist: Tell the user "No active Ralph loop found."
- If it exists:
- Read
.cursor/ralph/scratchpad.mdto get the current iteration from theiteration:field. - Remove the state file and any done flag:
rm -rf .cursor/ralph- Report: "Cancelled Ralph loop (was at iteration N)."
Output
A short confirmation with the iteration count, or a message that no loop was active.

