Skip to content

RFC-0032: its decisions in full

Rows of the decision inventory, from the RFC.

RFC-0032-1: Generic first, specialised in the adapter: each ability has one shape in Mission Control's contract, a robot that lacks one leaves it out, and the page offers only what is there

  • Decided: Each concept (facts, control source, actions, artefacts and slots, approvals, the robot record) has one shape in Mission Control's contract, API, MCP tools and page; a robot's adapter maps it to that robot's calls; the pages are cards that render from data, the same for every robot; a duck-only page is allowed only for something no other robot has.
  • Why: the operator's brief: "to be also generic at some level since we can expect similar concepts with other robots, and then specialise for Pollen" (the "Asked by" paragraph, 2026-11-28).
  • How: the adapter protocol RobotAdapter(Protocol) (apps/mission-control/src/mission_control/robots.py:278) with facts(), control_source(), actions(), do(), behaviours(), each optional (§4); the robot file's capabilities gains actions and an artefacts hint (§4); RFC-0014 §3.3.2.
  • Alternatives rejected: "A duck console tab that proxies Pollen's tools" (per robot, outside the lease and log); "Use Pollen's RPC names as the generic contract" (one vendor's; VDA's are a standard); "Leave it to robotctl over ssh" (§7).
  • RFC status and section: Accepted; §2 principle 1, §4, §5, §7.
  • Who decided and when: the operator, 2026-11-28, "all six questions of section 8 as recommended".
  • Existing ADR: ADR-0020 covers robots behind our own interfaces (the connector and robot interface) partly; no ADR covers the abilities model.
  • Later changed by: RFC-0025 §3.12 (L1, 2026-11-30) renames the profile's plugins block to layers, Mission Control's Modules tab to Layers, and drops "slot" as its own term; RFC-0032's "Behaviours" card is placed in the Modules tab and its "slots" are Pollen's own behaviour slots (walk, stand), so the card's tab name changes and the RFC does not say whether "slot" stays in its own vocabulary. RFC-0025 also introduces the "connector" and its robot interface (RFC-0026). Not reversed; checked RFC-0030 and RFC-0031 (neither cites RFC-0032).
  • In code: Partial. robots.py:513,522 (facts, actions on the base adapter), duck.py:548,573, fake.py:767,772, nxt.py:362; api.py:153,160 (GET /robots/{id}/facts, .../actions).

