Ralph Loop
Bash loop pattern popularized by Geoffrey Huntley: re-run an AI agent with fresh context each iteration, read tasks from a plan file, commit on success. The "Ralph Wiggum technique" — forgetful but persistent.
Geoffrey Huntley'in popülerleştirdiği bash döngüsü deseni: AI agent'ı taze context ile sürekli baştan çağır, plan dosyasından sırayı oku, commit'e kadar git. "Ralph Wiggum tekniği" — unutkan ama ısrarlı.
- while true; do claude -p "$(cat plan.md)" --headless; done
- fresh-context loop: read prd.json → pick top task → implement → commit
Fresh Context
Strategy of starting each iteration with zero context. Memory lives on disk (git, plan files); the model's head stays clean.
Backpressure
Hard validators (type checker, linter, tests) that reject bad agent output before commit. Mandatory in Ralph-style loops.
Agentic Coding
A development style where AI operates as an autonomous agent — reading files, running commands, seeing errors, iterating. Beyond inline autocomplete.
Headless Mode
Running an agent non-interactively from the CLI in one shot. For CI/CD or automation. Claude Code: `claude -p "task"`. Codex: `--full-auto`.