Skip to content

Mission control: requirements, 2026-11-17 (round 2 added 2026-11-18)

Gathered before any design or build. The operator's direction on 2026-11-17: a new app to see the robots, whether they are online and how they are, and give them goals; "the de facto interface on top of the planner and UI for the navigation work, like a control panel"; the place where goals for robots are defined, run in the simulator or real life, and their progress observed. "Gather requirements now and work toward mission control and the other RFCs we have open, and build those."

This brings RFC-0005 (missions) and RFC-0006 (mission control) to life; both are Proposed (2026-11-14) and nothing of either is built. The next step is an RFC written from this list, for the operator to read before anything is built.

1. The operator's requirements (2026-11-17)

# Requirement Operator's words, condensed
O1 A new, standalone app: robots, online or not, status and stats, driving, goals "an app where I can go, see my robots, when they are online, see their stats, and then give them goals"
O2 Robots: the simulated duck, the real duck (not owned yet), the LEGO NXT, the LEGO EV3 (arriving in days) answer 1
O3 Goals start as a point on the map, and evolve later answer 2
O4 Self-contained: the app draws the robot's map itself and goals are set on it answer 3
O5 A link to miniview (/watch) for the deeper, live view "use explore to connect to live view if I want"
O6 nxt-web stays the NXT's own small playground; mission control is a new app answer 4
O7 Goals are managed in the app: defined once, run in the simulator or real life, progress observed "this is where we define goals we want for robot, in real life or sim, and observe progress"
O8 Long term: robots in a swarm, collaborating; designed for it from the start "robots working in swarm and collaboration, so let's keep this in mind from start"
O9 Parallel communication with several robots at once "meaning also parallel communication with several robots"
O10 The NXT, the EV3 and the duck collaborate on the same goals; the LEGO robots get better sensors over time "I will boost lego robots with better sensors as I go"
O11 Full MCP and a remote API, so a mobile app can be built later "also full mcp and remote api control"
O12 Control through an agent "and control through agent" (which kind is open: §5, Q2)

1.1 Round 2 (2026-11-17/18), folded into RFC-0014 revision 2

Given while the operator reviewed the page mockup and the next day; revision 1 of the RFC did not include them. O24 to O26 follow the decisions of 2026-11-18; O27 to O30 come from the operator's review of revision 2 (2026-11-18). "Home" is now site and "room" is one kind of area (RFC-0014 §1.1).

# Requirement Operator's words, condensed
O13 Goals at the centre: a goal library in folders; ad-hoc runs without saving; the good ones saved goals are what the app is about
O14 Goals in words; an optional LLM breaks them into a plan, over an OpenAI-compatible API (default LiteLLM on the DGX, an OpenRouter key also). The LLM is never mandatory; the planner is an independent module missions in words, with the model optional
O15 Places and areas (rooms) instead of coordinates "maps and coordinates make no sense" as the way to give goals
O16 One goal on several robots; the Lego NXT, the Lego EV3 and the Pollen duck collaborating on one goal see also O8, O10
O17 Observing the loop: see what the robot decides, and why, while a goal runs the mockup review
O18 Robots configured by files: the body as URDF plus an own file that borrows the VDA 5050 factsheet and Open-RMF task kinds agreed "for now", 2026-11-17
O19 Mission Control and the Observatory (renamed from miniview) separate, but well connected answer: Observatory
O20 SQLite for goals, runs and sites answer, 2026-11-17
O21 No firing over MCP: an agent cannot fire answer, 2026-11-17
O22 The navigator API is its own process answer, 2026-11-17
O23 Lean toward VDA 5050 long term "better support for VDA 5050-type robots"
O24 Goals by object, area, explore and inventory, not only points; recognisers among a robot's capabilities; objects and rooms in the map and the API "A yes", 2026-11-18
O25 Objects are landmarks at a landmark value of 0.7 or more; the camera record is called sighting (was look) "C yes", "D yes", 2026-11-18
O26 A site's semantic map kept between runs, anchored to the dock in the simulator (every run starts there), stable object ids, objects named by the operator ("this is my desk"), the stored map owned by Mission Control. In a real home the robot must first recognise where it is (landmark position correction, later) "B yes", 2026-11-18
O27 A library of sites and of areas: the operator names sites ("Home" is one), and within each site names and manages its areas ("I would name areas like my rooms, so I can manage those"): create, rename, draw its outline (a polygon on the site map) and an optional area type, merge, split. Only the operator creates areas; the robot never creates or suggests one, and its object votes are only an area-type guess that checks its position (RFC-0014 §3.5.3). Nothing is fixed to a home: "it's a terrain", several sites from the start the operator, 2026-11-18
O28 An exclusive control lock per robot, built in at the robot's own interface: one controller at a time, others refused with who holds it; a lease tied to the connection (10 to 30 s, released at once when it drops; the deadman stays the safety stop); no ejection by peers. Beyond Mission Control and the NXT: five laptops and five robots, three ducks and three laptops (RFC-0017, Accepted: first build in home-lab mode, no pairing yet) "we should not allow two things to drive the same robot"
O29 Guardrails: a goal is what to do plus a must_not list, at three levels (robot, site, goal), merged, a goal adding and never removing; checked in the navigator; a broken one stops the robot "guardrails of some sort for the robots ... we have to support that"
O30 Super important: both apps run as containers. The Observatory and Mission Control each as an image, together from one compose file, on any of the operator's machines (workstation, Mac mini, laptop): no host-specific paths, configuration and data by volumes and environment, robots reached over the network "so that I can run them wherever I want to run them easy. So that's super important"

