Skip to content

ADR-0030 — Milestone A's scenes are built from the measured error budget; narrower ones are a stretch set

Status: Accepted by the operator on 2026-12-03, with the advisor's recommendations on challenges 29 to 31 Date: 2026-12-03 Context documents: docs/wip/LEARNING-ARC-FINDINGS.md (the error terms, the refusals at the doors), docs/wip/LEARNING-ARC-PLAN.md (milestone A's targets and scene sets), docs/wip/CLEARANCE-MODEL.md (the map's cell discretization error), ADR-0029 (contact), RFC-0034 (the profile's error_budget, the characterization tests)

Context

Milestone A asks the navigator to get through the hard scenes without contact: challenges 24 (an off-axis door), 25 (a dense field of boxes) and 28 (a box behind a door). Their gaps are drawn from NARROW_GAP_M 0.27 to 0.33 m, DENSE_GAP_M 0.40 to 0.48 m and DOOR_BEHIND_GAP_M 0.38 to 0.46 m (libs/runner/src/labrunner/challenges.py). Their clearance, the largest disc radius that still passes from start to goal on the true geometry, is 0.134 to 0.159 m (ch24), 0.172 to 0.240 m (ch25) and 0.151 to 0.183 m (ch28). The narrowest passage on the way sets it.

The control runs of 2026-12-02 and 03 showed no progress on these scenes: main against baseline A's commit was 6 of 18 against 9 of 18 (p = 0.25), and the four worst scenes passed 5 of 12. The fixes behind --nav-fix were not measured at power (their mini lab stopped at 15 of 72 runs). Every "no room to turn" refusal read was an arc refused and a tight pivot refused, by rules that are there for contacts. The operator, in session on 2026-12-03: "instead of squeezing things through, we have to adapt the margins and not ask system to do things that are really almost impossible", and "We are trying to make our software work and not beat those margins."

The error terms

Term Value Kind Source
Footprint radius (the evaluator's circle) 0.083 m fixed profile.json footprint.radius_m
Circumscribed radius (walking), past the trunk centre 0.1175 m fixed footprint.reach_m
Planner's lethal (inscribed) cost radius 0.12 m rule footprint.lethal_m
Tight pivot needs, on the map 0.15 m rule locomotion.pivot.tight_m
Arc refused when the sensor reads under 300 mm, ahead rule locomotion.arc.clear_mm
Map's discretization error (room short of the ground truth's) 4 to 5 cm at ch28's doors; up to a cell (0.0455 m) measured findings; CLEARANCE-MODEL.md
Localization error near obstacles, against ground truth (distance) 6 cm mean, 11.6 cm p95, 16.8 cm max measured findings, baseline A
Localization error's room lost (normal error), pooled ticks 0.089 m p95; 1.7 to 10.6 cm by chapter measured findings, "measured per tick"
Localization error's cost to the map's room 0 to 3 cm at ch28's refusals measured findings
Walking odometry, estimated over ground-truth distance 0.997 measured findings
Cross-track error (path-tracking error), pooled ticks 0.060 m p95 measured findings, "measured per tick"
Plan loss (cross-track and localization together), per-run p95, its p95 over runs 0.113 m measured findings; the operator, 2026-12-03
Room lost per tight pivot (in-place rotation drift) 1 to 4 cm advisor's reading, not re-checked findings

What the terms ask of a narrow passage

Centre to the nearest obstacle outline, the same measure as the clearance:

  • The room rule. Where the arc is refused, the map must read 0.15 m; at ch28's doors it read 4 to 5 cm short from the cells and 0 to 3 cm from the localization error: about 0.23 m of true room.
  • Contact. The circumscribed radius (walking) plus the plan loss: 0.1175 + 0.113 = 0.23 m. The plan loss is measured per tick as the plan's clearance less the ground truth's, so it holds the cross-track and the localization error together, not added; the term is the 95th percentile over baseline A's 192 runs of each run's own p95, so a run that lingers near walls (ch25) weighs as one run (pooled over ticks it is 0.096 m). Accepted by the operator on 2026-12-03. The map's discretization error does not add here: a map that reads short keeps the duck further off.

