Skip to content

An edge is gated only when the source actually made a branch decision

Gateways decide which paths stay alive, but most edges in a workflow are not branch edges at all. This rule says exactly when a branch decision is allowed to stop an edge, so that everything else keeps flowing.

The rule

Normative: this is the rule
  1. An edge MUST be subject to branch gating only when all three of these hold: it leaves a named source port, the source's output carries an active-branch member, and that port is a branch port rather than a value port (BR-2).
  2. Where they hold, the edge MUST be followed if and only if the port's name appears in the active-branch list, both sides compared after trimming surrounding whitespace and lower-casing.
  3. An empty list names no branch, so no branch edge leaving that source is followed.
  4. In every other case the edge MUST be followed.

Why

Recorded under OPEN-25, OPEN-26.

Fixtures

Test cases whose outcome this rule decides. A case compares absent, null and empty members exactly; the fixtures README defines each operation. Where a case and the rule disagree, the rule is right.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · BR-1 · changed in spec 1.0