# v480 — Fleet Map Provider-Neutral GPS/ELD/Telematics Foundation and First Sandbox Connector

Current baseline before build: v479.

Decision: proceeded with v480 after reviewing v479 Fleet Map controlled driver-app live GPS activation. The driver-app live GPS path remains the primary green-marker source. v480 adds a provider-neutral GPS/ELD/telematics sandbox review layer without connecting live provider APIs, without calling Google Geocoding/Routes APIs, and without allowing provider records to override driver-app GPS or silently move markers.

## What changed

- Added a provider-neutral GPS/ELD/telematics sandbox signal model for Fleet Map.
- Added `/api/fleet-map/provider-telematics-sandbox-signals` for DomainEvent-backed sandbox provider records.
- Added provider sandbox actions for sandbox mapping, provider signal recording, stale provider marking, and provider failure marking.
- Added provider review state to each Fleet Map position, including provider name, external vehicle ID, signal age, provider coordinates, health label, conflict state, driver-app GPS source-priority guidance, and next step.
- Added provider sandbox conflict detection against fresh driver-app GPS so conflicting provider evidence is visible for supervisor review instead of silently replacing the live marker.
- Added provider sandbox dashboard, selected-truck recorder, provider audit trail, Provider sandbox filter, summary counts, truck-card chips, hover/info-window labels, search coverage, policy copy, and CORI prompts.
- Added `.env.example` provider telematics flags while keeping provider marker mutation disabled.

## What's visible

### In Workspace Operations / Fleet Map

- New **Provider sandbox** filter.
- New **Provider sandbox** summary card.
- New **Provider-neutral GPS/ELD/telematics sandbox review** dashboard panel.
- Selected truck panel now shows provider status, provider name, external vehicle ID, signal freshness, conflict distance, source-priority rule, failure/conflict rule, and next step.
- Selected truck panel now includes a sandbox provider recorder for mapping, sandbox signal evidence, stale marking, and failed-provider marking.
- New provider telematics sandbox audit trail panel.
- Truck list cards, map hover cards, and map info windows now show provider sandbox labels.

## Guardrails

- Green markers remain reserved for fresh driver-app GPS only.
- Driver-app GPS remains the primary live source.
- Provider sandbox records do not turn any marker green.
- Provider sandbox records do not move marker coordinates.
- Provider sandbox records do not override fresh driver-app GPS.
- Provider conflicts are surfaced for review instead of silently reconciled.
- v480 does not connect production GPS/ELD/telematics providers.
- v480 does not call Google Geocoding API, Google Routes API, or Places API.
- v480 does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access.
- v480 does not activate Transportation Accounting workflows, ledgers, reports, or QuickBooks sync.
- Prisma schema was not changed.

## Validation

- `npm run dispatchspot:preflight` passed.
- Targeted TypeScript/TSX parser checks passed for changed Fleet Map files.
- Full `npm run build` was not completed in the sandbox because local dependencies are not installed here.

## Next suggested prompt

```text
Current baseline on server is v480

review v480 Fleet Map provider-neutral GPS/ELD/telematics foundation and first sandbox connector, then decide whether to proceed with v481 Fleet Map live-source reconciliation and route intelligence upgrade or first harden provider sandbox mapping/failure/conflict behavior before activating production GPS/ELD/telematics provider APIs, Google Geocoding/Routes API calls, changing payment collection, broker distribution limits, owned portal rules, internal load-board access, or Transportation Accounting activation
```