Skip to content

Consent binds to the node and its exact resolved arguments

The operator approved one call, not "this node from now on". If the arguments drift, the approval no longer describes what would happen.

The rule

Normative: this is the rule
  1. A consent MUST bind to a hash over the node identifier and its canonicalized resolved arguments.
  2. The canonicalization MUST sort keys, encode scalars stably, and exclude internal parameters (those whose names carry the reserved __ prefix).
  3. Any mismatch between the hash a consent carries and the hash of the call at hand MUST be treated as no consent.
  4. The gate MUST ask again.
  5. It MUST NOT reuse the earlier consent.
  6. Where a question is still pending for arguments that have since drifted, it MUST be withdrawn before the new one is asked.
  7. Where a question is still pending for the same call, that question MUST be re-raised rather than duplicated.

What it means

A pending question is not safe from being replaced by a later one for the same node. Where the arguments have drifted since the question was raised, the earlier question is withdrawn before the new one is asked — an operator who has not yet answered never sees a question about a call that no longer matches what would actually run. Only a question for the identical call is re-raised as itself rather than duplicated.

Example

A question already waiting in the inbox, for arguments that no longer match the call at hand:

The pending question already in the inboxwithdrawn
{ "message": "old args" }
The call that arrives insteadpaused
{ "message": "send it", "level": "info" }

Why

Recorded under OPEN-25.

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