This is a build-only correction package for v486. It fixes the reported TypeScript contract-version error in the Fleet Map provider-backed reconciliation layer.
No new user-facing workflow is added. The existing v486 provider-backed reconciliation review surface remains visible.
No Super Admin behavior changed.
No billing, subscription, plan, entitlement, integration, or settings behavior changed.
---
Proceed with provider-backed live marker reconciliation after v485 first GPS/ELD provider sandbox integration.
This build keeps provider evidence sandbox/review-only and adds a clearer reconciliation layer for driver-app GPS versus provider GPS/ELD/telematics evidence.
Users will see a new provider-backed reconciliation review layer that explains which source is trusted and whether provider evidence needs supervisor review.
No Super Admin behavior changed.
No billing, subscription, plan, entitlement, integration, or settings behavior changed.
v476 adds the first controlled execution layer on top of the v475 non-live refresh safety package.
The layer adds:
The v476 boundary remains strict: controlled execution can update only blue/non-live marker coordinates from approved dispatcher-confirmed evidence. It never turns a marker green. Green remains reserved for fresh live driver-app GPS. v476 does not connect GPS/ELD/telematics providers, does not call Google Geocoding/Routes/Places server APIs, and does not change billing, broker distribution, owned portal, internal load-board, or Transportation Accounting workflows.
v475 adds a complete non-live marker refresh safety package layer on top of the v474 dry-run and rollback readiness foundation.
The layer adds:
The v475 boundary remains strict: no marker coordinates move, no marker turns green, no real GPS/ELD/telematics provider is connected, no Google server API is called, and no billing/access/accounting workflow is changed.
The Fleet Map is a CruiseMapper-style operating surface for Dispatch Spot. Instead of showing ships at sea, it shows the logged-in workspace's currently dispatched trucks on a map.
The first rule is simple:
The map should help dispatchers and fleet users answer: where are my trucks, which trucks are live-tracked, which trucks are estimated, which trucks are close to pickup or delivery, and which truck needs attention first.
After v461, live billing enforcement is paused in product planning. Billing enforcement is not removed, but it is parked until the core operating product is stronger.
The active product focus now pivots to operational value: Fleet Map + live/estimated truck visibility.
v463 keeps the Fleet Map as an operational page, not a provider setup page.
v463 adds a stronger position confidence layer so map markers are more useful and honest:
The confidence rules are intentionally simple:
1. Live GPS is highest confidence when the last driver-app signal is fresh. 2. Live GPS becomes less reliable as the signal gets older. 3. Estimated positions are useful but must say they are calculated, not live. 4. Estimated positions need pickup/start time, planned miles, elapsed time, average speed, and delivery timing to be trusted. 5. If the estimate is weak, the dispatcher should verify the position before relying on it.
Default v463 thresholds:
These thresholds are stored in `.env.example` as planning flags. They do not connect a live GPS, ELD, telematics, or paid Google server API provider.
v464 adds the first route overlay and pickup/delivery proximity layer to the Fleet Map.
The goal is still simple: the dispatcher should not only see where the truck marker is, but also see how that marker relates to the assigned load lane.
v464 adds these concepts to each Fleet Map truck position:
This remains a foundation layer. It uses normalized pickup/current/delivery points already available in the Fleet Map snapshot. It does not call Google Routes API yet, does not call Geocoding API yet, and does not connect any real GPS, ELD, or telematics provider.
The route line shown in v464 should be treated as a visual operating guide, not as final traffic-aware route geometry. A future build can replace this foundation line with Google Routes API geometry, traffic-aware ETA, provider-backed route deviation checks, and alternate-route comparisons.
Default v464 proximity thresholds:
These thresholds are stored in `.env.example` as planning/display flags. They do not activate provider calls.
v465 adds the first dispatch-intelligence layer on top of the Fleet Map route overlay.
The goal is simple: the map should not only show where the truck appears to be. It should also show whether the truck may be late and whether the truck may be stopped too long.
v465 adds these concepts to each Fleet Map truck position:
The ETA risk foundation compares remaining miles, average speed, appointment time, confidence, and delivery buffer. It uses simple readable states first:
The stopped-too-long foundation uses display thresholds first:
These values are stored in `.env.example` as planning/display flags:
This remains a foundation layer. It does not call Google Routes API for traffic-aware ETA yet, does not call Geocoding API, and does not connect any real GPS, ELD, or telematics provider. It gives the page the correct data contract and user-facing language first.
v466 adds the next Fleet Map operating layer: route deviation and dispatcher action queue readiness.
The goal is simple: the map should help the dispatcher see whether a truck may be off the expected lane and convert the map signals into an easy action list.
v466 adds these concepts to each Fleet Map truck position:
The route deviation foundation uses the existing route overlay and normalized truck position. It is not final traffic-aware route geometry yet. Future Google Routes API work can replace the foundation route corridor with provider-backed route geometry, traffic-aware route deviation, and alternate-route comparison.
Default v466 route deviation thresholds:
These values are stored in `.env.example` as planning/display flags:
This remains a foundation layer. It does not call Google Routes API, does not call Geocoding API, does not connect live GPS, ELD, or telematics providers, and does not change billing/access behavior.
v467 adds the first CORI recommendation layer directly inside the Fleet Map.
The goal is simple: the map should not only show the truck location and risk signals. It should also tell the dispatcher which truck to review first and what to do next.
v467 adds these concepts to each Fleet Map truck position:
The Fleet Map snapshot now also includes a CORI assistant summary with the top recommendation, review order, top recommendation cards, and a safety note reminding the dispatcher that blue estimated markers are not live GPS.
The user-facing page now shows a CORI live tracking assistant panel above the map. Clicking a CORI recommendation selects that truck on the map and in the truck detail panel. The selected-truck panel also shows the suggested driver check-in message.
This remains a foundation layer. CORI recommendations are created from the normalized Fleet Map snapshot: ETA risk, stopped-time signals, route deviation, confidence, and pickup/delivery proximity. This build does not connect real GPS, ELD, telematics, Google Routes API, Google Geocoding API, payment collection, broker distribution, owned portal rules, or internal load-board access.
v468 adds the first driver check-in workflow and manual dispatcher-confirmed position update readiness layer.
The goal is simple: when the map sees a truck that may need attention, the dispatcher should immediately know whether to call/text the driver, what to ask, and whether a dispatcher-confirmed manual position update would be appropriate.
v468 adds these concepts to each Fleet Map truck position:
Manual position update readiness does not persist a new location yet. It only prepares the interface and data contract for a later safe workflow. The rule remains clear: a dispatcher-confirmed manual update must not be shown as live GPS. Green markers remain reserved for live driver-app GPS. Blue/estimated or low-confidence markers can later be refreshed as dispatcher-confirmed positions with clear labels and audit history.
Default v468 thresholds:
These values are stored in `.env.example` as display/readiness flags:
This remains a foundation layer. It does not send driver messages, persist manual position updates, connect live GPS, connect ELD/telematics providers, call Google Routes API, call Google Geocoding API, or change billing/access behavior.
Dedicated workspace route:
Sidebar label:
The Fleet Map belongs in Operations because it is a daily dispatch visibility tool.
`/routes` is for planning a route before or during dispatch. It starts from load + truck + driver.
`/fleet-map` is for monitoring currently dispatched trucks. It starts from all active workspace trucks with assigned or in-transit loads.
These should stay separate. Route planning answers, “What is the best plan for this truck and load?” Fleet Map answers, “Where is my fleet right now, and who needs attention?”
The Fleet Map should support multiple position sources over time:
1. Driver mobile app GPS. 2. Last known truck position. 3. Estimated route progress. 4. Manual dispatcher override if needed. 5. ELD / GPS / telematics provider data later.
v462, v463, v464, v465, v466, v467, and v468 do not connect a real GPS, ELD, or telematics provider. They create the interface, marker behavior, normalized confidence contract, route overlay foundation, pickup/delivery proximity readouts, ETA risk, stopped-too-long signals, route-deviation checks, dispatcher action queue readiness, CORI live tracking recommendations, driver check-in workflow, and manual position update readiness first.
Each map row needs a tracking confidence state:
v462 primarily displayed LIVE and ESTIMATED because those are the first planned marker colors. v463 keeps those colors and adds a confidence score, calculation basis, and dispatcher priority label. v464 keeps the same marker color rule and adds the selected-truck route line plus pickup/delivery proximity readouts. v466 adds route-deviation status and dispatcher action queue readiness. v467 adds CORI live tracking recommendations. v468 adds driver check-in workflow and manual position update readiness while preserving the same green/live and blue/estimated marker rule.
Dispatch Spot will use Google Maps Platform for the Fleet Map track.
Planned API split:
The public browser key must be restricted to the Dispatch Spot domain. Server-side Google keys must stay server-side and must not be exposed to normal users.
v463 keeps Google-ready environment placeholders. v464 uses the browser map layer to display the selected-truck route overlay from normalized route points, but still does not activate paid server-side provider calls or live location ingestion.
The Fleet Map should show:
Hover card should show:
Click behavior should select the truck and expose deeper actions:
v469 adds the first safe persistence contract for dispatcher-confirmed manual position updates.
The goal is simple: when a dispatcher calls or texts a driver and confirms the truck's current location, Dispatch Spot can record that confirmation as an audit event without pretending it is live GPS.
v469 adds these concepts:
The audit record captures:
v469 stores the record through the existing `DomainEvent` audit/event infrastructure. It does not add a Prisma schema change and does not introduce a new dedicated Fleet Map position table yet.
Important guardrail: this is audit persistence only. It does not move the marker, does not convert a blue estimated marker into a green live marker, does not connect a driver GPS feed, does not send driver messages, and does not call paid Google server APIs.
Future work can promote this audit contract into a dedicated Fleet Map manual-position-update table when the live provider ingestion and marker-refresh rules are ready.
The estimated blue marker should never pretend to be live GPS. It should be labeled clearly as estimated.
The starting estimated position model uses:
Future improvements can add traffic, weather, dwell assumptions, driver check-ins, and route polylines.
Future Fleet Map layers should add:
v470 adds the review model that sits between a dispatcher-confirmed manual position audit record and any future visible marker refresh.
The goal is simple: if a dispatcher records a manual position confirmation, Dispatch Spot should know what state that confirmation is in before a later build is allowed to refresh the visible truck marker.
v470 adds these concepts to each Fleet Map truck position:
The state model uses these readable states:
Important marker rule:
v470 does not move the marker yet. It does not connect live GPS, ELD, telematics, Google Routes API, or Google Geocoding API. It only gives the Fleet Map and CORI a safer state model to decide when a future non-live marker refresh is ready for review.
v471 adds a preview layer on top of the v470 dispatcher-confirmed position state model.
The goal is simple: when a dispatcher records a manual position confirmation, Dispatch Spot can show that confirmation as review evidence and label the marker as dispatcher-confirmed without pretending the position is live GPS.
v471 adds these concepts to each Fleet Map truck position:
The visible rule remains:
Important limitation: v471 does not move marker coordinates yet. The preview label uses the dispatcher-confirmed audit record for review, but it does not call Google Geocoding API, Google Routes API, ELD, telematics, or driver-app GPS providers.
A future approved build can decide when a dispatcher-confirmed record is allowed to refresh marker coordinates after Google/provider position handling is ready.
v472 adds a supervisor review layer on top of the v471 dispatcher-confirmed non-live marker preview.
The goal is simple: a dispatcher-confirmed manual position record should not jump directly from preview evidence to future marker movement. It should first enter a clear review queue so a supervisor or lead dispatcher can see whether the evidence is ready, whether the driver must be rechecked, or whether live GPS must stay protected.
v472 adds these concepts to each Fleet Map truck position:
The approval queue uses these readable states:
The visible rule remains unchanged:
Important limitation: v472 does not approve or execute marker movement. It does not call Google Geocoding API, Google Routes API, ELD, telematics, or driver-app GPS providers. It does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access.
A future approved build can add supervisor approval decision audit records and refresh execution locks before any live provider or coordinate movement work is connected.
v473 adds the supervisor decision layer on top of the v472 marker refresh approval queue.
The goal is simple: a supervisor can record a decision about dispatcher-confirmed non-live marker evidence, but even an approval must not move a truck marker yet. Approval creates audit evidence and future eligibility only. Execution remains locked until a later explicit build adds the dry-run, rollback, conflict checks, and persistence rules.
v473 adds these concepts to each Fleet Map truck position:
The supervisor decision options are:
The execution lock model uses these readable states:
The visible rule remains unchanged:
Important limitation: v473 does not move marker coordinates, does not execute marker refreshes, does not call Google Geocoding API, Google Routes API, ELD, telematics, or driver-app GPS providers, and does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access.
A future approved build can add non-live marker refresh execution dry-run and rollback readiness before any live provider or coordinate persistence work is connected.
v474 adds a dry-run and rollback-readiness layer on top of the v473 supervisor decision and refresh execution lock model.
The goal is simple: after a supervisor approves a dispatcher-confirmed blue/non-live marker refresh for future use, Dispatch Spot can model the execution path and preserve rollback evidence without moving any marker coordinates.
v474 adds these concepts to each Fleet Map truck position:
The dry-run model uses these readable states:
The visible rule remains unchanged:
Important limitation: v474 does not move marker coordinates, does not execute marker refreshes, does not call Google Geocoding API, Google Routes API, ELD, telematics, or driver-app GPS providers, and does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access.
A future approved build can harden conflict checks, export a rollback packet, or later add an explicit non-live marker refresh execution path. That future execution path must still keep dispatcher-confirmed/manual records blue/non-live and must not turn them green.
v477 adds a lifecycle dashboard and stale-position cleanup layer for the Fleet Map. It sits after the controlled blue/non-live marker execution and rollback system and gives dispatchers/supervisors a clean way to see which non-live markers are pending review, staged, executed, rolled back, disputed, stale, do-not-trust, driver-check-in ready, or route-recalculation ready.
Each Fleet Map position now includes a marker refresh lifecycle readout with:
The stale non-live cleanup model uses threshold configuration for watch, cleanup-needed, and do-not-trust states. The purpose is to keep old estimated/dispatcher-confirmed blue markers from looking more reliable than they are.
The visible rule remains unchanged:
Important limitation: v477 does not connect GPS/ELD/telematics providers, does not call Google Geocoding API or Google Routes API, does not turn any marker green, does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access, and does not activate Transportation Accounting.
A future approved build can add the driver-app GPS intake contract, consent/privacy readiness, live marker eligibility, and live freshness rules before activating live GPS.
v478 adds the Fleet Map driver-app GPS intake contract and live-marker eligibility layer before activating real driver-app GPS. The purpose is to make the future live map safer by requiring payload-contract readiness, consent/privacy acknowledgement, freshness rules, and live-marker boundary rules before a truck can become eligible for future green-marker tracking.
Each Fleet Map position now includes driver-app GPS intake readiness with:
The visible rule remains unchanged:
The new POST API route is /api/fleet-map/driver-app-gps-readiness. It records readiness evidence only through DomainEvent-backed records and is guarded by acknowledgement requirements. Real intake remains disabled by DISPATCH_SPOT_FLEET_MAP_DRIVER_APP_GPS_REAL_INTAKE_ENABLED="false".
Important limitation: v478 does not connect GPS/ELD/telematics providers, does not activate real driver-app GPS coordinate intake, does not call Google Geocoding API or Google Routes API, does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access, and does not activate Transportation Accounting.
A future approved build can add controlled driver-app live GPS activation once consent, freshness, audit, and eligibility behavior is hardened.
v478.1 is a build-only correction for the v478 driver-app GPS readiness layer. The Fleet Map client now imports `FleetDriverAppGpsReadinessAuditRecord` for the driver-app GPS readiness audit trail panel. No map behavior or architecture rule changed.
v479 activates a controlled driver-app live GPS session path on top of the v478 intake, consent, and eligibility layer. The new live session path accepts coordinates only through `/api/fleet-map/driver-app-live-gps-sessions` and records every action as DomainEvent-backed audit evidence.
The controlled session actions are:
The visible map rule is now active:
v479 adds a live GPS dashboard, selected-truck live GPS readout, live session recorder, audit trail, filters, summary counts, hover/info labels, and CORI guidance.
Important limitation: v479 does not connect GPS/ELD/telematics providers, does not call Google Geocoding API or Google Routes API, does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access, and does not activate Transportation Accounting.
v480 adds a provider-neutral GPS/ELD/telematics sandbox review layer to the Fleet Map after controlled driver-app live GPS activation. The purpose is to prepare for future provider-backed tracking without allowing provider data to silently override the trusted driver-app GPS path.
Each Fleet Map position now includes provider telematics review data with:
The new provider sandbox actions are:
The visible map rule remains unchanged:
The new POST API route is `/api/fleet-map/provider-telematics-sandbox-signals`. It records sandbox provider evidence through DomainEvent-backed audit records and requires supervisor acknowledgements that the provider sandbox is review-only, does not call live provider APIs, and does not move or override markers.
Important limitation: v480 does not connect production GPS/ELD/telematics provider APIs, does not call Google Geocoding API or Google Routes API, does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access, and does not activate Transportation Accounting.
A future approved build can add live-source reconciliation and route intelligence once provider sandbox mapping, stale/failure states, and conflict behavior are verified.
v480.1 is a build-only correction for the v480 provider-neutral GPS/ELD/telematics sandbox layer. It adds explicit `FleetRoutePoint` typing to route-overlay path map callbacks in `src/modules/fleet-map/fleet-map.service.ts` so production TypeScript validity checking does not treat route path callback parameters as implicit `any`.
No Fleet Map product behavior changed. Provider sandbox records remain review evidence only, fresh driver-app GPS remains the only green-marker source, production GPS/ELD/telematics provider APIs and Google Geocoding/Routes APIs remain inactive, and Transportation Accounting remains planned future architecture only.
v481 adds a source-trust layer between driver-app GPS, provider sandbox/ELD-style evidence, and blue/non-live fallback markers.
The Fleet Map source hierarchy remains:
1. Fresh driver-app GPS controls the green marker. 2. Provider sandbox/ELD-style evidence is review-only unless a later production-provider build explicitly changes trust rules. 3. Blue/non-live markers remain internal estimates, dispatcher-confirmed/manual evidence, or controlled non-live refreshes.
When provider sandbox evidence disagrees with fresh driver-app GPS, the map shows live-source conflict review. Route intelligence must treat that conflict as a blocker and must not trust provider data for ETA, deviation, or route review until the conflict is handled.
v481 also adds route-intelligence readiness labels:
Important limitation: v481 does not activate production GPS/ELD/telematics provider APIs, does not call Google Geocoding API, does not call Google Routes API, does not change billing/payment or access rules, and does not activate Transportation Accounting.
v483 activates the controlled driver-app live GPS session path. A marker may turn green only from fresh eligible driver-app GPS session coordinates recorded through the audited live GPS session endpoint. Stale, stopped, manually stale, manual, estimated, dispatcher-confirmed, provider sandbox, and readiness-only records remain non-green. GPS/ELD/telematics provider APIs and Google Geocoding/Routes API calls remain disabled until later roadmap phases.
After controlled driver-app live GPS activation, provider-backed GPS/ELD/telematics must pass through a neutral connector contract before any provider can influence Fleet Map trust. The contract requires Dispatch Spot truck ID, truck number, active load ID, assigned driver ID, provider family, external vehicle/device ID, signal timestamp/freshness, and provider health state.
Provider signals remain sandbox/review evidence in v484. They may be compared to driver-app GPS, marked stale, marked failed, or marked conflicted, but they cannot move marker coordinates, turn markers green, override fresh driver-app GPS, or call production provider APIs. Live provider polling, production credentials, Google Geocoding, and Google Routes remain separate later activation decisions.
v485 adds the first provider sandbox/test integration path after the v484 neutral connector contract. The system can now record a provider-like sandbox pull through the guarded provider telematics endpoint using the `PULL_SANDBOX_PROVIDER_SIGNAL` action. This is sandbox evidence only. It is designed to validate truck/load/driver/provider mapping, external vehicle/device ID, provider coordinate payload shape, freshness, health, and comparison against driver-app GPS before any production provider is connected.
Provider sandbox pulls do not call production Samsara, Motive, Geotab, or other ELD/telematics APIs. They do not call Google Geocoding or Google Routes. They do not move marker coordinates, turn markers green, or override fresh driver-app GPS.
The v485 UI adds sandbox integration status, pull-ready/pull-recorded/pull-review counts, selected-truck pull results, payload contract, checklist, and guardrails so supervisors can review the first provider-backed evidence path before the later provider-backed reconciliation build.
v487 adds the route-intelligence preparation layer required before any future Google Geocoding or Google Routes activation.
The Fleet Map now prepares:
These fields are readiness-only. v487 does not make Google Geocoding API calls, Google Routes API calls, production GPS/ELD/telematics provider calls, or billing changes. Source conflicts still block trusted route intelligence until supervisor review. Provider evidence remains review-only. Fresh eligible driver-app GPS remains the only green-marker authority.
v488 extends route intelligence after the v487 Google geocoding and route geometry readiness layer. It adds an internal traffic-aware ETA model, traffic delay risk, traffic-adjusted ETA labels, route-deviation accuracy/confidence labels, and alternate-route comparison readiness.
This build is still guarded. It does not call Google Geocoding API, Google Routes API, production GPS/ELD/telematics provider APIs, or any billing/access/accounting workflow. Traffic-aware ETA is modeled from Dispatch Spot route, ETA, deviation, and source-trust signals only. Future Google Routes activation must remain cache-first, budget-guarded, and separately approved.
v488.1 does not change Fleet Map behavior. It documents how the Fleet Map source-trust, live GPS, provider reconciliation, route intelligence, traffic-aware ETA, and notification/escalation work should remain compatible with future autonomous freight operations.
The key future rule is source neutrality: Fleet Map should be able to compare driver-app GPS, ELD/telematics, autonomy-provider signals, terminal/handoff events, yard/geofence events, dispatcher-confirmed non-live markers, and route-intelligence estimates without allowing any source to silently override the trusted marker rule.
Future autonomous freight support should preserve the current discipline:
v488.1 also records that the planned v489 notification/escalation build should avoid hard-coding alerts only around human-driver assumptions. Future-compatible alert categories may include ODD warning, ODD exit, remote assist requested, autonomous signal stale, handoff at risk, recovery driver needed, and customer update required.