<Use_When>
- •Task requires guaranteed completion with verification (not just "do your best")
- •User says "ralph", "don't stop", "must complete", "finish this", or "keep going until done"
- •Work may span multiple iterations and needs persistence across retries
- •Task benefits from parallel execution with verification at the end </Use_When>
<Do_Not_Use_When>
- •User wants a full autonomous pipeline from idea to code -- use
autopilotinstead - •User wants to explore or plan before committing -- use prometheus droid
- •User wants a quick one-shot fix -- delegate directly to executor-med
- •User wants manual control over completion -- use
ultraworkdirectly </Do_Not_Use_When>
<Why_This_Exists> Complex tasks often fail silently: partial implementations get declared "done", tests get skipped, edge cases get forgotten. Ralph prevents this by looping until work is genuinely complete, requiring fresh verification evidence before allowing completion. </Why_This_Exists>
<Execution_Policy>
- •Fire independent droid calls simultaneously -- never wait sequentially for independent work
- •Always select the right droid tier for the task complexity
- •Deliver the full implementation: no scope reduction, no partial completion, no deleting tests to make them pass
- •State is tracked in
.omd/state/ralph-state.json</Execution_Policy>
<Escalation_And_Stop_Conditions>
- •Stop and report when a fundamental blocker requires user input (missing credentials, unclear requirements)
- •Stop when the user says "stop", "cancel", or "abort"
- •If the same issue recurs across 3+ attempts, report it as a fundamental problem
- •If verification droid rejects, fix issues and re-verify (do not stop) </Escalation_And_Stop_Conditions>
<Final_Checklist>
- • All requirements from the original task are met (no scope reduction)
- • Zero pending or in_progress TODO items
- • Fresh test run output shows all tests pass
- • Fresh build output shows success
- • Verifier droid approved (mandatory)
- • State files cleaned up </Final_Checklist>