ralph-cancel

Cancel an active Ralph loop and clean up its persisted state.

4|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/baleen37/bstack --skill ralph-cancel-baleen37
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ralph-cancel
Source: https://github.com/baleen37/bstack/tree/main/plugins/ralph/skills/ralph-cancel
Command: npx skills add https://github.com/baleen37/bstack --skill ralph-cancel-baleen37

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Canceling ongoing Ralph loops to stop persistence and remove transient state, preventing drift between runs.

Core Features & Use Cases

  • Validate active Ralph loop existence
  • Emit cancel signal and deactivate loop
  • Clean up state files to ensure clean subsequent runs

Quick Start

Cancel the active Ralph loop in your project to terminate persistence and reset state.

Frequently Asked Questions about ralph-cancel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I cancel an active workflow loop and clean up persisted state?

To cancel an active workflow loop and clean up persisted state, the system validates the active session, writes a cancel signal file, and updates the state to inactive. This ensures proper shutdown and removes transient state.

What is state management cleanup for a shutdown loop?

State management cleanup for a shutdown loop is the process of deactivating an active persistence session and removing transient state files. This prevents drift between runs and ensures subsequent workflow executions start with a clean baseline.

How do I stop persistence and reset state for a clean subsequent run?

To stop persistence and reset state for a clean subsequent run, you emit a cancel signal that deactivates the active loop and clears the persisted state files. This prevents state drift and prepares the environment for fresh execution.

Do I need an existing state file to cancel an active loop?

Yes, you need an existing state file to cancel an active loop. The system validates the presence of the specific state configuration file before it can successfully write the cancel signal and update the active status to false.

Why does loop state drift occur between runs?

Loop state drift occurs between runs when an active persistence loop is not properly shut down, leaving transient state files behind. Canceling the loop and cleaning up these state files prevents inconsistencies in future executions.

What happens if the state file is missing when I try to cancel the loop?

If the state file is missing when you try to cancel the loop, the cancellation process cannot proceed because the system validates the presence of this specific file to confirm an active loop exists before writing the cancel signal.