Files
NODEDC_MISSION_CORE/docs/audits/2026-10-02-simulation-task-library.md
T
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

67 lines
4.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Simulation tasks and local planner controls — 2026-10-02
## Accepted workflow
The operator chooses a location, mode, rover and named task in the header.
Selecting a task opens its points in the local editor. New task starts an empty
route; changing tasks in an open editor preserves the prior points in Undo.
Save opens a name dialog and keeps the editor open. Launch uses the exact saved
route if it matches the draft, scene cache and robot; otherwise it first asks to
save the current route. Simulation/inference/rendering remain on Worker 006.
A task row has the shared Select action for editing its name or removing it.
A run row uses the shared Inspector action left of a down/up disclosure chevron.
Removal is a server-persisted list change with an immediate Undo action. Immutable
plan files, run evidence and Worker journals are retained. Running/unreleased
runs cannot be removed. Removed tasks cannot start new runs. Labels are separate
metadata; each new run snapshots the current label without changing plan SHA.
## UI composition
- Mode → rover → task → save/launch; compact widths at smaller viewports.
- Save dialog only asks for the task name; task selection lives in the header.
- Planner preferences use a bounded 400 px WorkspaceWindow, without modal
dimming. It can move, resize and maximize within the viewport. The corner
indicator is hidden while pointer and keyboard resizing remain functional.
- Pivot/Waypoint is a dropdown within that window. Range gestures commit into
shared browser preferences and the scene on release; exact fields commit on
Enter/blur. Preferences still apply across this browser's locations.
- Local status sits on the left above the viewport; manual speed is bottom-left
inside it. The local viewport fits the remaining workspace height, including
compact windows, so bottom controls do not fall below the visible scene. Quality and buttons use the shared opaque scene-control material.
- Shared DG registry, component documentation and catalog examples were updated.
## Acceptance
- Frontend architecture 4 checks and exact draft identity 2 checks passed.
- Frontend typecheck, 1030/1030 unit tests and production build passed, sequentially.
Existing large-chunk Vite warnings remain.
- Backend 29 tests passed across library, planning, realtime lifecycle and cache.
Tests cover rename/remove/restore across restart, immutable file preservation,
rejected active-run removal, removed task launch, path safety, request validation
and label snapshots. Focused Ruff checks passed.
- DG packages build, catalog typecheck, registry and 12 focused density/select/
floating checks passed.
- Browser: task rename/delete/Undo, run delete/Undo, task selection into editor,
save-name modal in native fullscreen, modeless settings, hidden resize indicator
and keyboard resize (468→458 px), opaque controls, nested dropdown Escape and
panel chevron (180° when expanded) verified. Final manual QA at 1280×720:
viewport ends at y=684, speed ends at y=672, entirely within the visible area.
- Browser-issued run airun-ae498618e9ad4d8683f5cdfb167a903e launched directly from
the editor using aiplan-b5d71c781b694f1ebf11643112f560df. It reached its goal:
3.048 m, 24.233 s simulated, goal error 0.368 m, 110 decisions, zero inference
errors. Median/P95 inference 125/204 ms. One no-road stop lasted 0.233 s.
Worker confirmed release; active_run=null and Worker available afterward.
- Core is the durable launchd service on 127.0.0.1:8000; no backend on 8765.
Worker package and Docker composition were not changed in this UI increment.
## Limits
The short run verifies task selection/launch/reporting, not long-route outdoor
navigation or tracked traction. Collision count remains unmeasured. The browser
video counter briefly reported 0 FPS; this pass does not qualify streaming cadence.
The worker telemetry and completed report are the launch evidence.
Local evidence: outputs/ai-polygon-2026-10-02/task-library-evidence/ (ignored),
including the final catalog, screenshot and test/build logs.