Understand Ralph's status communication and exit codes
mainRalph uses semantic Promise Tags to communicate the status of an agentic loop. These tags are used to signal whether the agent is finished, needs human intervention, or requires a decision.
Promise Tags:
<promise>COMPLETE</promise>: All tasks finished successfully.<promise>BLOCKED:reason</promise>: Agent needs human help.<promise>DECIDE:question</promise>: Agent needs a decision.
Exit Codes: Ralph returns specific exit codes based on the loop outcome:
0:COMPLETE- All tasks finished.1:MAX_ITERATIONS- Reached the iteration limit.2:BLOCKED- Needs human help.3:DECIDE- Needs human decision.