Skip to content

No edge targets a hidden input port

The rule

Normative: this is the rule

An edge whose target port is a port of the target node (DYN-8) but is not exposed on that node MUST be refused with R7_EDGE_TARGET_NOT_EXPOSED at edge.{index}, where {index} is the edge's position in the workflow's edges array.

What it means

"Not exposed" folds two different origins into one refusal: a port this instance has explicitly hidden, and a port the node type itself hides by default that this instance never touched. R7.a does not distinguish between them — either way, an edge into it is refused the same way. R7.c is what decides which of the two is in force for a given instance.

The check fires for every port the target node has, dynamic ports included (DYN-8). An edge to a port the node does not have at all is R7.d's case.

Example

The target node's type declares a value input; this instance's own configuration records it as hidden:

An edge landing on a port this instance has hidden
{ "id": "e1", "source": "s", "sourceHandle": "s-output-result", "target": "t", "targetHandle": "t-input-value" }
The code and locator of the finding it producesrefused
{ "code": "R7_EDGE_TARGET_NOT_EXPOSED", "locator": "edge.0" }

Why

Recorded under OPEN-25, OPEN-31.

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