Files
NODEDC_MISSION_CORE/docs/audits/2026-10-03-surface-sequence-and-latency.md
DCCONSTRUCTIONS d0e5f90952 Preserve installed operator workspace before consolidation
Local preservation snapshot, not a new deployment or simulation acceptance.
2026-10-08 09:59:51 +03:00

11 KiB
Raw Permalink Blame History

Surface sequence comparison and delayed-command diagnosis

Session surface-sequence-20261003. This continues the morning session-layout audit. Raw images, masks, observations, telemetry and screenshots stay in the primary checkout's private .runtime/surface-sequence-20261003 directory.

Changes

The selected composition is retained per location and rover in browser storage. At launch every selected provider is rebound to its current installed identity using the complete catalog, including alternatives absent from the default selection. A missing provider is an explicit error, never a silent substitution. The immutable run still carries the resolved composition and hashes.

The run's wall-time ceiling now uses the saved task's length and speed: ceil(length / max_speed * 1.5 + 120), bounded to 1,800–7,200 seconds. This is a ceiling, not an arrival estimate. The 310.34 m task at 0.15 m/s needs at least 2,069 seconds even on a straight unobstructed path; the former 1,800-second ceiling could not finish it. The new ceiling is 3,224 seconds. Original task geometry, speed, physics and safety deadlines are unchanged.

Terrain neighborhood lookup now has a native implementation in the existing CMU image. It preserves the same 0.4 m neighborhood, floating-point type, source order, plane fit, connectedness and hazard thresholds. Python retains the reference implementation. Semantic barriers resolve repeated grid cells once and map the identical decision back to every return, preserving the 30-second expiry and any-forbidden-return rule. This is a computational change, not new permission to traverse grass, obstacles or unknown space.

Frozen model comparison

Forty archived frames from the failed morning ADE run were replayed in the already-installed, pinned GOOSE and ADE images. No models were downloaded, trained or numerically modified. Both replays read the identical archived JPEGs; this avoids comparing raw-frame ADE output with JPEG-input GOOSE output. The same calibrated range, pose, park permissions and full-width visual_goal admission are used. GOOSE yielded a goal on 40/40 frames; ADE on 21/40.

Three frames have AI-assisted polygons of visually unambiguous road interiors and lawn, excluding boundaries. These are diagnostic annotations, not human ground truth or a held-out safety dataset. On the two failure frames, permitted road-interior pixels were approximately 4.1%/4.6% for ADE and 100%/99.99% for GOOSE. GOOSE permitted approximately 0.96%/0.82% of the annotated lawn pixels; therefore this is not a claim of perfect semantic separation. Original raw-RGB ADE results differ from the JPEG replay and remain separately archived.

GOOSE report SHA: 1bce9d1e03c83018e78ee6b0556ba7ea659abeec860f00dad0c3437bfbcd67a5. ADE report SHA: e06f7094fd07303fe3620fb0d0ac3949112786e2c7b5ba18199130c248099c02. The pinned sigmoid/argmax GOOSE decoder was also checked against direct argmax on the frozen failure frame: four pixels differed, with no saturated ties. No decoder change was justified or made.

Full original-task attempt and second failure

Run airun-d313e637fec44589a2e713bae863311e used the exact saved 310.339619 m task aiplan-91f1327690a24a3db3cf314316debea4, with only the surface provider changed to GOOSE in the composed graph. Runtime predecessor: 1ba80cd7c7596f87. Composition SHA: 8af4ac4b506ad1dc5de64823d055f12b64b45ad50417ba3de03247c7e35bd281.

It travelled 91.9941 m in 868.33 simulated seconds, then ended stuck; remaining goal error 219.9539 m, targets 0/1. There were 3,145 inference results and zero inference errors. Inference median/P95: 235/438 ms. Report SHA: 7cef4662ee5285cc608518c602173504b80ad825b0b48c3ec7df83ffd67978b6.

This second failure is different from the initial 6.2 m semantic failure. The late RGB shows clear road; semantic support is present and CMU continues to propose a clear forward path. But geometry processing and total latency grow; the independent camera deadman repeatedly rejects late decisions. In world seconds 820–867, median inference is 547 ms and source age at result completion is 718 ms; 73.2% of 60 Hz physics rows are stale-camera holds. By comparison, seconds 300–420 have median inference 219 ms, completion age 329 ms and 0.5% stale holds. The entire run records 109.82 seconds of stale-camera holds. The no-progress policy eventually exhausts recovery. The generic stuck label alone does not distinguish this latency failure from a physical blockage.

Validation and runtime

  • Frontend typecheck, production build and all 1,043 tests passed. The existing large-chunk warning remains. Forty-two focused Python tests passed, followed by the new semantic-cell equivalence test.
  • Native numerical qualification passed 418 connectivity cases and 3,600 exact neighborhood comparisons across float32/float64, negative coordinates, duplicate points and radius/cell boundaries. Plane/hazard outputs match too.
  • An isolated CPU replay materialised a 5,234-point observed map. Repeated normalization took about 18.1 ms with the reference and 10.2 ms with native lookup, with exactly equal output. This bounded sample is not a recreation of the entire original 29,000-point accumulated map or a full-route pass.
  • Browser acceptance: Riverside GOOSE selection survives reload; Bamboo retains its separate ADE configuration. No global provider default was changed.
  • Worker release 62f160ac8a5960e0, 666 verified files, installed by the shipped installer at 2026-10-03T06:41:07.9603736Z. Bundle SHA: 09118aaca8e93f98cd09cb556c2b420ac4f2212a89128ddf27f0d823172e6fcd. Navigation image: sha256:a4ba369f9d647c8d69c488d3066a64362277734cbe0533aa3ce7790c6cd63609. Worker registered the new profile; Core remains on 8000. Previous release 1ba80cd7c7596f87 is available for rollback.

