This guide helps you migrate from enhanced-ralph-claude-code to Ralph Ultra.
| Old Name | New Name | Reason |
|---|---|---|
| Enhanced Ralph | Ralph Ultra | Clearer branding, easier to say |
.ralph/ directory |
.ralph/ directory |
No change (backwards compatible) |
| Old Command | New Command | Status |
|---|---|---|
ralph init |
ralph init |
No change |
ralph fix |
ralph fix |
No change |
ralph loop |
ralph run |
Renamed for clarity |
ralph loop --max 10 |
ralph run 10 |
Simplified syntax |
| N/A | ralph status |
New command |
| N/A | ralph prd |
New command |
| N/A | ralph verify |
New command |
| N/A | ralph deploy |
New command |
| N/A | ralph dashboard |
New command |
| N/A | ralph skill |
New command |
Before (Enhanced Ralph):
.ralph/
├── prd.json
├── progress.txt
└── codebase_index.json (optional)
After (Ralph Ultra):
.ralph/
├── prd.json
├── progress.txt
├── config.json # NEW: Security settings, preferences
├── audit.log # NEW: Command execution log
├── codebase_index.json # Enhanced with skill integration
├── perf_baseline.json # NEW: Performance benchmarks
└── analysis_report.md # Generated by ralph fix --analyze
- Three-tier security model (sandbox/standard/YOLO)
- 21 modular skills (was 10)
- Smart loop engine with auto-recovery
- Real-time observability via
ralph dashboard - Claude Code plugin for IDE integration
- Skill marketplace for community extensions
# If you installed via install.sh
sudo rm /usr/local/bin/ralph
# If you installed via npm (if applicable)
npm uninstall -g enhanced-ralph-claude-code# Clone the new repository
git clone https://github.com/kimhons/ralph-ultra-claude-code.git
cd ralph-ultra-claude-code
# Run the installer
sudo ./install.shVerify installation:
ralph --version
# Should output: Ralph Ultra v1.0.0Navigate to each project that uses Ralph:
cd /path/to/your/projectralph fix --migrateThis command:
- Detects the old Ralph configuration
- Converts
prd.jsonto the new schema - Creates
.ralph/config.jsonwith default security settings - Backs up old files to
.ralph/backup/
- Update prd.json:
Old format:
{
"userStories": [
{
"id": "US-001",
"title": "Add feature",
"acceptanceCriteria": [...],
"priority": 1,
"passes": false
}
]
}New format:
{
"project": "my-project",
"version": "1.0.0",
"stories": [
{
"id": "US-001",
"title": "Add feature",
"acceptance_criteria": [...],
"priority": "high",
"status": "pending"
}
]
}Changes:
userStories→storiesacceptanceCriteria→acceptance_criteria(snake_case)priorityis now a string ("critical","high","medium","low")passes→status("pending","in-progress","done","blocked")- Added required top-level fields:
project,version
- Create config.json:
cat > .ralph/config.json <<EOF
{
"security": {
"mode": "standard",
"allowlist": [
"^npm (install|test|run build)$",
"^git (add|commit|status)$"
]
}
}
EOF- Update CLAUDE.md (if needed):
Ralph Ultra introduces new verification workflow patterns. If your CLAUDE.md references the old "5-gate verification", update it to:
## Verification Workflow
1. Static analysis (linter) must pass.
2. Type checking must pass.
3. All tests must pass.
4. Security audit must pass (no HIGH or CRITICAL vulnerabilities).
5. Visual verification for UI changes (use ralph skill run dev-browser).Run a verification check:
ralph verifyExpected output:
✓ Gate 1: Static Analysis passed
✓ Gate 2: Type Checking passed
✓ Gate 3: Tests passed
✓ Gate 4: Security Audit passed
✓ Gate 5: Visual Verification skipped (no UI changes)
All verification gates passed!
The prd.json schema has changed. Use ralph prd validate to check your PRD:
ralph prd validateIf invalid, the command will show specific errors:
❌ Error at stories[0].priority: Expected string, got number
❌ Error at stories[0]: Missing required field "status"
| Old Flag | New Flag | Notes |
|---|---|---|
--max N |
N |
Positional argument now |
--skip-verify |
--skip-gate N |
More granular control |
| N/A | --security MODE |
New flag for security tier |
Skills are now in /usr/local/lib/ralph/skills/ (global) and .ralph/skills/ (local).
Migration: If you have custom skills in ~/.ralph/skills/, move them to .ralph/skills/ in each project.
| Old Var | New Var | Notes |
|---|---|---|
RALPH_MAX_ITERATIONS |
RALPH_RUN_ITERATIONS |
Renamed |
| N/A | RALPH_SECURITY_MODE |
New variable |
| N/A | RALPH_SKIP_GATES |
New variable (comma-separated gate numbers) |
Try the new security model:
# Sandbox mode (default, safest)
ralph run
# Standard mode (common development)
ralph run --security standard
# YOLO mode (maximum velocity)
ralph run --security yoloExplore the new skills:
ralph skill list
ralph skill run deep-codebase-navigator
ralph skill run requirement-analyzerLaunch the web UI:
ralph dashboardOpen http://localhost:3737 to see real-time progress.
Install the plugin for IDE integration:
/plugin marketplace add kimhons/ralph-ultra-claude-codeIf you encounter issues, you can rollback to Enhanced Ralph:
cd /path/to/your/project
cp .ralph/backup/prd.json.old .ralph/prd.json
cp .ralph/backup/CLAUDE.md.old CLAUDE.mdgit clone https://github.com/kimhons/enhanced-ralph-claude-code.git
cd enhanced-ralph-claude-code
sudo ./install.shPlease report migration issues to:
- GitHub Issues: https://github.com/kimhons/ralph-ultra-claude-code/issues
- Email: support@ralph-ultra.dev
A: No. Enhanced Ralph will continue to work, but it will not receive new features. We recommend migrating within 3 months.
A: Most will work, but the schema has changed. Use ralph fix --migrate to auto-convert.
A: No. The ralph command will point to whichever is installed last. Uninstall Enhanced Ralph before installing Ralph Ultra.
A: Custom skills should work with minimal changes. The skill contract is backwards-compatible. Run ralph skill validate my-skill to check.
A: Yes. Ralph Ultra includes:
- 30% faster loop execution due to parallel skill invocation
- 50% fewer token usage via smarter context management
- Incremental verification (only re-run failed gates)
A: The methodology is still inspired by the original "Ralph" pattern, but we've rebranded to "Ralph Ultra" to emphasize the significant enhancements and avoid confusion with the original implementation.
If you encounter issues during migration:
-
Check the logs:
tail -n 100 .ralph/audit.log
-
Run diagnostics:
ralph skill run environment-doctor
-
Join the community:
- Discord: https://discord.gg/ralph-ultra
- GitHub Discussions: https://github.com/kimhons/ralph-ultra-claude-code/discussions
-
File an issue:
- GitHub Issues: https://github.com/kimhons/ralph-ultra-claude-code/issues
- Include: OS version, project type, error logs
Last Updated: January 31, 2026 Migration Guide Version: 1.0