v463 — Fleet Map Marker Polish and Workspace Active-Load Position Confidence Rules
Current baseline before build: v462.
Decision
Reviewed v462 Fleet Map + live/estimated truck positioning foundation and proceeded with Fleet Map marker polish and workspace active-load position confidence rules before connecting real GPS/ELD providers, changing payment collection, broker distribution limits, owned portal rules, or internal load-board access.
What changed
- Preserved the CruiseMapper-style Fleet Map direction at
/fleet-map.
- Kept the core visual rule: green truck markers are live driver-app GPS and blue truck markers are estimated route-progress positions.
- Added marker polish for Google Maps and preview mode:
- colored truck marker SVGs for Google Maps;
- marker legend;
- selected-marker sizing;
- confidence score marker badge in preview mode;
- verify-position visual treatment for low-confidence rows.
- Added workspace active-load position confidence rules to the normalized Fleet Map snapshot.
- Added confidence fields to each truck position:
- confidence score;
- confidence level;
- confidence label;
- confidence summary;
- confidence reasons;
- calculation basis;
- position source;
- signal freshness label;
- dispatch priority label and reason.
- Added Fleet Map filter for low-confidence / verify-position trucks.
- Added selected-truck confidence readout and dispatcher readout.
- Added
.env.example threshold placeholders for live signal freshness, stale signal age, and estimated-position minimum score.
- Updated Fleet Map architecture documentation and HTML mirror.
Guardrails preserved
- No real GPS provider was connected.
- No ELD or telematics provider was connected.
- No paid Google server-side API call was connected.
- 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 passed for changed Fleet Map files.
npm run build could not run in the sandbox because project dependencies are not installed.