Add vector infrastructure maps and persistent location experience

This commit is contained in:
DCCONSTRUCTIONS
2026-10-10 14:35:50 +03:00
parent e095a43f00
commit 55f64f195b
38 changed files with 2317 additions and 14 deletions
@@ -0,0 +1,29 @@
# Location experience
The worker owns bounded summaries under `state/spatial-experience`, keyed by
world + collider + robot SHA256. Exact measured visits (0.5m indexing, observed
XYZ retained) and confirmed failed attempts survive pause, return and process
restart. At most 20,000 visited cells and 1,000 attempts; oldest summaries expire
from this bounded store when capacity is reached. This is explicitly requested
location knowledge, separate from the live-only operator telemetry store.
A failure needs matching pose/simulation-time/execution identity and repeated
stationary controller rejection for 0.5 simulation seconds. Network timeouts and
stale observations never create obstacles. `no-permitted-goal` is a perception
limitation, not evidence of physical occupancy. Attempts retain origin, target,
reason, timestamps, count, run and observation identity. A successful visit to the
target from the attempted direction resolves that record. Motion control still
uses current measurements. Fresh failures only add a bounded, ten-minute-decaying
cost to already-admissible recovery choices from the same approach; they never
veto free space or authorize driving. Historical entries remain visible afterward.
A separate asynchronous writer publishes summaries every five seconds. The worker
synchronizes them through an authenticated bounded endpoint; Mission Core retains
a mirror for inspection in planning. A changed scene/collider/robot cannot silently
reuse old decisions. Corrupt persisted input is reported and ignored for navigation.
The map layer can show/hide visits and attempted directions; attempt markers expose
human-readable reasons and successful revisits.
Global transferable learning is deliberately outside this implementation. Accumulating
location records is not model training. Cross-location generalization requires a
separate situation representation, evaluation and admission process.