Skip to content

A node sees run state only where it asks for it, and none of it is persisted

The rule

Normative: this is the rule
  1. The runtime input handed to a node MUST carry the reserved internal names __state__, __messages__ and __data__, plus __iterator__ and __current_item__ whenever the state carries the iterator of a ForEach node that heads a loop of the node (SG-4), taken from the innermost such loop, and __interrupt_id__ when the node is being resumed.
  2. A node MUST NOT see one of these names unless its own parameter schema declares it.
  3. A declared internal parameter MUST always accept its runtime value.
  4. The live state MUST be handed to a node type that declares itself state-aware, and MUST NOT be handed to one that does not.
  5. The input recorded against the node's execution MUST have every reserved internal name removed, so that no state or interrupt internal is ever persisted, even though the node received it.

Why

Recorded under OPEN-25, OPEN-58.

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