Skip to content

Strictness polices the caller, never the stored manifest

A caller can fix the key they sent. They cannot fix a manifest entry someone else stored, so failing their launch over it helps nobody.

The rule

Normative: this is the rule
  1. A malformed manifest entry (MAN-8) MUST be dropped while resolving launch inputs, including where undeclared caller keys are refused.
  2. A warning is logged for it.
  3. An unbound entry is not malformed: its input is declared, and a caller MAY supply it (MAN-11).
  4. Strictness MUST apply to what the caller supplied.
  5. It MUST NOT apply to what the workflow stored.

What it means

MAN-13 refuses a caller for sending a key the manifest never declared, and it is tempting to read strictness as one blanket setting: reject anything the resolution step cannot make sense of. This rule draws the line strictness does not cross. A malformed manifest entry — one an author (or an earlier version of the workflow) left with a missing or empty name, or only half a binding — is not the caller's mistake, and refusing the caller's launch over it fixes nothing: the caller cannot edit a manifest they do not own. So a launch that is otherwise as strict as it gets still drops a broken entry with a warning and keeps resolving everything else, exactly as a lenient resolution would.

Example

The workflow's manifest entry for message names a node, deleted.1, no longer in the graph.

A value sent for a declared input whose target node is gonedropped
{ "message": "hello" }

The same happens when an entry's node_id or port is empty outright:

Values sent for two entries with an empty node id and an empty portdropped
{ "a": 1, "b": 2 }

Neither launch is refused; both drop the broken entry's value and resolve whatever else the manifest can still make sense of. An unbound entry is not broken: its input is declared, the caller may send it, and the value is checked and then delivered nowhere.

Why

Recorded under OPEN-25, OPEN-27.

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.

  • A value for an unbound input is accepted and delivered nowhere resolve-launch-inputs
    {
      "given": {
        "inputs": [
          {
            "name": "topic",
            "schema": {
              "type": "string",
              "x-data-type": "string"
            }
          }
        ],
        "supplied": {
          "topic": "x"
        }
      },
      "expect": {
        "initialData": {}
      }
    }

    fixtures/presence/in-unbound-delivered-nowhere.json

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