Skip to content

A bound exposure entry names a port the node has

The rule

Normative: this is the rule
  1. A bound workflow exposure entry's port MUST be a port of the named node's effective schemas (DYN-8): an input for an entry on the input side, an output for one on the output side.
  2. An entry naming any other port MUST be refused at schema.{side}.{index}.
  3. Where the node's executor cannot be resolved the port cannot be checked, so this check and R10 MUST be skipped for that entry rather than guessed at.
  4. The skip is narrower than the entry: R4.a's name format and R4.b's uniqueness, both decided from the entry alone, MUST still be reported.
  5. An unbound entry has no port to check.

What it means

The skip this rule allows is narrower than it sounds. Losing the ability to resolve a node's ports only silences this one check and R10; it does not silence R4.a's name-format check or R4.b's uniqueness check, both of which are decided from the entry's own fields and need nothing from the node. An entry can therefore fail on its name at the same time its port check is skipped for want of a resolvable node — one refusal, not a cascade of guesses about a port that was never checked.

Example

An exposure entry naming an unresolvable node, with a name that also fails the format check:

An exposure entry on a node whose executor can't be resolvedchecked
{ "name": "Bad Name", "node_id": "n1", "port": "no_such_port" }
The two errors reported for that entryreported
["R1_PLUGIN_MISSING", "R4_NAME_FORMAT"]

R4_PORT_MISSING does not appear: with no resolvable executor there is no port list to check the entry's port against, so this check stays silent while the name-format complaint still reaches the caller.

Why

Recorded under OPEN-25, OPEN-27, OPEN-30, 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 · R4.d · changed in spec 1.0