Skip to content

A processor sees its declared parameters and nothing else

The resolved parameter set is shaped by the processor's own schema, not by whatever happens to be in the stored config. A key nobody declared cannot arrive by being typed into config.

The rule

Normative: this is the rule
  1. The resolved parameter set MUST contain no key other than a parameter of the node's effective parameter schema (DYN-8): one the processor's parameter schema declares, or one of the node's dynamic parameters.
  2. A configuration key matching no declared parameter MUST NOT be resolved, and MUST NOT reach the processor.

Why

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

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.

  • An unwired dynamic input is absent; a null on its wire is present resolve-parameters
    {
      "given": {
        "parameters": {},
        "dynamicParameters": [
          {
            "name": "a",
            "connectable": true,
            "exposedByDefault": true
          },
          {
            "name": "b",
            "connectable": true,
            "exposedByDefault": true
          }
        ],
        "inputs": {
          "b": null
        }
      },
      "expect": {
        "resolved": {
          "b": null
        }
      }
    }

    fixtures/presence/dyn-unwired-absent-null-present.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 · CFG-13 · changed in spec 1.0