/cancel-rlcr-loop
Cancel active RLCR loop
> /plugin marketplace add PolyArch/humanize > /plugin install humanize@PolyArch
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/cancel-rlcr-loop
Context preview
What this command does when you run it.
Cancel active RLCR loop
Command definition
cancel-rlcr-loop.mddescription: "Cancel active RLCR loop"
allowed-tools: ["Bash(${CLAUDE_PLUGIN_ROOT}/scripts/cancel-rlcr-loop.sh)", "Bash(${CLAUDE_PLUGIN_ROOT}/scripts/cancel-rlcr-loop.sh --force)", "AskUserQuestion"]
disable-model-invocation: trueCancel RLCR Loop
To cancel the active loop:
1. Run the cancel script:
"${CLAUDE_PLUGIN_ROOT}/scripts/cancel-rlcr-loop.sh"2. Check the first line of output:
- **NO_LOOP** or **NO_ACTIVE_LOOP**: Say "No active RLCR loop found."
- **CANCELLED**: Report the cancellation message from the output
- **CANCELLED_METHODOLOGY_ANALYSIS**: Report the cancellation message from the output
- **CANCELLED_FINALIZE**: Report the cancellation message from the output
- **FINALIZE_NEEDS_CONFIRM**: The loop is in Finalize Phase. Continue to step 3
3. **If FINALIZE_NEEDS_CONFIRM**:
- Use AskUserQuestion to confirm cancellation with these options:
- Question: "The loop is currently in Finalize Phase. After this phase completes, the loop will end without returning to Codex review. Are you sure you want to cancel now?"
- Header: "Cancel?"
- Options:
1. Label: "Yes, cancel now", Description: "Cancel the loop immediately, finalize-state.md will be renamed to cancel-state.md" 2. Label: "No, let it finish", Description: "Continue with the Finalize Phase, the loop will complete normally"
- **If user chooses "Yes, cancel now"**:
- Run: `"${CLAUDE_PLUGIN_ROOT}/scripts/cancel-rlcr-loop.sh" --force`
- Report the cancellation message from the output
- **If user chooses "No, let it finish"**:
- Report: "Understood. The Finalize Phase will continue. Once complete, the loop will end normally."
**Key principle**: The script handles all cancellation logic. A loop is active if `state.md` (normal loop), `methodology-analysis-state.md` (Methodology Analysis Phase), or `finalize-state.md` (Finalize Phase) exists in the newest loop directory.
The loop directory with summaries, review results, and state information will be preserved for reference.
Read more
description: "Cancel active RLCR loop"
allowed-tools: ["Bash(${CLAUDE_PLUGIN_ROOT}/scripts/cancel-rlcr-loop.sh)", "Bash(${CLAUDE_PLUGIN_ROOT}/scripts/cancel-rlcr-loop.sh --force)", "AskUserQuestion"]
disable-model-invocation: trueCancel RLCR Loop
To cancel the active loop:
1. Run the cancel script:
"${CLAUDE_PLUGIN_ROOT}/scripts/cancel-rlcr-loop.sh"2. Check the first line of output:
- **NO_LOOP** or **NO_ACTIVE_LOOP**: Say "No active RLCR loop found."
- **CANCELLED**: Report the cancellation message from the output
- **CANCELLED_METHODOLOGY_ANALYSIS**: Report the cancellation message from the output
- **CANCELLED_FINALIZE**: Report the cancellation message from the output
- **FINALIZE_NEEDS_CONFIRM**: The loop is in Finalize Phase. Continue to step 3
3. **If FINALIZE_NEEDS_CONFIRM**:
- Use AskUserQuestion to confirm cancellation with these options:
- Question: "The loop is currently in Finalize Phase. After this phase completes, the loop will end without returning to Codex review. Are you sure you want to cancel now?"
- Header: "Cancel?"
- Options:
1. Label: "Yes, cancel now", Description: "Cancel the loop immediately, finalize-state.md will be renamed to cancel-state.md" 2. Label: "No, let it finish", Description: "Continue with the Finalize Phase, the loop will complete normally"
- **If user chooses "Yes, cancel now"**:
- Run: `"${CLAUDE_PLUGIN_ROOT}/scripts/cancel-rlcr-loop.sh" --force`
- Report the cancellation message from the output
- **If user chooses "No, let it finish"**:
- Report: "Understood. The Finalize Phase will continue. Once complete, the loop will end normally."
**Key principle**: The script handles all cancellation logic. A loop is active if `state.md` (normal loop), `methodology-analysis-state.md` (Methodology Analysis Phase), or `finalize-state.md` (Finalize Phase) exists in the newest loop directory.
The loop directory with summaries, review results, and state information will be preserved for reference.
Derived from the GAAC (GitHub-as-a-Context) project. A Claude Code plugin that provides iterative development with independent AI review. Build with confidence through continuous feedback loops.
Other commands on humanize.
- /gen-idea
Generate a repo-grounded idea draft via directed-swarm exploration
Open command - /gen-plan
Generate implementation plan from draft document
Open command - /refine-plan
Refine an annotated implementation plan and generate a QA ledger
Open command - /start-rlcr-loop
Start iterative loop with Codex review
Open command