What they mean for the design (my reading, for the operator to confirm in the RFC):

  • Goals are the centre, so the library, the kinds (point, object, area, explore, inventory), guardrails, the result of a run and "not found" are part of the API (O13, O15, O24).
  • The planner and its LLM are optional modules, never in the path to STOP or the robot (O14).
  • A site is a thing: an id, a name, a kind, a frame, objects with stable ids, areas; owned by Mission Control (O26, O27).

What the first round (O1 to O12) meant for the design (my reading, for the operator to confirm in the RFC):

  • API first. Everything the page does is an API call; the page, MCP, an agent and a future mobile app are equal clients (O11, O12). Nothing works only in the page.
  • Many robots from the start, one at first. Each robot has an identity; the app never assumes there is one; one shared map and frame per place; a goal names a robot and leaves room for a team (O8, O10).
  • One connection per robot, independent and concurrent. A slow or dropped robot does not stall the others; STOP reaches all of them at once (O9).
  • Capabilities are data. Each robot says what it has (sensors, a map, a navigator, speeds); the app offers what the robot can do. A sensor added to the NXT changes its description, not mission control's code (O10). Today only the simulated duck has a map and a navigator; the NXT and EV3 start with status, driving and STOP.

2. What the open RFCs and ADRs already require

Decided (D) or proposed only (P). Line numbers for RFC-0006 are given by section.

2.1 Product and boundaries

  • Mission control's job: operate robots (see, drive, give missions, keep safe); all robot-specific code lives there, none in flotilla. P, RFC-0006 §2.
  • It works alone (one home, a few robots, a simple "confirm the mission"); with flotilla, flotilla's policy and approvals replace that confirm and flotilla's freeze stops the robots. P, RFC-0006 §2; FLOTILLA-ASKS.md F1–F16.
  • The line: command and keep safe (mission control), show and store (viewer and logbook), evaluator (eval-harness), govern (flotilla). D, RFC-0006 §3.3 amended by RFC-0007 §2.
  • Open-source product: one Python service with a web page, MCP and Slack, a Docker image, a driver per robot, optional flotilla. P, RFC-0006 §4. Local first: recordings stay local. P, RFC-0007 §5.
  • The viewer does not send commands to a robot. D, ADR-0005 (non-goals). Commanding belongs to mission control.

2.2 Robot interface

  • One JSON-RPC interface for every robot, in the duck's shape: robot.move, robot.stop, robot.subscribe (state), robot.health, hello, … P, RFC-0003 §2.1; the duck's methods are upstream facts, RFC-0002 §2.
  • The NXT gets the same method names through a Python NXT service; not built. P, RFC-0003 §2.2.
  • One driver at a time, and a per-robot lock. D (non-goal), RFC-0003 §3; P, RFC-0002 §3.6.
  • The brain's API: JSON-RPC mission.start, mission.stop, status, an events stream; every UI a client. P, RFC-0002 §3.10. Not built.
  • Several robots: one mission per robot in parallel, a navigator per robot. P, RFC-0002 §3.9. A multi-robot mission needs a shared map and frame: deferred to phase 6. D, RFC-0002 §3.9, §4.
  • ROS-aligned terms and shapes (Twist, Odometry, OccupancyGrid; map/odom/base_link), no ROS. D, ADR-0001.

