RFC-0033: its decisions in full¶
Rows of the decision inventory, from the RFC.
RFC-0033-1: A register of the seams: each has an owner, a version, one machine-readable shape and a test that runs both sides¶
- Decided: A register of the seams: each has an owner, a version, one machine-readable shape and a test that runs both sides. Sixteen seams listed on 2026-12-02; five carry a version.
- Why: the operator's ask: "define better seams and standards between components".
- How: the register in RFC-0033 §2; RFC-0018 §5.2 to point to it (gap 6).
- Alternatives rejected: "Leave it as it is" (§7).
- RFC status and section: Accepted; §2, §3.5.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: ADR-0020.
- Later changed by: nothing yet.
RFC-0033-2: JSON-RPC 2.0, one object per line, on every socket between our parts; HTTP only where a browser is the client; records in MCAP run format 2; names after ADR-0001¶
- Decided: JSON-RPC 2.0, one object per line, on every socket between our parts; HTTP only where a browser is the client; records in MCAP run format 2; names after ADR-0001. The NXT's HTTP link to Mission Control is the exception being removed (gap 4).
- Why: RFC-0003's direction, agreed by the operator.
- How: every socket server; the NXT through nxt-web's JSON-RPC socket.
- Alternatives rejected: "Protobuf or gRPC on every seam", "ROS 2 topics and services on every seam" (§7).
- RFC status and section: Accepted; §3.1.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: ADR-0020, ADR-0001, ADR-0007.
- Later changed by: nothing yet.
RFC-0033-3: One error table: -32700 parse (id null), -32600 invalid, -32601 unknown method, -32603 an exception, -32000 a server's refusal with data; the request's id in every reply¶
- Decided: One error table: -32700 parse (id null), -32600 invalid, -32601 unknown method,
-32603 an exception, -32000 a server's refusal with data; the request's id in every reply. Built
on branch
seams(runfile.jsonrpc, five servers), merged 2026-12-02. - Why: four error conventions found; an
id: nullreply made the runner's client wait out its timeout (10.01 s measured). - How:
libs/runfile/src/runfile/jsonrpc.pyanswer(line, call). - Alternatives rejected: -.
- RFC status and section: Accepted; §3.2.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: none.
- Later changed by: nothing yet.
RFC-0033-4: Every socket answers hello with its name, version and the number of the contract it speaks (protocol for the gate, contract for a navigator)¶
- Decided: Every socket answers
hellowith its name, version and the number of the contract it speaks (protocolfor the gate,contractfor a navigator). The camera socket and the host kind have none yet (gap 3). - Why: a client tells which seam it reached by the field.
- How:
helloon each server. - Alternatives rejected: -.
- RFC status and section: Accepted; §3.3.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: none.
- Later changed by: nothing yet.
RFC-0033-5: Versions: a minor adds only; a reader accepts its major and refuses another; every seam carries a number¶
- Decided: Versions: a minor adds only; a reader accepts its major and refuses another; every seam carries a number. RFC-0018 §5.3 kept.
- Why: RFC-0018 §5.3.
- How: a number at
helloor in a file's first line or top-level field. - Alternatives rejected: -.
- RFC status and section: Accepted; §3.4.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: none.
- Later changed by: nothing yet.
RFC-0033-6: A JSON Schema per method, kept by the seam's owner, the navigator API first; a seam's test runs the real client against the real server¶
- Decided: A JSON Schema per method, kept by the seam's owner, the navigator API first; a seam's test runs the real client against the real server.
- Why: the navigator API is the most crossed seam.
- How: schemas next to
runfile.navcontract. - Alternatives rejected: "JSON Schema on every seam at once" (§7).
- RFC status and section: Accepted; §3.5, open question 2.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: none.
- Later changed by: nothing yet.
RFC-0033-7: One vocabulary: the goal kinds and guardrail names in runfile.navcontract; missions keeps standard-library copies held equal by a test¶
- Decided: One vocabulary: the goal kinds and guardrail names in
runfile.navcontract;missionskeeps standard-library copies held equal by a test. Built on branchseams, merged 2026-12-02. - Why: the names were defined three times.
- How:
GOAL_KINDS,GUARDRAILS,TRUTH_GUARDRAILS;apps/mission-control/tests/test_vocabulary.py. - Alternatives rejected: -.
- RFC status and section: Accepted; §4.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: none.
- Later changed by: nothing yet.
RFC-0033-8: The host kind contract (RFC-0028): the scene writer and the contact source behind the kind, before Gazebo¶
- Decided: The host kind contract (RFC-0028): the scene writer and the contact source behind the kind, before Gazebo.
- Why: the scene writer is MuJoCo's, in the runner (
labrunner/scene.py:118). - How: RFC-0028.
- Alternatives rejected: -.
- RFC status and section: Accepted; §5 gap 1.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: ADR-0027.
- Later changed by: nothing yet.
RFC-0033-9: The model check: a model's expected sha256 is written in the profile's layer entry, and loading refuses a mismatch or another robot's or layer's model¶
- Decided: The model check: a model's expected sha256 is written in the profile's layer entry, and loading refuses a mismatch or another robot's or layer's model. ADR-0028 decisions 2 and 3, not built until now.
- Why: a model's sha256 is recorded (
learned.py:276) and never compared. - How: the profile's
local_controllerentry. - Alternatives rejected: "Sidecar file only", "Training run record" (open question 1).
- RFC status and section: Accepted; §5 gap 2, open question 1.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: ADR-0028.
- Later changed by: nothing yet.
RFC-0033-10: The NXT reaches Mission Control over JSON-RPC in the gate protocol; nxt-web's HTTP stays for its own page¶
- Decided: The NXT reaches Mission Control over JSON-RPC in the gate protocol; nxt-web's HTTP stays for its own page.
- Why: the one seam with no version and no JSON-RPC.
- How: a JSON-RPC socket in nxt-web;
mission_control/nxt.pyits client. - Alternatives rejected: a version on the HTTP API.
- RFC status and section: Accepted; §5 gap 4.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: ADR-0020.
- Later changed by: nothing yet.
RFC-0033-11: The gate's open (read) methods come from the robot's profile, not from the gate's code¶
- Decided: The gate's open (read) methods come from the robot's profile, not from the gate's code.
- Why:
robotgatenames Pollen's reads (OPEN_METHODS). - How: the profile lists its read methods.
- Alternatives rejected: -.
- RFC status and section: Accepted; §5 gap 5.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: ADR-0024.
- Later changed by: nothing yet.
RFC-0033-12: The two SE2 implementations stay; the three RPC clients become one in runfile after the host kind contract¶
- Decided: The two SE2 implementations stay (one wraps yaw) until a run shows a difference. The
three RPC clients become one in
runfile, after gap 1 (the host kind contract, RFC-0028). - Why: merging SE2 changes recorded numbers. The client was to serve the host kind's readers too; built (RFC-0028 step 6), they speak no JSON-RPC (Pollen's body server, the NXT's HTTP), so it serves the three JSON-RPC clients only.
- How:
runfile.jsonrpcClient,Stream,RpcError; the gate's lease refusal inrobotgate.lease_lost. - Alternatives rejected: merge SE2 now (open question 3); one RPC client before gap 1 (open question 4).
- RFC status and section: Accepted; §4, open questions 3 and 4.
- Who decided and when: the operator, 2026-12-02, the open questions as recommended and every gap built now.
- Existing ADR: none.
- Later changed by: nothing yet.