So about 0.23 m a side, a centred door of about 0.46 m. The term depends on the scene (the room the localization error costs runs from 1.7 cm in ch1 to 10.6 cm in ch28), so it covers baseline A's scenes in the simulator, one code state; the planner's offset from the passage's middle (6.6 cm in ch24-s10 at 0.40 m) is not in it. Every milestone A scene but ch25's widest is under it: ch25's clearance reaches 0.240 m, and those of ch24 and ch28 are 0.183 m and under.

What the minimum passage width does not cover. At ch28's three refusals the ground truth had 0.214 m of room, wider than the scenes' clearances; two were refused by the arc's 300 mm ahead and one of those by the one-tight-pivot-per-spot rule, not by the room. Those rules read the distance ahead and the history of pivots, not the width. Whether a wider door also avoids them is not known; the sweep below tests it.

What the runs say, and how little

R5's rules arm, one run per v2 scene (findings, "Step 1" and "Step 2"):

Scenes Clearance (m) Pass
ch24 s2 s4 s7 s8 0.134 to 0.147 0 of 4
ch24 s1 s3 s5 s6 0.154 to 0.159 3 of 4
ch28 0.151 to 0.183 3 of 8
ch25 0.172 to 0.240 2 of 8
ch26, ch27 0.222 to 0.400 16 of 16

By the scene's gap_m (a scratchpad count over baseline A, not committed), baseline A passed 9 of 9 at 0.50 m and over, 11 of 15 at 0.45 to 0.50 m, and 42 to 60 % in each 5 cm bin below 0.45 m. That 9 is all challenge 2 (a door on the axis), and gap_m is a door in ch2, ch24 and ch28 but a lattice's spacing in ch25: the runs agree with the direction and do not place an edge. Chapters 26 and 27 pass from 0.222 m; how many of their 16 lie under 0.23 m is not counted.