2.3 Safety

  • STOP goes straight to robot.stop, never through the planner; the robot's deadman is the backstop. P, RFC-0002 §3.5.
  • The duck's deadman: 500 ms. D (upstream). The NXT: the web UI's 0.6 s watchdog (built) and robotd-lite on the brick (built against the simulated brick; the real-brick check is pending). RFC-0001 §3.3, RFC-0003 §2.3.
  • Real-duck missions need the operator in the room with a STOP at hand. D, RFC-0002 §3.5.
  • Situation rules (someone else drives, Wi-Fi drop, lost, fall, pick-up): stop, mark interrupted, resume only when the operator says so. P, RFC-0002 §3.6.
  • Firing (the NXT shooter) is irreversible: always proposed, never automatic. P, RFC-0003 §2.3, RFC-0005 §2.3.

2.4 Missions and goals

  • A mission spec: a validated JSON schema (explore, report, end, limits); anything outside it is refused; the spec is read back and confirmed. P, RFC-0004 §2.1.
  • Planner tools include go_to(x, y), explore, survey, go_to_start, stop. P, RFC-0004 §2.5.
  • Every mission rehearses on the simulated duck before it runs on the real one; a rehearsal is necessary, not sufficient (it does not predict timing, falls or real perception). P, RFC-0005 §2.1–2.2.
  • Goals as the navigator takes them today: a map point (x, y), reached or refused with a reason. D, ADR-0015. Challenges add a scene and a pass condition. D, ADR-0015, RFC-0008.

2.5 Map, status, records

  • The map is mapd's occupancy grid (10 cm), with the navigator's layers (obstacles, drops, gaps) and the plan; miniview already streams them per run (world.grid, world.obstacles, world.drops, world.gaps, plan.path, belief.pose). D, RFC-0002 §2; viewer/CONTRACT.md.
  • Status: the duck gives odometry, the applied twist and who sent it, fall and pick-up flags, autonomy, battery (robot.health); the NXT's web UI gives connected, battery, link and deadman (GET /api/status).
  • MCAP is the record; run key robot/scene/run; every run records goals and outcomes. D, ADR-0004, ADR-0006, ADR-0014.
  • Robot telemetry (battery, link, errors) goes to the homelab observability stack. P, RFC-0007 §2.

2.6 MCP and remote access

  • MCP and Slack on every component a person or an agent talks to. P, RFC-0007 §2; RFC-0006 §3.1 lists the first MCP tools (list robots, status, start a mission, stop, snapshot).
  • miniview's query layer is built so its API and a later MCP server call the same functions. D, ADR-0005.
  • Transport and authentication must be settled before anything listens beyond localhost. Open, RFC-0003 §4. nxt-web and miniview are loopback-only with no authentication today.

3. Where the operator's decisions change the RFCs

# RFC says Operator decided To do in the RFC
C1 Mission control grows from nxt-web (RFC-0006 §3, §3.1, §5, §7; RFC-0002 §3.10) A new app; nxt-web stays the NXT playground (O6) Supersede; also STATUS.md, ROADMAP.md, ECOSYSTEM.md repeat the old line
C2 Mission control draws no maps or history of its own; it links to the viewer (RFC-0006 §3.3, RFC-0007 §6) The app draws the map and sets goals on it (O4) Amend: the map for commanding is mission control's; history and deep views stay in the viewer
C3 Links go to Foxglove (RFC-0006), then to "the viewer" (RFC-0007) Links go to miniview (O5) Name miniview as the deep view
C4 Goal and mission history belongs to flotilla (FLOTILLA-ASKS) and the logbook (RFC-0007) Goals are defined, run and followed in the app (O7) Draw the line again: mission control keeps goals; flotilla, when connected, governs them
C5 First interfaces: page, MCP, Slack (RFC-0006 §3.1) Page, full MCP, a remote API for a mobile app, an agent (O11, O12); Slack not mentioned Ask whether Slack stays in the first version
C6 One driver at a time (RFC-0003) nxt-web stays, so two apps can drive the NXT A lock rule across apps
C7 Missions in words later (RFC-0004); robots collaborating on one goal deferred to phase 6 (RFC-0002 §3.9) Both are requirements (O14, O16) Planner as an optional module; a goal names several robots, built in steps
C8 Objects in Mission Control not in RFC-0016's first build Wanted now (O24, O26) Object and area goals, the site's map and naming in RFC-0014

