Current completion across all modules based on design and build audit.
- SSL Certificate: Self-signed cert on ALB blocks all browser API calls. Need AWS ACM cert.
- Security:
passwordHashexposed in API responses on nested user objects. - TOS Integration: No adapter for Contecon or Hutchison TILH yet — blocks container status, yard position, and digital ticket features.
- BUG No se puede agregar Operador — El formulario de registro de operadores falla o no guarda. Devs: revisar POST /operators/with-user.
- BUG No se puede agregar Transporte — El formulario de registro de transportes falla o no guarda. Devs: revisar POST /transports.
- BUG No se puede agregar Dispositivo — La página de dispositivos carga OK pero el formulario de agregar nuevo dispositivo falla. Devs: revisar POST /devices.
- BUG Botón de acción en Dispositivos no funciona — El botón de acciones (three dots / editar / eliminar) no responde al hacer click. Devs: revisar event handlers en la tabla de dispositivos.
Detailed feature-by-feature status across all application layers.
| Feature | Designed | Built | Status | Priority | Notes / Gaps | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Auth (Login/Register) | ✓ | ✓ | Partial | P1 | Missing: password reset, email verification, multi-step company registration with drivers info | ||||||||||||||||||||||||||||||||
| Dashboard | ✓ | Minimal | Incomplete | P1 | Missing: map with active truck pins (status-colored), KPI cards (Total Citas/En Ruta/En Puerto/En Terminal/Ruta Fiscal/Completadas), Citas Activas sidebar, real-time updates | ||||||||||||||||||||||||||||||||
| Citas/Appointments | ✓ | Basic CRUD | Partial | P1 | Missing: filter by Fecha/Operador/Unidad/Estado, bulk select/cancel, status badges, payment integration, "Recargar Cita" flow. Códigos de cita: Autogenerar Código VIA (VIA-2026-000123) + Código Terminal (CON-2026-0045 / SSA-2026-0078). Ambos en ticket QR y modal.Formulario Crear Cita — CORREGIR: Ver spec abajo. | ||||||||||||||||||||||||||||||||
|
Spec: Formulario "Crear Cita"
Campos del Formulario
✗ Eliminar: campo email (no se necesita)
✗ Eliminar: hora inicio / hora fin (reemplazar por hora de cita única)
Ventana de Llegada — Representación Visual
-15 min
10:00
+15 min
Hora de Cita: 10:00 AM
Ventana: 9:45 AM — 10:15 AM (30 min total) El usuario solo selecciona una hora. El sistema muestra visualmente la ventana de ±15 minutos. Si el camión llega dentro de esa ventana = a tiempo. Fuera = tarde/temprano.
Contenedores (1-4):
MSCU1234567
COSU7890123
+ Agregar
|
|||||||||||||||||||||||||||||||||||||
| Operators | ✓ | Basic | Partial | P1 | Missing: multi-step registration, assigned cargo display. Campos de licencia: No. Licencia, Emisión, Expiración, Foto de Licencia (upload imagen). Alerta automática si licencia vencida o por vencer (<30 días). Ver spec de Usuario arriba — los mismos campos aplican al crear operador. | ||||||||||||||||||||||||||||||||
| Transport | ✓ | Basic | Partial | P2 | Missing: photo upload, economic number display | ||||||||||||||||||||||||||||||||
| Devices | ✓ | Placeholder | Incomplete | P3 | Almost empty implementation | ||||||||||||||||||||||||||||||||
| Users | ✓ | Basic | Partial | P1 | Formulario incompleto. Ver spec abajo. | ||||||||||||||||||||||||||||||||
|
Spec: Formulario "Información de Usuario"
Campos Generales (todos los usuarios)
Campos Adicionales para Operador/Conductor
Notas para Devs:
|
|||||||||||||||||||||||||||||||||||||
| Payments/Pagos | ✓ | ✗ | Not Started | P1 | Need: add credits, payment methods, refund flow, facturas/invoices download, movement descriptions | ||||||||||||||||||||||||||||||||
| Messaging | ✓ | ✗ | Not Started | P1 | Need: send message to driver/appointment, select category, message history | ||||||||||||||||||||||||||||||||
| Notifications | ✓ | ✗ | Not Started | P1 | Need: notification center, real-time push, bell icon with counter | ||||||||||||||||||||||||||||||||
| Settings | Partial | ✗ | Not Started | P2 | Incomplete in design too | ||||||||||||||||||||||||||||||||
| Transcripts | ✓ | ✗ | Not Started | P3 | Download/read voice assistant transcripts | ||||||||||||||||||||||||||||||||
| Gestión de Terminales SOLO VIA | ✓ | ✓ | Complete | P1 | ➔ Abrir página — CRUD completo con localStorage. Contecon + SSA hardcoded. Búsqueda, filtros, KPIs, modal add/edit, confirmación de borrado. | ||||||||||||||||||||||||||||||||
| Carga Masiva de Citas (Excel/CSV) SOLO VIA | ✗ | ✗ | Not Started | P1 | Página nueva, solo Panel VIA. Subir archivo Excel/CSV con citas masivas. Flujo: seleccionar archivo → preview/validar datos (terminal, contenedor, fecha, hora, operador, placas) → mostrar errores/warnings → confirmar → crear citas en batch. Descargar template Excel vacío. | ||||||||||||||||||||||||||||||||
| Feature | Designed | Built | Status | Priority | Notes / Gaps | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Auth | ✓ | ✓ | Partial | P1 | Same gaps as Company: password reset, email verification | ||||||||||||||||||||||||||||||
| Dashboard | ✓ | Minimal | Incomplete | P1 | Missing: real-time map with status-colored truck pins, KPI cards, Citas Activas with expand/collapse, Mensaje de Difusión (+button), hover popups with shipment details | ||||||||||||||||||||||||||||||
| Lista de Citas | ✓ | ✗ | Not Started | P1 | Need: full table with filters, crear citas, reportar problema flow, bulk actions | ||||||||||||||||||||||||||||||
| Unidades | ✓ | ✗ | Not Started | P1 | Need: unit list, send message to driver, unit status tracking | ||||||||||||||||||||||||||||||
| Lista de Atención (antes "Load List") | Partial | Basic | Partial | P1 | Renombrar "Load List" → "Lista de Atención". Ver spec abajo. | ||||||||||||||||||||||||||||||
|
Spec: "Lista de Atención" (Terminal Dashboard)
Vista de Tabla (Lista)
Vista "Ver Detalles" (por contenedor)
Al hacer click en un número de contenedor o en "Ver Detalles", se expande/abre modal con info por contenedor:
Aclaración clave:
|
|||||||||||||||||||||||||||||||||||
| Acceso API de Citas TERMINAL | ✗ | ✗ | Not Started | P1 | Pantalla de gestión de acceso API para que las terminales puedan conectar sus sistemas (TOS) a las citas de VIA. Incluye: generar API keys, ver documentación de endpoints, logs de llamadas, rate limits, webhooks para recibir notificaciones de nuevas citas. Permite a Contecon/SSA integrar citas directamente en su TOS. | ||||||||||||||||||||||||||||||
| Feature | Designed | Built | Status | Priority | Notes / Gaps |
|---|---|---|---|---|---|
| Auth | ✓ | In Progress | In Progress | P1 | Create account, login, password reset — devs working on it |
| Home Screen | ✓ | In Progress | In Progress | P1 | Trip list, "Iniciar Viaje" vs "Ver Viaje", profile, notifications bell |
| Trip/Viaje Screen | ✓ | Unknown | Needs Screens | P1 | Full-screen map with navigation, ETA/distance, route overlay, speed indicator |
| SOS Emergency | ✓ | Unknown | Needs Screens | P1 | SOS floating button → big SOS confirm → send emergency to planner + port + municipal |
| Voice Assistant | ✓ | Unknown | Needs Screens | P2 | Asistente de Voz floating button, voice commands |
| Notifications | ✓ | Unknown | Needs Screens | P1 | Bell icon, notification list, real-time push |
| Emergency Position | ✓ | Unknown | Needs Screens | P1 | Location icon → view emergency location on map |
| Call Port | ✓ | Unknown | Needs Screens | P2 | "Advertir al Puerto" → confirm → initiate call |
| Digital QR Ticket | ✗ | ✗ | Missing Design | P1 | Critical MVP feature — needs UX design + implementation |
| Geofence Pre-check-in | ✗ | ✗ | Missing Design | P1 | Auto check-in when entering virtual gate zone |
| Container Status | ✗ | ✗ | Missing Design | P1 | View container ready/hold/PIN status, yard location |
| Gate Recommendation | ✗ | ✗ | Missing Design | P1 | Optimal gate based on container yard position |
| Offline Mode | ✗ | ✗ | Missing Design | P1 | Cached route, deferred sync, offline navigation |
| Settings | ✓ | Unknown | Needs Screens | P3 | User profile, language, notifications preferences |
| Service | Built | Status | Priority | Notes / Gaps |
|---|---|---|---|---|
| Auth Service | ✓ | Partial | P1 | Missing: email verification, password reset endpoint |
| Appointments Service | ✓ | Partial | P1 | Missing: status transitions, filters, payment/credits. Auto-generate: via_code + terminal_code. Modelo actualizado: quitar email; agregar: operation_type (import/export), cargo_type (full/empty), container_type (20/40/40HC/45/reefer), containers[] (array 1-4), appointment_time (1 hora, no inicio/fin), ventana autocalculada ±15 min. |
| Container Status Service | ✗ | Not Started | P1 | Need: GET /containers/:id/status, PIN validation, hold checks — requires TOS integration |
| Notifications Service | ✗ | Not Started | P1 | Need: WebSocket /ws/notifications, push notification (FCM), message storage |
| Traffic/Wait-time Service | ✗ | Not Started | P1 | Need: GET /traffic/gates/:gateId/wait-time, real-time gate metrics |
| Geofencing Service | ✗ | Not Started | P1 | Need: POST /checkin, geofence zone definitions, auto-trigger logic |
| Digital Ticket Service | ✗ | Not Started | P1 | Need: GET /tickets/:appointmentId/digital, QR generation, offline validation |
| Messaging Service | ✗ | Not Started | P1 | Need: POST /messages, GET /messages, broadcast (difusión), categories |
| Lista de Atención Service (antes Loads) | ✓ | Partial | P1 | Renombrar. Modelo: secuencia = por camión; block/lane/secuencia de patio = por contenedor. Agregar: container_count, containers[].number, containers[].type (20/40/40HC/45/reefer), containers[].block, containers[].lane, containers[].sequence. Click en contenedor → expande detalle. |
| Payment Service | ✗ | Not Started | P2 | Need: credits system, payment processing, invoices |
| Terminal Management Service NEW | GET /terminals/list exists | Partial | P1 | Existing: GET /terminals/list (returns 1 terminal "Terminal Jinnah"). Need: full CRUD (POST/PUT/DELETE /terminals), terminal config (gates, TOS type, coords, contact). VIA-only access. Devs: seed Contecon + SSA as initial data. |
| Terminal API Gateway NEW | ✗ | Not Started | P1 | API externa para que las terminales accedan a las citas. Endpoints: GET /api/external/appointments (por terminal, fecha, status), POST /api/external/appointments/:id/update-status, webhooks para nuevas citas. Auth por API key. Pantalla de admin en Panel Terminal para generar keys y ver logs. |
| Bulk Import Service NEW | ✗ | Not Started | P1 | POST /api/appointments/bulk-import — recibe archivo Excel/CSV, valida filas (terminal existe, fecha válida, operador/placa registrados), retorna preview con errores/warnings, confirma para crear en batch. GET /api/appointments/import-template — descarga template Excel vacío. |
| Security Fix | — | BROKEN | P0 | passwordHash exposed in API responses — CRITICAL security vulnerability |
| Component | Status | Priority | Notes |
|---|---|---|---|
| SSL Certificate | BROKEN | P0 | Self-signed cert on ALB blocks browser access. Need AWS ACM cert. |
| TOS Integration (Navis N4) | Not Started | P1 | Required for container status, yard position, crane availability. Need adapters for Contecon + Hutchison TILH. |
| WebSocket Server | Not Started | P1 | For real-time dashboard updates and notifications |
| FCM/Push Notifications | Not Started | P1 | For mobile push notifications to drivers |
| Offline Data Sync | Not Started | P1 | Service worker + local storage strategy for driver app |
| Maps Integration | Not Started | P1 | Google Maps or Mapbox for terminal map + driver navigation |
| Gate Systems (OCR/ANPR) | Not Started | P2 | Digital ticket validation at gates |
| SMS Gateway | Not Started | P2 | Backup communication for drivers in port zones |
Requirements for the Panel Principal map view on Terminal and Admin dashboards. This is the primary real-time operations view.
A. Map with Active Trucks
- Display a full interactive map (Google Maps / Mapbox) centered on Port of Manzanillo and the GDL-MZO corridor.
- Show all active trucks (units with active citas) as pins/markers on the map in real-time.
- Each truck pin must be colored by its appointment status:
En Ruta= blue,En Puerto= teal,En Terminal= green,Completada= gray,Cancelada= red,Pospuesta= orange. - Pin colors must match exactly with the status colors used in the Citas Activas sidebar — one source of truth.
- Pins should update position every 15–30 seconds via WebSocket or polling.
B. Hover Popup (Quick Info)
- On hover over any truck pin, show a floating tooltip/popup with:
- Placas del camión (truck plates)
- Entrada / Salida (import entry or export exit)
- Lleno / Vacío (full or empty container)
- Container numbers (e.g., MSCU1234567, COSU7890123)
- Transport company name (visible only on Terminal profile and VIA Admin profile — not on Company profile since they only see their own trucks)
- The popup should be lightweight and disappear on mouse-out.
C. "Ver Más" Modal (Detailed View)
- Each hover popup includes a "Ver más" link that opens a modal window with full details:
- Trip data: Cita ID, appointment time window (slot start/end), gate assigned, current status, ETA to terminal, route progress
- Truck data: Placas, unit/economic number, truck model, photo (if uploaded), full/empty, entry/exit
- Operator data: Name, phone number, license number, assigned cargo, active status
- Transport company (summary): Company name, contact info, total active units, fleet size
- Include a "Send Message" button inside the modal — opens the messaging compose window pre-addressed to this operator/driver.
- The modal should have a clean card-based layout with sections.
D. Citas Activas Sidebar Sync
- The left sidebar list of Citas Activas must use the same status colors as the map pins.
- Clicking a cita in the sidebar should focus/zoom the map to that truck's current position.
- Clicking a truck pin on the map should highlight the corresponding cita in the sidebar.
- Bidirectional sync: map ↔ sidebar always reflect the same selection state.
E. Role-Based Visibility
- Terminal profile: Sees all trucks heading to or at their terminal. Shows transport company in hover popup. Full "Ver más" access.
- VIA Admin profile: Sees all trucks across all terminals. Shows transport company. Full access to all data.
- Company profile: Sees only their own fleet trucks. Does NOT see transport company field (redundant). "Ver más" shows their own operator/truck data.
F. API Requirements for Map
GET /api/trucks/active— Returns all active trucks with: truckId, lat, lng, status, plates, entry/exit, full/empty, containers[], companyName, operatorName, appointmentIdGET /api/appointments/:id/detail— Full trip + truck + operator + company data for "Ver más" modalWS /ws/truck-positions— Real-time position updates (lat, lng, truckId, timestamp) every 15-30sPOST /api/messages— Send message to operator from modal
These 12 screens need to be designed before development can proceed. Prioritized by MVP impact.
Digital QR Ticket
QR code display, appointment details (cita ID, terminal, gate, time window), container info, offline indicator, PIN display. Scannable at gate OCR.
Container Status
Container ID, ready/hold status badge, PIN code + expiry, yard location (block/row/tier), last movement timestamp. Linked from digital ticket.
Gate Recommendation
Map showing optimal gate highlighted, estimated wait times per gate (bar chart or pills), container yard position indicator, "Navigate to Gate" CTA.
Geofence Pre-check-in
"Approaching gate zone" full-screen notification, auto-check-in confirmation button, appointment validation status, document checklist completion indicator.
Offline Mode Indicator
Persistent top banner showing offline status, cached data timestamp, sync pending count, auto-reconnect indicator. Overlay on all screens.
Pre-gate Checklist
Verification steps before entering gate: document check, container match confirmation, weight compliance, seal integrity. Checkbox list with pass/fail.
Notification Center
Notifications grouped by type (gate, weather, PIN, hold). Read/unread states, timestamps, action buttons. Filter by category. Swipe to dismiss on mobile.
Payment/Credits Screen
Credit balance display, "Add Credits" flow, payment method selection (Conekta/OpenPay), transaction history table, facturas/invoices download, refund requests.
Message Center
Conversation list, compose message (select driver/unit), category picker, broadcast "Mensaje de Difusión" to multiple units. Message history with timestamps.
Terminal Map View
Interactive yard map: container blocks grid, truck positions (status-colored), crane status indicators. Hover shows shipment details. "Ver más" modal. See Map Panel Spec above.
Convoy Formation
Convoy assignment card, position in convoy (1st, 2nd, 3rd...), leader/follower status, speed sync indicator, distance to convoy leader.
Trip Summary/Completion
Trip stats: total distance, total time, average speed, compliance score, on-time rating. Gate entry/exit timestamps. Share/download receipt.
Bocetos de las pantallas faltantes más críticas. Usar como referencia para el diseñador UI/UX. Figma Diseños · Figma User Flows
Crear Cita — Vista Desktop Completa
Digital QR Ticket
P1Dashboard + Mapa Terminal
P1Container Status
P1Geofence Pre-check-in
P1Lista de Atención (Terminal)
P1| Sec | Cita | Placas | Cont. | Hora | Estado |
| 1 | VIA-001 | XX-12 | 3 ▼ | 09:30 | ● |
| MSCU123 · 40HC · B12/L3/S1 | COSU789 · 20' · A04/L1/S3 | TRHU456 · 40' · C08/L2/S2 | |||||
| 2 | VIA-002 | YY-34 | 1 | 09:45 | ● |
| 3 | VIA-003 | ZZ-56 | 2 | 10:00 | ● |
Flujos principales del sistema. Ver User Flows completos en Figma · Ver Diseños en Figma
18-week sprint plan from blockers to pilot-ready MVP.
Sprint 0 — Critical Blockers
- Fix SSL certificate on ALB — deploy AWS ACM cert (P0)
- Fix passwordHash exposure in API responses (P0)
- Set up WebSocket infrastructure (Socket.IO or native WS on backend)
- Set up FCM project for mobile push notifications
- Select and configure Maps provider (Google Maps or Mapbox) for web + mobile
Sprint 1 — Core Foundation
- Complete Auth flows: password reset, email verification, multi-step company registration
- Build Notification service + WebSocket push channel
- Build Messaging service (direct messages + broadcast/difusión)
- Enhance Appointments: filters, status transitions, bulk actions
- Company Dashboard with KPI cards (Total Citas, En Ruta, En Puerto, En Terminal, Completadas)
- Terminal Dashboard with real-time map (active trucks with status-colored pins)
- Map hover popups: placas, entrada/salida, lleno/vacío, containers, compañía
- "Ver más" modal: trip data, truck data, operator data, transport company summary
- Citas Activas sidebar ↔ map pin bidirectional sync
Sprint 2 — Terminal & Planning
- Terminal Lista de Citas: full table, filters, crear citas, reportar problema flow
- Terminal Unidades management + send message to driver
- Loads/Planning enhancement: sequence management, crane assignment
- Terminal yard map integration (block/lane grid overlay)
- Real-time updates via WebSocket for all dashboard components
- Payment/Credits system (web): add credits, transaction history, facturas
Sprint 3 — Driver Core + Digital Ticket
- Digital QR Ticket service + Flutter screens (QR generation, offline validation)
- Container Status service (mock TOS adapter initially)
- Gate Recommendation logic + screen
- Geofencing service + pre-check-in notification
- Driver trip screen enhancements (full-screen map, ETA, speed)
- Offline mode: service worker, cached routes, deferred sync
- Pre-gate checklist screen
Sprint 4 — Integration & Polish
- TOS adapter: Contecon first (Navis N4), then Hutchison TILH
- Gate wait-time service (real data from TOS or IoT sensors)
- Voice assistant integration (speech-to-text for driver commands)
- Convoy management screens + logic
- Trip summary/completion screen
- End-to-end testing: all flows, offline scenarios, multi-user roles
- Pilot preparation: 50 drivers, 1 terminal, 1 gate
- Performance optimization: <200ms API response, Redis caching
Complete lifecycle of truck statuses along the GDL-MZO corridor. These statuses appear on map pins, citas activas sidebar, and driver app. Needs Implementation
▶ Importación (Llenos hacia consignatario)
◀ Exportación (Llenos hacia terminal)
Hitos Geográficos (Geographic Milestones)
Estos hitos se detectan automáticamente por geofencing y se añaden al status como sub-estado:
Salió de GDL / ciudad origen
Cruzó límite estatal (Jalisco → Colima)
Entró al estado destino (Colima)
Entró a la zona de Manzanillo
- En Carga / Descarga — Camión siendo cargado o descargado (detectado por tiempo en un punto fijo)
- En Cola de Puerta — Dentro de la geocerca de la puerta, esperando su turno
- En Terminal (Patio) — Dentro de la terminal, entre puerta y grúa
- En Ruta Fiscal — En recinto fiscal o zona aduanera
- Incidencia / Averiado — Reporta problema mecánico o accidente (activado por SOS o reporte)
- Fuera de Ruta — Desvió de la ruta programada (alerta automática)
- Inspección / Retén — Detenido en retén/inspección oficial
- Disponible — Sin cita asignada, listo para nuevo viaje
Cada rol tiene su propio panel/dashboard con funcionalidades diferentes. Esta tabla define qué ve y puede hacer cada uno.
| Funcionalidad | Panel VIA (Super Admin) |
Panel Terminal (Planner) |
Panel Admin Transporte (Company Admin) |
Panel Usuario Transporte (Dispatcher) |
|---|---|---|---|---|
| Mapa con camiones activos | ✓ Todos | ✓ Su terminal | ✓ Su flota | ✓ Su flota |
| Hover: ver compañía transportista | ✓ | ✓ | — (su propia) | — (su propia) |
| "Ver más" modal completo | ✓ Todo | ✓ Todo | ✓ Su flota | ✓ Su flota |
| Enviar mensaje al operador | ✓ | ✓ | ✓ | ✓ |
| Mensaje de Difusión (broadcast) | ✓ Global | ✓ Su terminal | ✓ Su flota | ✗ |
| KPI Cards (Citas totales, etc.) | ✓ Globales | ✓ Su terminal | ✓ Su flota | ✓ Su flota |
| Citas Activas sidebar | ✓ Todas | ✓ Su terminal | ✓ Su flota | ✓ Su flota |
| Crear/Editar/Cancelar Citas | ✓ | ✓ | ✓ | ✓ |
| Gestionar Operadores | ✓ Todos | Solo ver | ✓ CRUD | Solo ver |
| Gestionar Transportes (fleet) | ✓ Todos | Solo ver | ✓ CRUD | Solo ver |
| Gestionar Usuarios | ✓ Todos | ✗ | ✓ Su empresa | ✗ |
| Pagos / Créditos | ✓ Ver todos | ✗ | ✓ Pagar | Solo ver |
| Loads/Planning (bloque/carril/secuencia) | ✓ | ✓ CRUD | ✗ | ✗ |
| Lista de Citas (tabla completa) | ✓ Todas | ✓ Su terminal | ✓ Su flota | ✓ Su flota |
| Unidades (unit tracking) | ✓ Todas | ✓ En su terminal | ✓ Su flota | ✓ Su flota |
| Estadísticas / Reportes | ✓ Globales | ✓ Su terminal | ✓ Su flota | Limitado |
| Reportar Problema | ✓ Ver todos | ✓ Crear/ver | ✓ Crear/ver | ✓ Crear |
| Gestión de Terminales (CRUD) | ✓ CRUD | ✗ | ✗ | ✗ |
| Carga Masiva Citas (Excel/CSV) | ✓ Upload | ✗ | ✗ | ✗ |
| Acceso API de Citas (keys/docs/logs) | ✓ Ver todo | ✓ Su terminal | ✗ | ✗ |
| Configuración de Terminal | ✓ | ✓ | ✗ | ✗ |
| Devices (gestionar dispositivos) | ✓ | ✗ | ✓ | ✗ |
Ve todo el sistema. Todos los terminales, todas las compañías, todas las citas. Puede hacer cualquier acción. Pensado para el equipo de VIA que opera la plataforma.
Ve solo su terminal (Contecon o Hutchison). Gestiona citas de su terminal, planning de carga, mapa de patio. Ve camiones de todas las compañías que van a su terminal.
Administrador de compañía de transporte. Gestiona su flota, operadores, usuarios, pagos. Ve solo sus propios camiones y citas en el mapa.
Usuario operativo de compañía de transporte. Puede ver su flota, crear citas, enviar mensajes. No puede gestionar usuarios, pagos, ni hacer broadcast.
Investigación de plataformas comparables: GPA Trucker, TERMPoint, SMATS iNode, Navis N4, DrayQ, Voyage Control.
GPA Trucker (Georgia Ports)
- PIN verification antes de llegar (72h validez)
- Digital tickets — compartibles por WhatsApp/Mail
- Nearest gate recommendation por posición de container
- Biometric auth (face/fingerprint)
- No tiene: offline mode, wait times, geofencing
TERMPoint (APM Terminals)
- Ventanas de 30 min con grace period
- Dual appointments (drop empty + pick full)
- Container Watch List → notifica cuando listo
- Auto-cancellation (90 min aviso + 30 min gracia)
- FREE REST API — gold standard para TAS
- No tiene: offline, wait times, geofencing
SMATS iNode (Wait Time Analytics)
- Sensores IoT (WiFi + Bluetooth) en puertas
- 92% accuracy en tiempos de espera
- Dashboards web, app móvil, señales VMS
- ML predictive wait times
- Manzanillo no tiene sensores — iniciar con GPS, añadir sensores después
Validación de Features MVP (todos los competidores)
- Appointment scheduling (30-min slots)
- Container availability check
- Digital gate ticket/pass
- Confirmation notifications
- Driver identity verification
- Free rescheduling/cancellation
- Company dashboard
- Real-time wait times (GPS-based)
- Gate recommendation
- QR code for gate entry
- Dual/merged appointments
- Auto-cancellation warnings
- Push notifications
- Performance tracking
- Geofencing triggers
- Predictive ML wait times
- In-terminal navigation
- IoT sensor integration
- TOS deep integration (EVP)
- Multi-terminal portal
- Third-party API
- Offline-first: Ningún competidor tiene offline mode. VIA sí (crítico para Manzanillo).
- Español nativo + UI con iconos: Todos los competidores son solo en inglés.
- Multi-terminal unificado: Una app para SSA + CONTECON. Nadie lo ofrece hoy en Manzanillo.
- Más que scheduling: Wait times + gate routing + convoy + geofencing = beyond TERMPoint.
- Wait times sin sensores: Iniciar con GPS crowdsourced, evolucionar a sensores IoT.
Panel exclusivo de VIA Admin. Vista en tiempo real del estado operativo de cada terminal (SSA / Contecon). Incluye sistema de throttling inteligente de citas basado en tiempos de atención.
A. KPIs en Tiempo Real por Terminal
Cada terminal (SSA, Contecon/Hutchison) muestra una tarjeta con estos indicadores actualizados en tiempo real:
B. Los 3 Tiempos Críticos (con Termómetro)
Estos tres métricas de tiempo son el corazón del sistema de monitoreo. Cada una tiene un termómetro visual que cambia de color según umbrales:
Desde entrada a puerta hasta salida de terminal. El más importante.
Proceso aduanal. Si sube = problema de aduana, no de terminal. Afecta ritmo de citas.
Desde GDL/origen hasta puerta. Si sube = congestión externa → limitar citas.
C. Sistema de Throttling Inteligente de Citas
El sistema automáticamente ajusta el ritmo de citas entrantes basándose en los tiempos de atención. Funciona como un termómetro con 3 zonas:
→ Flujo normal de citas
→ Mantener ritmo actual
→ Permitir citas de última hora si hay slots
→ Reducir próximas citas 25-50%
→ Notificar a transportistas en camino
→ Sugerir reprogramar citas no urgentes
→ Pausar nuevas citas temporalmente
→ Notificar a TODOS los en ruta
→ Solo admitir citas de prioridad P0
- Cada 5 minutos, calcular promedio móvil de tiempo de atención (ventana de 30 min)
- Si sube por encima del umbral amarillo → reducir slots disponibles en próximas 2 horas
- Si baja de vuelta a verde → restaurar ritmo normal gradualmente (no de golpe)
- Distinguir causa: Si el aumento es por ruta fiscal (aduana) → notificar que es problema externo, pero igualmente ajustar citas
- Si congestión externa (tiempo de llegada sube) → limitar citas para evitar embotellamiento en la puerta
- Guardar logs de todos los ajustes para análisis posterior
D. Escenarios de Congestión y Acción Automática
| Escenario | Señal | Causa | Acción Automática |
|---|---|---|---|
| Terminal lenta | Tiempo atención ↑ + Ruta fiscal normal | Problema operativo interno (grúas, patio, personal) | Reducir citas 25-50%. Notificar transportistas. Alerta a planner. |
| Aduana lenta | Ruta fiscal ↑ + Atención terminal normal | Aduanas (inspección, documentación, sistema caído) | Notificar "retraso por aduana". Ajustar citas para no saturar fila de ruta fiscal. |
| Congestión externa | Tiempo de llegada ↑ + Terminal OK | Tráfico vial, accidente, obra, clima | Limitar nuevas citas. Sugerir reprogramar a ventanas posteriores. Alerta de ruta. |
| Todo saturado | Los 3 tiempos ↑ simultáneamente | Problema sistémico (mal clima, fin de mes, picos estacionales) | Pausar citas. Broadcast a todos los operadores. Modo emergencia. |
| Terminal parada | Flujo E/S = 0 por >15 min | Paro, falla de equipo, emergencia | Marcar terminal "PARADA". Cancelar/reprogramar citas pendientes. Alerta general. |
E. APIs Requeridas para Terminal Monitor
GET /api/terminals/:id/status— KPIs en tiempo real: camiones dentro, en fila, citas pendientes/atendidas, estado operativo, flujo E/SGET /api/terminals/:id/metrics— Los 3 tiempos críticos con promedio móvil: atención, ruta fiscal, llegadaGET /api/terminals/:id/throttle-status— Zona actual (verde/amarillo/rojo), % de reducción activa, razón del ajustePOST /api/terminals/:id/throttle-override— Override manual del planner (forzar pausa o restaurar)WS /ws/terminal-metrics— Stream en tiempo real de todos los métrics cada 30 segundosGET /api/terminals/:id/history— Histórico de métricas por hora/día para análisis de tendenciasGET /api/terminals/compare— Comparar SSA vs Contecon side-by-side
- Tiempo de atención: TOS (Navis N4) — timestamp de entrada a puerta vs timestamp de salida. Si no hay TOS integrado: GPS del camión (geocercas de entrada y salida).
- Tiempo de ruta fiscal: Geocercas en zona aduanal + timestamps de entrada/salida de la ruta fiscal dentro de la terminal.
- Tiempo de llegada: GPS del camión (posición actual vs geocerca de terminal) + Google Maps ETA API. Crowdsourced de todos los camiones con la app.
- Fase 1 (MVP): Basado en GPS del camión + geocercas. Funciona sin integración TOS.
- Fase 2: Integración TOS para timestamps exactos + sensores IoT (SMATS-style) para fila en puerta.
AI capabilities integrated into VIA. Software UI in Spanish, developer communication in English, AI processing bilingual.
Claude Opus 4.6
- Yard planning optimization (multi-crane sequencing)
- Predictive demand analytics
- Complex decision-making for throttling logic
- Document understanding (customs docs, manifests)
Claude Sonnet 4.5
- Voice assistant (Asistente de Voz) for drivers
- Natural language message processing
- Real-time gate recommendation logic
- Intelligent notification content generation
Claude Haiku 4.5
- Container number validation & extraction
- Status classification from GPS data
- Quick text parsing (CSV validation, data cleanup)
- Notification translation (ES ↔ EN)
Llama 3.1 (8B) — Local
- Offline driver voice commands (on-device)
- Local data pre-processing before API calls
- Simple classification tasks
- Development/testing without API costs
Google Maps / Mapbox AI
- Route optimization (GDL → Manzanillo)
- ETA prediction with traffic data
- Geofence zone management
- Terminal yard map rendering
ML Custom Models (Phase 2+)
- Wait time prediction (historical patterns)
- Demand forecasting per terminal per hour
- Anomaly detection (congestion patterns)
- Container re-handling optimization
- UI/UX: Spanish primary (all labels, buttons, messages, notifications). English optional toggle.
- Developer docs & code: English (variable names, comments, API docs, commit messages).
- AI prompts: Bilingual — system prompts in English, user-facing output in Spanish.
- Voice assistant: Spanish (Mexican Spanish) with English fallback for technical terms.
- Dashboard (this page): Bilingual — specs in Spanish (product), technical notes in English (dev).
How to share this dashboard with the team for real-time collaboration.
Hostinger Static Deploy
- Upload this HTML to VPS
via.srv1139900.hstgr.cloud - Serve via nginx on a subdomain:
plan.viaapp.mx - Add basic auth (user/password) for team access
- Auto-deploy via git push or SCP script
- Free (already have VPS)
GitHub Pages
- Create repo
via-mvp-plan - Push HTML to
gh-pagesbranch - URL:
chavez684.github.io/via-mvp-plan - Team edits via PRs
- Free, version controlled
AWS S3 + CloudFront
- Same infra as VIA test app
- Upload to S3 bucket, serve via CloudFront
- URL:
plan.d3j14azlal4f7q.cloudfront.net - Already have the setup
- Minimal cost
- Choose hosting option (A, B, or C)
- Set up basic authentication for team-only access
- Share URL + credentials with developers and designer
- Set up auto-deploy so dashboard updates when file changes
- Consider converting to a simple React/Vue app later if we need real-time editing
All pending work organized by team role. Items marked NEW were identified from the latest meeting (Feb 21) and are not yet in the backlog.
Visual mockups for missing screens based on Figma audit + architecture decisions. 81 screens designed, ~22 critical gaps identified. 31 mockups total (12 original + 7 audit + 12 architecture decisions & meeting gaps).
Figma Design Audit — What Exists vs What's Missing
- Auth: Sign In, Forgot/Reset Password, Register, Notifications permission (web + mobile)
- Company Dashboard: Map + KPIs + Citas Activas sidebar, truck detail cards, status badges
- Terminal Dashboard: KPIs, map (partial), Mensajes de Difusión, Carga section
- Citas: List, Create, Edit, Delete modals, bulk select, zero-balance warning (EN + ES)
- Operadores: Table list, register form, edit (multiple variants)
- Transportes: Table list (registration form missing)
- Dispositivos: Table list (registration form missing)
- Usuarios: Table list, register user form
- Pagos: Credit model, payment methods, add credits, refund flow, facturas, zero balance (8+ screens)
- Driver Mobile: Home, cita list, trip start, active navigation, arriving at port, waiting, full-screen map
- Driver Settings: Profile form
- Driver Notifications: Time-grouped list
- Voice Assistant: Chat interface
- Emergency SOS: 3 states (button, active sharing, technical problem)
- Company Mobile: Emergency management (health, technical, multiple, false alarm)
- Transcripts: List + detail view + download
- VIA Admin Dashboard — section divider only, NO actual screens
- Terminal Operations Monitor (thermometer metrics, throttling)
- Digital QR Ticket (MVP feature)
- Container Status Tracker (MVP feature)
- Gate Recommendation (MVP feature)
- Geofence Pre-check-in (MVP feature)
- Offline Mode indicator
- Pre-gate Checklist
- Convoy Management
- Gate Wait Time Display
- Terminal Statistics page (referenced in wireframes 4.6)
- Terminal Planning Module (wireframes 4.8-4.9)
- Reportar Problema form (button exists, no form)
- Broadcast Message creation screen
- Transport registration form (only table list)
- Device registration form (only table list)
- Company web Settings (flow incomplete)
- Agente Aduanal portal (new from meeting)
- External Patio management (new from meeting)
- Highway monitoring view (new from meeting)
- Smart Throttling admin UI
- Consignee/Customs Agent Portal (Phase 2)
Digital QR Ticket
QR code with appointment details, dual codes (VIA + Terminal), gate assignment, offline indicator. Scannable at gate OCR.
Container Status
Container ID, ready/hold badge, PIN with expiry, yard location (block/row/tier), hold status, last movement.
Gate Recommendation
Bar chart of wait times per gate, best gate highlighted, "Navigate to Gate" CTA with estimated wait and distance.
Geofence Pre-check-in
Triggered when entering terminal zone. Shows validation checklist, appointment confirmation, auto-check-in button.
Notification Center
Color-coded by type (red=urgent, yellow=change, green=ready). Read/unread states, timestamps, grouped by recency.
Payment / Credits Screen
Credit balance, add credits flow, transaction history, facturas/invoices download. MXN currency, citas remaining counter.
Message Center
Conversation list with category filters, compose message, broadcast "Mensaje de Difusión" to multiple units/drivers.
Offline Mode Indicator
Persistent banner, cached data list, pending sync count. Critical for Manzanillo port zones with poor connectivity.
Pre-gate Checklist
Verification steps before gate entry: documents, container match, weight, seal integrity. Pass/fail with action items.
Trip Summary / Completion
Post-trip stats: distance, time, speed, compliance score. Gate entry/exit timestamps. Shareable receipt.
Terminal Map View
Interactive yard grid: container blocks, truck positions, crane lanes. Hover for shipment details. Used by terminal planner.
Convoy Formation
Position in convoy, leader/follower status, speed sync, distance to leader. Visual convoy chain.
Additional Mockups — Figma Audit Gaps
These screens were identified as entirely missing from Figma during the design audit. They represent critical platform features.
VIA Admin Dashboard
Super admin overview of all terminals. Per-terminal KPIs, health bars (green/yellow/red), corridor map with all truck positions, aggregate statistics, alert center.
Terminal Operations Monitor
3 critical time metrics with thermometer bars. Smart throttling system: GREEN/YELLOW/RED zones. Auto-adjusts appointment flow. Distinguishes terminal vs aduana vs external congestion.
Broadcast Message Creation
Mensaje de Difusión composer. Select recipients by group/time/status, choose category (alert/info/change), write message, send to all matching drivers. Save as draft.
Report Problem Form
Reportar Problema from Terminal or Company. Links to specific cita, selects problem type (delay/mechanical/documents/other), description field, photo attachment. Creates alert for all parties.
Terminal Statistics
Real-time & historical stats per terminal. Units attended/in-queue/loading, avg attention time per hour/day/shift. Bar charts, exportable to Excel. From wireframes section 4.6.
Gate Wait Time Display
Real-time wait times per gate. Trucks in queue, estimated wait, color-coded (green/yellow/red). Recommended gate based on container yard position + shortest wait. For drivers + planners.
Agente Aduanal Portal
Customs agent receives appointment blocks from terminal, selects citas, shares them in bulk to transport companies for truck sequencing. Shows container status (ready/hold).
Missing Screens — From Architecture Decisions & Meeting Requirements
These 12 screens were identified from resolved Q&A decisions (Q2 Incidents, Q4 Credit Disputes, Q5 Milestones), handwritten wireframes (Planning Module), and Feb 21 meeting requirements (External Patios, Highway Control). Total mockups: 31 (19 original + 12 new).
Incident Management Panel
Terminal planner creates incidents with location picker (Bloque/Carril/Grúa). Active incidents sidebar with severity, affected citas, ETA resolution. Auto-cascading notifications to all roles per Q2 architecture decision.
Incident Alert — Driver Mobile
When terminal reports an incident, driver sees alert banner, estimated delay, gate reassignment. CTA changes from "Iniciar Viaje" to "En Espera". Per Q2 decision: notification cascade at 60s.
Issues Command Dashboard
VIA Admin aggregated view: all incidents across all terminals. Severity table, drivers-at-risk count, escalation alerts when terminal doesn’t update status. Per Q2 decision: ~8 new components across roles.
Credit Dispute Admin Panel
3-tier refund model from Q4 decision. Tier 1: auto >24h. Tier 2: auto+audit 4-24h. Tier 3: human review <4h. Approve/deny/partial/investigate actions. Abuse detection flagging.
Trip Milestone Timeline
Visual timeline per Q5 decision. Milestone enum: DEPARTED → GEOFENCE_APPROACH → ARRIVAL → GATE_ENTERED → YARD_ASSIGNED → COMPLETED. Geofence-triggered, auto-written to trip_milestones.
Terminal Planning Module
From wireframes 4.8-4.9. Plan containers per crane per time slot. Drag-and-drop sequencing, Excel export, hold warnings. Shows unit + container, crane columns, empty slots for filling.
Smart Throttle Control Panel
GREEN/YELLOW/RED zone system. Recalculates every 5 min (30-min avg). Distinguishes congestion source (terminal vs aduana vs external). Manual override option. Auto-notifies transportistas.
External Patio Management
New from Feb 21 meeting. Manage external yards for empty containers: inventory per patio, capacity/occupancy, pending pickups and returns. Coordinate container flows between port terminal and external patios.
Highway Control Monitor
New "Control de Autopista" module from Feb 21 meeting. GDL-MZO corridor: traffic incidents, road works, weather (CONAGUA), checkpoints. Shows delay impact, units affected, directional flow counts.
Transport Registration Form
Multi-step form missing from Figma (only table list exists). Step 1: company info. Step 2: vehicle data (placas, marca, año, número económico, photo upload). Step 3: confirm.
Company Settings
Flow marked incomplete in Figma. Company data, billing/facturación (RFC, CFDI, régimen fiscal), notification preferences, credit policy thresholds (Q4), integrations status.
Consignee Portal
Phase 2 screen. Consignee/customs agent view: container release status (ready/hold/pending), PIN visibility, document access (B/L, arrival notice, pedimento). Read-only per role spec.
Carga Masiva de Citas
Panel VIA exclusivo. Upload Excel/CSV para crear citas batch. 4 pasos: subir → validar (6 campos: terminal, contenedor, fecha, hora, operador, placas) → confirmar → resultados. Template descargable. Ver pantalla funcional →
All VIA screen mockups organized by type. Design Mockups are inline visual prototypes. Functional Mockups are standalone interactive pages. Move any mockup to Approved when confirmed.
| # | Terminal | Contenedor | Fecha | Hora | Operador | Placas | Estado |
|---|---|---|---|---|---|---|---|
| 1 | Contecon | MSCU1234567 | 15/03/2026 | 08:00 | Juan Pérez López | JN-45-AB3 | OK |
| 2 | Hutchison TILH | OOLU7654321 | 15/03/2026 | 09:30 | María García Ruiz | MZ-12-CD4 | OK |
| 3 | Contecon | CMAU9876543 | 10/02/2026 | 07:00 | Carlos Hernández | GD-78-EF5 | ALERTA |
| 4 | Hutchison TILH | TEMU5551234 | 16/03/2026 | 11:00 | Roberto Sánchez | CL-33-GH7 | OK |
| 5 | ??? | ABC123 | 14:00 | ZZ-99 | ERROR | ||
| 6 | Contecon | MSCU1234567 | 17/03/2026 | 06:00 | Al | MN-21-JK8 | ALERTA |
Gestión de Patios Reguladores
Manage 3 regulator yards (Cuauhtémoc entry, Tepalcates-Cuyutlán exit, Armería contingency). Real-time queue, inspections, services, capacity monitoring, safety workflow.
Convoy Planner v2 (Enhanced)
Enhanced convoy system with auto-grouping algorithm, lifecycle tracking (Formation→Ready→Departed→Enroute→Arrived), speed monitoring, hazmat handling, route assignment, and convoy communications.
Speed Enforcement Dashboard
Real-time speed monitoring across entire VIA network with 3-tier escalation (80-90km/h driver alert, 90-100km/h company warning, >100km/h Guardia Nacional dispatch). Live speed grid, violation analytics, enforcement actions, company rankings, hot zone identification.
Cumplimiento NOM
Sistema de seguimiento regulatorio para 4 Normas Oficiales Mexicanas (NOM-012 peso/dimensiones, NOM-087 tiempos de conducción, NOM-015 sujeción de carga, NOM-033 materiales peligrosos). Dashboard con compliance tracking, violadores frecuentes, reportes oficiales para SCT y Colima.
Planificador de Rutas MatPel
Sistema de planificación de rutas seguras para materiales peligrosos (NOM-033). Identifica zonas restringidas, calcula horarios óptimos, valida permisos SCT, mapea checkpoints oficiales, y genera rutas optimizadas evitando poblaciones, escuelas, hospitales. Incluye tracking en tiempo real de unidades MatPel activas.
Proceso de Carga 14 Pasos
Complete 14-step container loading process integration with timeline tracking, evidence upload, quality gates, NOM compliance verification, VGM validation, convoy assignment, and real-time progress monitoring. Exception handling for document validation, weight discrepancies, and securing issues.
Sistema de Puntuación
Driver and company performance scoring system with 4 weighted metrics (Puntualidad 25%, Seguridad 35%, Cumplimiento 25%, Eficiencia 15%). Includes rankings/leaderboards, reward tiers (Gold $5K, Silver $3K, Bronze $1.5K), penalty tracking, evolution charts, and detailed metric breakdowns. Complete transparency and gamification for operator excellence.
Sistema de Citas - Yard Appointment Mandate
CRITICAL BLOCKER for Cycle 2: Mandatory appointment booking system for all patio regulador arrivals. 5-tab interface (Calendar, Booking Wizard, My Bookings, Operator Dashboard, Stats) with SMS/email/WhatsApp notifications, QR codes, 3-tier penalty system (7d/15d/30d suspensions). Eliminates street chaos, ensures capacity compliance, reduces wait times 80%.
Government Admin Panel - Enhanced
Comprehensive government oversight dashboard for SCT, State of Colima, and Guardia Nacional. 8-tab interface (Overview, Real-time Monitoring, Compliance Reporting, Revenue Transparency, Emergency Response, Hazmat Monitoring, Speed Enforcement, Audit Trail). Tracks 4 NOMs, $1.1B MXN/year revenue, convoy tracking for emergencies, 7-year audit retention. Designed for multi-agency coordination and transparency.
Proceso 14 Pasos - Enhanced
Enhanced 14-step container loading workflow with quality gates at each step, VGM validation with ±2%/±5% thresholds (SOLAS compliance), evidence upload system (photos, documents, signatures), convoy integration at Steps 13-14, real-time GPS tracking activation, and exception handling for failed validations. Mobile-responsive operator interface with visual progress tracking and NOM-015 compliance verification.
Enrutamiento de Materiales Peligrosos
NOM-033 dangerous goods compliance dashboard with 9 UN class tracking (explosives, gases, flammables, toxics, radioactive, corrosives). Special route restrictions, permitted zones map, permit tracking, emergency response protocols, and real-time safety alerts. Critical for hazmat cargo safety and regulatory compliance.
Portal Administrativo Gubernamental
Government regulatory oversight portal for SCT (Secretaría de Comunicaciones y Transportes). Features: 3 regulator yard mandate assignments, violation tracking and fine collection ($2.4M MXN), operator license verification (1,847 registered), compliance reporting (94.2%), and official government-branded interface with restricted access.
Cobertura Dual de Carreteras
Comprehensive dual highway coverage dashboard comparing Autopista GDL-MZO (267km, 80km/h, $1,850 toll) vs Carretera Libre (312km, 60km/h, free). Route comparison, segment coverage maps, traffic density heatmaps, operational analytics, cost analysis, and strategic route recommendations.
Comparación de Rutas - Dual Highway
Side-by-side route comparison dashboard for VIA's dual corridor expansion (GDL↔MZO vs GDL↔MTY). Features global KPIs (124 trucks, 18 convoys, $2.4M MXN/month), per-route stats (active trucks, convoys, patios, transit time), highway type breakdown (autopista vs libre), live convoy tracking, and speed enforcement zones. Demonstrates Module 10 geographic expansion capability.
Configuración de Rutas - Admin Dashboard
Comprehensive admin control center for managing VIA's dual highway system. Configure routes (add/edit/duplicate/delete), edit route geometry with interactive map editor, define speed zones (4 zone types: urban, autopista, libre, port), manage checkpoints/regulator yards (Cuauhtémoc, Tepalcates-Cuyutlán), set operational parameters (convoy size, formation time, speed thresholds), configure highway types (autopista 110 km/h vs libre 80 km/h), and manage pricing. Full CRUD for 3 routes (GDL↔MZO active, GDL↔MTY active, MZO↔CDMX draft).
Gestión de Terminales
Full CRUD for Contecon & SSA/TIM terminals. KPI cards, search/filter, capacity bars, gate management, operational status toggles.
Ops Monitor
6 real-time KPIs, 3 thermometer gauges (T. Atención, Ruta Fiscal, Llegada), Contecon vs SSA/TIM comparison table, live activity feed, per-gate performance cards.
Issues Command
Incident command center. Pulsing alert banner, active incidents with expandable timelines, at-risk drivers table, escalation rules with toggles, notification cascade.
Smart Throttle
Congestion control system. Animated orbs (green/yellow/red) per terminal, decision log, congestion diagnosis, manual override controls, 24hr CSS bar chart.
Highway Control GDL — MZO
312 km corridor monitor. SVG route map with 6 waypoints, animated trucks, incident markers, segment table with weather/speed, convoy tracker, dead zones visualization.
Carga Masiva de Citas
Bulk appointment creation via Excel/CSV. 4-step wizard: upload, validate 6 fields, confirm with progress bar, results summary. Detects duplicates, invalid dates, missing fields.
Patio / Yard Registry
Leaflet map + list split view for ~500 truck yards. CRUD modal, zone filters (Manzanillo/Cuyutlán/Armeria), capacity bars, GPS coordinates, company association.
ETA Dashboard
ETA heatmap (zones × timeslots), active route monitor with live truck positions, traffic factor panel, Chart.js accuracy trend, variance alerts.
Departure Sequencer
Timeline view (06:00-22:00), sequence table with drag reorder, re-sequence animation, live event feed, departure/arrival slot visualization.
Terminal Stacking
Block cross-section grid (row × tier), color-coded container cells by status, efficiency gauge, crane assignment, remanejo counter, stacking optimization score.
Planificador de Convoyes
Convoy orchestration dashboard with 4 KPIs, status-filtered convoy cards (Formando/Listo/En Ruta/Completado), truck train visualizations, terminal filters, unassigned truck pool, drag-to-assign interface, capacity bars (max 10 per convoy).
Auto Convoy Builder (Traffic-Aware)
Automated convoy formation with truck queue (Sencillo/Full badges), AI grouping algorithm (Destino 40%, Empresa 20%, Ventana 25%, Hazmat 10%, Turno 5%), real-time traffic monitoring (Autopista/Libre/Hot Zones), convoy previews with efficiency scores, traffic-aware departure scheduling to prevent highway congestion.
Notification Center
Type-filtered notification list, priority badges (critical/warning/info), expand/collapse detail view, batch actions (mark read, dismiss), real-time counter.
Payment & Credits
Credit balance hero card, Bronze/Silver/Gold package tiers, transaction history table, Chart.js usage trends, top-up modal, dispute flow.
Message Center
Slack-like messaging. Channel list + thread view, compose bar with attachments, broadcast modal for terminal-wide alerts, read receipts, search across channels.
Terminal Map
Full Leaflet map with truck/patio/geofence layers, terminal polygons for Contecon & Hutchison, live stats bar, layer toggles, truck detail popups.
Manzanillo Map
Leaflet map showing complete Manzanillo port area with both terminals (Contecon & Hutchison TILH), truck yards, highway routes, and real-time truck positions.
Contecon Terminal View
Terminal-specific detailed view for Contecon (ICTSI) with Leaflet map, yard blocks, gate locations, real-time throughput metrics, and container tracking.
QR Digital Ticket
QR code generation (qrcode.js), appointment detail card, countdown timer to slot, status banner, gate assignment, scan instructions.
Container Status
Vertical milestone timeline (vessel → port → yard → gate), yard location card with block/row/tier, vessel info, last scan timestamp.
Gate Recommendation
Recommended gate hero with wait time, all-gates comparison list sorted by wait time, mini SVG terminal map showing gate locations, estimated processing time.
Geofence Pre-Check-In
Distance circle indicator, auto-verification checklist (docs, container match, appointment valid), automatic gate assignment on geofence entry.
Pre-Gate Checklist
Circular progress indicator, tappable checkbox cards for each requirement, photo capture slots for documents/damage, completion validation before gate entry.
Offline Indicator
Connectivity status display, feature availability grid (what works offline vs online), sync queue status, cache size summary, auto-reconnect countdown.
Convoy Formation
Active convoys list with truck count, truck lineup with position numbers, mini route map, formation rules (spacing, speed limits), join/leave convoy actions.
Trip Summary
Completion banner with success animation, trip metrics (time, distance, fuel), timeline replay of key events, star rating for terminal experience, share/export.
7 detailed test scenarios from the Escenarios Prueba document. Click each scenario to expand requirements, test cases, and integration points.
| Scenario | Critical External Systems | Data Feeds | Fallback | Phase |
|---|---|---|---|---|
| A — Multi-Sequence Planning | TOS (Navis N4), Gate OCR/ANPR | Crane availability, yard status | Manual sequence via web | Phase 2 |
| B — Phone Shutdown | SMS Gateway, Convoy Mgmt | Driver contacts, convoy rosters | Backup call, convoy proceeds | MVP |
| C — Signal Loss | Offline Maps, Background GPS | Dead zone database | Cached routes, upload on reconnect | MVP |
| D — User Training | LMS, Push Notifications | Roles, certification status | In-person training, paper certs | Ongoing |
| E — Route Management | Traffic APIs, Weather Services | Closures, incidents, forecasts | Manual override, driver reports | MVP |
| F — Real-Time Processing | Kafka, Time-Series DB | GPS (60K/hr), speed data | Buffer peak, degrade to 60s | MVP |
| G — Priority Units | TOS, Billing, Credit System | Container status, accounts | Manual priority queue | Phase 2 |
Multi-Sequence Planning for Terminal Planners
Create and manage 2–8 parallel crane sequences with AI load balancing, dynamic rebalancing on crane failure, drag-and-drop override
Business Context
- Massive arrival of empty units, yard congestion at external parking
- Multiple cranes operate simultaneously at Contecon and Hutchison TILH
- Without multi-sequence planning, bottlenecks form as all trucks converge on a single sequence
Technical Requirements
- Multi-Crane Sequences: 2–8 parallel sequences, each tied to crane, yard block, or gate lane
- AI Load Balancing: Distribute trucks by queue length, container yard location, arrival windows, priority levels
- Dynamic Rebalancing: On crane failure → auto-redistribute pending units, notify drivers, update ETAs
- Visual Dashboard: Side-by-side sequences, color-coded status, drag-and-drop, projected completion times
Test Cases
Integration Points
Cell Phone Shutdown During Active Trip
Handle battery death, operator error, or device failure on the GDL–MZO route (~300km)
Business Context
- VIA relies on phone for GPS tracking, speed monitoring, route instructions, geofencing
- 300km route with challenging topography — battery drain is realistic risk
Technical Requirements
- Offline Detection: Distinguish battery death vs. airplane mode vs. poor coverage. Timeout: 3 missed GPS pings (90 seconds) = offline alert
- Convoy Impact: Auto-assign next unit as leader if lead truck goes offline. Maintain convoy integrity with remaining units. Queue re-instructions for when device comes back
- Recovery Protocol: On device restart → auto-login, sync missed instructions, receive current convoy status, resume GPS tracking in <30 seconds
- Backup Communication: SMS gateway fallback, dispatcher phone call, nearby unit relay
Test Cases
Integration Points
Signal Loss in Tunnels & Mountains
Maintain functionality when cellular signal drops in dead zones (tunnels, mountains, rural areas on GDL–MZO)
Business Context
- GDL–MZO route passes through Sierra Madre mountains, multiple tunnels, rural valleys
- Signal loss is predictable and frequent — not an edge case
Technical Requirements
- Dead Zone Database: Map known dead zones (tunnels, mountain passes, rural stretches). Pre-load route data 50km ahead. Distinguish dead zone vs. phone failure.
- Offline Navigation: 100% functional turn-by-turn without server. Pre-cached map tiles for assigned route. Background GPS continues recording. Queue all data for upload.
- Data Sync Protocol: On reconnect: upload position history, receive instructions, sync convoy status. Progressive backoff: 30s → 1min → 2min → 5min.
- Preemptive Downloads: App downloads next 50km of route data, convoy schedule, emergency contacts. Happens at last known good signal point.
Test Cases
Integration Points
User Training & Onboarding
Role-based training modules, certification, 90-day rollout plan for drivers, planners, dispatchers
Training Modules by Role
- Drivers (4 hrs): App install & registration, trip start flow, navigation & convoy, emergency SOS, what to do if phone dies
- Terminal Planners (8 hrs): Sequence management, priority handling, broadcast messaging, statistics & reporting, disruption management
- Dispatchers (6 hrs): Fleet monitoring, appointment management, driver communication, problem escalation, payment & credits
90-Day Rollout Plan
- Week 1–2: Controlled Pilot — 50 drivers, 1 terminal, 1 gate. Daily feedback sessions.
- Week 3–4: Add second terminal/gate, scale to 200 daily appointments, begin KPI measurement
- Week 5–8: Add remaining gates/terminals, 50% of traffic, launch driver incentives
- Week 9–12: 100% traffic through VIA, mandatory participation, ongoing optimization
Permanent Support
- Help Desk: 24/7 bilingual phone + in-app chat, <2 min response time
- Knowledge Base: 200+ FAQ articles, video library by role, community forum
- Recertification: Annual for drivers, bi-annual for planners, triggered by major updates
Test Cases
Integration Points
Route Management for Road Work & Incidents
Dynamic rerouting for construction, accidents, weather closures, unannounced blockages on GDL–MZO corridor
Data Sources
- Government: SCT road closures, state civil protection alerts, municipal traffic management
- Crowdsourced: Waze API, driver "Report Issue" button, automatic convoy slowdown detection
- Private: HERE Traffic / Google Maps Traffic API, weather services for predictive closures
Route Cancellation Protocol
- Auto triggers: Highway closed (0% capacity), accident >2hr clearance, severe weather warning
- Actions: Halt new convoy departures, dashboard alert, push notifications to en-route trucks
Dynamic Rerouting
- Not departed: Calculate alternatives (e.g., 54 libre vs 54D cuota), new ETA, option to delay vs reroute
- Already en route: Detect affected trucks by position, calculate diversion point, send turn-by-turn reroute
- Manual override: Dispatcher draws custom detour on map, system validates (low bridges, weight limits)
- Historical learning: Track which detours work best, build "known good detours" library, ML prediction by time/day
Test Cases
Integration Points
Real-Time Decision Processing & Compliance Tracking
Process 60,000 GPS updates/hr, split-second routing decisions, compliance monitoring for 500+ active trucks
Data Volume
- 500 active trucks × GPS every 30s = 60,000 position updates/hour
- Plus speed data, app events, alerts — event-driven architecture (Kafka)
- Time-series DB (InfluxDB/TimescaleDB), Redis caching, microservices per domain
Decision Engine
- Multi-variable optimization: destination, cargo type (hazmat separation), appointment windows, driver compliance history, position/speed, priority level
- Speed: Simple decisions <1s, complex reoptimization <10s, emergency reroute <5s
- Transparency: All decisions logged with reasoning, "Why this decision?" explanations on dashboard
Compliance Tracking
- Acknowledgment: Driver must tap to confirm instructions within 60s, escalate to dispatcher if not
- Deviation Detection: Route deviation (>50m), speed deviation (>10 km/h over convoy), timing deviation (>10 min early/late)
- Progressive Enforcement: 1st = warning, 2nd = dispatcher alert, 3rd = trip flagged, patterns = coaching/suspension
Handling Lag & Sync
- Predictive instructions: Issue 5km ahead instead of 2km
- Timestamp validation: Instructions >2 min old = discard + request fresh
- Instruction TTL: Expired instructions not displayed
Test Cases
Integration Points
Priority Unit Management
Designate priority trucks (P0–P3), inject into running sequences, fairness mechanisms, credit points for delayed trucks
Priority Levels
- P0 — Emergency: Life safety, vessel delay risk >$100K
- P1 — High: Commercial urgency, customer SLA risk
- P2 — Medium: Operational efficiency (blocking access / remanejo)
- P3 — Standard Expedite: Makeup for earlier failure
Sequence Insertion Logic
- AI evaluates: trucks delayed (fewer=better), total delay time, yard block proximity, crane availability
- Example: Sequence [A,B,C,D,E] + Priority X near block C → Optimal: [A,B,X,C,D,E] (only C,D,E delayed)
- Manual override: Planner drags to position, system shows impact ("Inserting here delays 4 trucks by avg 8 min")
Fairness Mechanisms
- Max 10% of daily appointments can be priority
- Individual drivers can't be deprioritized >3 times/day
- Priority fees discourage frivolous use
- Credit Points: Delayed trucks earn points, redeemable for future priority treatment or express lanes
Test Cases
Integration Points
Development Priorities
- B — Phone Shutdown
- C — Signal Loss
- E — Route Management
- F — Real-Time Processing
- A — Multi-Sequence Planning
- G — Priority Units
- D — User Training
Brainstorming space for new features, improvements, and future concepts. Ideas classified by VIA module per Feb 21 meeting. Add ideas and they'll be saved in your browser.
AI Voice Notes Pipeline
WhatsApp group for team idea exchange via voice notes → AI transcription → task extraction → classify by module → feed into backlog automatically
Gamification: Driver Leaderboards & Badges
Top performers invited to beta test new features. Patience points for delays, "Certified" badge after training, leaderboards for compliance score, on-time rate
Convoy Slowdown Auto-Detection
If multiple trucks in a convoy slow down simultaneously in the same area, automatically flag as potential obstruction. No driver report needed — system detects it.
Known Good Detours Library
Build a library of detour routes proven to work in practice. ML learns which alternatives are fastest by time-of-day and day-of-week for common blockage points on GDL–MZO.
External Patios (Patios Externos) Module
Track empty container inventory at external yards. Manage pickups, returns, assignments. Coordinate with terminal for slot allocation. malcaraz to send proposals.
Highway Control Module (Control de Autopista)
Dedicated module for monitoring the GDL–MZO corridor: traffic conditions, checkpoints, incidents, route conditions, weather. Separate from terminal operations.
Green Windows & Incentivized Off-Peak
Offer discounted appointment slots during off-peak hours to spread out truck arrivals. Dynamic pricing: cheaper at night/early morning, premium during peak 09:00–12:00.
Biometric Driver Check-in
Facial recognition or fingerprint at gate for driver identity verification. Eliminates ticket fraud. Ties driver to specific appointment and truck.
Predictive Demand Analytics (ML)
Forecast appointment demand by terminal, day, hour using historical patterns + vessel schedules + seasonal trends. Auto-suggest capacity adjustments.
In-Yard Wayfinding (Block/Lane Map)
Once inside terminal, guide truck to exact container location with block/lane/row map. Minimize wrong turns in yard. Show crane position and queue.
Smart Driver-Truck Assignment
Auto-suggest optimal driver–truck pairings based on license type, proximity to pickup point, hours-of-service remaining (NOM-087), and historical on-time rate. Reduces manual dispatcher work.
Cita Credit Balance & Billing Dashboard
Unified view of appointment credits purchased, consumed, refunded, and pending. Auto-alerts when balance drops below configurable threshold. Export factura-ready reports for Mexican fiscal compliance (CFDI).
Offline-First Sync Engine
Dedicated sync layer for the GDL–MZO corridor dead zones (tunnels, mountain passes). Queue mutations locally with conflict resolution, progressive backoff on reconnect, and guaranteed delivery. Critical for Scenarios B & C.
Real-Time Event Bus (GPS + Notifications)
Kafka/Redis Streams pipeline to ingest 60K+ GPS updates/hour, fan out geofence triggers, push notifications, and dashboard updates under 200ms. Backpressure handling for peak hours. Supports Scenario F requirements.
Digital Logbook & NOM-087 Hours Tracker
Automatic driving-time tracking per NOM-087 limits. Alert driver and dispatcher when approaching max hours. Block new cita assignment if driver would exceed legal driving time on arrival. Exportable digital logbook for SCT inspections.
Weight & Dimension Pre-Validation (NOM-012)
Before a loaded truck departs, validate gross weight and dimensions against NOM-012 limits per vehicle configuration. Flag overweight containers before they reach highway checkpoints. Integrates with terminal scale data when available.
Unresolved questions from user flow diagrams and technical planning. Click any question to add your answer. Answers are saved in your browser.
Central index of all VIA project documents, designs, and reference materials. Upload links and descriptions are stored here.
✨ Operational Processes (NEW 2026-02-27)
Complete Operational Processes Documentation
2 Operational Cycles: (1) Container Full Import→Destination (15 steps), (2) Empty Container Return (13 steps). 5 Critical Control Points: Terminal sequencing (GOLD), Empty yard mandate, Speed enforcement, NOM inspections, Burra optimization. Coverage Analysis: 10 actors, 8 key documents, 7 external integrations, feature mapping table (38 pages built vs processes), 13 missing screens prioritized P0/P1/P2. Source: Audio transcriptions via Whisper API.
Audio Transcriptions (Spanish)
Original transcriptions of 2 audio files: (1) vía audio .ogg (8,464 chars) - Empty container return cycle, (2) vía audio 2.ogg (3,314 chars) - Full container pickup cycle. Raw operational knowledge from field expert.
Design & UX
Figma Design System (vIA.pdf)
115-page export of all Figma screens: auth, company dashboard, terminal dashboard, citas, operadores, transportes, usuarios, driver mobile, payments, notifications, voice assistant, SOS emergency
User Flows (FigJam Board)
3 major flow sections: Company Side, Terminal Side, Drivers Side. Includes open questions (pink stickies), connection gaps, and action sequences
Handwritten Wireframes — Terminal Planner
3-page scan: Message Center (4.1), Live Cargo List (4.2), Terminal Map (4.3), MSN Pad (4.5), Statistics (4.6), Planning Module (4.8-4.9)
Handwritten Wireframes — Driver/Operator App
2-page scan: Phone-to-truck link flow, main screen (map, messages, emergency, convoy), message receiving, emergency button
Presentations & Strategy
VIA App — Stakeholder Presentation
22-page deck: problem context, user roles, features overview, tech stack, competitive landscape, roadmap, business model
Video Storyboard (30-second concept)
11-scene illustrated storyboard showing the driver journey: app download → appointment → convoy → gate arrival → completion
Executive Agenda (45-min meeting format)
Structured talking points for executive/political stakeholder presentations. Concise format for decision-makers.
Political One-Pager — Colima Government
"Orden, seguridad y eficiencia para Colima" — positioning narrative for state government stakeholders
Technical & Testing
Technical Context File (via_app_context.md)
275 lines: architecture, APIs, data models, tech stack, integrations, regulatory compliance, KPIs, risks, terminology. The master technical reference.
Test Scenarios Document
7 detailed scenarios (A-G) with 30+ test cases: multi-sequence planning, phone shutdown, signal loss, training, route management, real-time processing, priority units
Cloud Resources
Figma Design File
File key: QjQh5699lx0lhzL5FGK9Xy — Requires Figma desktop app with Claude MCP plugin in Dev Mode for programmatic access
FigJam User Flows Board
File key: 3yT7DvGYBJZnXP06SLwBDl — Company, Terminal, Driver flow diagrams with open questions
Infrastructure & Automation
Via-Dev Intelligence Pipeline (Feb 22, 2026)
n8n workflow Q1xBoqjsUQLmfpqC — AI-powered analysis of Open Questions via Claude Haiku. Runs nightly at 2am CST + manual trigger. Generates Friday Dev Meeting Prep with dev questions, progress notes, risk updates. Server-synced Q&A answers (answers.json), maintenance mode overlay, dashboard state API. ✓ VERIFIED — Nightly trigger tested: maintenance toggle, answer fetch, AI analysis (5 resolved Qs, 5 dev Qs, 5 progress notes, 3 risk updates), dashboard state write all confirmed working (Feb 21, 2026).
Dashboard Backend API Upgrade (Feb 22, 2026)
6 new Flask endpoints: answers CRUD, maintenance mode, dashboard-state, send-to-viadev, trigger-update. Internal API path (/internal-api/) with IP whitelisting (31.97.211.9 + 172.20.0.0/16) for cross-VPS n8n calls. Full deploy script with Docker rebuild. ✓ VERIFIED — All endpoints tested: answer save/load, maintenance toggle, state read/write, send-to-viadev round-trip.
Mission Control Dashboard (this page)
Live at http://via.srv1139900.hstgr.cloud — Hosted on Hostinger VPS, Docker (nginx + Flask API), authenticated access
Dev Environment — AWS
Frontend: Vue 3 + Vite on S3 + CloudFront (d3j14azlal4f7q.cloudfront.net). Backend: ALB (jnet-transport-alb-dev). SSL issue: self-signed cert needs ACM fix.
Meeting Notes
Feb 21, 2026 — malcaraz + Manuel
Confirmed: simplified registration, Agente Aduanal flow, External Patios module, Highway Control module, AI Voice Notes pipeline, biweekly dev reviews. malcaraz to send DCA Planner info + patio proposals.
Agreed data schemas and API contracts. Developers should build against these specifications.
Data Models
API Endpoints — Target Contract
| Method | Endpoint | Purpose | Status | Priority |
|---|---|---|---|---|
| POST | /auth/login | Login (JWT) | Built | P1 |
| POST | /auth/register | Register (multi-step company) | Partial | P1 |
| POST | /auth/reset-password | Password reset flow | Not Built | P1 |
| POST | /auth/verify-email | Email verification | Not Built | P1 |
| APPOINTMENTS | ||||
| GET/POST | /appointments | CRUD + pagination + filters | Partial | P1 |
| PATCH | /appointments/:id/status | Status transitions (pending→in_progress→completed→cancelled) | Not Built | P1 |
| CORE MVP SERVICES | ||||
| GET | /containers/:id/status | Container ready/hold/PIN/yard location | Not Built | P1 |
| GET | /traffic/gates/:gateId/wait-time | Real-time wait + turn time per gate | Not Built | P1 |
| POST | /checkin | Geofence pre-check-in trigger + validation | Not Built | P1 |
| GET | /tickets/:appointmentId/digital | Digital QR ticket + offline fallback | Not Built | P1 |
| WS | /ws/notifications | Real-time push (gate, weather, holds, position) | Not Built | P1 |
| MESSAGING & NOTIFICATIONS | ||||
| POST | /messages | Send message to driver/appointment | Not Built | P1 |
| GET | /messages | Message history (filtered by cita/driver/category) | Not Built | P1 |
| POST | /messages/broadcast | Mensaje de Difusión (bulk to group) | Not Built | P1 |
| MAP & TRACKING | ||||
| GET | /trucks/active | All active truck positions for map | Not Built | P1 |
| WS | /ws/truck-positions | Real-time truck position stream | Not Built | P1 |
| TERMINAL MONITORING | ||||
| GET | /terminals/:id/status | Terminal KPIs + truck counts | Not Built | P1 |
| GET | /terminals/:id/metrics | 3 critical time metrics + history | Not Built | P1 |
| GET | /terminals/:id/throttle-status | Current throttle zone (GREEN/YELLOW/RED) | Not Built | P1 |
| POST | /terminals/:id/throttle-override | Manual throttle override (admin only) | Not Built | P2 |
| EXISTING ENDPOINTS (NEED ENHANCEMENT) | ||||
| GET | /dashboard/stats | Dashboard KPIs | Partial | P1 |
| GET/POST | /operators/with-user | Operators CRUD | Built | P2 |
| GET/POST | /transports | Transports CRUD | Built | P2 |
| GET/POST | /loads | Loads CRUD + block/lane/sequence | Built | P1 |
⚠ Tech Stack Discrepancy
The test environment uses Vue 3 + Vite (deployed on CloudFront), but the original context document specifies React. This needs to be confirmed with the dev team. The backend uses Node.js with JWT (HS256, 24h expiry). Auth: testuser2@gmail.com / Testuser@123 (admin), test123@gmail.com / 12345678 (terminal).
Measurable targets to track VIA's impact. These should be reviewed quarterly with terminal operators and transport companies.
Scenario-Specific KPIs (from Test Scenarios)
Identified risks, their severity, mitigations, and current status. Review and update regularly.
SSL Certificate Broken on ALB
P0 — BLOCKINGSelf-signed cert on AWS ALB blocks all browser access to the API. Users must manually accept cert to use the app.
passwordHash Exposed in API Responses
P0 — SECURITYAPI returns passwordHash in nested user objects. Critical security vulnerability that must be fixed before any public access.
No TOS Integration (Contecon / Hutchison)
HIGHContainer status, yard positions, crane availability, and pre-pick all depend on TOS (Navis N4). Without it, core MVP features can't work with real data.
Intermittent Connectivity in Port/Route
MEDIUMGDL–MZO route has tunnels, mountains, rural dead zones. Port areas have unreliable connectivity. Affects GPS tracking, instructions, check-in.
Different TOS per Terminal
MEDIUMContecon and Hutchison TILH may use different TOS systems. Need to confirm if both are Navis N4 or different.
Driver Adoption Barriers
MEDIUMTruck drivers may resist new technology. Low smartphone literacy, old devices, reluctance to change established routines.
Wait-Time Data Quality
LOWWithout IoT sensors at gates, wait-time data relies on GPS + geofence timestamps which may have margin of error.
Mexican transportation norms that VIA must integrate from the design phase. Compliance monitoring is a key differentiator.
| Norm | Full Name | Scope | VIA Impact | Status |
|---|---|---|---|---|
| NOM-012-SCT-2-2017 | Peso y dimensiones | Maximum weight and dimensions for freight vehicles on federal highways | Validate truck weight/dimensions at gate entry. Flag overweight. Integrate with scale data at gates. | Not Started |
| NOM-087-SCT-2-2017 | Tiempos de conducción | Driving time limits, mandatory rest periods, digital logbook requirements | Track driver hours via GPS. Alert when approaching limit. Mandatory rest stops. Digital logbook integration. | Not Started |
| NOM-015-SCT-2-2009 | Aseguramiento de carga | Cargo securing and stowage requirements for all freight | Pre-gate checklist: verify cargo securing before entry. Photo documentation option. Compliance flag in cita record. | Not Started |
| NOM-033-SCT-2-2011 | Materiales peligrosos | Hazardous materials transport: documentation, labeling, routing restrictions | Flag hazmat citas with special routing. Separation rules in convoy (no hazmat next to food). Gate priority for hazmat. Required documentation check. | Not Started |
Compliance Strategy
Phase 1 (MVP): Basic compliance fields in appointment data (cargo type, weight declaration). Pre-gate checklist screen with compliance items. Flag non-compliant trucks before entry.
Phase 2: Full NOM monitoring with digital logbook integration. Automated driving time tracking per NOM-087. Weight validation from gate scales. Compliance scoring per driver/company.
Audit requirement: Scenario F (Real-Time Processing) specifies "permanent compliance monitoring" — all decisions logged with reasoning for regulatory review.
Spanish and industry-specific terms used throughout the VIA project. Reference for the international development team.
Port & Terminal Operations
| Term | Meaning |
|---|---|
| Remanejo | Moving a container unnecessarily to reach another (re-handling). VIA's primary metric to reduce. |
| Cita | Truck appointment / time slot at the terminal gate |
| Ventana | Time window for gate entry (typically 30-min slots) |
| Pre-turno | Pre-shift: moving container to accessible position before truck arrival |
| PIN | Release code to pick up a container (issued by terminal or shipping line) |
| Hold | Container blocked from release (customs, payment, documentation, etc.) |
| Patio | Terminal yard where containers are stacked |
| TOS | Terminal Operating System (e.g., Navis N4) — manages yard inventory |
| TAS | Truck Appointment System — what VIA is building |
Logistics & Transport
| Term | Meaning |
|---|---|
| Geocerca | Geofence — virtual boundary that triggers actions when crossed |
| Corrida / Convoy | Coordinated group of trucks dispatched together on the same route |
| Transportista | Freight carrier / trucking company |
| Consignatario | Consignee — the cargo receiver |
| Agencia Aduanal | Customs brokerage that handles import/export documentation |
| Ruta Fiscal | The customs/fiscal route trucks must follow between port and destination |
| Motivo | Purpose of the trip: Lleno (full container) or Vacío (empty) |
| DEC | Declaration number from the customs agent |
| Difusión | Broadcast message sent from terminal planner to multiple drivers |
AI-generated developer questions and progress notes based on answered questions and project status. Updated nightly at 2am CST or manually via the Refresh button.
📅
No analysis yet
Click "Refresh Analysis" or wait for the nightly update at 2am CST.