Skip to content

Output stripping covers every output port the node has

Hiding an output means its value never leaves the node. The pass that enforces this works from the node's effective output schema, dynamic outputs included; reserved control ports are not in that schema and are outside its reach.

The rule

Normative: this is the rule
  1. When a node execution produces a result, every key naming an output port of the node's effective output schema (DYN-8), dynamic outputs included, that resolves as hidden MUST be removed from that result before it is delivered anywhere.
  2. A key the effective output schema does not declare MUST pass through untouched, and so MUST the reserved control outputs whether declared or not (EXPO-12).
  3. A hidden output MUST be stripped whatever else the result contains, even where the processor declares no output ports at all.

What it means

Stripping reaches every key the node's effective output schema names as a port: the outputs its processor declares and the dynamic outputs the instance adds (DYN-8). A reserved control output passes straight through, even where a node type lists it in its output schema (EXPO-12).

The obligation holds even where the processor's own schema declares no output ports at all. An empty declared set is not licence to leave a hidden port unenforced; a hidden dynamic output on such a node is stripped all the same.

Example

A node's result carries three keys: a declared output the node keeps visible, a declared output the node type hides, and a dynamic output this instance hides.

A node's raw resultproduced
{"result": "ok", "summary": "draft", "ssn": "secret"}
What the result deliversstripped
{"result": "ok"}

Why

Recorded under OPEN-25, OPEN-31, OPEN-45.

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