4. What exists to build on

As it stood when these requirements were written (2026-11-17), before Mission Control was built; the paths are the old layout. What exists now: how the platform fits together.

Piece What it gives Where
Duck navigator go_to((x, y)), exploring; Python and CLI only (duck-go x y, duck-explore); no API server duck/src/duck_lab/nav/run.py (Navigator), explore_run.py
Duck simulator JSON-RPC over Unix sockets (robotd, mapd, tof), client classes duck/src/duck_lab/nav/client.py; ~/.cache/duck-sim/
NXT web UI HTTP JSON API: status, drive, stop, record, programs; records miniview runs apps/nxt-web/src/nxt_lab/web.py; :8000
miniview Read-only API: runs, live stream (SSE), world/map streams, robot descriptions, /watch viewer/; viewer/CONTRACT.md; :8070
Robot descriptions duck, NXT shooterbot, EV3 Spike3r and Track3r, as links and joints robots/, RFC-0011

On the branch explore-apartment (not merged): the duck's semantic map, simulated camera, --find and --inventory (RFC-0016), and the kinds catalogue; on this branch, the objects and sighting records and the Observatory's drawing of them (ADR-0019).

Missing: an API in front of the navigator, any goal store, any "is this robot online", any EV3 driver or interface, the RFC-0003 interface for the NXT, any MCP or Slack code.

5. Questions answered by the operator (2026-11-17)

  1. Goals carry conditions from the start. A goal is where, what counts as done (within 25 cm, under 60 s) and what must not happen (no contacts), as the challenges are. The first version has point goals with a few fixed conditions; "explore every room" comes later as a goal kind.
  2. Agent: an outside agent through MCP first. Claude or any MCP client operates the robots through the same API as the operator, with the same STOP and limits. An agent in the app that takes words comes later, on top (RFC-0004's missions in words).
  3. Slack later. The first version is the API, the page and MCP.
  4. Remote access: the tailnet only, one operator. The app listens on the workstation and the tailnet (phone, laptop), with nothing public. STOP works from every client and never needs a confirmation. In the first version the tailnet is the authentication; tokens per client come when the mobile app or an agent gets its own access.
  5. Name: Mission Control. The open-source product's name can be chosen when it splits into its own repository (RFC-0006 §4).

Still open, already recorded in the RFCs: where the brain runs long term (RFC-0002), the e-stop (flotilla's freeze, the UI's STOP, both; RFC-0005 §4), where the NXT's interface lives (RFC-0003 §4), how a mission spec is confirmed (RFC-0004 §4), the logbook's home (RFC-0007 §8), when to split mission control into its own repository and its licence (RFC-0006 §6).

5.1 Decisions of 2026-11-18, and what stayed open

Decided: A (revise RFC-0014 with object, area, explore and inventory goals), B (the site's map, O26), C (a landmark at 0.7 or more), D (sighting). Also answered since round 1: the viewer is named the Observatory, the navigator API is its own process, SQLite, no firing over MCP (O19 to O22). Open questions are the RFC's section 5.

6. Not covered by this list

  • The EV3. Now a requirement (O2, O10, O16), but no driver or safety design exists in any doc (only its robot descriptions). Its firmware and sensor protocol differ from the NXT's; it needs its own interface and deadman before it can be driven from the app.
  • The real duck. Not owned yet; its link (ssh-forwarded sockets, then the navigator on the robot) is in RFC-0002 §3.3 but untested. At a real site it must recognise where it is first (O26).
  • Collaboration. Now a requirement (O8, O10, O16). What two robots doing one goal means beyond running it in parallel (dividing a map, handing over, roles) is not specified anywhere; RFC-0014 §3.4.4 proposes each, any and split; RFC-0002 §3.9 defers shared maps to phase 6.
  • VDA 5050 and Open-RMF. The specs have not been read; RFC-0014's mapping table is from memory.
  • Area extents. Areas are drawn by the operator; until he draws them, "which area" answers "none defined".
  • Not read while gathering this: PRD-001 and UXS-001 (miniview), the review notes, RFC-0010, RFC-0012, most ADR bodies, flotilla's and eval-harness's own repositories.
  • Not checked by running anything: the endpoints above as described; whether nxt-web and the miniview container currently run as documented.