Skip to content

A gated node never executes without consent for that exact call

The gate sits at the single point every node execution passes through, so it covers a node scheduled in the graph and the same node invoked as a tool by an agent loop. The operator approves the resolved arguments, not the intention.

The rule

Normative: this is the rule
  1. A node whose effective confirmation requirement is true MUST NOT execute without a consumed, hash-matching, confirmed consent (RT-GATE-2, RT-GATE-3).
  2. The gate MUST be evaluated after parameters are resolved and before the node executes, so the operator approves the arguments the call will actually use.
  3. The gate MUST NOT apply unless the execution is a first execution: resuming a node continues a side effect that already passed the gate.
  4. The pause MUST be an ordinary interrupt carrying a boolean confirmation prompt.
  5. The prompt MUST show only the arguments a model can fill, so values supplied by configuration (credentials, endpoints) never reach an operator's inbox.
  6. A gate interrupt is a distinct flavour of interrupt.
  7. It MUST NOT be consumed as a node's own resume answer, so a node that is both resumable and side-effecting does not mistake an operator's consent for the reply it was waiting for.
  8. Every gate interrupt MUST carry a bounded expiry, and its expiry MUST be fail-closed: an expired gate never lets the node execute.
  9. Where a run waits on the gate interrupt, its expiry ends that run, cancelled and announced, whichever path expires it (INT-18, INT-23).
  10. Where the run is stateless, so no run waits on the interrupt (INT-3), a gate interrupt found past its expiry when the same call is executed again MUST be set expired and consumed as a decline with the reason EXPIRED.

What it means

A gate question that expires never lets the node run. What else happens depends on whether a run is waiting on it. A run paused on the question cannot be resumed by it any more, so the run ends, cancelled and announced (INT-18). It does not matter whether a sweep found the question overdue or an operator's late click did (INT-23).

A stateless execution, such as an agent loop with no stored run, has nothing to end. There the question is met again when the same call comes round once more, and an expired one is consumed as a decline. The node does not run, and the decline goes out its error port like any other (RT-GATE-4). Nothing about either path leaves the question answerable a second time.

Example

A gate question nobody answered before its expiry, met again by a stateless execution issuing the same call:

A gate question found past its expiry when the call comes round againdeclined
{ "reason": "EXPIRED" }

Why

Recorded under OPEN-25, OPEN-47, OPEN-50.

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