erp-transportistas-v2/orchestration/DEPENDENCY-GRAPH.yml
Adrian Flores Cortes 37ed0aa919 feat: Initial project structure for ERP Transportistas
Vertical ERP for freight transport and logistics companies.

Includes:
- Project configuration (CLAUDE.md, SIMCO orchestration)
- Backend submodule (NestJS 10.x)
- Frontend submodule (React 18.x + Vite)
- Database submodule (PostgreSQL 15 + PostGIS)
- Requirements documentation (REQ-GIRO-TRANSPORTISTA.md)
- 20 modules defined (MAI/MAE/MAA phases)

Key features:
- Transport orders (OT) management
- Fleet and driver management
- Real-time GPS tracking
- POD (Proof of Delivery)
- CFDI with Carta Porte 3.1 compliance
- Fuel and maintenance control
- Third-party carrier management

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 09:53:54 -06:00

244 lines
7.6 KiB
YAML

# DEPENDENCY-GRAPH.yml - ERP Transportistas
# Grafo de dependencias entre modulos
# Sistema SIMCO v4.0.0
version: "1.0.0"
project: "erp-transportistas"
updated: "2026-01-25"
# ═══════════════════════════════════════════════════════════════════════════════
# DEPENDENCIAS DE MODULOS
# ═══════════════════════════════════════════════════════════════════════════════
modules:
# ─────────────────────────────────────────────────────────────────────────────
# FASE 1 - MAI (Modulo Aplicacion Inicial)
# ─────────────────────────────────────────────────────────────────────────────
MAI-002:
name: "Clientes y Tarifas"
depends_on: []
blocks: ["MAI-003"]
priority: 1
critical_path: true
MAI-003:
name: "Ordenes de Transporte"
depends_on: ["MAI-002"]
blocks: ["MAI-004", "MAI-014"]
priority: 1
critical_path: true
MAI-004:
name: "Planeacion TMS"
depends_on: ["MAI-003"]
blocks: ["MAI-005", "MAA-019"]
priority: 2
critical_path: true
MAI-005:
name: "Despacho"
depends_on: ["MAI-004", "MAI-011"]
blocks: ["MAI-006"]
priority: 2
critical_path: true
MAI-006:
name: "Tracking"
depends_on: ["MAI-005"]
blocks: ["MAI-007", "MAI-008", "MAI-015"]
priority: 3
critical_path: true
MAI-007:
name: "POD y Cierre"
depends_on: ["MAI-006"]
blocks: ["MAI-009", "MAI-010", "MAI-015", "MAE-018"]
priority: 3
critical_path: true
MAI-008:
name: "Incidencias"
depends_on: ["MAI-006"]
blocks: []
priority: 4
critical_path: false
MAI-009:
name: "Facturacion Transporte"
depends_on: ["MAI-007"]
blocks: ["MAE-016"]
priority: 4
critical_path: true
MAI-010:
name: "Liquidaciones"
depends_on: ["MAI-007"]
blocks: []
priority: 5
critical_path: false
MAI-011:
name: "Gestion de Flota"
depends_on: []
blocks: ["MAI-005", "MAI-012", "MAI-013", "MAE-017"]
priority: 1
critical_path: true
MAI-012:
name: "Combustible y Gastos"
depends_on: ["MAI-011"]
blocks: []
priority: 4
critical_path: false
MAI-013:
name: "Mantenimiento Flota"
depends_on: ["MAI-011"]
blocks: []
priority: 4
critical_path: false
MAI-014:
name: "Carriers (Terceros)"
depends_on: ["MAI-003"]
blocks: []
priority: 5
critical_path: false
MAI-015:
name: "Portal Cliente"
depends_on: ["MAI-006", "MAI-007"]
blocks: []
priority: 6
critical_path: false
# ─────────────────────────────────────────────────────────────────────────────
# FASE 2 - MAE (Modulo Aplicacion Extendido)
# ─────────────────────────────────────────────────────────────────────────────
MAE-016:
name: "Carta Porte CFDI"
depends_on: ["MAI-009"]
blocks: []
priority: 3
critical_path: true
compliance: true
MAE-017:
name: "HOS y Bitacora"
depends_on: ["MAI-011"]
blocks: []
priority: 5
critical_path: false
compliance: true
MAE-018:
name: "Reportes y KPIs"
depends_on: ["MAI-007"]
blocks: []
priority: 6
critical_path: false
# ─────────────────────────────────────────────────────────────────────────────
# FASE 3 - MAA (Modulo Aplicacion Avanzado)
# ─────────────────────────────────────────────────────────────────────────────
MAA-019:
name: "Optimizacion Rutas"
depends_on: ["MAI-004"]
blocks: []
priority: 7
critical_path: false
MAA-020:
name: "Integraciones EDI"
depends_on: ["MAI-003"]
blocks: []
priority: 7
critical_path: false
# ═══════════════════════════════════════════════════════════════════════════════
# CAMINO CRITICO
# ═══════════════════════════════════════════════════════════════════════════════
critical_path:
sequence:
- MAI-002 # Clientes y Tarifas
- MAI-011 # Gestion de Flota (paralelo)
- MAI-003 # Ordenes de Transporte
- MAI-004 # Planeacion TMS
- MAI-005 # Despacho
- MAI-006 # Tracking
- MAI-007 # POD y Cierre
- MAI-009 # Facturacion Transporte
- MAE-016 # Carta Porte CFDI
mvp_minimum:
- MAI-002
- MAI-003
- MAI-011
- MAI-005
- MAI-006
- MAI-007
- MAI-009
- MAE-016
# ═══════════════════════════════════════════════════════════════════════════════
# GRUPOS DE IMPLEMENTACION
# ═══════════════════════════════════════════════════════════════════════════════
implementation_groups:
sprint_1:
name: "Fundamentos"
modules: ["MAI-002", "MAI-011"]
goal: "Clientes, tarifas y flota"
sprint_2:
name: "Core Transporte"
modules: ["MAI-003", "MAI-004"]
goal: "OT y planeacion"
sprint_3:
name: "Ejecucion"
modules: ["MAI-005", "MAI-006"]
goal: "Despacho y tracking"
sprint_4:
name: "Cierre"
modules: ["MAI-007", "MAI-009"]
goal: "POD y facturacion"
sprint_5:
name: "Compliance"
modules: ["MAE-016"]
goal: "Carta Porte"
sprint_6:
name: "Costos"
modules: ["MAI-012", "MAI-013"]
goal: "Combustible y mantenimiento"
sprint_7:
name: "Avanzado"
modules: ["MAI-008", "MAI-010", "MAI-014"]
goal: "Incidencias, liquidaciones, carriers"
sprint_8:
name: "Portal"
modules: ["MAI-015", "MAE-018"]
goal: "Portal cliente y reportes"
# ═══════════════════════════════════════════════════════════════════════════════
# METADATA
# ═══════════════════════════════════════════════════════════════════════════════
metadata:
created_by: "META-ORQUESTADOR"
created_at: "2026-01-25"
total_modules: 20
critical_modules: 9
compliance_modules: 2