Ralph for Claude Code — Summary
Ralph for Claude Code by frankbria is a heavily engineered adaptation of the snarktank Ralph pattern, specifically hardened for production use with Claude Code. Where snarktank/ralph is a ~200-line bash script, this version is a multi-script system with 566 tests, 9 library modules, a dual-condition exit gate, session continuity management, rate limiting, circuit breakers, a live monitoring dashboard (ralph-monitor), an interactive project setup wizard (ralph-enable), CI/CD pipelines, and configurable tool permissions via .ralphrc. The core loop is ralph_loop.sh (bash), which calls Claude Code's CLI with --output-format json, parses structured output via lib/response_analyzer.sh, and exits only when Claude returns BOTH completion indicators AND an explicit EXIT_SIGNAL: true in a RALPH_STATUS block. It ships 9 shell scripts as global commands (ralph, ralph-monitor, ralph-setup, ralph-import, ralph-migrate, ralph-enable, ralph-enable-ci, ralph-stats, ralph_enable_ci). Compared to the snarktank original, this is Archetype 4 (markdown scaffold + scripts) escalated to near-production infrastructure. Compared to seeds, it most closely resembles claude-conductor's structured markdown scaffolding combined with spec-driver's sequential execution, but with far more operational tooling — rate limiting, circuit breakers, session management — that no seed framework provides.