What Good Ralph Workflow Output Looks Like¶
Ralph Workflow lands coding-agent work directly on main, automatically, with no pull requests. So the output of a run is not a branch waiting for review. It is commits that are already on origin/main.
Good output is simple to describe: the commits that landed do what the spec says, your CI is green on main, and the spec’s checks pass when you run them. This page covers what a run leaves behind, what each part tells you, and what none of it proves yet.
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. Until it does, nothing a run prints means the work was verified.
What a run leaves behind¶
1. Commits on main¶
This is the real output. After each commit, Ralph Workflow rebases onto your local main and pushes the whole local main to origin/main with a plain push, never forced. When the run ends, every commit it made is already there.
The push also carries any unpushed commits you had on local main, and the engine’s own commits (AGENTS.md, CLAUDE.md, policy files, a skill bundle, .gitignore).
2. The end-of-run summary¶
When the run ends, Ralph Workflow prints a summary in your terminal. It shows whether the run completed or failed (and where, if it failed), how long it took, the plan, how many pushes it made, and the result of the agent’s own review, such as Review: [PASS] clean.
It tells you what the run did. It does not tell you the work is right:
the review result is the agent reading its own work, not an executed check
that review runs after the push, so the commits were on
mainbefore it rannothing in the summary comes from running your tests or reading your CI
3. The agent’s notes in .agent/¶
During the run, the agent writes its working notes to .agent/ in your checkout. For example:
.agent/
├── PLAN.md # the agent's plan
├── DEVELOPMENT_RESULT.md # what the agent says it changed
├── ISSUES.md # problems its review found, if any
├── FIX_RESULT.md # what it says it fixed, if a fix pass ran
└── artifacts/ # the same documents, as the agent submitted them
ralph --init adds .agent/ to .gitignore, so these notes stay on your machine and are not pushed. Later cycles overwrite them.
They are useful for finding your way around a run. They are written by the agent. When a note says “tests pass”, that is the agent’s claim, not a record of a test run.
An example spec and what to compare it with¶
Task: reject empty project names in a CLI before any files are created.
# Goal
Reject empty or whitespace-only project names before any files are created.
## Acceptance criteria
- the CLI shows a clear error for empty or whitespace-only names
- no project is created for invalid input
- the rest of the flow stays unchanged
- tests cover the validation
Good output for this spec looks like:
a small number of commits on
maintouching the create flow and its testseach acceptance criterion holds when you try it
the new tests exist and pass when you run them on current
mainyour CI is green on
mainfor each new commitnothing outside the create flow changed, apart from the engine’s own files
If you want to see a sample spec and the notes an agent writes for it, open Example Review Bundle.
What to check after the run¶
Read your CI result on
mainfor each new commit. Ralph Workflow does not read CI results.Run the checks from your spec yourself.
Compare the new commits with the spec:
git log origin/main.Check for anything you did not ask for, including a merge commit (the engine falls back to one when the agent cannot finish a rebase) or a committed secret (nothing checks for those before the push).
If something is wrong,
git revertit, like any commit onmain, then sharpen the spec.
How to Review AI Coding Output After It Lands on Main goes through this in more detail.
What will change when the gate ships¶
Once the gate ships, your suite and acceptance checks will run on the exact commit before every push, and a failing commit will go back to the agent instead of landing. Until then, the commits are on main before anything has checked them, so the check above is the only one there is.
Next step¶
Continue to the Quickstart or Getting Started for the install and first run