# v362 - CORI Financial briefing foundation

## Purpose

v362 continues the AI-first Dispatch Spot direction by making money review feel like a plain-language CORI briefing instead of a dense accounting report.

## User-facing change

- `/dashboard` remains the daily **CORI Briefing** page.
- The left sidebar now places **CORI Briefing** inside the **Ask CORI** section.
- A new **CORI Financial** page is available at `/cori/financial`.
- The **Ask CORI** sidebar section now groups:
  - CORI Briefing
  - Ask CORI
  - CORI Financial
  - CORI's Quotes

## CORI Financial behavior

CORI Financial gives the user a plain financial briefing with:

1. Profit and loss overview.
2. Income vs expenses read.
3. Open balance read.
4. Truck-by-truck financial briefing.
5. Load-level financial notes under each truck.
6. Final role-aware earnings summary:
   - Dispatcher users see **Total Dispatcher earnings**.
   - Company/admin users see **Total Fleet earnings**.

## Language standard

CORI Financial must keep financial language simple and direct. Use words such as:

- Income
- Expenses
- Open balance
- Paid so far
- Fleet earnings
- Dispatcher earnings
- Truck expenses
- Driver pay

Avoid forcing normal users through accounting-heavy language unless the page is being expanded for accountants or auditors.

## Data sources used

This page currently reads existing workspace data from:

- `/api/loads`
- `/api/trucks`
- `/api/expenses`
- `/api/auth/me`

No new database tables were added.

## Future direction

CORI Financial should eventually become a conversational financial operating layer that can explain:

- why a truck made or lost money
- which expenses hurt margin
- which brokers/customers are slow to pay
- which loads are ready to invoice
- which dispatcher earnings are expected
- which fleet earnings are expected
- what action to take next to improve cash flow

The page should stay simple for everyday users while the platform continues to grow toward deeper accounting, QuickBooks sync, audit support, and industry-level financial intelligence behind the scenes.

## Prisma schema impact

No Prisma schema changes were made in v362.
