Cancel Ralph Mode
Stop ralph mode immediately by marking all PRD tasks as complete or deleting the PRD.
When to Use
- User wants to stop autonomous processing
- Tasks are stuck or going in wrong direction
- Need to start fresh with different approach
Actions
Check for PRD file at .deep/prd.json
Option A: Mark all complete (preserves history)
// For each task, set:
{
"passes": true,
"completedAt": "[timestamp]",
"skippedReason": "Cancelled by user"
}
Option B: Delete PRD (clean slate)
rm .deep/prd.json
Clean up state files
- Update
.deep/state.json to { "complete": true, "phase": "CANCELLED" }
Confirm cancellation
Ralph mode cancelled. [N] tasks were pending.
PRD file: [preserved/deleted]
Example
User: /cancel-ralph
Response:
Cancelling ralph mode...
Found 5 tasks in PRD:
- 2 completed
- 3 pending (now marked as skipped)
PRD preserved at .deep/prd.json with skip reasons.
State reset. You can now exit cleanly.