Skip to content

RFC-0023: its decisions in full

Rows of the decision inventory, from the RFC.

RFC-0023-1: Three surfaces, one job each: Mission Control operates, the Observatory explains, the operator's observability stack keeps the long term

Architecture ADR: ADR-0025.

  • Decided: Mission Control operates and configures now and is the only writer (goals, profile versions, calibration, STOP); the Observatory is read-only over runs, live or past; the operator's Victoria/Grafana stack holds weeks of telemetry. They link to each other at the same moment; neither copies the other's view. Option B (one app for both) rejected here, and a different form of it reopened and settled in RFC-0024.
  • Why: "A rule for every item of phase 5, so each lands in one place" (§3); the journeys J1-J7 are the operator's (§2).
  • How: the table of §3; ADR-0012 (the Observatory's data mount read only); Mission Control CONTRACT.md; the "Open in the Observatory at this moment" link (#t= fragment, RFC-0024 §2.3).
  • Alternatives rejected: D1 option B "one app for both (Mission Control grows the Observatory's views)".
  • RFC status and section: Accepted, D1; §3, §5.
  • Who decided and when: the operator, 2026-11-21, "A for all twelve" on the mock-up page.
  • Existing ADR: ADR-0021 decision 5 and its alternatives cite D1 ("Mission Control is now; the Observatory is a run") for the time model; ADR-0012 covers the read-only mount. No ADR states the three-surface split itself: partly.
  • Later changed by: RFC-0024 §6.1 ("D1 stands: the jobs are the same, now shared in one place for the operator"); RFC-0031 §3 applies it (the Learning view is read-only in the Observatory); ADR-0021 decision 5 relies on it. Not reversed.
  • In code: Yes. apps/mission-control, apps/observatory; the Observatory server has no run-write route (not exhaustively checked).

RFC-0023-2: The robot's page belongs to Mission Control, live and editable; the Observatory shows a run's robot as it was, read-only

Architecture ADR: ADR-0025.

  • Decided: Mission Control has the robot page (Overview, Parts, Modules, Settings, Calibration, Body); the Observatory shows the profile version and plugins a run used.
  • Why: follows D1: operate versus understand (§5 D2). Sections are D3 (a UI choice; the operator asked for icons and "very realistic" robot drawings from the 3D model, never a schematic).
  • How: apps/mission-control/src/mission_control/web/ (settings.js, bodyview.js, readiness.js); the profile API in Mission Control's CONTRACT.md.
  • Alternatives rejected: D2 option B "one robot page in the Observatory, with Mission Control linking to it". D3 option B "fewer sections".
  • RFC status and section: Accepted, D2 and D3; §5, §7 step 4.
  • Who decided and when: the operator, 2026-11-21 ("A for all twelve"; comment on D3 quoted in §5).
  • Existing ADR: none for the robot page's placement; ADR-0021 covers the shared look and the 3D stage.
  • Later changed by: RFC-0024 §6.1 ("D2 stands"); RFC-0025 §3.12 (L1) renames the "Modules" tab to Layers and the page then shows each layer's provider, plugins and versions; RFC-0032 §5 adds Facts, Driven by, Actions, Behaviours and Record cards and two new tabs (Actions, Record) to the same page.
  • In code: Yes. apps/mission-control/src/mission_control/web/settings.js:74-76 has paintModules (the tab not yet renamed Layers).

RFC-0023-3: One body component, drawn from the robot's own 3D model and coloured by each joint's worst state; the run records what health needs

  • Decided: One body component (the robot's own meshes, forward kinematics, per-joint colour by worst state: tracking error, load, temperature, a trip), live in Mission Control and on replay in the Observatory. The run keeps, per joint beside the angle, the commanded angle, the velocity and the current; an empty list means "not reported", never zero. The Observatory's watch page gains the small body, a subsystems strip and the alarm badge.
  • Why: the operator's J3/J4 asks ("his knee is not working ... that engine is blinking red", §2); today "the run keeps only the angle" (D4).
  • How: libs/web/body/{body,robot}.js (shared, per RFC-0024 and ADR-0021); run format fields per RFC-0023 §7 step 2 (additive to ADR-0007/ADR-0016).
  • Alternatives rejected: D4 option B "a table of joints with sparklines, no 3D"; D12 option B "Mission Control gets its own live 3D view" (as a separate copy).
  • RFC status and section: Accepted, D4 and D12; §5, §7 steps 2 and 5.
  • Who decided and when: the operator, 2026-11-21, with the comment on D3: "Lets use icons where applicable also and when we show robot it should be very realistic".
  • Existing ADR: ADR-0016 covers a run recording the robot's joints and truth pose, but not the commanded angle, velocity, current or the "empty list is not reported" rule: partly. ADR-0021 decision 4 covers the shared 3D stage and the body styles, not health colouring.
  • Later changed by: RFC-0024 §6.1-6.2 (D4 and D12 stand; step 5 is built as RFC-0024's B step 2, in libs/web/body, with two pose sources, live and recorded); ADR-0021 decisions 3-4. RFC-0025 §3.5/step 8 add a scan channel to the run. Not reversed.
  • In code: Partial. libs/web/body/body.js, inspector.js exist; whether the run's per-joint commanded/velocity/current channels exist was not checked (grep of libs/runfile/src found no such field names).

RFC-0023-4: One alarm feed, in RFC-0019's shape, from every source, shown where the operator is

  • Decided: One feed of anomalies from the navigator, the runner's truth guardrails, the subsystems and the joints; a badge in Mission Control's header and on the Observatory's timeline; a click opens an inspector with what, where, since when, evidence and actions (stop, take over, open the run at that moment). Served live by Mission Control, kept in the run.
  • Why: J4 "from alarm to cause in two clicks" (§2).
  • How: apps/mission-control/src/mission_control/alarms.py; apps/observatory/src/observatory/anomalies.py; RFC-0019 (shape); libs/web/body/inspector.js.
  • Alternatives rejected: D5 option B "alarms only in Mission Control, the Observatory keeps its anomaly track as is".
  • RFC status and section: Accepted, D5; §5, §7 step 3.
  • Who decided and when: the operator, 2026-11-21.
  • Existing ADR: none (ADR-0019 is the semantic map, not anomalies). ADR-0021 decision 2 covers how a status is shown.
  • Later changed by: RFC-0024 §1 and §6.2 (the alarm inspector is mounted in both apps); RFC-0025 §10 item 10 names ROBOT_KINDS in anomalies.py as duck-shaped (a vocabulary question). Not reversed.
  • In code: Yes (existence). alarms.py and anomalies.py exist.

RFC-0023-5: Telemetry goes out by OpenTelemetry to the operator's own stack; the 20 Hz record stays in the run, only low-rate health goes to metrics

  • Decided: The run (MCAP) holds every tick (joints, poses, depth, plans, truth). Goal runs and legs go as spans to VictoriaTraces; anomalies, state changes, events and subsystem logs to VictoriaLogs; health at most one sample per 15 s per series to VictoriaMetrics. Our views keep no store of their own beyond the runs. OTLP direct from our processes (logs and metrics over OTLP once a test send proves the path, else through Alloy).
  • Why: "our system should not be a sink" (the operator's J7 words); "The 15 s deduplication settles the main question: a robot's 20 Hz data ... cannot live in the metrics store, and should not: it is the run's record" (§4.2).
  • How: apps/mission-control/src/mission_control/telemetry.py; scripts/telemetry_send_check.py; step 6 of §7 (test send per signal, dashboards in a robotics-lab folder).
  • Alternatives rejected: D6 option B "an OpenTelemetry Collector of our own in front of the stack"; option C "Alloy only".
  • RFC status and section: Accepted, D6, §4.2; §7 step 6.
  • Who decided and when: the operator, 2026-11-21 ("A for all twelve"); the new SDK dependencies and test sends were listed as "needs the operator before it starts" (§7).
  • Existing ADR: none.
  • Later changed by: RFC-0023 D7 itself carries an "Update 2026-11-24 (RFC-0025)" (see next); RFC-0025 §3.x on telemetry labels. Not reversed in my RFCs.
  • In code: Yes. telemetry.py and tests/otlp_stub.py exist; what reaches which Victoria service in production I did not check.

RFC-0023-6: Telemetry names in the stack follow the homelab contract: namespace=robotics-lab, one service per deployable, environment dev/prod; robot identity as attributes

  • Decided: namespace=robotics-lab; service per deployable (mission-control, observatory, lab-runner, navigator, one per robot subsystem); environment=dev for the simulator and prod for a real robot; run_key a span and log attribute, never a metric label.
  • Why: the homelab stack's naming contract (§4.1), so dev data stays apart from prod.
  • How: telemetry.py labels (robot_id, robot_kind, host_kind).
  • Alternatives rejected: D7 option B "the simulator as an environment of its own (sim)" (the contract does not list it).
  • RFC status and section: Accepted, D7; §4.1, §5.
  • Who decided and when: the operator, 2026-11-21; the amendment "Update 2026-11-24 (RFC-0025)".
  • Existing ADR: none. Note: the "ADR-0010" cited in RFC-0023 is the homelab's ADR, not docs/adr/ADR-0010-api-2.md of this repo.
  • Later changed by: RFC-0023 D7's own update, 2026-11-24 (RFC-0025): the attributes are robot_id, robot_kind and host_kind (not robot and host). Code agrees (telemetry.py:4,78).
  • In code: Yes. telemetry.py:4 ("labels (RFC-0025: robot_id, robot_kind, host_kind)").

RFC-0023-7: A machine's settings live in one installation file per machine; the robot's profile holds only the robot

  • Decided: One installation file per machine takes the robot's sockets, the Observatory's URL, the telemetry endpoints and the data folder; the profile holds only the robot and exports clean ("no path or socket of one machine travels with the robot", J6).
  • Why: J6 and D9: move a robot to another installation.
  • How: the installation file (referred to in RFC-0024 §2.3 and §9: the navigator at 127.0.0.1:8061, the observatory URL); docs/wip/PHASE5-STEP1-DESIGN.md; the registration key robots.<name>.registration (RFC-0022-3).
  • Alternatives rejected: D9 option B "keep them in the profile's control block per variant".
  • RFC status and section: Accepted, D9; §5, §7 step 1.
  • Who decided and when: the operator, 2026-11-21.
  • Existing ADR: none.
  • Later changed by: RFC-0023 §7.1 item 1 (2026-11-22, after the architecture review) widens step 1: "the navigator never reading the installation" and one source for the gate's socket; RFC-0025 §3.8 (placement setting) adds a connector address per robot. Not reversed.
  • In code: Yes (existence). apps/mission-control/src/mission_control/cli.py and libs/runfile refer to the installation file (grep hit); the file's exact name and schema not checked.

RFC-0023-8: A setting change is a new, versioned, checksummed profile version that applies from the next run, never during one

  • Decided: Edit in Mission Control, validate with the profile's validator, save as a new profile version applied from the next run; export and import as one file with a version and a checksum; a diff of two versions; every run records the version it used. 7.1 adds: schema versions with a migration policy (older read and migrated) and "the checksum over the profile as stored"; the evaluator evaluates by the version the navigator runs.
  • Why: J2 and J6: no probe script by hand; a robot moves between installations checked.
  • How: libs/runfile/src/runfile/profilestore.py (a current pointer and numbered versions); robots/duck/profile.json (profile_version); docs/wip/PHASE5-STEP1-DESIGN.md.
  • Alternatives rejected: D10 option B "edit the JSON file by hand, Mission Control only shows it".
  • RFC status and section: Accepted, D10; §5, §7 step 1 and §7.1.
  • Who decided and when: the operator, 2026-11-21; the second-review answers "each built" were "the operator's decisions" (§7.1, 2026-11-22).
  • Existing ADR: none.
  • Later changed by: RFC-0025 §3 / step 2 "Profile v2": required blocks shrink, plugins becomes layers, "every stored profile migrated in this step", "Profiles are migrated, not read in two shapes" (RFC-0025 §3.12 answer 6); RFC-0020 is amended. The versioning mechanism itself stands.
  • In code: Yes. profilestore.py:41,84,99; profile.json has profile_version.

RFC-0023-9: Calibration is a guided procedure; the navigator drives the motion, the runner adds the truth's reference, Mission Control keeps the meaning

  • Decided: Each measurement is a guided procedure in Mission Control (in the simulator the truth measures; on the real robot the operator enters a tape measure's reading), the result shown beside the current value and kept or not as a new profile version. Built with the motion in the navigator API, not the runner (navigator contract 1.3).
  • Why: J2. The RFC gives no reason for placing the motion in the navigator API beyond "the navigator drives, the runner adds the truth's reference, Mission Control keeps the meaning" (D11 note).
  • How: apps/mission-control/src/mission_control/calibration.py; libs/runner/CONTRACT.md.
  • Alternatives rejected: D11 option B "the probes stay scripts, Mission Control shows their last results".
  • RFC status and section: Accepted, D11 (built as A in unit A3); §5.
  • Who decided and when: the operator, 2026-11-21; the build placement is recorded without a named decider.
  • Existing ADR: none.
  • Later changed by: RFC-0025 notes navigator contract 1.2 and "a contract version after 1.7" (the contract has moved on from 1.3); not a change to this decision.
  • In code: Yes. calibration.py exists.

RFC-0023-10: One navigator contract with one vocabulary of end states; Mission Control's adapter imports no robot's navigator or host library

Architecture ADR: ADR-0025.

  • Decided: After the architecture review (2026-11-22): the payload's contract a subset of the navigator API's, one vocabulary of end states, a version, written down in libs/runner; Mission Control's adapter reads the map through the navigator API, takes the scale per run and the addresses from the installation file, and no longer imports the duck's navigator or the host library; a runner that works without the truth comes before telemetry out (step 6).
  • Why: the review of everything built before step 1 (docs/wip/ARCHITECTURE-REVIEW-2026-11-22.md); the RFC gives the reasons only by reference to the review (§7.1).
  • How: libs/runner/CONTRACT.md; runfile/navcontract.py (version, per RFC-0025 "Names"); scripts/check_boundaries.py.
  • Alternatives rejected: none named in the RFC.
  • RFC status and section: Accepted, adjustment list §7.1 items 1, 3, 5.
  • Who decided and when: the operator: "let's adjust approach and follow your recommendation as next step, and then do another round of review" (§7.1, 2026-11-22).
  • Existing ADR: none. ADR-0020 decision 5 covers the robot interface contract (a different contract: connector to gate).
  • Later changed by: RFC-0025 §3.7 (navigator for any robot) and RFC-0025 "Contract ... a contract version after 1.7: point gets yaw"; the contract keeps growing additively. Not reversed.
  • In code: Yes. libs/runner/CONTRACT.md, libs/runfile/src/runfile/navcontract.py (named by RFC-0025; not re-checked).

RFC-0023-11: The runs over time: keep the data folder with a retention rule; an object store only when a second machine writes runs

  • Decided: The data folder as it is, official runs kept, the rest archived after N days; MinIO/S3 only when a second machine writes runs. Ordered last and "out of the sequence" (§7.1 item 6).
  • Why: "That scales with disk, not with robots" but a run is about 1.5 MB a minute and the folder holds 1.9 GB (§4.3); no second writer yet.
  • How: not built; N unset ("step 7's N" needs the operator, §7).
  • Alternatives rejected: D8 option B "an object store (MinIO on the mini) now".
  • RFC status and section: Accepted, D8; §4.3, §7 step 7.
  • Who decided and when: the operator, 2026-11-21.
  • Existing ADR: ADR-0004, ADR-0009 (bounded cache) and ADR-0012 cover the store and index; none states a retention rule: partly.
  • Later changed by: not found in my RFCs (checked RFC-0024, 0025, 0030, 0031, 0032).
  • In code: No. grep for "retention" in apps, libs, scripts found nothing relevant.