The learning arc: the plan and its gates¶
Status: the plan of record, agreed with the operator 2026-11-29 evening, revised 2026-12-01
and 2026-12-02 (the operator: "make all these changes to the plan"). Split on 2026-12-02 (the
operator): this page is the plan; every dated reading behind it is in
the findings log. It replaces the step list in
the training handover ("The plan from 2026-11-29 evening"),
which keeps the history. The method is ADR-0028; the
statistics and every step's result are in robotics-evals docs/R5-PREREGISTRATION.md.
Names (the operator, 2026-12-01): the "recipe bar" is now the training-scene test ("the
scene test"): it measures a policy in the scenes it was trained in, not the lab's. Code, commands,
plans, run folders and evh ids keep the code name bar (bar.py, bar-batch, plans/bar/, goal
bar_training_scenes); records written before the rename keep the old name.
Where we are (2026-12-02)¶
The goal below is unchanged. The learning arc's steps are paused since 2026-12-01 (2d held, the smoke gate designed and not built): every learned arm fails the scenes the rules fail, and all 17 of the rules' v2 failures are the navigator's (findings, "Finding the problem before moving forward"). A better controller cannot show value until the navigator passes those scenes, so the work is on the navigator, toward milestone A.
| Milestone | What it is | Proof | State |
|---|---|---|---|
| A | The navigator gets through the hard scenes without contact | "Milestone A: done when" (below) | now: baseline A read (171 of 210, 3 contacts); the evaluator's records and the alert distance fixed, then the fixes on the failed scenes |
| B | Back on the learning arc | 2d on M2a; the smoke gate before any DGX training | after A |
| C | Adoption | step 5: the learned controller beats the rules on A's navigator | after B |
| D | R7 and the real duck | — | after C |
The navigator's fixes so far: E and B did not hold; the sensor is not the cause; the ch24-s7 door is the obstacle memory (a clearing rule checked, not built); smaller margins pass 33 of 46 against 21 (sign test by scene, p about 0.02) and touch in clutter; the narrow fallback gained nothing. Not started: A1, A2 (turn refusals), C' (the reflex along the heading).
Milestone A: done when (agreed with the operator 2026-12-02)¶
The rules navigator in duck-sim, the depth impairment on as R5, one build. The targets are provisional: they are reviewed once, after the baseline (the operator: "adjust targets after the 1st pass, that is sort of a new baseline"), and fixed before any fix's lab is read against them.
Scenes. Development: v2's 23 scenes with a bottleneck under 0.22 m (tuned on, so they prove
nothing alone). Confirmation: avoidance_v2 (40) and avoidance_v1 (30), three repeats each.
Sealed: ch24, ch25 and ch28 at seeds 301 to 308 (24 scenes, three repeats), seeds no dataset uses
(v2 has 1 to 8, avoidance_val 201 to 203); nobody runs them before the final round.
| # | Criterion | Target (provisional) |
|---|---|---|
| 1 | Passes on v2 | at least 108 of 120 runs (90 %), no scene failing all three |
| 2 | Passes on the sealed set | at least 62 of 72 (85 %) |
| 3 | No regression on v1 | at least 88 of 90, no scene failing twice |
| 4 | Safety | 0 contacts and 0 falls in every run of every set; contact as the simulator reports it at each 5 ms step (the body server's touches) |
| 5 | Better than today, not luck | against today's main, interleaved, the same sets, paired by scene: sign test p under 0.05 |
| 6 | Every run sound | rtf at least 0.95, truth paired, contact checked; no-verdict runs rerun, at most 5 % |
| 7 | The proximity alert placed | its distance from the measured body reach plus the sampling and backlash error; the planning ring at least that plus the measured tracking error; alerts reported per run |
| 8 | Every failure explained | each failed run's cause assigned from its records |
Why 90 % and not 100 %: the simulator is not deterministic (K13), and runs near a threshold flip; 0 contacts stays absolute.
The order. (1) The evaluator exact: the body server's touches (robots/duck/sim/patches/
body-server-touches.patch) and the advisor's two checker fixes (obstacles by the scene's names; a
simulator host without the check gives no verdict). (2) The baseline: today's main on v2 and v1,
three repeats (210 runs, about 4.2 h at the margin lab's 72 s a run), then the targets reviewed.
(3) The fixes, each with a mini lab on its scenes: margins (the ring against the pivot), the door
memory, A1 and A2, C'. The operator (2026-12-02): practise on the failed scenes first, three
repeats, with a few passing neighbours as a guard; the full sets only in the final round. The
first contact fix is a clearance check in the depth sensor's frame (the findings, "The proximity
alert sits inside the walking body"). (4) The final round: today's main against the candidate on
all three sets (about 280 runs an arm).
Not claimed by A: the real duck, the learned controller (C), other challenge kinds (steps, pits), exploring, Mission Control.
The goal¶
A learned local controller for the duck at least at M2a's level (NVIDIA's recipe on our duck),
then better than the rules navigator in the lab: on avoidance_v2 the rules scored 23 of 40
with 0 collisions, on avoidance_v1 30 of 30, by the footprint circle. Under the simulator's touches
(baseline A, 2026-12-02) they score 84 of 120 on v2 and 87 of 90 on v1, three repeats, with 3
contacts. The operator's words (2026-11-27, confirmed 2026-11-29):
"Get M2b to at least where NVIDIA is, and then we can go to R7; we need to be on top of the game."
The rules of the arc¶
- One change per step, proven by a config-diff test against the parent
(
tests/test_m2ef_one_change.py,tests/test_m2g_one_change.pyin microduck-nav). - Pre-registered before it runs: hypotheses, outcome, test, minimal effect, the checkpoints and what each reading leads to, in robotics-evals, committed before any counted run.
- After every step: this session's review, then the advisor's (Fable 5.1), then the operator, who decides the next step. Nothing in the next step starts before that.
- Nothing here touches the DGX: the homelab session runs the swaps; we send a commit, a task,
the arguments and a window (
dgx-training-runskill).
The steps¶
| # | Step | What it settles | Status (2026-12-01) |
|---|---|---|---|
| 1 | Evaluate M2e (10 Hz with lateral) | the 2x2 of rate and lateral: training at 10 Hz is what costs | done (section 12) |
| 2 | The training-scene test (code name bar): policies in their training scenes, against zero + guards |
step 2's table; the stand control; the GPU's noise | done (section 13) |
| 2b | Longer training episodes: M2g = M2e trained on 60 s episodes | whether the arrivals after 20 s are why training rarely arrives | done (section 14): H1 not shown, M2g 376 against M2e 418 (net -42, in M2e's favour); M2g still rising at 399, more iterations not taken (the operator, 2026-12-01) |
| 2b+ | The drift trace, beside 2b's M2g evaluation: a stand arm records each environment's random draws (draws) |
open item 2 | done, descriptive (section 14): an association with the base's centre-of-mass draw; the causal test not built |
| G1 | Build the smoke gate (below) | catches a broken task before a 2.5 h run | before the next training (2d's change, if it is a training change) |
| G2a | The desk calibration check (below): the scene test's ranking of rules, M2a, M2e and M2f against the lab's, from results we have | whether the scene test's ordering resembles the lab's before we lean on it again (open item 3, risk 1) | done 2026-12-01, before 2c's pre-registration: the scene test and the lab disagree on M2e against M2f (open item 3) |
| 2c | The floored request: the request held at the walker's 0.2 m/s near the goal, on M2e (the line 2b leaves best) | the stalls 0.2 to 0.5 m from the goal | set aside (the operator, 2026-12-01: M2a and 2d): its target, the stalls 0.2 to 0.5 m out, is 15 scenes on M2a, at the noise floor |
| 2d | Commands under the walker's floor: diagnose (does the request fall under it, or does the residual pull it under?), then one change (an action floor in the residual, or the reward's balance) | open item 1, the dominant failure | next, on M2a, in two parts (the operator, 2026-12-01): first the floor at deployment only (a lab round, no training, with S5a in one round: robotics-evals section 15), then the training change (the reward, or the floor inside training's action, chosen in its own pre-registration) if the floor at deployment shows the stalls cost goals; the rules navigator never commands under the floor, so this is the learned controller's problem only. Section 15 held 2026-12-01 (the advisor: not ready; the floor latches and needs rebuilding at the walker only); the focus moved to "no room to turn" (below, after S2) |
| 3 | Measure the tof site's pitch while walking, in both simulators |
whether the sensor tilt has any content | open, about an hour, any time |
| 4 | A 50 Hz inner loop with lateral in the navigator | only if step 2 showed a large deployment gap | not needed: step 2 found none (C2a, C2b, C4 nulls) |
| 5 | The adoption gate, for the best line only: avoidance_v2 and avoidance_v1, three repeats, with the calibration check (below) |
adoption; open item 3 | after 2d |
| 6 | NVIDIA's own Isaac Lab code on the DGX (a new dependency, the operator's go) | whether our port matches their code | last |
The parallel track: sideways, the navigator's gap (the operator, 2026-12-01)¶
The gap. Training's walker takes three commands: forward, sideways, turn. The duck's navigator
sends two. Twist (robots/duck/src/duck_lab/nav/follow.py:19) has only vx and vyaw;
duck_walk.py:45 sends robot.move with "vy": 0.0; the learned plugin computes the policy's
sideways command, limited to 0.12 m/s, and drops it (learned.py, Twist(cmd[0], cmd[2])). So no
navigator, rules or learned, has ever moved the duck sideways. Pollen's walker was trained to
(microduck_rl microduck_velocity_env_cfg.py:649: lin_vel_y from -0.3 to 0.3 m/s; whether our
velstand.onnx comes from that configuration is not checked). The lab's 2x2 says training with
sideways makes a better policy even when deployment drops it (M2a 21 of 40 on v2, M2f 14); whether
using it at run time helps is untested. The track runs beside the learning arc and needs no DGX.
| # | Step | What it settles | Cost |
|---|---|---|---|
| S1 | Done 2026-12-01 (below). Probe: does the walker sidestep in duck-sim? robot.move with vy at 0.05 to 0.3 m/s, both ways, a few seconds each; odometry against the simulator's truth (as sim/probes/backward.py and odom_vs_truth.py do), under sim-lock |
whether the runtime honours vy and how well the walker tracks it; the usable range |
under an hour |
| S2 | Done 2026-12-01 (below). What the duck sees sideways: the ToF's field of view, the map and the guards against a sideways step | whether a sidestep moves into space nothing checks (a safety question for S4) | desk, an hour |
| S3 | Close the gap in the plumbing: Twist gains vy (default 0), duck_walk sends it, the learned plugin passes its sideways command; nothing moves sideways until a profile turns it on; tests |
the command reaches the walker | small code change, robotics-lab |
| S4 | An RFC: how the rules navigator uses sideways (for example slipping past an obstacle's edge instead of pivoting), with S1's range and S2's answer | the design, before any rules change | an RFC, the advisor, the operator |
| S5a | Lab round: M2a with its sideways passed through against m2a_b (v2, v1), pre-registered |
whether the learned policy's own sideways helps at run time; needs S1 and S3 only | about 3 h of simulator |
| S5b | Lab round: the rules with sideways against rules_v1 (v2, v1), pre-registered |
whether the rules navigator gains from it; after S4 | about 3 h of simulator |
| S6 | The real duck sidesteps: a short walk test on the real robot | whether the real walker tracks vy as the simulator's does |
the operator's call (safety) |
Order: S1 and S2 first (S1 can show the runtime ignores vy, which would change S3); then S3; S5a
before S4 because it needs no design. S5a's arm is a deployment change, not training, so it does not
touch the learning arc's one-change rule; if it helps, every learned line is read again with it.
The track's reads (S1, S2, "No room to turn, read" and what followed) are in the findings log.
The gates¶
In force¶
| Gate | Where | What it checks |
|---|---|---|
| Pre-registration | robotics-evals, before any counted run | the design is fixed before the data |
| Review chain | after every step | this session, the advisor, the operator |
| DGX preflight | .claude/skills/dgx-training-run/scripts/preflight.py |
clean and pushed commit, the cu129 lock, the task, the walker's hash, the save interval, the runtime, the window |
| Training accepted | checkpoint_report.py, the replay |
exit 0; the ONNX (1, 1343) -> (1, 3) with the normaliser; curves, replay and ONNX agree |
| Harness read | section 13 and 14's checks | the stand floor (reached 0, stand-still at least 95 %), one scene hash, dirty: false, the checkpoints' hashes |
| Lab run sound | sim-run skill |
the simulator lock, real-time factor at least 0.95, truth paired, no sudo prompt |
| Adoption | step 5 | v2 and v1, three repeats, collision limit 0, Holm |
| Records | robotics-evals make validate |
V1 to V30 |
| Code and docs | tests, make docs-validate, CI |
a failing test before a fix; the docs build |
| Promotion | Mission Control (PRD-005 FR6) | only the operator's token; an agent proposes, never promotes |
| Simulator first | ADR-0027, ADR-0028 decision 6 | a real profile naming a learned controller is refused until the safety review |
To build (each with its step)¶
| Gate | Built at | What it checks |
|---|---|---|
| G1 Smoke gate | before 2c's training | a few minutes on the DGX (a short training run, then a replay of its checkpoint) before a 2.5 h run; the thresholds from the measured noise (section 13: a count moves about 12 at 2048 environments, the stand floor about 2 %) |
| G2a Desk calibration | before 2c's readings | the scene test's ranking of the four arms with lab results (rules, M2a, M2e, M2f) against the lab's, per lab dataset, from existing results (no DGX); four arms can warn, not certify: a disagreement lowers what 2c's bar reading may claim and can bring step 5 forward |
| G2 Calibration | step 5 | the harness ranks arms whose lab results exist (rules, M2a, M2e, M2f) as the lab ranked them; until then the harness screens only |
| G3 Mid-training check | from 2c's training | the curves at about 100 iterations; stop when the policy collapses into standing (M2a's late checkpoints did), with the operator's word |
| G4 Replication, sealed | from 2c | a second evaluation seed before a harness finding drives a training decision (offered for 2b, not taken); its dataset is created sealed in evh (seed 1) and nobody reads it while lines are compared; opened once to confirm the line chosen for step 5 (one DGX plan, 15 to 40 min) |
| G5 Rules regression | step 5 | the rules navigator's own v2 and v1 results unchanged on the same build before an adoption (the R5b deployment fix moved the navigator side) |
| G6 Real-robot gate | before any real run of a learned controller | what it must pass on the real duck, and who says go; written with the safety review (ADR-0028 decision 6), not before |
The G1 design draft is in the findings log ("G1, the smoke gate").
Ideas for later (not planned)¶
- A small language or vision-language-action model instead of the trained MLP (the operator, 2026-12-01). Such models exist (from memory, not checked today: RT-2, OpenVLA, Octo, pi0, Hugging Face's SmolVLA at about half a billion parameters, NVIDIA's GR00T); they learn from demonstrations and cameras and run at a few Hz, where our controller is an MLP of 1343 inputs and 3 outputs at 10 Hz on an 8x8 depth sensor. The nearer fit is a language model as the planner above the local controller (where to go, how to recover), not as the controller itself. To be weighed when the learning arc ends. Written up in IDEAS.md, "Training a language or vision-language-action model for the duck".
- An AI as the navigator's decision layer, through MCP, for MVP v2 (the operator, 2026-12-01:
"an idea for later, a big detour"). An MCP server over the navigator API (
labrunner/navapi.py, RFC-0021/0022, what Mission Control drives) so any AI chooses the next step every few seconds (back out, another approach, try the tight turn) while the code keeps the 10 Hz loop. Uses: a third lab arm beside the rules and the learned controller; a driver that validates scenes without the operator's hands. Open before any design: whether the API exposes skills (turn, creep, back up) or only whole goals; the truth is withheld from the navigator by design (navapi.py), so an oracle with the true pose would be a probe, never a lab result; the cost per run; the MCP SDK is a new dependency (the operator's go). An oracle driver (truth geometry and pose, the widest path, the same walker) is the deterministic form of the same check.
Not covered¶
The order after 2d depends on the readings; the costs are estimates (a training run about 2.5 h on the DGX, a harness plan 15 to 40 min, a lab round about 3 h). G1 to G6 are named, not designed; each gets its design when its step comes. The real-robot gate (G6) has no date.