Decision

  1. Milestone A gates on scenes inside the operational design domain (ODD): those whose clearance clears the measured terms. The floor is a minimum passage width: the widest disc that still passes, as a diameter (twice the clearance). It is set by the sweep below, expected near 0.46 m (0.23 m of clearance). (The sweep placed no edge; the floor is the terms' value, see decision 2's note.) A run in the terms' tail can still fail; failures on gating scenes are read, and the ones not explained by the tail are the software's to fix.
  2. The floor and its terms live in the profile, per environment. The floor is error_budget.terms.min_passage_width_m of the variant the host runs (variants.sim today, variants.real once the physical duck is calibrated), the measured terms beside it with their measured and why, and the block's 14 derived margins unchanged (RFC-0034). The floor is measured by the sweep and compared with the terms' sum, not derived from it. The scene generator reads it; no document or code carries a copy. Amended (the operator, 2026-12-03): the sweep placed no edge, so the floor is recorded as derived from the terms until a sweep finds a gap that fails ("Built" below; RFC-0034 section 3.1). Note (RFC-0034 step 1, 2026-12-03): under profile_version 2 each term is a record with its own measured and why; the floor is error_budget.terms.min_passage_width_m.value. Only version 2 is read; the old files were converted once (ADR-0034).
  3. The safety margins do not move. The lethal (inscribed) cost radius, the warning field, the tight pivot's 0.15 m, the arc's 300 mm and the one-tight-pivot-per-spot rule stay as they are. They are there for contacts (b7 r2: four tight pivots took the room from 0.206 to 0.034 m).
  4. Challenges 24, 25 and 28 keep their ranges and ids and become the stretch set (scenes outside the ODD): run and reported beside every milestone A run, never gating. Their records stay comparable with every run so far.
  5. The gating versions are new challenge ids (29, 30 and 31 for the situations of 24, 25 and 28), drawn with the same layouts and the floor checked with challenges.reachable.
  6. No navigator tuning aimed at the stretch set. A change is evaluated on the gating scenes; the stretch set shows whether it moved the edge, not whether it is accepted.
  7. The floor moves only with the terms. When one shrinks and is measured (the localization error, or the map's discretization error), the floor is recomputed, and stretch scenes that clear it move to gating. Shrinking an error term is in scope; tuning to pass inside it is not. Note (2026-12-03, with RFC-0034's revision, which the operator accepted): while the floor is derived, it moves with the terms in its formula, twice the reach plus the plan loss; the plan loss contains the localization's and the map's error, so a shrink in either moves it once the plan loss is measured again (RFC-0034 section 3.5).
  8. The plan's scene sets change; this is the operator's decision. The development set (v2's scenes with a clearance under 0.22 m) and the sealed set (ch24, ch25 and ch28 at seeds 301 to 308) are all under the floor, so neither gates any more. Their gating replacements are chapters 29 to 31 on the same seeds; the targets keep their fractions (90 % and 85 %, 0 contacts, v1 unchanged) and their counts are set after a baseline on the new chapters, as the plan says for its targets. The operator's earlier decision (2026-12-03) covered doors under about 0.30 m only.

Before the floor is set: a calibration sweep (the operator's go, 2026-12-03)

  • Question: on main with the rules controller, from which clearance does the ch24 layout pass, and does it pass at all when the door is wide?
  • Runs: door gaps 0.40, 0.46, 0.52 and 0.58 m (clearance 0.20 to 0.29 m), 12 runs each: 48 runs, about 58 minutes at the plan's 72 s a run; lab-challenge 24 --gap-m (1c8b548). It is RFC-0034's traversability characterization test, run by hand this once.
  • Success rate: a gap counts at 9 or more successes of 12 (at a true 90 %, 97 % of the time; at a true 50 %, 7 %).
  • Decisions: the floor is the narrowest gap with a success rate of at least 9 of 12, with every wider gap also at least 9 of 12. At or one bin from 0.46 m: the terms stand; build chapters 29 to 31 with it. A success rate of at least 9 of 12 at 0.40 m: a term is overstated; back to the operator with which one.
  • Dead end: 0.58 m has a success rate under 9 of 12. Then width does not make the door passable (the arc's veto and the one-per-spot rule refuse regardless), this ADR's mechanism is wrong, and the work stops and goes to the operator; no extension.

Built (2026-12-03, the operator's go)

  • The floor was set by the operator, not by the sweep (decisions 1 and 2 as written). The sweep passed 12 of 12 at every gap, 0.40 m included (docs/wip/LEARNING-ARC-FINDINGS.md, "Challenge 24's calibration sweep"): the protocol's branch "a term is overstated". The operator kept 0.46 m, twice the reach 0.1175 m plus the plan loss 0.113 m (2026-12-03). Which term is overstated is not found, and where the duck starts to fail is not placed: the floor is the terms' value, not a measured edge.
  • The floor in the profile. variants.sim.error_budget.terms in robots/duck/profile.json: min_passage_width_m 0.46, beside the plan loss 0.113, the normal error 0.089 and the cross-track error 0.060 m, with their measured and why. variants.real has none: challenges 29 to 31 cannot be drawn for a robot whose profile has no width. test_profile's table of every profile value lists the number too, as it lists every other.
  • Challenges 29 to 31 (labrunner.challenges): 24's, 25's and 28's generators with their own gap ranges (0.46 to 0.52, 0.46 to 0.54 and 0.58 to 0.66 m), a draw kept only if reachable finds a path for a disc of half the floor on a 2 cm grid (an accepted path's true clearance is at most 0.4 mm under it). Over seeds 1 to 12 and 301 to 308 the drawn scenes' narrowest clearance, bisected on a 1 cm grid (a lower bound), is at least 0.230, 0.240 and 0.238 m. Challenges 1 to 28 draw the same scenes as before (632 compared).
  • Each draws from its parent's seed (the operator, 2026-12-03): ch29-sN is ch24-sN's room and start with the door widened, so the stretch and gating results compare seed by seed (decisions 6 and 8). A parent's draw with no way at the floor is drawn again: 29 keeps 24's room in 19 of 20 seeds, 31 keeps 28's in 20 of 20. Challenge 30 keeps 25's goal in 19 of 20, but neither its lattice (below) nor its start. A dataset that excludes another (--exclude-dataset) keys on the challenge and the seed, so ch29-sN is not excluded by a set holding ch24-sN although the room is the same.
  • Challenge 30's columns are 0.66 to 0.76 m apart, not 0.45 to 0.55 m (the operator, 2026-12-03). The way through the lattice is between its columns: with a wider gap alone (up to 0.66 m) the narrowest draw of 8 seeds was still 0.167 to 0.220 m. The wider spacing places a different number of boxes, so the rest of the draw is not 25's.
  • Challenge 31's box moves out with the gap (the operator, 2026-12-03): its near face is 0.15 m from the gap's middle line, not 28's 0.05 m, so on every seed as much of the box (0.14 to 0.18 m) is in line with the opening as in 28. The narrowest way is from the doorway wall's inner corner past the box's near corner, as in 28, so moving the box out widens it: with the box moved out and the gap kept at 0.78 to 0.86 m it is 0.332 m or more, far above the floor's 0.23 m. The gap is 0.58 to 0.66 m (the operator, 2026-12-03): narrowest 0.238 m, and all 20 seeds keep 28's room; 0.54 to 0.62 m was nearer the floor (0.232 m) but redrew 3 of 20 seeds.
  • Not yet: the baseline on chapters 29 to 31 that sets the targets' counts (decision 8), and the datasets that name them.
  • Not covered: the box's face in line with the opening is a plan-view measure, not what the depth sensor sees from the start (not traced).

Consequences

Positive

  • Milestone A measures the software against geometry its sensors and margins allow; a failure there points at code, not at a margin.
  • The narrow scenes stay in every run, so a shrunk error term shows up as stretch scenes passing.
  • The floor comes from a table of measured terms, so the next change to it has a stated cause.

Negative

  • Milestone A no longer shows the duck through 0.27 to 0.46 m doors. Whether the real home's doors and clutter are that narrow is not known here; if they are, the real duck will refuse them until an error term shrinks.
  • The new chapters need a baseline before their targets mean anything; the old counts (108 of 120, 62 of 72) do not carry over.
  • The terms are added at single values (a mean, a p95, a measured range at one chapter's doors), not as a joint distribution, so some gating failures will be the tail, not a bug.

Neutral

  • Challenge ids 24, 25 and 28 and every record of them are unchanged.
  • The terms are the simulator's; the real duck's (its pivot is not measured, profile.json locomotion.pivot.measured) will need their own table.

Alternatives considered

  • Loosen the turn rules (a smaller tight_m, more than one tight pivot per spot, a shorter arc veto). Rejected: it trades contacts for passes; the rules exist because of the contacts they stop.
  • Keep tuning the navigator on the current scenes. Rejected: their clearances sit inside the terms, so a pass there is luck in the error, not a property of the software.
  • Drop the narrow scenes. Rejected: they are how a shrunk error term is seen.
  • Set the floor from the terms alone, without the sweep. Rejected: the terms come from one chapter's doors and leave the cross-track error out, and the rules that refused at ch28 do not read the width.

Not covered

  • The cross-track error, the joint distribution of the terms, and the in-place rotation drift's effect in a door.
  • Whether reachable's disc stands for the body's circumscribed radius (a disc, not the body's outline).
  • The gap ranges for chapters 29 to 31, and whether ch25's and ch28's layouts behave like ch24's in the sweep: it runs ch24's layout only.
  • The scratchpad scripts behind the clearances and the gap bins were not re-run for this ADR.