Dispatch Operator Console MVP

Workflow focus: precheck - assign - recover. This screen consumes existing task/trucking APIs.

Flow helper: 1) Load queue, 2) select task, 3) run precheck (read-only), 4) run assign, 5) inspect outcome or authoritative error, 6) refresh detail/recheck when needed.

Connection Context

Session: CONFIG_INCOMPLETETenant: SETToken: MISSINGAccess: NOT_AUTHENTICATED

Auth mode

Production mode supports password login + MFA challenge completion. Dev mode can issue token via `/auth/token` placeholder endpoint.

Production credential login

Production mode requires token. Dev mode can issue placeholder token.
Not authenticated: provide token (or issue dev token) then run Session Check.
Production auth note: password login may return `mfaRequired`; complete `/auth/mfa/challenge` with OTP or recovery code to obtain session tokens.

Account Security Workspace

Manage password lifecycle and session-security actions. Passwords/reset tokens remain in-memory only and are never persisted to local storage.

Password Change

Authenticated session required. If MFA step-up is enforced for your account, provide OTP from authenticator app.

Run Session Check successfully before changing password.

Password Reset Request

Non-leaky request path: accepted response does not prove account existence. Delivery is out-of-band unless explicit development token boundary is enabled.

Password Reset Confirm

Confirm reset using out-of-band token and set a new password.

Session / Logout Actions

Backend logout uses persisted refresh session revoke when refresh token is present. Session inventory/revoke list endpoint is not yet available.

Session inventory now available for own sessions only. No cross-tenant/session token material exposed.

Session Inventory

View and revoke your own tenant-scoped sessions. Safe metadata only: id, createdAt, expiresAt, revokedAt.

No session inventory loaded yet.

Admin-assisted Recovery

Dedicated admin-assisted lost-device recovery/reset endpoint is not yet available in current backend contract. Use existing password-reset and MFA disable boundaries.

MFA Management

Authenticated session required. Run production login/dev token then Session Check before managing MFA.

Dispatch Task Queue

No dispatch-linked tasks found for current tenant/context.

Task Dispatch Detail

Load queue and select a task to inspect dispatch details.