When Ralph Workflow Fits — and When It Does Not

Ralph Workflow is a free, open-source CLI that runs the coding-agent CLI you already sign in to, on your own machine. It lands each commit directly on main, automatically. There are no pull requests, and nobody merges by hand.

That changes what “a good fit” means. You are not asking “would I approve this pull request?” You are asking “is it safe for this work to land on main as it is made?”

The simple rule

Today the push runs without checks. Your agent is asked to run the checks in PROMPT.md, but nothing enforces them, and your CI runs after the push. The gate (your suite and acceptance checks, run on the exact commit before every push) has not shipped yet.

So the rule for now is: use Ralph Workflow where a bad commit on main costs one git revert.

Good fits

The repository:

  • already has tests the agent can run

  • does not deploy main straight to production

  • lets your machine’s git credentials push to main (a forge rule that requires pull requests on main rejects the push)

  • is one you can watch while the run goes

The task:

  • a bounded feature slice with clear acceptance criteria

  • a narrow refactor with tests

  • repetitive implementation work where the expected shape is obvious

  • a clean-up task with a straightforward check

  • a docs or test pass where done is easy to check

Why these fit:

  • you can write what done means before any code

  • you can tell whether what landed matches the spec

  • a miss is cheap to revert

Bad fits

  • vague product exploration

  • risky production surgery

  • tasks that depend on frequent mid-run human decisions

  • work where the spec is still being invented while coding happens

  • broad multi-part projects with no clear stopping point

  • repositories where main ships to customers on every push

  • repositories with secret files that git does not ignore: nothing checks for committed secrets before the push

Why these fail:

  • the agent has to guess too much

  • done is unclear, so you cannot check what landed against the spec

  • a bad commit would do harm before you could revert it

  • the task needs live steering, not an unattended run

A good first-task filter

Before you run Ralph Workflow, ask:

  1. Can I say what done means in one paragraph of PROMPT.md?

  2. Can I name the checks that prove it worked?

  3. If a bad commit lands on main, is one git revert enough?

  4. Am I willing to let the agent run commands and edit files on this machine without asking? (Ralph Workflow starts agents with permission prompts bypassed.)

  5. Can I watch main while it runs?

If the answer is yes to all five, it is probably a good Ralph Workflow task.

A practical first run

  1. Pick one real backlog task.

  2. Run ralph --init, then write the scope, the acceptance criteria and the checks in PROMPT.md. Delete the starter marker at the top; Ralph Workflow refuses to run until you do.

  3. Run ralph. By default it runs 2 developer cycles; --quick runs 1.

  4. Watch the commits land on origin/main.

  5. Check what landed against the spec. Run your suite on main and look at your CI.

  6. If something is wrong, git revert it, like any other commit on main.

Note that the run pushes your whole local main, including commits you have not pushed yet and the engine’s own commits to AGENTS.md, CLAUDE.md, its policy files, its skill bundle and .gitignore.

Next steps