All guides

Running a Workflow

A Workflow runs a plan with many agents. A lead agent splits the plan into tasks. SimpleEdit runs each task in a hidden worker session and shows progress as a live graph. You start the run, and you pass every review gate yourself.

The lead plans and decides; it doesn’t write code. Each worker does one task in a fresh context and reports a short result to the lead. Steer by changing the plan with the lead. Type into a worker’s terminal only to nudge one task.

Use a Workflow when you have:

Before you start

1. Ask the lead to create the workflow

In the session that holds the plan, ask the agent to turn the plan into a workflow. For example: “Create a workflow for this plan. One task per PR, then a review gate.”

The agent becomes the lead and writes a task graph. Each task has a brief, dependencies, and an agent and model. A task can be:

A big plan can also be split into tracks. See Tracks and landing.

Ask for the shape you want in plain words: “Make the API task a loop with a Codex reviewer.” “One task per package.”

Once the workflow exists, you can compact the lead’s conversation (for example /compact in Claude Code). The workflow, briefs and plan doc hold what the lead needs, so later wake-ups start from a short context.

Verify tasks

A verify task runs a command, such as the project’s full checks, through the Verify Queue instead of a worker session. It has no terminal. Its command is visible on its card before you select Start.

Select a verify card to open a popup with a Verify tab and one tab per earlier round. A passing verify never passes a gate or accepts anything for you. See Running heavy checks in the Verify Queue.

2. Review the graph

  1. Open the lead’s Workflow tab. In the sidebar, the lead’s session also offers Open the workflow.
  2. Read the Goal and each task card. Select a card to read its Brief and what Done means.
  3. Select Patches to see every change the lead made to the graph. The button shows how many there are.

The graph is the first review gate. Tell the lead what is wrong; it patches the graph, and the patch shows as “since you approved”.

3. Start

Select Start. SimpleEdit starts a worker for each task whose dependencies are done, up to the worker limit. Workers don’t show in the sidebar.

If a worker stops at its provider’s folder-trust prompt (or Codex’s hook review) before its first turn, its card says it is waiting and shows Trust folder (or Trust Codex hooks), and the task appears in Needs you with the same button. Only your click answers the prompt; SimpleEdit changes no provider settings.

Task states:

CardMeaning
○ QueuedWaits for its dependencies.
Waiting for a worker slot (Claude 4/4)Ready, but all workers of that provider are busy. It starts when one is free.
▶ RunningA worker is on it.
● Waiting on youThe worker asked a question.
◆ Waiting on the leadThe lead must decide something first.
✓ DoneThe worker reported its result.
✕ CancelledThe task was cancelled.
✕ Failed, ✕ Worker stoppedThe task did not finish. The lead gets a judgment to decide what to do.

A loop task has its own states:

CardMeaning
▶ Round n of m · workingA worker is on the task. From round 2 on, it reads “A fresh worker fixes round n findings”.
◇ Round n of m · in reviewA fresh reviewer checks the worker’s result.
✓ Clean after n roundsThe reviewer found nothing more. The loop is done.
◆ Didn’t converge · needs the leadThe last round still had findings. The lead decides what happens next.
✓ Accepted · n open findingsThe lead accepted the work with the findings still open.
✕ Reviewer failedThe reviewer did not finish.

Select a card to open its worker’s terminal. Type into it when that one task needs a nudge; for anything bigger, change the plan with the lead.

A worker stops when its task is done or failed, and a reviewer stops when it has given its verdict. Mid-turn, it stops when the turn ends or after 30 seconds; typing into it before then keeps it running. Its conversation is kept: select its card (“This worker stopped when its work was done.”) and Resume to continue it.

Permissions

Workers don’t ask for permission. Starting the workflow is your approval of the plan. Each worker launches in its agent’s guarded auto mode, which never bypasses safety checks:

AgentWorker mode
Claude CodeAuto mode (--permission-mode auto). A classifier still reviews actions.
Codex--approve-for-me: automatic review inside the workspace-write sandbox.
GitHub Copilot CLI--assisted-approval: a safety judge reviews tool requests.
Antigravity (agy)--mode auto: auto-approves edits and safe commands.
OpenCodeNo guarded auto mode. Workers use your own OpenCode permission settings.

If your organisation’s managed policy blocks assisted approval, Copilot ignores it with a warning and falls back to your own permission settings.

OpenCode workers stop and wait for you when your config asks before edits or shell commands. Configure OpenCode’s permissions to allow what workers need.

Your own deny rules still apply. Where the agent supports deny rules, workers are also denied gh pr merge: merging stays with the workflow’s own land step. Workers may still git push, because fix workers push their fixes. Plan mode as your default doesn’t stop workers.

Sessions you start yourself, or that an agent starts with spawn_session, still use your own default mode.

Loops: agents check each other

A loop is a task where a reviewer agent checks the worker’s result every round.

  1. A worker does the task on its own branch and reports done.
  2. A fresh reviewer reads the branch and reports “clean” or a list of findings.
  3. With findings, a fresh worker gets the brief, the branch and the findings, and fixes them. A fresh reviewer checks again.

Each round starts new sessions. The lead sets the rounds per loop: 1 to 5, 3 by default.

Cross-provider review. The reviewer can run on another provider than the worker, such as Codex reviewing Claude’s work. Workers and reviewers can run on Claude, Codex, OpenCode, Copilot or Antigravity. Ask the lead: “Use a Codex reviewer for this loop.”

When a loop doesn’t converge. If the last round still has findings, the card shows ”◆ Didn’t converge · needs the lead”. The lead can give the loop more rounds (at most 10 in all) or accept the work as it is. It often finds the plan is the problem; then it asks you and you adjust the plan together.

Look inside a loop. Select the loop’s card to see its sessions as a row of buttons: the current Worker, the Reviewer · round n, and the workers of earlier rounds, each as “Worker · round n”. Each button ends with that session’s state or verdict, for example “Reviewer · round 2 · Clean”. A reviewer that is reused shows its latest round only; the Rounds block lists the findings of every round. Earlier workers stay open until you dismiss the workflow, so you can see how the work got where it is. Select Resume on one to ask it something.

Deep review tasks

A Deep review task is the opposite of a loop: it reviews first and fixes after. It checks the branch of an earlier task, often the integrate task that combined the work.

  1. Round 1 has no worker. A Deep review of the branch runs, with one to three reviewers (the lead sets how many) and a refuter that tries to disprove each finding. The card reads ”◇ Reviewing · k/n agents”. Select it to open the Deep review tab and read the findings.
  2. If nothing needs fixing, the card reads ”✓ Clean · nothing to fix”. Otherwise a fresh Fixer gets the findings that held up, then a fresh reviewer checks the fix. This repeats until it is clean, up to the lead’s round limit (3 by default). If the limit is reached with findings still open, the card reads ”✓ Accepted · n open findings” and the findings stay in the Deep review tab.
  3. If the Deep review itself can’t finish, the card reads ”✕ Deep review failed”.

A Deep review reads the workflow’s shared brief, unless the task has a reviewer brief of its own.

Pick a Deep review over a loop when you want one thorough, multi-agent read of the finished result, rather than a cheap reviewer after every task. A loop is better when each task should be checked as it goes. Findings show only in the Workflow tab, not in the Review Room or on GitHub. Cancel aborts a running Deep review. To tune its reviewers, see Tuning Deep review.

4. Answer when you are needed

The lead is woken only when it must decide something, for example when a task fails or a loop doesn’t converge. These are judgments. The lead answers a judgment by changing the plan: it patches the running graph, for example with a fix task or a new brief, and the run goes on. Every patch shows under Patches. When something waits for you, the lead’s dot turns amber. Needs you, at the top of the Workflow tab, is the one place for what waits for you: each item is a row with its button, for example Open review or Accept.

Opt-in: Workflow Decider

