Skip to content

feat(ralph): add ralph-cancel skill - #573

Merged
baleen37 merged 3 commits into
mainfrom
feat/ralph-cancel
Mar 23, 2026
Merged

feat(ralph): add ralph-cancel skill#573
baleen37 merged 3 commits into
mainfrom
feat/ralph-cancel

Conversation

@baleen37

@baleen37 baleen37 commented Mar 23, 2026

Copy link
Copy Markdown
Owner

Summary

Add /ralph:ralph-cancel skill to cleanly cancel an active Ralph loop.

Changes

  • New skill: plugins/ralph/skills/ralph-cancel/SKILL.md
  • Detects active Ralph state, writes cancel signal file, marks loop inactive

Tests

  • All 63 BATS tests pass including frontmatter validation for the new skill

Summary by CodeRabbit

  • New Features
    • Introduced a new skill to cancel active Ralph loops
    • Intelligently detects and communicates the current status of running loops
    • Provides informative messages for inactive or unavailable loop scenarios
    • Enables clean, graceful termination of Ralph loop operations
    • Automatic detection and processing of cancellation signals on the next iteration

Test User added 3 commits March 23, 2026 22:06
…provement

Skill for improving a file (prompt, config, template) toward reference
quality through repeated single-change A/B testing. Each iteration makes
exactly one change, tests it against reference examples via parallel
generation + judge evaluation, and adopts only what works.

Key design decisions:
- One change per iteration (bundled changes hide what helped/hurt)
- Dynamic next-change based on judge feedback (not pre-planned list)
- Same inputs every iteration for valid comparison
- Adopt on TIE (change that doesn't hurt is worth keeping)
- Stop after 2+ consecutive rejections (rethink approach)
Replace eval-specific iterative-eval with a general-purpose iterate
skill. Works for any incremental improvement: prompts, code, configs,
docs — anything where you can verify whether a change helped.

Key design:
- One change per iteration (clear signal)
- Pluggable verification (test, build, judge, user, metric, composite)
- Feedback-driven next change (not pre-planned)
- Stop on 2+ consecutive rejections

BREAKING CHANGE: removes iterative-eval skill
@baleen37
baleen37 enabled auto-merge (squash) March 23, 2026 13:26
@coderabbitai

coderabbitai Bot commented Mar 23, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 03ac59e9-8f52-4f9e-b635-788737764cca

📥 Commits

Reviewing files that changed from the base of the PR and between 80f284c and a468f21.

📒 Files selected for processing (1)
  • plugins/ralph/skills/ralph-cancel/SKILL.md

📝 Walkthrough

Walkthrough

A new documentation file for the ralph-cancel skill was added, defining its control flow. The skill enables cancellation of active Ralph loops by checking state files, signaling cancellation via a state file, updating the active status, and allowing a persistence hook to detect and cleanly exit.

Changes

Cohort / File(s) Summary
Ralph Cancel Skill Documentation
plugins/ralph/skills/ralph-cancel/SKILL.md
Added skill documentation defining the control flow for canceling active Ralph loops, including state file checks, cancellation signals, and hook-based exit logic.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A cancel spell for loops that roam,
Ralph halts and finds his way back home,
With signals sent through state files neat,
The skill makes graceful exits sweet! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/ralph-cancel

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@baleen37
baleen37 merged commit 8d2793c into main Mar 23, 2026
4 of 5 checks passed
@baleen37
baleen37 deleted the feat/ralph-cancel branch March 23, 2026 13:27
baleen-release-app Bot pushed a commit that referenced this pull request Mar 23, 2026
# [11.0.0](v10.0.2...v11.0.0) (2026-03-23)

### Features

* **ralph:** add ralph-cancel skill ([#573](#573)) ([8d2793c](8d2793c))

### BREAKING CHANGES

* **ralph:** removes iterative-eval skill

* feat(ralph): add ralph-cancel skill for cancelling active Ralph loop
@baleen37
baleen37 restored the feat/ralph-cancel branch March 25, 2026 03:41
@baleen37
baleen37 deleted the feat/ralph-cancel branch March 25, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant