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
mainstraight to productionlets your machine’s git credentials push to
main(a forge rule that requires pull requests onmainrejects 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
mainships to customers on every pushrepositories 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:
Can I say what done means in one paragraph of
PROMPT.md?Can I name the checks that prove it worked?
If a bad commit lands on
main, is onegit revertenough?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.)
Can I watch
mainwhile it runs?
If the answer is yes to all five, it is probably a good Ralph Workflow task.
A practical first run¶
Pick one real backlog task.
Run
ralph --init, then write the scope, the acceptance criteria and the checks inPROMPT.md. Delete the starter marker at the top; Ralph Workflow refuses to run until you do.Run
ralph. By default it runs 2 developer cycles;--quickruns 1.Watch the commits land on
origin/main.Check what landed against the spec. Run your suite on
mainand look at your CI.If something is wrong,
git revertit, like any other commit onmain.
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¶
Start with Getting Started
Use First-Task Prompt Templates for a copy-paste
PROMPT.mdshapeRead Bounded Autonomy for Unattended Coding for what limits a run today, and what does not