Ralph Wiggum Launch Checklist (Pre-Flight)¶
Use this checklist before starting an overnight autonomous run.
0) One-Time Machine Setup¶
-
gitinstalled and configured -
ghinstalled and authenticated (gh auth status) -
uvinstalled (uv --version) - Claude Code CLI installed (
claude --version) -
tmuxinstalled (recommended for overnight runs) - Timeout command available (Linux:
timeout; macOS:brew install coreutilsforgtimeout)
1) Repo Pre-Flight (Required Every Run)¶
From repo root:
- Working tree is clean (no uncommitted changes)
- You will run the loop on a
ralph-wiggum-*branch (not onmain/dev) -
PROMPT.mdandPROGRESS.mdexist - SSOT docs exist for the run:
- Debt sprint:
docs/_debt/README.mdand the referenceddocs/_debt/debt-*.mddecks - Spec work (when approved):
docs/_specs/(active) and/ordocs/_archive/specs/(implemented SSOT)
Sync and sanity:
git fetch origin
# Recommended: start a fresh Ralph branch from latest dev (avoid rebasing)
git checkout dev
git pull --ff-only origin dev
git checkout -b ralph-wiggum-<sprint>
git push -u origin ralph-wiggum-<sprint>
make sync-frozen
make lock-check
make ci
make smoke
make test-all # Full suite (includes requires_network; may hit real APIs)
-
make cipasses -
make smokepasses -
make test-allpasses (recommended before/after a long sprint; may require network)
2) Safety Checks¶
- You understand the file boundaries in
docs/_ralphwiggum/protocol.md(“Forbidden to change”) - You are comfortable with the iteration cap (
MAX=50) - You have disk space (Lean + caches can grow)
3) Recommended Launch Command¶
Start a tmux session:
This uses the repo’s loop runner (scripts/ralph-loop.sh), which:
- writes per-iteration logs to logs/ralph/iteration_*.log
- enforces per-iteration timeouts (avoids hangs)
- avoids piping Claude output through tee (but timeouts can still trigger EPIPE in the CLI)
4) Monitoring Instructions¶
In another pane:
Recommended: run the watchdog in a separate pane (fails fast on hangs / guardrail errors):
If the watchdog exits non-zero, inspect:
- logs/ralph/watchdog.log
- the most recent logs/ralph/iteration_*.log
If the loop appears stuck:
5) Abort Instructions¶
- Stop the loop: Ctrl+C (inside the tmux pane running it)
- If needed, kill tmux session:
tmux kill-session -t erdos-ralph
Rollback options: