Skip to content

The three cases in which a branch decision never gates an edge

Read on its own, "follow the edge if its port is active" would strand every edge that has nothing to do with branching. These three cases are checked first and answer before the active-branch list is ever consulted.

The rule

Normative: this is the rule
  1. Three cases MUST return "follow the edge" before membership of the active-branch list is tested, checked in this order: the source port is unnamed; the source's output has no active-branch member; and the port is a value port rather than a branch port.
  2. An active-branch member that is present, an empty list included, is a branch decision and MUST be tested.
  3. A port is a branch port when the source declares it among its configured branches, matched without regard to case.
  4. A port the source does not so declare is a value port, and MUST NOT be gated.
  5. A source that declares no branches at all therefore gates nothing, whatever it emitted: with no port declared a branch port, every edge leaving it is 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-2 · changed in spec 1.0