# v462 — Fleet Map + Live/Estimated Truck Positioning Documentation Pivot and Interface Foundation

Current baseline before build: v461.

## Decision

Reviewed v461 controlled hard-gate expansion runtime activation execution and immediate safety watch and pivoted away from live billing enforcement. The billing track is parked in documentation until core operational product features are more complete.

Proceeded with the Fleet Map + live/estimated truck positioning foundation based on the CruiseMapper-style map concept.

## What changed

- Added dedicated Workspace page `/fleet-map`.
- Added Fleet Map to the Operations sidebar.
- Added Fleet Map topbar metadata and CORI popup context.
- Added authenticated API `/api/fleet-map/positions`.
- Added `FleetMapService`.
- Added Fleet Map normalized types.
- Added `FleetMapClient` with:
  - left-side truck list/filter panel;
  - search by truck, driver, load, and city/state;
  - green LIVE truck markers;
  - blue ESTIMATED truck markers;
  - clickable map markers;
  - hover truck information cards;
  - selected-truck detail panel;
  - tracking confidence states;
  - placeholder CORI map prompts.
- Added Google Maps Platform-ready browser map behavior using Maps JavaScript API when `NEXT_PUBLIC_GOOGLE_MAPS_API_KEY` is configured.
- Added a preview map fallback when no Google Maps key is configured.
- Added Google Maps environment placeholders for browser map display and future server-side Routes API usage.
- Added architecture document `FLEET_MAP_LIVE_ESTIMATED_TRUCK_POSITIONING_ARCHITECTURE.md` and HTML mirror.
- Updated Workspace Integrations Google Maps copy to mention Fleet Map display.

## Google Maps direction

- Maps JavaScript API is the selected browser map layer for the Fleet Map.
- Routes API is reserved for future route line, ETA, route progress, traffic-aware timing, and route matrix support.
- Geocoding API is reserved for future pickup/delivery/last-known text-to-coordinate conversion.
- Places API is reserved for future city/state search, stop lookup, and autocomplete.

## Guardrails preserved

- Live billing enforcement was paused/parked in documentation.
- No payment collection was changed.
- No broker distribution limits were changed.
- No owned portal rules were changed.
- No internal load-board access was changed.
- No real GPS, ELD, telematics, or paid Google server API calls were connected.
- Prisma schema was not changed.

## Validation notes

- `npm run dispatchspot:preflight` passed.
- `npm run build` could not run in the sandbox because dependencies are not installed.
