ADRs — architecture decision records¶
Decisions that shape the structure of this project: what's in scope, how it's organised, what conventions govern it.
Distinct from a decision log (operational choices — what tool, what port). The rule of thumb:
- ADR: would a future contributor need to know this to make a consistent change? → ADR.
- Decision log: a one-shot choice with a clear context → log entry.
Format¶
ADR-NNNN-short-slug.md, numbered sequentially, never renumbered.
Required sections:
- Status (Proposed / Accepted / Superseded by ADR-XXXX)
- Date
- Context — the problem
- Decision
- Consequences — positive, negative, neutral
- Alternatives considered
Two kinds of record¶
- Architecture (below, first): the few decisions that shape the whole platform. Reversing one would change many parts at once. Each names the inventory rows it governs.
- Design records: decisions about one part (a format, a page, a container), kept as they were accepted. They are never renumbered or deleted; a later decision supersedes them.
The decisions the RFCs made, architecture or not, are rows of the decision inventory (243 rows, 2026-11-30), with why, how, whether it is built, and what changed it later. It was extracted by reviewers reading the RFCs and checked by existence checks; its own "Not covered" says what it can miss.
Architecture¶
- ADR-0022 — The truth rule: the navigator sees only what a real robot gives it (Accepted)
- ADR-0020 — Robots behind our own interfaces: robotd and ROS 2 are peer backends (Accepted 2026-11-23, amended 2026-11-30)
- ADR-0023 — The layer model: a robot fills the platform's layers with its own plugins (Accepted 2026-11-30; advisor's second review pending)
- ADR-0024 — Who can stop or act: one gate, STOP always, safety declared, irreversible acts the operator's (Accepted)
- One run record: ADR-0004 — MCAP the record of truth, a derived index and ADR-0007 — The run file, format 2 (Accepted)
- ADR-0025 — Three surfaces, one job each (Accepted)
- ADR-0026 — Goals are the unit of operation, and an LLM never moves the robot (Accepted; missions Proposed)
- ADR-0027 — Simulator first (Accepted)
- ADR-0028 — The learning lifecycle (Accepted; the declaration part awaits the advisor's second review)
- ADR-0029 — Contact is MuJoCo's collision (the simulator's, else on the recorded pose); the footprint circle is a proximity alert (Accepted, revised as findings come in)
- ADR-0030 — Milestone A's scenes are built from the measured error budget; narrower ones are a stretch set (Accepted)
- ADR-0031 — An abstraction across robots is built when three different cases have recorded runs (Accepted)
- ADR-0032 — The Observatory draws with three.js only; the deck.gl page is removed (Accepted)
- ADR-0033 — A run records each contact, every broken invariant, the drop margin and its truth copy's integrity, at their time (Accepted)
- ADR-0034 — One version of each file format is read; old files are converted once (Accepted)
The repository's layout and its import rule (apps/, libs/, robots/; who may import whom,
checked by scripts/check_boundaries.py on every make lint;
RFC-0018, RFC-0022)
hold ADR-0022's and ADR-0025's boundaries in code; they have no ADR of their own.
Design records¶
- ADR-0001 — ROS-aligned terms, no ROS foundation yet, Foxglove from the start (Accepted, 2026-11-14)
- ADR-0002 — Viewers: Rerun first, Lichtblick kept usable, MCAP the record (Accepted, 2026-11-14)
- ADR-0003 — miniview draws with three.js, the same page for the operator and the agent (Accepted for this step, 2026-11-15; final pick in ADR-0032)
- ADR-0004 — Runs: MCAP the record of truth; a SQLite index and prepared frames derived from it (Accepted, 2026-11-15)
- ADR-0005 — miniview: one API over the run store, live from the start (Accepted, 2026-11-15)
- With RFC-0010, all Accepted 2026-11-15:
- ADR-0006 — A run is robot/scene/run, and says who it is
- ADR-0007 — The run file, format 2
- ADR-0008 — Reading runs: validated, isolated, aware of rewrites
- ADR-0009 — The index, run states and a bounded cache
- ADR-0010 — The API, version 2
- ADR-0011 — Loading a run into the UI: by window, then by record
- ADR-0012 — Docker: the data read only, the index in the host's state folder
- ADR-0013 — NXT runs in format 2: signals, odometry, a scene with no layout (Proposed, 2026-11-16)
- ADR-0014 — The duck writes its runs itself, with what a replay needs
- ADR-0015 — The scenario runner: small generated scenes, scored by truth, as pass rates
- ADR-0016 — A run records the robot's joints and the truth's whole pose
- ADR-0017 — A run as a video, with any rendering engine and the robot's own model (Proposed, 2026-11-16)
- ADR-0018 — ROS 2 may run in a container, as a comparison and learning tool (Accepted, 2026-11-18; amends ADR-0001)
- ADR-0019 — The semantic map in a run:
objectsandsightingrecords, and what the pages and the video draw of them (Accepted, 2026-11-18) - ADR-0020 — Robots behind our own interfaces: robotd and ROS 2 are peer backends (Accepted, 2026-11-23)
- ADR-0021 — One design system and one 3D stage for both web apps (Accepted, 2026-11-24)
Accepted RFCs (Proposals) become ADRs here, or rows of the inventory.