Live verification boundary

A separate 26.59 m diagnostic task crosses the second stopping location, starting from an actually observed earlier pose. It does not overwrite the original task. Run airun-663adeee82694031accedfc438d4e1a1 travelled 26.9167 m in 266.28 s, crossing the former stopping position. It nevertheless failed: final goal error 0.5446 m exceeds the unchanged 0.4 m arrival tolerance. There were 930 inferences, zero inference errors, median/P95 266/406 ms, 10.17 s of stale-camera holds and 26.05 s of no-road holds. Report SHA: 7d220f33eff4afd85b5d6f7f074fe11fd0cf55280cba80dd4c7e43947639c9b0. This is a fresh-map segment test, not proof that latency remains bounded after accumulating the full 310 m map. Full 310 m completion, repeatability, lateral departures, collision contacts, real localization and real tracked/VESC dynamics remain unqualified. A native speedup alone is not a navigation acceptance result.

Direction-policy defect and repair

The near-finish failure exposed a distinct integration defect. At world 231.68 s, the requested target lay 62.7 degrees left of the body heading. CMU selected a rear-facing primitive and commanded a negative yaw rate. Its upstream twoWayDrive=true allowed reverse selection, while the Mission Core adapter allowed reverse only during a validated recovery. Rejecting negative linear speed at the end did not reject the preceding turn. The body turned away from the target and the mission eventually excluded that goal after no progress. The measured body also turned substantially more slowly than requested; this remains a separate contact/actuation qualification issue.

The pinned CMU adapter now defaults to forward-only planning. A bounded, acknowledged parameter transaction sets the identical reverse permission in localPlanner and pathFollower before injecting an observation. A change clears the follower's latched direction and requires a new path. The existing rectangular primitive filter rejects rear-facing look-ahead in forward mode. Reverse recovery still requires observed full-width support and the final swept body check. No arrival, semantic, obstacle, tilt or freshness threshold changed.

Five real-ROS transition cases passed on the final image: forward, recovery, return to forward near a left-hand goal, recovery again, restored forward. The temporary qualification container was removed in finally. The 33 focused navigation/mission tests pass. Their isolated import fixture now matches the shipped script directory instead of depending on a preceding test's sys.path.

Final direction image: sha256:aa077bc9177c6b6a8d1bae46c3795e8e38bdd919d324d354d73be7ca5733eaf8. Worker release 2817f07e6fd9c5e0, 670 verified files, installed through the shipped installer at 2026-10-03T07:06:17.6887602Z. Bundle SHA: 01cb7fba9b6eb2d606bddbbd2f78347ade26567e43b6032190d3f269c3426929. The preceding 62f160ac8a5960e0 release is retained for rollback.

The same-task repeat airun-44fc5b6db1ca4c01a89c44b745e6f151 also ended stuck. It travelled 27.2376 m in 240.67 s, with final error 0.8104 m, targets 0/1. There were 959 inferences, zero errors, median/P95 219/406 ms, 5.80 s of stale holds and 26.27 s of no-road holds. Report SHA: 3ddd331441293a3d7596990b98d2db7a92ec0512ad3b38af89a41279e7a5674f. Composition SHA: c7865ab46cbdad55d09c4cbd973de1961887706548a21944fc17bc85598a35d9. The segment is therefore NOT accepted. Lower hold time in this one repeat is not a controlled estimate of the direction patch's latency benefit.

Observed poses and commands separate the remaining issues: at world 190.8 s the body heading was approximately 13 degrees while the target bearing was 48 degrees and requested yaw rate was +20 degrees/s. Later the selected forward primitive turned away from semantic barriers near the goal. Those barriers are inferred observations, not independently verified ground truth. The mission then excluded the retained exact goal after eight seconds without 10 cm improvement; it could not admit a replacement in the remaining region. Increasing the arrival tolerance or permitting grass would hide this failure. The direction integration defect is repaired, but measured body tracking, endpoint-region reachability under the complete footprint, and bounded progress recovery need separate qualification before another full-route claim.

Handoff evidence and next acceptance

The browser verified four simultaneous panes (video, segmentation, traversability, detection), with independent white selected buttons and a configuration-derived LiDAR option. Screenshot: private independent-inference-panes.png. The original 310.3 m task selection was restored and the local planner closed. The catalog remains available.

The Worker automatically released the terminal run. No temporary qualification or episode containers remain; unrelated durable services are preserved. Core is healthy on 127.0.0.1:8000, with no listener on 8765. Raw telemetry and all three terminal reports are preserved with hashes in the private session manifest.

Next acceptance should first reproduce the near-endpoint case with the same observed geometry and record feasible chassis poses within the existing arrival region, actual versus requested yaw, and exact policy transitions. Qualify contact/actuator response and arrival-region planning separately; then repeat the unchanged segment and only afterward the original 310.3 m task. Full-route success and repeatability remain open.