Skip to content
blocks

Branch

Block overview

Let the run split into two paths — one for the happy case, one for everything else.

Two paths. Review is a library group, not a required stage of every run.

In a workflow

One example of where this block sits. It is not a recording of a run, and the neighbours can change.

BranchIllustrative branch. Happy case and Otherwise are output annotations.BriefCode changesTest outputDiffFeedbackReviseRerunBriefRefactor a moduleTask descriptionBuilderMake the changeTestsRun the project suitevitest commandReviewerCheck against briefSecond agent checkYou decideHuman decisionApprove or reviseLoopRevise iteration
Illustrative workflow
BranchIllustrative branch. Happy case and Otherwise are output annotations.BriefCode changesTest outputFeedbackReviseRerunBriefRefactor a moduleBuilderMake the changeTestsRun the project suiteReviewerCheck against briefYou decideApprove or reviseLoopRevise iteration
Illustrative workflow

Input, action, output

Three notes from the block description. They are not a configuration API.

Input
Illustrative example
What the block reads on the canvas: a brief, a report, or a command you already run.
Action
Available
Let the run split into two paths — one for the happy case, one for everything else.
Output
Illustrative example
A result you can read next to the work — feedback, command output, or a decision that is still yours.

Open your canvas

Download DNP and place Branch next to the blocks it works with.