What problem does it solve?
Ralph eliminates the risk of “done-but-wrong” outcomes by repeatedly implementing work until every PRD user story is explicitly verified as passing, with a reviewer sign-off before completion.
Core Features & Use Cases
- PRD-driven persistence loop: Maintains a structured
prd.json of user stories and acceptance criteria, auto-scaffolding it when missing.
- Story-by-story execution and tracking: Selects the next highest-priority story that has
passes: false, updates progress.txt, and can add new stories when sub-tasks are discovered.
- Tiered verification and mandatory reviewer approval: Re-validates each story’s acceptance criteria with fresh evidence and performs a completion approval pass using a configurable reviewer tier (
architect, critic, or codex).
- Deslop cleanup and regression re-verification: Runs an
ai-slop-cleaner pass on the changed files (unless opted out) and then re-runs relevant tests/build checks to ensure nothing regresses.
Quick Start
Run ralph on your task so it iterates until all PRD stories pass and a reviewer verifies completion: ralph fix the TypeScript errors in the project.