# v481 — Fleet Map live-source reconciliation and route intelligence upgrade

## Decision

Proceeded from v480.1 to v481 after reviewing the provider sandbox route-overlay point type build fix. The provider sandbox layer was stable enough to add the next review layer instead of hardening the route-overlay type fix again.

## What changed

- Added live-source reconciliation readouts to each Fleet Map position.
- Reconciled fresh driver-app GPS, provider sandbox/ELD-style evidence, and blue/non-live fallback trust.
- Added source-conflict labels when driver-app GPS and provider sandbox evidence disagree.
- Added provider-untrusted and GPS-stale fallback labels.
- Added route-intelligence readiness to each Fleet Map position.
- Added route cache key/readiness labels for future guarded Google Routes and Google Geocoding work.
- Added traffic-aware ETA readiness copy without making server API calls.
- Added route recalculation review labels that respect live-source conflict blocking.
- Added Source reconciliation and Route intelligence filters, summary counts, dashboard panels, selected-truck readouts, hover/info-window labels, search coverage, and CORI prompts.
- Added `.env.example` flags for live-source reconciliation and route-intelligence readiness while keeping Google server API calls disabled.

## What is visible

### In Workspace Operations / Fleet Map

- New Source reconciliation filter.
- New Route intelligence filter.
- New Source reconciliation summary card.
- New Route intelligence summary card.
- New Live-source reconciliation dashboard panel.
- New Route intelligence readiness dashboard panel.
- Selected truck panel now shows trusted source, driver-app source, provider source, conflict distance, source ranking, route-intelligence effect, Google Routes readiness, Geocoding readiness, traffic ETA readiness, recalculation reason, and source-conflict blocking.
- Map info windows and hover cards show source-trust and route-intelligence labels.
- CORI prompts now include live-source conflict reconciliation and Google Routes readiness review questions.

## Guardrails preserved

- Fresh driver-app GPS remains the only green-marker authority.
- Provider sandbox records remain review evidence only.
- Provider sandbox records do not move marker coordinates.
- Provider sandbox records do not override driver-app GPS.
- Route intelligence labels do not call Google Geocoding API.
- Route intelligence labels do not call Google Routes API.
- Production GPS/ELD/telematics provider APIs remain inactive.
- Payment collection is unchanged.
- Broker distribution limits are unchanged.
- Owned portal rules are unchanged.
- Internal load-board access is unchanged.
- Transportation Accounting remains planned architecture only.
- Prisma schema was not changed.

## Validation

- `node scripts/dispatchspot-build-preflight.mjs` passed.
- Targeted TypeScript parser checks passed for changed Fleet Map types, service, and client files.
- Full `npm run build` was not completed in the sandbox because local project dependencies are not installed here.

## Next recommended check-in

```text
Current baseline on server is v481

review v481 Fleet Map live-source reconciliation and route intelligence upgrade, then decide whether to proceed with v482 Fleet Map alerts, performance, and production readiness or first harden live-source reconciliation/route intelligence 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
```