RFC-0032-2: Everything that makes a robot do something passes the gate; actions are one concept (VDA 5050's vocabulary plus our irreversible flag) run through POST /robots/{id}/actions/{actionType}

Architecture ADR: ADR-0024.

  • Decided: An action is named, bounded and asked for (not a goal): fields actionType, kind (motion/expression/effector), blockingTypes, irreversible, duration_s, params, source, backed_by. Running one takes the lease, passes the gate as robot.do, records an action run with its own id and state (running, done, failed, cancelled); STOP cancels it. Reading needs no lease. irreversible actions ask for confirmation and are never run by an agent without the operator's switch.
  • Why: principle 3, "Everything that makes a robot do something passes the gate. Lease, STOP, log, as for robot.move today (RFC-0017)"; gap 3: the NXT's fire, "the one irreversible action we have is outside the control centre's lease and log" (§1).
  • How: the gate (libs/gate, robot.do needs a lease, libs/gate/tests/test_gate.py:95-96); the route and adapter methods (§4).
  • Alternatives rejected: "Skills as a kind of goal" (a goal has a place and a navigator, an action does not); a duck console tab; robotctl over ssh (§7).
  • RFC status and section: Accepted; §2 principles 2-3, §3.3, §7.
  • Who decided and when: the operator, 2026-11-28 (Q1, Q2 "as recommended").
  • Existing ADR: none. ADR-0020 covers the gate's robot.* methods becoming our interface, not actions.
  • Later changed by: not found in my RFCs (RFC-0025's robot interface (RFC-0026, not yet written) would own the wire form).
  • In code: Partial. GET /robots/{id}/actions exists (api.py:160); I found no POST route for actions in api.py.

RFC-0032-3: The NXT's fire moves under Mission Control as an irreversible effector action; the MCP server keeps "no fire"

Architecture ADR: ADR-0024.

  • Decided: fire becomes an effector action marked irreversible; nxt-web calls it through Mission Control (the gate) instead of its own lock; irreversible actions stay off the agent (MCP) tools.
  • Why: "The one irreversible action we have is outside the control centre's lease and log" (§1 gap 3).
  • How: phase 2 (§6); apps/nxt-web/src/nxt_lab/lock.py is the lock it replaces; a check at the brick by the operator.
  • Alternatives rejected: none named beyond leaving it as it is.
  • RFC status and section: Accepted, Q2; §3.3, §6 phase 2, §8 Q2.
  • Who decided and when: the operator, 2026-11-28 (Q2 "as recommended").
  • Existing ADR: none.
  • Later changed by: not found in my RFCs. The RFC says it did not read apps/nxt-web for this (§9).
  • In code: No. nxt_lab/lock.py:2 still describes its own lock "the duck's gate (robotgate) over HTTP"; no move to actions found.

RFC-0032-4: Control source: a goal run stops when the robot is not driven by us or its own autonomy is on, and the page shows "driven by"

Architecture ADR: ADR-0024.

  • Decided: Every state frame is checked for source, ours, autonomous, pad; during a goal run ours: false or autonomous: true ends the goal with interrupted, reason driven_by <source>, and an alarm; resuming needs the operator. A pad is only seen (option A) until a real duck is here; a pad that drives through Mission Control is a later choice. Phase 1's rule lands before any real duck run.
  • Why: gap 1: "Mission Control shows 'held by us' while someone else drives" (§1); RFC-0002 §3.6 (someone else drives: stop and report).
  • How: Gate.observe_state (libs/gate/src/robotgate/__init__.py:272-315), already built (PHASE5-NEXT-PLAN B4, 2026-11-23); the RFC's own correction (2026-11-28) says it "never fires against Pollen's robotd" because of autonomous omitted when false, move.applied an array, and move.source only for a client that named itself in hello; phase 1 fixes the reading and names the gate to robotd.
  • Alternatives rejected: pad options B (browser Gamepad API on our lease) and D (a pad client of the gate), deferred (§3.2, Q3).
  • RFC status and section: Accepted, Q1 and Q3; §3.2, §6 phase 1 and 5.
  • Who decided and when: the operator, 2026-11-28.
  • Existing ADR: none. ADR-0020 and RFC-0017 are the nearest.
  • Later changed by: not found in my RFCs.
  • In code: Partial. libs/gate/src/robotgate/__init__.py:111-114,277 has own_sources and omits_false_autonomous, and robots.py:350 has control_source; whether it fires against robotd not run.

RFC-0032-5: Facts: a read-only record of what the robot is and runs goes into the run's build identity, including the simulator's body and actuator model

Architecture ADR: ADR-0023.

  • Decided: A read-only facts record (identity, software running/installed, interface, update state, behaviours with artefacts), fetched on connect, on demand and at the start of every run; its digest joins the run's build identity so two runs on different walkers never read as the same system; in the simulator the facts add the body model (MJCF source, commit, sha256) and the actuator model (BAM or position actuators).
  • Why: gap 2 "A run record cannot say which walker it ran on; a result is not reproducible"; gap 4 "Every sim number in the learning arc carries an unknown" (§1).
  • How: libs/runfile/src/runfile/build.py (build identity, per RFC-0025 §3.12); GET /robots/{id}/facts (api.py:153).
  • Alternatives rejected: none named.
  • RFC status and section: Accepted, Q6; §3.1, §6 phase 1.
  • Who decided and when: the operator, 2026-11-28 (Q6: record in phase 1 and ask Pollen which actuator model duck-body runs).
  • Existing ADR: ADR-0007 (run file format 2) covers the run header; the build identity digest of facts is not in an ADR.
  • Later changed by: RFC-0025 §3.12 "A system is a robot and its layers" extends the same build identity (libs/runfile/src/runfile/build.py:3) to the layers' plugins and versions; not a reversal.
  • In code: Partial. facts() exists on the adapters; grep facts libs/runfile/src/runfile/build.py found nothing, so the digest in the build identity was not found.

RFC-0032-6: Artefacts and slots: what implements a behaviour is one generic record; ours (learned@<sha8>) is an artefact too

Architecture ADR: ADR-0028.

  • Decided: A robot's default behaviours (Pollen's slots: walk, stand) and its actions are implemented by artefacts (kind, origin official/community/local/ours, repo, revision, sha256, contract); changing a slot (robot.loadPolicy) is a write that needs the lease, passes the gate, and is allowed only for an artefact with an approval. Our navigator's residual is an artefact behind the local_controller slot, so one page lists what drives a robot at every level.
  • Why: gap 2 and opportunity 6 (§1, §3.4); the RFC gives no reason for the unified record beyond this.
  • How: phase 1 reads them as facts; phase 4 writes (§6); the adapter's behaviours() (§4).
  • Alternatives rejected: none named.
  • RFC status and section: Accepted; §3.4, §6 phases 1 and 4.
  • Who decided and when: the operator, 2026-11-28 (Q1, Q5 "as recommended").
  • Existing ADR: none.
  • Later changed by: RFC-0025 §3.7/§3.12: the local controller becomes a fifth plugin interface in a layer, "a learned plugin declares its robot and layer", the layer-and-robot check refuses a mismatch, and a Pollen walker counts "as a learned plugin provided by the robot" (answer 7). This overlaps this RFC's artefact/slot model; the two vocabularies (artefact and slot versus plugin, layer and provider) are not reconciled in either RFC.
  • In code: No. No artefact record or behaviours() found beyond the protocol sketch (not exhaustively searched).

RFC-0032-7: An artefact may run only after a four-step approval: contract check, simulator rehearsal, frozen-set scoring, the operator's signature

Architecture ADR: ADR-0028.

  • Decided: (1) a contract check of the artefact's manifest against the robot's facts; (2) a rehearsal in the simulator through sim_first; (3) scoring as a system in robotics-evals on the frozen sets for its slot, against the current artefact; (4) the operator signs an approval record (sha256, robot model, slot, evidence links); only then can a slot load it, on that robot model, with allow_community set for that one load. The same path serves an NXT program or one of our learned controllers. Phase 4 waits for R7 so the rule is tested on our own models first.
  • Why: Pollen's boundary for a community network is "clamps, a fall reflex and a shape check"; ours "adds evidence", on the shape of RFC-0031 §7's promotion rule; gap 6: "nothing a stranger publishes is verified by anybody".
  • How: RFC-0031 §7 (the promotion rule); robotics-evals; Mission Control's approvals store (§4, not built).
  • Alternatives rejected: approvals before R7 (Q5, answered no).
  • RFC status and section: Accepted; §3.5, §6 phase 4, §8 Q5.
  • Who decided and when: the operator, 2026-11-28 (Q5 "as recommended").
  • Existing ADR: none.
  • Later changed by: not found in my RFCs; it depends on RFC-0031 §7 (the promotion rule). The RFC says the simulator's walking shortfall "limits what step 2 proves".
  • In code: No. grep for "approval" in apps/mission-control/src found no approvals store.

RFC-0032-8: Measured, not declared; read before write; no code of ours on the robot

  • Decided: What the robot reports wins over what a file says (the robot file holds only what the robot cannot tell us); every concept starts read-only and changing the robot comes after, behind approval; no code of ours runs on the robot (RFC-0002's non-goal, unchanged), all of it host side. Robot settings are shown read-only where a robot reports them; writing through robotctl configure is not allowed until Pollen has a configure call (Q4).
  • Why: principle 5 mirrors how online is treated today; Pollen "has no configure call: robotctl configure edits a file on the board" (§3.7); the other reasons are stated as principles without a separate rationale.
  • How: the adapter protocol; the robot file's capabilities (RFC-0014 §3.3).
  • Alternatives rejected: writing settings through robotctl configure over the link (Q4).
  • RFC status and section: Accepted; §2 principles 4-6, §3.7, §8 Q4.
  • Who decided and when: the operator, 2026-11-28 (Q4 as recommended); principles from RFC-0002 and the RFC's author.
  • Existing ADR: none; ADR-0020 decision 1 (robots behind our interfaces) is related.
  • Later changed by: RFC-0025 (connector placement, §3.8) discusses where a connector runs; it keeps robot-side code out of scope where the robot is vendor-owned. Not found to change this one.
  • In code: Unknown for principle compliance; read-only facts and actions are implemented (see RFC-0032-1).

RFC-0032-9: A robot's lifetime record is one read-only timeline assembled from what we already keep plus the robot's own report

Architecture ADR: ADR-0028.

  • Decided: Per robot, one timeline: the robot's own record where it has one (the duck's vet book), our runs and action runs, the facts as they changed, the approvals, and the alarms. Read-only; built from what Mission Control and the Observatory already keep plus the robot's report; a Record tab.
  • Why: opportunity 7: "the robot's own record (the vet book) beside our runs and approvals" (§1).
  • How: not built; phase 3 (§6); the Observatory and Mission Control stores.
  • Alternatives rejected: none named.
  • RFC status and section: Accepted; §3.6, §5, §6 phase 3.
  • Who decided and when: the operator, 2026-11-28.
  • Existing ADR: none.
  • Later changed by: not found in my RFCs.
  • In code: No. grep for "record" routes in api.py found none.