Skip to content

An undeclared launch key is refused, and its value never delivered

Silently ignoring an input a caller believed in is the worst of the options: the run proceeds with the caller's intent missing and nothing said.

The rule

Normative: this is the rule
  1. Every externally reachable launch endpoint MUST refuse, with 422 and the code INVALID_INPUTS, a launch key that is not a declared input name.
  2. The refusal MUST name the offending key and the workflow.
  3. The key's value MUST NOT reach the resolved initial data.

What it means

A caller who sends a key the workflow does not declare has made a mistake it cannot see: a typo in an input name looks exactly like a valid request. A launch that dropped the key quietly would run with the caller's intent missing. So every externally reachable launch endpoint refuses the request, and the refusal names both the key and the workflow, because the caller is often a machine and the message has to be enough on its own.

The last sentence says what the refusal protects: an undeclared key never reaches the resolved initial data. The internal node-keyed shape (MAN-12) is not a launch key in this sense, and is refused for its own reason.

Example

A key that is not a declared input name422 — INVALID_INPUTS
{ "nmae": "typo" }

The refusal names nmae and the workflow it was sent to, and no run starts.

Why

Recorded under OPEN-25, OPEN-49.

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-13 · changed in spec 1.1