Date: 2026-11-26. Code: backends/unitree_g1/ (scenes.py, phase4.py), decision
0046 section 3; contract in
g1-backend-v0.1.md, “Acceptance scenes and the acceptance run”. Simulation only.
Result: run 3 meets the bar, with no margin. 38 of 42 runs SUCCEEDED (90.5%; 90% is 38), 57 of 57 atoms agree
with the oracle, no false success, 5 of 5 scripted failure cases. Runs 1 and 2 did not meet it (37 of 42; then 39 of
42 but 96.8% agreement). No run of any of the three ended SUCCEEDED with its goal not met. Run 3 found a fault in
move that the bar does not measure: an arrival confirmed without a valid marker fix (section 9, follow-up F1).
| Bar (0046 section 3, item 3) | Required | Run 1 | Run 2 | Run 3 |
|---|---|---|---|---|
Runs SUCCEEDED, from observations |
≥ 90% (38 of 42) | 37, 88.1% | 39, 92.9% | 38, 90.5% |
| Atoms agreeing with the oracle | ≥ 98% | 54 of 55, 98.2% | 61 of 63, 96.8% | 57 of 57, 100% |
| False successes | 0 | 0 | 0 | 0 |
Scripted failure cases FAILED with their code |
5 of 5 | 5 | 5 | 5 |
| Bar | not met | not met | met |
Host for all three: a Cloudroom sandbox, x86_64, 4 vCPUs, no GPU; stance free, arm work supported (0046 open point
1). Sections 1–7 are run 1, section 8 run 2, section 9 run 3. Results and every run’s record, result, site and scene
are in g1-phase4/.
Each task ran unchanged from bench/reference/, three times, each on a fresh stand-in through robolang_g1.cli.
| Task | Runs that count | What happened |
|---|---|---|
a_scrap_part |
3 of 3 | |
a_sort_three |
1 of 3 | 2 × S502 at the fourth place |
e_box_then_dock |
1 of 3 | 1 × S504 and 1 × S302, both at the dock |
e_hold_box |
3 of 3 | |
e_pause_home |
3 of 3 | |
e_pick_place |
3 of 3 | |
l_vial_hold |
2 of 3 | 1 × S502 at the place |
l_vial_to_fridge |
3 of 3 | |
w_part_precheck |
3 of 3 | |
w_pick_from_table |
3 of 3 | |
w_split_boxes |
3 of 3 | one box in each hand |
e_park_amr |
3 of 3 | |
w_carry_hold |
3 of 3 | walks holding the crate (0046 U6) |
w_clear_dock |
3 of 3 | walks holding the crate (0046 U6) |
The visibility rule holds for all 14 scenes, checked from the geometry before the run. No task left the family.
| Run | Code | What the record says | Cause |
|---|---|---|---|
a_sort_three_2, _5 |
S502 | The fourth place (part y in the outer right slot): no inverse-kinematics solution, the target 0.22–0.25 m to the right of the pelvis |
The robot stood 2–5 cm to the left of the station, inside the 5 cm tolerance. The planner places a held box up to about 0.21 m to the side. Three slots on one table leave the outer one 2 cm to spare |
e_box_then_dock_2 |
S504 | move to the dock did not converge in time |
The dock is 12 cm behind the destination’s standing place. move walks to an approach point 0.5 m short of a station and comes in again, even for a 12 cm step; in this run its pose estimate then jumped by 0.5 m and 0.6 rad between looks |
e_box_then_dock_3 |
S302 | robot_at r dock is unknown: offset 4.94 cm against a tolerance of 5 cm, “within the margin of the tolerance”. The oracle says the robot was at the dock |
move arrived inside its 4.2 cm; the robot then stood 4.9 cm off when the goal was observed. A value within 5 mm of the tolerance is never decided in favour of true |
l_vial_hold_2 |
S502 | The place at the spinner: the held box came 0.4 mm inside the table’s 3 cm margin on the way out of the carry pose |
The bench and the spinner share one station, 1.30 m from the plate. Phase 3 found the same for places from 1.30 m and moved the place stations to 1.35 m; this scene grasps there too, so it stayed at 1.30 m |
All five end with the arm and the legs stopped as the backend’s stop prescribes, and none moved an object it should not
have. Two of the causes are scene choices made in this phase (a_sort_three’s three slots, l_vial_hold’s shared
station). Two are the backend’s (move over a very short distance; standing 4.9 cm off after arriving inside 4.2 cm).
Two runs of a_sort_three (_1: S517, _4: S502) fell behind real time in one second each (ratio 0.60 and 0.76, with
the loop neither computing nor waiting for a CPU: the virtual machine paused). They are harness failures under 0046
U13 and were repeated. Neither ended SUCCEEDED, so neither could hide a false success. Over the 42 runs that count,
the worst second was 0.989 of real time.
All on e_pick_place, once each.
| Case | Code | Also checked |
|---|---|---|
| The box is not in the scene | S506 | no arm, hand or attach command was sent |
| The box is on the destination’s table | S506 | no arm, hand or attach command; the box did not move |
| The destination’s region is 0.8 m ahead | S502, at the place |
the box is still in the hand; nothing was detached |
| The head camera is covered from the start | S517 | no arm or hand command; the box did not move |
| A push on the torso while walking | S516 | the oracle confirms the fall; no command of any kind after it |
true and
true, one unknown, none wrong, no false success in 44 task runs.false verdict in it. Those are in phase 3 (O1, O2, O4), which passed on x86_64 on the same code.grasp_model: weld_after_hand_close, 0046 U7). Nothing here says the hand holds a box.w_split_boxes, a_sort_three and l_vial_hold are its first runs; phases 2 and 3 use
the right hand only.The scenes were built and tried before the run started, and changed while they were tried. For the record:
w_split_boxes first had both boxes for the right hand, 18 cm apart: S502 at the first grasp. The planner’s reach to
the side was then measured on the robot’s own model, and the scenes give each side of a table its own hand.w_split_boxes, e_box_then_dock and l_vial_hold each succeeded once;
a_sort_three failed twice (S502); the five failure cases passed. So a_sort_three was known to be marginal when
the run started, and it ran as it was.No scene and no code changed during the run.
The bar is missed by one run. Two ways on, and one thing not to do:
l_vial_hold’s shared station at a
distance that suits both the grasp and the place; move going straight to a station it is already beside, and the
goal observed only when the robot stands inside the sure band; and either two slots less far out for
a_sort_three or that task leaving the family. The backend changes need phases 2 and 3 again (about an hour of
CI), then the acceptance run again (about three hours).a_sort_three the same runs give 36 of 39 (92.3%) and 51 of 52 atoms
(98.1%), with no false success: the bar is met by a family of 13. 0046 lets a task leave the family for the
visibility rule or for walking while holding; a task leaving because three parts at one station are beyond the arm
planner is a new reason, so it needs the owner’s decision. H3 left w_two_boxes out for a like reason (0029
section 7).The owner chose “fix and run again” (section 7, option 1). Code 650cd48:
move to a station the robot already stands beside is the servo alone (“Steps” in the spec): no walk out to the
approach point and back for l_vial_hold’s bench and spinner (one station) or the dock 12 cm behind a destination.robot_at was 1.6 cm
off what the arrival had measured two seconds before.Result (phase4-run2.json, records): 39 of 42 runs
SUCCEEDED (92.9%, met); no false success; 5 of 5 failure cases; but 61 of 63 atoms agree with the oracle (96.8%,
bar 98%): not met. All 42 runs counted (worst second 0.988 of real time). Run time 2 h 37 min.
| Task | Run 1 | Run 2 |
|---|---|---|
a_sort_three |
1 of 3 | 2 of 3 (S502 at the second grasp: no carry pose clears the box, the robot 3.9 cm off) |
e_box_then_dock |
1 of 3 | 1 of 3 (S302 twice: robot_at r dock unknown) |
l_vial_hold |
2 of 3 | 3 of 3 |
| the other 11 | 33 of 33 | 33 of 33 |
The direct move worked at the dock in all three runs (arrival 1.2–3.2 cm). The place’s shift was never needed. The
two unknowns were a fault of the move of the plate: at its new place the line from the camera to the plate’s lower
edge crossed the table’s far edge, the plate’s pose jittered by more than 1 cm from frame to frame, and its confidence
was 0.00 in two runs of three (the destination’s plate in the same snapshots, 3 cm clear of the table, read 1.00). The
visibility check of the scenes looked only at the plate’s centre, so it did not see this.
After run 2 (code e01b9a8): the dock’s plate is raised to 0.40 m, and the visibility rule checks every corner of
each plate the goal reads, white border included, 2 cm clear of every table and of a box where the goal puts it. It
fails the run-2 dock and passes the new one; two trial runs of e_box_then_dock (not counted) read the dock’s plate at
confidence 1.00 and succeeded.
Also changed between the runs, from x86 CI: E5 (phase 2) failed twice in CI on a check nothing in phase 4 had
touched: a stop confirmed from lowstate (every joint under 0.09 rad/s) while the robot’s body still slid 1.6 cm in
the window, against the check’s 1.5 cm. The stop is now confirmed only when the legs and waist have also travelled at
most 0.01 rad over the window. With it, P1–P6, E1–E7 and O1–O7 pass on x86_64 (CI run of fd71842). This changes no
outcome of a task run: it only decides when a stop counts as confirmed.
Code e01b9a8 (run 2’s code, the dock’s plate raised to 0.40 m, the plate check of the visibility rule, and the stop
confirmed only when the legs have not travelled). phase4-run3.json,
records. All 42 runs counted (worst second 0.971 of real time). Run time 2 h 32 min.
| Task | Run 1 | Run 2 | Run 3 |
|---|---|---|---|
a_sort_three |
1 of 3 | 2 of 3 | 2 of 3 (S502 at a grasp) |
e_box_then_dock |
1 of 3 | 1 of 3 | 3 of 3 (the dock’s plate read at confidence 1.00) |
l_vial_hold |
2 of 3 | 3 of 3 | 2 of 3 (S502 at the place, same station: the held box 1.1 cm inside the table’s margin) |
l_vial_to_fridge |
3 of 3 | 3 of 3 | 2 of 3 (S517: see F1) |
w_split_boxes |
3 of 3 | 3 of 3 | 2 of 3 (S517: see F2) |
| the other 9 | 27 of 27 | 27 of 27 | 27 of 27 |
Over the three runs 114 of 126 task runs succeeded (90.5%), and every one of the 12 that did not was a refusal (S502),
a lost marker (S517), a timeout (S504) or an unknown (S302): never a wrong verdict.
F1. move confirmed an arrival without a valid marker fix (l_vial_to_fridge_2). The record says the robot
arrived within 3.5 cm of the destination’s station; the oracle had it 0.45 m away. At the station every reading of
its plate was rejected by the localization (its vertical 0.07–0.08 rad from the IMU’s: the wrong one of the two
poses a flat marker allows), so the belief kept its dead reckoning. _confirm_pose checks only that the station’s
marker is among the readings, not that the look fixed the pose from it, and so confirmed the stale belief. The look
before the place found the plate’s confidence too low and ended the run with S517 before the arm moved. The verdicts
are not affected: robot_at and object_at count only frames whose vertical agrees with the IMU, so such a reading
gives unknown, never true. Fixed after the run (2026-11-28, its own pull request): the arrival’s confirming
look, and the re-observation before arm work, count only if the look fixed the pose from the station’s marker; the
latter otherwise ends S517 “no pose fix”. The fix changes no run that succeeded: in the archived records of all
126 task runs, 3 of 324 moves ended on a rejected reading, all three in runs that failed (e_box_then_dock_1 and _2
of run 2, and this one), and no grasp or place step saw a rejected reading. So the acceptance holds for the fixed code
without a fourth run.
F2. The next station’s plate not found (w_split_boxes_3; also a_sort_three_1 of run 1, which did not count).
The first reading of this record was wrong: it was not a bad marker fix. Fixed after the run (2026-11-28, its own
pull request), from measurements:
move walks to the approach point only when more than 0.4 m from it). From
there the wide table (it reaches 13 cm further left than a narrow one) hid the plate. Before the scan, the robot
sidesteps toward the plate, and a robot with a box in each hand often takes no sidestep. The scan then turned it
round: S517. Of the 324 moves in the archived records, 142 needed sidesteps (118 found the plate with them, without
a scan) and 24 scanned; of those, 5 failed: these two, and the three covered-camera cases, which must fail.Reproduced: the robot started at that place with a box welded in each hand, sidesteps switched off in the executor (a
test-only wrapper), task move r to tb:
| Scene | After the sidesteps, walk to the approach point | Result |
|---|---|---|
| run 3’s | no | 3 of 3 S517 |
| run 3’s | yes | 3 of 3 S517 (the approach point does not see the plate either) |
| fixed | no | 3 of 3 S517 |
| fixed | yes | 3 of 3 SUCCEEDED |
(With sidesteps on, the same start failed 1 of 3 on run 3’s code and scene.) The fix is both:
move looks for it (the approach point, or the station before it for a direct
move), corner by corner, 2 cm clear of the tables: run 3’s three wide-table scenes fail it, all 14 new ones pass.
The 11 scenes with narrow tables are byte for byte unchanged.move: after the sidesteps, if the robot is more than 15 cm from the approach point, it walks there (to within
8 cm), faces the station and looks again, once, before it scans. This runs only on the path that used to scan, 24
of 324 moves.Confirmation (not an acceptance run: the three wide-table tasks only, three counted runs each, on the fixed code;
f2/confirm-wide-tables.json): 7 of 9 SUCCEEDED, no false success, 100%
agreement. Every one of the 40 moves arrived. Sidesteps were needed in 6 of 40 moves (old scenes: 89 of 117), the scan
in none (old: 17), no move failed (old: 2). The two failed runs are F3’s: a_sort_three S502 at a grasp, and
l_vial_hold S503 at the place from its shared station (the left arm 0.141 rad from its pre-place target, tolerance
0.12, a new code there but the same marginal place). The measurement scripts and data are in
g1-phase4/f2/.
What this means for the acceptance: the 11 narrow-table scenes and their runs are unchanged; move’s change runs
only where a move used to scan; the three wide-table scenes changed their plates, not their stations or regions, and
were confirmed above. The acceptance of run 3 is not re-run.
F3. Three slots and one shared station are still marginal. a_sort_three failed one run in each of the three
runs, and l_vial_hold’s place from its shared station failed once in runs 1 and 3: the arm planner’s margins, not the
executor’s logic. Two hand-sized slots per table and a station each would remove them; that changes the scenes, and
the family’s tasks run unchanged either way.
F3, l_vial_hold: fixed after the run (2026-11-28, its own pull request; a_sort_three is left as it is, by the
owner’s choice). The bench and the spinner now have a station each, 13 cm apart on the same table, each with its slot
7 cm to the left of its pelvis and its own plate; the robot steps from one to the other by a direct move. Every other
scene is unchanged. Three runs (f3/l-vial-hold-own-stations.json): 3 of
3 counted runs SUCCEEDED (the step to the spinner direct each time, arriving within 3.4 cm; no place needed its
shift), 9 of 9 atoms agree with the oracle. A fourth run, which did not count (one second at 0.94 of real time), ended
S502 at the first grasp, the robot having arrived turned 0.057 rad: the grasp at the bench can still be refused.
F3, a_sort_three: tried on 2026-11-28, not fixed; nothing changed. Over the 14 runs of the three acceptance runs
and the F2 confirmation, its refusals were: the place at the outer slot (3 in run 1, none since the place shift), and
the inner slot, 7 cm to the right of the pelvis (the place of x twice, the grasp of y once). Two fixes were tried and
both dropped:
l_vial_hold. A search over the stations’ positions and their plates’
offsets and heights (sz fixed or free, plates on either side, 0.19–0.48 m up) found no layout that keeps every
plate in view and clear of the table from its approach point and its station: the place table is in the line of
sight of at least one plate, and raising the plate enough takes it out of the image from 0.5 m further back. With
the feed’s three grasps from one station anyway, the scene cannot give every reach a comfortable slot.SUCCEEDED; f3/a-sort-three-4-runs.json) no reach was refused, so the
retry never ran. In 3 forced runs that let the robot arrive up to 5.7 cm and 0.13 rad off before the inner grasp,
the arm planner did not refuse either (one SUCCEEDED, one S302, one S503). The refusals are not explained by
where the robot stands, so the retry had no measured benefit and was not kept.What is left is in the arm planner: its clearance checks (the carry pose 2 cm from every link, the path 3 cm from the
tables) refuse some reaches at the inner slot for reasons these runs do not show. Finding them needs the planner’s
own traces at a refusal, not more runs of the task. Until then a_sort_three stays a known marginal task: every one of
its failures is a refusal before the arm moves.
F3, a_sort_three: the planner’s traces, and the fix (2026-11-28, its own pull request). The arm planner now
records, at a refusal, why it refused each combination it tried (the stage, and for a path or carry test the closest
it came: link, table, leg, by how much). Offline on the robot’s own model
(f3/offline-planner-traces.json), with the pelvis 3 cm to the right of the
feed’s station the box is only 4 cm from the body’s centre line, and every refusal of the grasp of y, and of the
place of x at sx, was on one leg: from the raised pose beside the body to the pose above the target. The straight move
in joint space between the two swung the fingers 0.3–6 cm into the 3 cm margin of the table’s front edge (51 of 66
combinations; the rest were the carry pose, or no raised pose).
The fix: when every reach is refused because its path comes into the tables’ margins, the planner tries again with
a waypoint halfway between the raised pose and the pose above the target, 5 cm higher (“over the edge”); the path
checks and the arm’s moves go through it, out and back. Plans that passed before are unchanged: the second pass runs
only after the first refused every reach on its path. Offline, all 4 refused cases, and 2 harder ones, are planned
(grasps in 84–168 s, places in 5 s). In the simulator, 3 of 3 runs of a_sort_three SUCCEEDED
(f3/a-sort-three-via.json), and in the third the place of x at the inner slot
was refused on the first pass and made over the edge: the failure the task used to end on.
Acceptance run 4 (2026-11-29, code a55c413, all of F1–F3): stopped after 22 runs. Three of them ended S503, the
arm 0.14–0.16 rad short of its target after the waypoint over the edge (the grasp in l_vial_hold_2 and _3, the place
in a_sort_three_1); 19 of 19 others succeeded. Offline, the plans that went over the edge put the wrist 2.9–4.6 cm
into the torso (collision shapes), the direct plans at most 1.8 cm: the path checks measured the arm against the
tables but not against the robot’s own body, and the second pass had found poses the first had only refused for
other reasons. The simulator makes the arm and the torso collide, so the arm stopped against the chest. The run was
stopped rather than finished: it could no longer confirm the code it was run on.
Fix: the path checks also measure the arm and the hand against the pelvis and the torso, and refuse more than 2 cm
of overlap (SELF_OVERLAP_M, set between the 1.8 cm of the plans that executed and the 2.9 cm of the first that did
not). Offline, the plans that used to stop the arm are now refused before it moves (S502), the direct ones are
unchanged, and a_sort_three’s inner slot is refused again where the robot stands 3 cm to the right: the waypoint had
only seemed to fix it, through the torso. Acceptance run 5 runs on this code.
Acceptance run 5 (2026-11-29, code 6329826: F1–F3, the waypoint and the trunk check): the bar is met with every
run. 42 of 42 runs SUCCEEDED, 66 of 66 atoms agree with the oracle, no false success, 5 of 5 failure cases
(phase4-run5.json, records). Three runs did not count
(a second behind real time) and were repeated; all three had succeeded too. Worst second of the counted runs: 0.992 of
real time; run time 2 h 38 min. a_sort_three 3 of 3, l_vial_hold 3 of 3, e_box_then_dock 3 of 3.
Still open (F2, found in CI on the same code, phase 3 O3): a robot carrying a box stopped beside the approach
point, its sidesteps found no plate, and the walk back to the approach point went from a belief the sidesteps’ dead
reckoning had moved: S517. The belief cannot simply be reset to before the sidesteps (in run 5’s w_part_precheck_1
they had been partly taken, and the walk back from the moved belief found the plate). Proposed: before the walk back,
turn to the plate of the last fix and fix the pose from it.
F2 residual: fixed (2026-11-29). If the sidesteps fixed nothing, the robot turns to the plate that last fixed its
pose, fixes it again, and only then walks back to the approach point. Reproduced on phase 3’s site with a box in the
right hand and the sidesteps dead-reckoned but not taken (a test-only wrapper), two runs each: the old code walked back
from a belief 0.54 m from the approach point (the robot was about 0.37 m from it) and, here, still found the plate;
the new code turned 1.03–1.06 rad to the first station’s plate, fixed its pose (0.15–0.19 m from the approach point),
and walked from there. All four runs SUCCEEDED: the failure in CI could not be reproduced on demand, so this shows
that the new step does what it should, not that it removes a failure seen here. Acceptance run 6 runs on this code.
Acceptance run 6 (2026-11-29, code 124106d, all fixes including the F2 re-localisation): the bar is met. 40 of
42 runs SUCCEEDED (95.2%), 60 of 60 atoms agree with the oracle, no false success, 5 of 5 failure cases
(phase4-run6.json, records); four runs did not count
(behind real time) and were repeated, all four had succeeded. Run time 2 h 54 min, worst counted second 0.992.
SUCCEEDED.a_sort_three_5, the place of x at the inner slot: the open hand’s way back (above → raised) through the table’s
margin. The place’s shift moved the target 1.5 and 3 cm toward the centre line (to 2.4 and 0.9 cm from it),
which made it worse: for a slot near the body the shift should go the other way. Follow-up.l_vial_hold_3, the grasp of vial a at the bench: the robot stood 3 cm to the left, the vial 3.7 cm from the
centre line, the paths refused against the torso and the table. In run 4 the same kind of reach went through the
waypoint into the torso (S503); now it is refused before anything moves. The bench’s slot, 7 cm out, is too near
the body for a 3 cm error. Follow-up.F4. Phase 2’s E2 had its own scene fault, found and fixed in CI during these runs (pull request #192): its out-of-reach box was enlarged so that its marker would be read, but the executor was told the original 8 cm box, read the 10.7 cm marker as 5.7 cm, put the box at half its distance and reached for it. The scene is now also the executor’s site. Phase 2 is not part of the acceptance run.
bash backends/unitree_g1/scripts/fetch_assets.sh
python -m pip install -e . -e "backends/unitree_g1[test]"
MUJOCO_GL=egl python -m robolang_g1.phase4 --out phase4.json # about 3 hours; resumes if interrupted
python -m robolang_g1.scenes a_sort_three --out /tmp/scene # one scene: site.json, scene.json, the visibility rule
On GitHub: the workflow G1 simulation harness, started by hand with acceptance: true.