What problem does it solve?
Ralph eliminates context rot and manual coordination when planning and executing implementation work by running iterative fresh-context Task subagents against a declarative spec, so each iteration starts with a clean, well-scoped prompt and progress is reliably measured.
Core Features & Use Cases
- Fresh-context loop: Spawn a new Task subagent each iteration so no state accumulates in the agent prompt.
- Two-mode workflow: PLANNING mode generates or refines a declarative spec; BUILDING mode performs gap analysis and closes one gap per iteration.
- Robust progress tracking: Detect progress via new commits or spec file hashes, handle stuck iterations, and require a concrete DONE condition before looping.
- Practical use case: Generate a spec for a new feature, confirm the DONE condition, then run sequential build iterations that implement and commit tangible changes until acceptance criteria are met.
Quick Start
Start a Ralph planning loop to produce a declarative spec for the target feature, confirm the DONE condition, and then run the build loop to iteratively close gaps.