Ralph LoopRalph Loop
Ralph est un orchestrateur incrémental qui boucle entre des commandes Claude Code (build, test, fix, commit) jusqu'à atteindre un état stable. Idéal pour itérer sur de gros changements ou pour un développement autonome long. Ralph is an incremental orchestrator that loops between Claude Code commands (build, test, fix, commit) until reaching a stable state. Ideal for iterating on large changes or for long-running autonomous development.
Commandes principalesMain commands
ss ralph start # démarre la boucle en arrière-plan
ss ralph status # état + dernière itération
ss ralph logs # tail des logs
ss ralph stop # arrête proprement
Cycle d'une itérationIteration cycle
Chaque itération suit quatre étapes : Each iteration follows four steps:
| # | ÉtapeStep | EffetEffect |
|---|---|---|
| 1 | Load contextLoad context | Charge l'état du repo + le dernier verdictLoads the repo state + last verdict |
| 2 | Invoke skillInvoke skill | Exécute la skill cible (build, fix, scaffold, …)Runs the target skill (build, fix, scaffold, …) |
| 3 | Run gatesRun gates | Vérifie compile + testsVerifies compile + tests |
| 4 | DécisionDecision | GO → commit + itération suivante ; NO-GO → diagnostic + retryGO → commit + next iteration; NO-GO → diagnose + retry |
ConfigurationConfiguration
La configuration vit dans templates/ralph/ du repo CLI et est déployée à l'installation. Voyez dans votre poste.
Configuration lives in /.claude/ralph/templates/ralph/ in the CLI repo and is deployed at install time. See /.claude/ralph/ on your machine.