By default, every judgment wakes the planning lead. For long workflows, you can opt into a decider when creating the workflow (decider on create_workflow, with an immutable brief, an optional escalation model, and a per-judgment run limit):

5. Pass the review and QA gates

A review gate (⛩) stops the run until you review the work before it. A QA gate stops the run until you test the build on a QA board.

Review gates

  1. When the tasks before the gate are done, the gate opens one review per PR stack the tasks made. The reviews open as tabs in the lead’s workspace.
  2. Select the stack’s row on the gate card, or Open review under Needs you. While your review is open, the card reads ”● Waiting on your review · n stack(s)”. A gate with no stacks reads ”● Waiting for you to accept”.
  3. Review the stack in the Review Room. See Reviewing a PR stack.
  4. Submit the review. A gate’s review goes to the lead only. It never posts to GitHub.

What happens next depends on your verdict:

Only you can pass a gate. The lead cannot.

If you discarded a review, select Re-request to open it again.

QA gates

A QA gate opens a QA tab in the lead’s workspace, also reachable as Open QA board under Needs you. Test the build there, then select Pass QA, or Request fixes to send the bugs to the lead. It reopens as Round 2 once the fixes land. On the phone you can only see the counts and Accept. See Testing a build on a QA board.

Tracks and landing

A release with several parts can be one workflow with several tracks. Each track has a title and its own lead: the session that designed it. The session that created the workflow is the director. Track leads report to the director, and the director keeps the cross-track decisions.

You review the release once, as one stack under Needs you. A lands task is run by SimpleEdit itself: it watches approved PRs on GitHub, rebases cleanly when needed, uses a fresh Fixer + Verify loop when CI fails or teammates ask for changes, wakes you only when the code changes or a teammate needs your review or re-request, and merges once CI settles green and your approved head is covered. Accept alone never merges code that is not approved. The workflow is done when every track has landed. See Landing approved PRs.

6. Finish

When all tasks are done, select Dismiss. This closes the workflow’s worker sessions, removes the task worktrees that are clean, and archives the workflow. Branches that are already in your default branch, or whose pull request is merged or closed, are deleted too. Every other branch stays.

When a workflow finishes or is cancelled, SimpleEdit removes the clean task worktrees it created. A worktree with uncommitted or untracked files is kept, and the lead gets one message listing it. While any task worktree has uncommitted changes, Dismiss does nothing except tell you which worktrees they are and let the lead know. Once the lead has committed, discarded or reported those changes, select Dismiss again.

To stop a running workflow, select Cancel. The workers move to the sidebar as normal sessions, so no work is lost.

Usage

Each task card shows its worker’s tokens, and the status line shows the total. Hover a card to see the tokens by role: Implement, Loop review, Deep review and Fix. Round 1 of a Deep review has no worker, so it only counts under Deep review.

On the phone

The phone shows the workflow’s progress. A workflow with tracks has one section per track. You can Start a drafted workflow or one of its tracks, open a gate’s review, Accept a gate, tap Re-request @login on a landing card, or answer a decider escalation with Send to lead there. Cancel and Dismiss are desktop only.

Workflowrecurring invoices
▶ Round 1 of 3 · working↻ 1/3
Recurring invoice schedule feat/recurring-invoices Claude
◇ Round 1 of 3 · in review↻ 1/3
Recurring invoice schedule feat/recurring-invoices Claude
▶ Round 2 of 3 · working↻ 2/3
Recurring invoice schedule A fresh worker fixes round 1 findings Claude
◇ Round 2 of 3 · in review↻ 2/3
Recurring invoice schedule feat/recurring-invoices Claude
✓ Clean after 2 rounds↻ 2/3
Recurring invoice schedule feat/recurring-invoices Claude
● Waiting for you to accept⛩ gate
Review before merge Accept
Worker · round 1:
Schedule model and next-run date are in.
Reviewer · round 1:
Two findings: the schedule skips month ends, and nothing tests it.
Worker · round 2:
Month ends handled, tests added.
Reviewer · round 2:
No findings.
Only you pass a gate. Nothing after it starts until you accept.