v465 — Fleet Map ETA Risk and Stopped-Too-Long Signal Foundation
Current baseline before build: v464.
Decision
Reviewed v464 Fleet Map route overlay and pickup/delivery proximity foundation and proceeded with Fleet Map ETA risk and stopped-too-long signal foundation before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.
What changed
- Kept
/fleet-map as the dedicated CruiseMapper-style workspace truck tracking surface.
- Preserved the core visual rule: green truck markers are live driver-app GPS and blue truck markers are estimated route-progress positions.
- Added ETA risk fields to the normalized Fleet Map snapshot:
- ETA risk level;
- ETA risk label;
- target delivery label;
- estimated arrival label;
- delivery buffer;
- ETA risk reasons;
- dispatcher next step.
- Added stopped-too-long signal fields to the normalized Fleet Map snapshot:
- movement status;
- stopped/unknown minutes;
- stopped-too-long threshold;
- movement label;
- stopped-time reason;
- dispatcher next step.
- Added Fleet Map summary counts for ETA watch, ETA tight, ETA late, stopped-too-long, and no recent movement.
- Added Fleet Map filters for ETA risk and stopped watch.
- Added ETA risk and stopped-too-long readouts to:
- Google Maps info windows;
- preview hover cards;
- truck list chips;
- selected-truck detail panels;
- CORI map prompts.
- Added
.env.example display thresholds for ETA risk and stopped-too-long signals.
- Updated Fleet Map architecture documentation and HTML mirror.
Guardrails preserved
- No real GPS provider was connected.
- No ELD or telematics provider was connected.
- No Google Routes API call was activated.
- No Google Geocoding API call was activated.
- No payment collection changed.
- No broker distribution limits changed.
- No owned portal rules changed.
- No internal load-board access changed.
- Prisma schema was not changed.
Validation notes
npm run dispatchspot:preflight passed.
- Targeted TypeScript transpile parser check was attempted for changed Fleet Map files.
npm run build could not run in the sandbox because project dependencies are not installed.