Openstatus www.openstatus.dev
at main 34 lines 1.1 kB view raw view rendered
1Ralph is a technique for running AI coding agents in a loop. Our approach is taken from Matt Pocock's [Getting Started with Ralph](https://www.aihero.dev/getting-started-with-ralph) writeup. Make sure to have everything installed. 2 3The `prd.json` file is an array of object with the following format: 4 5``` 6{ 7 "category": "functional", 8 "description": "When a user is on wrong dashboard /status-pages/[id] redirect him to /status-pages", 9 "steps": [ 10 "Redirect user no access for page id", 11 "Avoid throwing an error", 12 ], 13 "passes": false 14} 15``` 16 17- category: "functional" | "ui" or other categories 18- description: define what you are building 19- steps: break the task down into multiple smaller steps 20- passes: determines whether or not all defined steps and tests have succeed or not and makes it easier to track progress 21 22The `progress.txt` file simply keeps track of the changes and implementation decisions. 23 24You can run Ralph with a human-in-the-loop by running: 25 26``` 27./ralph-once.sh 28``` 29 30Or in AFK mode within the sandbox environment by specifying the iteration number with: 31 32``` 33./afk-raph.sh 10 34```