Codex-compatible Ralph loop runner with dual engines (compat local state loop + optional open-ralph-wiggum backend).
This is a Codex-oriented ralph-loop command with two execution engines.
ralph-loop..claude/ralph-loop.local.md.compat engine keeps local-state semantics and manual --next.open engine delegates to external open-ralph-wiggum CLI for auto-iteration.scripts/ralph-loop.ps1$codexHome = if ($env:CODEX_HOME) { $env:CODEX_HOME } else { Join-Path $HOME '.codex' }
$script = Join-Path $codexHome 'skills/ralph-loop/scripts/ralph-loop.ps1'
# Start a local compat loop
powershell -ExecutionPolicy Bypass -File $script Build a todo API --max-iterations 20 --completion-promise DONE
# Move to the next iteration manually
powershell -ExecutionPolicy Bypass -File $script --next
# Show current loop state
powershell -ExecutionPolicy Bypass -File $script --status
# Force restart with a new prompt
powershell -ExecutionPolicy Bypass -File $script New prompt --max-iterations 10 --force
# Use open-ralph-wiggum backend (auto loop, defaults to --agent codex and --no-commit)
powershell -ExecutionPolicy Bypass -File $script --engine open Build a todo API --max-iterations 20 --completion-promise DONE
/vibe routed sessions as a direct execution tool.open engine remains mutually exclusive with active XL team orchestration.max_iterations is reached, the local state file is removed automatically.--next, --force, --state-file, --stop are not available (managed by external ralph CLI semantics).