Claude Code Approval Mode Is Not an Unattended Workflow

Claude Code can ask before it runs a command or edits a file. That is a good way to work when you are at the keyboard. It is not a way to run work unattended, because every prompt waits for you.

Ralph Workflow takes the other path. It lands coding-agent work directly on main, automatically, with no pull requests. You approve the intent, written as a spec in PROMPT.md. You do not approve each command, and nobody approves a diff.

This page explains what that trade means in practice, and what is not built yet.

What Ralph Workflow does with Claude Code’s prompts

Ralph Workflow starts Claude Code in its unattended mode, with --dangerously-skip-permissions. Claude Code then runs commands and edits files on your machine without asking. Other agents are started the same way; for example, Codex runs with --dangerously-bypass-approvals-and-sandbox.

So there is no approval mode inside a Ralph Workflow run. The control moves to three other places:

  1. The spec, before the run. You write what done means and how to check it in PROMPT.md. That is the one thing you approve. Today nothing records the approval; the spec is the file you wrote.

  2. The machine. The agent runs commands and edits files without asking. Use a machine, container or VM you are willing to hand to the agent.

  3. Limits on the run. A run is bounded by developer cycles and wall-clock time: 2 cycles by default, 1 with --quick, 5 with --long and 10 with --thorough. These limit cycles and time, not money. Each agent uses your own login or API key, so its usage is billed to you.

What happens to the work

The agent plans, builds and commits. After each commit, Ralph Workflow rebases it onto your local main and pushes main to origin/main. It is a plain push, never forced. If origin/main moved first, the push fails and the work rebases again.

Today the push runs without checks. The agent is asked to run the checks in PROMPT.md, but nothing enforces them. Your CI runs after the push, on main. The agent’s own review pass also runs after the push, and it can loop back to fix things in new commits.

That means the person running Ralph Workflow watches what lands and reverts fast:

git log --oneline origin/main
git revert <sha>
git push origin main

What is not built yet

The gate will run your suite and acceptance checks on the exact commit that will land, before every push. A commit that fails will go back to the agent, never into a pull request. It is our top engineering priority and it has not shipped. Until it does, we do not call any push verified.

A simple decision rule

Stay in Claude Code with its permission prompts when:

  • you are exploring and do not yet know what done means;

  • you cannot give the agent a machine you are willing to hand over;

  • a bad commit on main would cost more than one git revert; or

  • the repository has no tests that would show whether the work is right.

Use Ralph Workflow when:

  • you can write what done means, and how to check it, before any code;

  • the repository already has tests;

  • the agent can run on a machine, container or VM you are willing to hand over; and

  • you are ready to watch what lands on main and revert anything wrong.

Next steps