Skip to content

Ralph Classic (bash loop)

Latest

Choose a tag to compare

@frankbria frankbria released this 26 Nov 11:46

Three years of AI-tool churn have taught everyone the same lesson: most projects
don't end, they fade. Ralph gets to do something rarer — finish.

Ralph was built on one idea: an autonomous AI development loop should be a
dumb loop with smart checking. Run Claude Code repeatedly, watch for genuine
completion, stay out of the way. No planning system, no orchestration framework,
no opinions about your workflow. That idea turned out to resonate — and it also
turned out to be a completable spec. With v1.0, it's complete.

What Ralph 1.0 is

  • The loop: run Claude Code continuously against a prioritized plan
    (.ralph/fix_plan.md) with session continuity and per-iteration context
  • Smart exit detection: dual-condition completion checks (heuristics +
    explicit exit signals), question-loop detection, test-only-loop detection
  • Safety rails: rate limiting (calls + optional tokens/hour), circuit
    breaker with auto-recovery, file-protection integrity checks, git backup
    branches and rollback
  • Sandboxing: run Claude in Docker (--sandbox docker, bind-mount
    real-time) or E2B cloud (--sandbox e2b, snapshot sync with include/exclude
    filtering, .ralphignore, large-file policy, cost tracking)
  • GitHub integration: import issues as PRDs (with filtering, completeness
    scoring, and plan generation), full issue lifecycle (progress comments, PR
    creation, auto-close), batch issue queues with dependency ordering
  • Observability: live tmux dashboard, status.json, structured logs
  • 1,285 tests (unit / integration / E2E), 100% pass rate

What "complete" means

Ralph is now in maintenance mode:

  • ✅ Security fixes and bug fixes (with tests) will be reviewed and merged
  • ✅ Documentation corrections welcome
  • ❌ No new features — by design, not neglect

The feature requests we've received are good ideas — for a different tool.
Ralph's value is that it stays small enough to trust and simple enough to
audit. Every "what if ralph also..." conversation now has a real answer:

What's next: CodeFrame

CodeFrame is the ambitious
version of this idea — a project delivery system where the loop is just one
part. Ralph runs the loop; CodeFrame owns everything before and after it:

Ralph CodeFrame
Scope One autonomous loop, one task list Think → Build → Prove → Ship pipeline
Planning You write fix_plan.md Socratic PRD generation, stress-testing, task decomposition
Execution Claude Code Claude Code, Codex, OpenCode, Kilocode, or built-in agent
Verification Exit detection 9-gate evidence-based proof system with quality memory
Shipping You open the PR PR creation gated on proof, glitch-capture feedback loop

If you've ever asked ralph for cost analytics, multi-service awareness,
deeper verification, or planning help — that's CodeFrame. Migrating is one
command: cf import ralph reads your .ralph/ project directly.

→ Get started: https://github.com/frankbria/codeframe

Thank you

To everyone who starred, filed issues, sent PRs, and ran ralph on real
projects: thank you. You proved that simple tools with sharp edges beat
platforms with dull ones. Ralph stays exactly what it is — that's the gift
of being done.

— Frank


Full feature history: see the README changelog. Recent highlights since
v0.11.x: Docker sandbox (#74), E2B cloud sandbox (#75), sandbox sync
filtering (#76), GitHub issue lifecycle (#73), issue queues (#72), optional
fix_plan sections (#239).