Skip to content

ADR-0026 — Goals are the unit of operation, and an LLM never moves the robot

Status: Accepted by the operator on 2026-11-17 and 2026-11-18 (RFC-0014 §3.4); the LLM boundary stated in RFC-0002 and RFC-0004 and kept since. Missions (auto mode) are Proposed in RFC-0030. Written as an ADR on 2026-11-30. Date: 2026-11-30 Scope: architecture: how anyone, person or agent, makes a robot do something useful.

Context

The operator wants "goals at the centre", given as places and objects, not coordinates, and given in words as well as in forms. Language models are the natural way to read words, but their latency is seconds, they can be wrong, and a robot's deadman is half a second.

Decision

  1. A goal is a kind plus a validated schema (point, go_to_object, go_to_area, explore, inventory), with its own must_not guardrails. An unknown kind is refused. A goal names no robot; a goal run binds it to robots and a target (simulator or real).
  2. A goal run has distinct outcomes: reaching, finishing (done), not finding (not_found), being stopped by a guardrail are not failures; refused and failed are.
  3. Goals in words go through a planner that returns data: goal specs, validated against the kinds, read back, and run only after the operator confirms. It is independent and optional: no model is required for any goal, and a phrase matcher handles the simple ones.
  4. An LLM never moves the robot. No model call is in the motion loop; the planner has no path to drive; a slow or failed model call means the robot stands and waits. The planner speaks the OpenAI-compatible API (LiteLLM by default), so no model client is part of Mission Control.

Proposed extension, not decided here (RFC-0030, Proposed): autonomy extends this, not replaces it. Auto mode changes who proposes the next goal, not who may start it. A plan is reviewed, then run one goal at a time through the same entry as a hand-made goal; a changed plan goes back through review; STOP and a mission stop latch win outside the loop.

Consequences

  • One entry for every goal, whoever proposes it: the page, an agent over MCP, or an auto mission.
  • Real runs rehearse in simulation first (ADR-0027).
  • A goal's guardrails merge with the robot's and the site's (ADR-0024).

Alternatives considered

  • Goals as coordinates only: "maps and coordinates make no sense" as the way to give goals.
  • An LLM that all goals pass through: "it would make a model a requirement for every goal and put it in the path to the robot" (RFC-0014 §6).
  • Letting the LLM send velocity commands: rejected (RFC-0002 §6).
  • Free-form plans with no schema: rejected; a fixed schema is checkable and testable offline.

Built

Manual goals: yes (apps/mission-control, libs/missions). The LLM planner exists and has not been called against a real endpoint. Auto mode: not built.

Inventory

RFC-0014-8, -9, -10, -11; RFC-0004-1, -2, -3, -4; RFC-0002-2; RFC-0030-5 to -17 (the inventory).