Who it is forA reviewer or maintainer who must sign off on agent-written code before it moves forward.
The problemAgent success alone does not show a change is correct, so each result needs a deliberate decision before it advances.
The outcomeEach run waits at a review step, and a rejected change can be reworked as a child run with a note explaining the fix.
What you need first
- Go 1.27.2 and Node.js 26.12.0 for v0.6.2 development
- Git
- An existing CubeSandbox deployment with a READY template
- A Temporal service, or the included local Temporal Docker Compose stack
- Narrowly scoped credentials configured locally, kept out of Git
- Repository-owned build.sh and test.sh scripts, or other gates set for your project
Steps
- Set
[review] enabled = truein factory.toml, then run./bin/factory config validate. - Submit a task with
./bin/factory run --repo https://github.com/your-org/your-repo --rev FULL_COMMIT_SHA --task "Describe the change and acceptance criteria" --agent opencode2 --verification default. (inferred, check the README) - After the gates report, inspect the run with
./bin/factory describe run RUN_ID. - Approve with
./bin/factory review RUN_ID --approve, or reject with./bin/factory review RUN_ID --reject --note "use the formal greeting". - For rework after a rejection, run
./bin/factory run --change CHANGE_ID --parent-run RUN_ID ...with the same task and repo settings.
Prompt for your agent
In the ESF repo at <esf_path>, check run <RUN_ID> with `./bin/factory describe run <RUN_ID>` and list its gate results and the patch it produced. Report whether the run is waiting for review and what the reviewer should check before approving, and do not approve it yourself.
Caveat. The review pause only applies when [review] enabled is set to true, and the README does not describe who is authorized to approve.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for mitkox/esf and "Pause agent runs for human approval"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer