Skip to content

ADR-0024 — Who can stop or act: one gate, STOP always, safety declared, irreversible acts the operator's

Status: Accepted by the operator: the gate on 2026-11-18 (RFC-0017), STOP, guardrails and firing on 2026-11-17 and 2026-11-18 (RFC-0014), actions on 2026-11-28 (RFC-0032), the safety layer on 2026-11-30 (RFC-0025 §3.12, advisor's second review pending). Date: 2026-11-30 Scope: architecture: every command that reaches a robot, on every robot.

Context

The operator, 2026-11-18: "we should not allow two things to drive the same robot". Several clients reach a robot (Mission Control's page, its MCP server, the runner, the NXT's own page), an LLM plans goals, and some actions cannot be undone (the NXT's shooter). The safety of a robot is spread over many places: the robot's own fall guard and deadman, the navigator's guards, the speed cap, the lab's truth guardrails.

Decision

  1. One gate per robot, the one door for our clients. Every command of ours passes it; it holds an exclusive lease bound to the connection, ended by release, disconnect, STOP, takeover or silence by its own clock. It is not a security boundary on the robot: the robot's own doors (Pollen's app, a gamepad) stay, and the navigator watches who drives.
  2. STOP is accepted from any connection, always, and latches. It needs no lease, never goes through a planner, an LLM or a goal run, ends the holder's lease, and there is no flag to refuse it. The robot's own deadman is the backstop below it.
  3. Takeover is by name. Peers cannot eject each other; only names on a robot's takeover list may take it, and the takeover is recorded.
  4. Safety is a layer that cuts across the others (ADR-0023). The profile declares the robot-side entries in one ordered list, each with what it reads, what it does, where it sits and who provides it. The order is: local control, the navigator's guards, the speed cap, the gate. Below locomotion sit the robot's own (the last-hop deadman, the duck's fall guard); above everything sit the gate's lease and STOP, always ours.
  5. Guardrails merge in three levels (the robot's, the site's, the goal's); a goal can add and never remove; a goal needing a guardrail the robot cannot enforce is refused.
  6. The lab's truth guardrails (contact, fall, drop clearance) are the evaluator's alone (ADR-0022); a robot does not declare them.
  7. Everything that makes a robot do something passes the gate, as a goal or as an action. An irreversible action is "always proposed, never automatic" (RFC-0014 §3.8) and "never run by an agent without the operator's switch" (RFC-0032 §3.3); the MCP server has no tool for one.

Consequences

  • One rule for every robot and every client; the NXT's shooter moves under Mission Control as an irreversible effector action.
  • A ROS robot's own collision monitor is a declared safety entry with provider robot; whether the declared list can describe it well enough to compare is for RFC-0025 step 7.
  • The MCP server cannot fire, cannot write sites or areas, and cannot run on a real robot unless started for it.

Alternatives considered

A lock in the client library; a lock service; a broker with ACLs; ROS 2 / DDS-Security; last-writer-wins; a fencing token in every command; a flag to refuse STOP; a gate that makes the robot's socket private (RFC-0017 §6). Skills as a kind of goal (RFC-0032 §7). Declaring the truth guardrails in the robot's profile (RFC-0025 §3.12, answer 4).

Built

Mostly. The gate (libs/gate, lab-gate), STOP and its latch, takeover lists, guardrail merging (libs/missions), the MCP limits. Not built: the declared safety list, the actions POST route, the NXT's fire under Mission Control.

Inventory

RFC-0017-1 to -8; RFC-0014-5, -6, -7, -12; RFC-0025-37; RFC-0030-3; RFC-0019-4; RFC-0032-2, -3, -4; RFC-0002-1, -7; RFC-0003-7; RFC-0001-3 (the inventory).