workspace/projects/erp-suite/orchestration/inventarios/SUITE_MASTER_INVENTORY.yml
rckrdmrd 2781837d9e feat: Add SaaS products architecture and alignment analysis
Analysis and Documentation:
- Add ANALISIS-ALINEACION-WORKSPACE-2025-12-08.md with comprehensive gap analysis
- Document SIMCO v3.2 system with 20+ directives
- Identify alignment gaps between orchestration and projects

New SaaS Products Structure:
- Create apps/products/pos-micro/ - Ultra basic POS (~100 MXN/month)
  - Target: Mexican informal market (street vendors, small stores)
  - Features: Offline-first PWA, WhatsApp bot, minimal DB (~10 tables)
- Create apps/products/erp-basico/ - Austere ERP (~300-500 MXN/month)
  - Target: SMBs needing full ERP without complexity
  - Features: Inherits from erp-core, modular pricing

SaaS Layer:
- Create apps/saas/ structure (billing, portal, admin, onboarding)
- Add README.md and CONTEXTO-SAAS.md documentation

Vertical Alignment:
- Verify HERENCIA-ERP-CORE.md exists in all verticals
- Add HERENCIA-SPECS-CORE.md to verticals
- Update orchestration inventories

Updates:
- Update WORKSPACE-STATUS.md with new products and analysis
- Update suite inventories with new structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-08 11:34:35 -06:00

423 lines
12 KiB
YAML

# Suite Master Inventory - ERP Suite
# Ultima actualizacion: 2025-12-08
# SSOT para metricas de toda la suite (core + verticales)
# Sistema: SIMCO v2.2.0
# Nivel: 2B (Suite Master)
suite:
nombre: ERP Suite
tipo: Multi-Vertical Suite
version: 0.6.0
nivel: 2B
estado: En Desarrollo
ultima_modificacion: 2025-12-08
# Inventarios de este nivel
inventarios_suite:
- SUITE_MASTER_INVENTORY.yml # Este archivo
- STATUS.yml # Estado de componentes
- REFERENCIAS.yml # Referencias cruzadas
- BACKEND_CONSOLIDATED.yml # Consolidado backend (referencia)
- FRONTEND_CONSOLIDATED.yml # Consolidado frontend (referencia)
- DEPENDENCY_SUITE.yml # Dependencias inter-proyecto
# ============================================================================
# ERP CORE (Nivel 2B.1) - PROYECTO PADRE
# ============================================================================
erp_core:
path: apps/erp-core/
nivel: 2B.1
estado: DATABASE_COMPLETO
version: 1.1.0
ultima_modificacion: 2025-12-08
# Estado de capas
capas:
documentacion:
estado: COMPLETA
archivos: 680+
especificaciones: 30
workflows: 3
database:
estado: VALIDADO
tablas: 124
schemas: 12
ddl_archivos: 15
carga_limpia: EXITOSA
fecha_validacion: 2025-12-08
backend:
estado: PENDIENTE
endpoints_especificados: 148
services_especificados: 45+
frontend:
estado: PENDIENTE
componentes_especificados: 80+
# Inventarios del core (6 archivos estándar)
inventarios:
- MASTER_INVENTORY.yml
- DATABASE_INVENTORY.yml
- BACKEND_INVENTORY.yml
- FRONTEND_INVENTORY.yml
- DEPENDENCY_GRAPH.yml
- TRACEABILITY_MATRIX.yml
ubicacion: apps/erp-core/orchestration/inventarios/
# Métricas de documentación
metricas:
modulos_totales: 15
modulos_p0: 4
modulos_p1: 6
modulos_p2: 5
gap_analysis_cobertura: "100%"
story_points_cubiertos: 394
# Especificaciones que heredan las verticales
especificaciones_heredables:
ubicacion: docs/04-modelado/especificaciones-tecnicas/transversal/
total: 30
lista_principales:
- SPEC-VALORACION-INVENTARIO.md
- SPEC-TRAZABILIDAD-LOTES-SERIES.md
- SPEC-INVENTARIOS-CICLICOS.md
- SPEC-MAIL-THREAD-TRACKING.md
- SPEC-TAREAS-RECURRENTES.md
- SPEC-PROYECTOS-DEPENDENCIAS-BURNDOWN.md
- SPEC-INTEGRACION-CALENDAR.md
- SPEC-PRICING-RULES.md
- SPEC-RRHH-EVALUACIONES-SKILLS.md
referencias:
inventario_local: apps/erp-core/orchestration/inventarios/MASTER_INVENTORY.yml
analisis_gaps: apps/erp-core/orchestration/01-analisis/ANALISIS-GAPS-CONSOLIDADO.md
database_readme: apps/erp-core/database/README.md
# ============================================================================
# VERTICALES (Nivel 2B.2) - PROYECTOS HIJOS
# ============================================================================
verticales:
total: 5
en_desarrollo: 1
ddl_implementado: 1
planificacion: 3
# Inventarios estándar que debe tener cada vertical
inventarios_requeridos:
- MASTER_INVENTORY.yml
- DATABASE_INVENTORY.yml
- BACKEND_INVENTORY.yml
- FRONTEND_INVENTORY.yml
- DEPENDENCY_GRAPH.yml
- TRACEABILITY_MATRIX.yml
lista:
# -------------------------------------------------------------------------
# CONSTRUCCION - Vertical más avanzada
# -------------------------------------------------------------------------
- nombre: construccion
path: apps/verticales/construccion/
nivel: 2B.2
estado: EN_DESARROLLO
completitud: 40%
ultima_modificacion: 2025-12-08
capas:
documentacion:
estado: AVANZADA
archivos: 449
database:
estado: DDL_COMPLETO
tablas_heredadas: 124
tablas_especificas: 33
schemas: [construccion, hr, hse]
backend:
estado: EN_PROGRESO
porcentaje: 15%
entities: 12
services: 2
controllers: 2
frontend:
estado: INICIAL
porcentaje: 2%
herencia_core:
specs_heredadas: 6
documento: database/HERENCIA-ERP-CORE.md
lista:
- SPEC-PROYECTOS-DEPENDENCIAS-BURNDOWN.md
- SPEC-MAIL-THREAD-TRACKING.md
- SPEC-WIZARD-TRANSIENT-MODEL.md
- SPEC-VALORACION-INVENTARIO.md
- SPEC-TRAZABILIDAD-LOTES-SERIES.md
- SPEC-TAREAS-RECURRENTES.md
directivas_especificas:
- DIRECTIVA-CONTROL-OBRA.md
- DIRECTIVA-ESTIMACIONES.md
- DIRECTIVA-INTEGRACION-INFONAVIT.md
inventarios_ubicacion: orchestration/inventarios/
# -------------------------------------------------------------------------
# MECANICAS-DIESEL
# -------------------------------------------------------------------------
- nombre: mecanicas-diesel
path: apps/verticales/mecanicas-diesel/
nivel: 2B.2
estado: DDL_IMPLEMENTADO
completitud: 20%
ultima_modificacion: 2025-12-08
capas:
documentacion:
estado: COMPLETA
archivos: 75
database:
estado: DDL_DEFINIDO
tablas_heredadas: 97
tablas_especificas: 30+
schemas: [service_management, parts_management, vehicle_management]
lineas_sql: 1561
backend:
estado: PENDIENTE
porcentaje: 0%
frontend:
estado: PENDIENTE
porcentaje: 0%
herencia_core:
specs_heredadas: 5
documento: database/HERENCIA-ERP-CORE.md
lista:
- SPEC-VALORACION-INVENTARIO.md
- SPEC-TRAZABILIDAD-LOTES-SERIES.md
- SPEC-INVENTARIOS-CICLICOS.md
- SPEC-MAIL-THREAD-TRACKING.md
- SPEC-TAREAS-RECURRENTES.md
directivas_especificas:
- DIRECTIVA-ORDENES-TRABAJO.md
- DIRECTIVA-INVENTARIO-REFACCIONES.md
inventarios_ubicacion: orchestration/inventarios/
# -------------------------------------------------------------------------
# VIDRIO-TEMPLADO
# -------------------------------------------------------------------------
- nombre: vidrio-templado
path: apps/verticales/vidrio-templado/
nivel: 2B.2
estado: PLANIFICACION_COMPLETA
completitud: 15%
ultima_modificacion: 2025-12-08
capas:
documentacion:
estado: ESTRUCTURA_BASE
database:
estado: PLANIFICADO
backend:
estado: PENDIENTE
frontend:
estado: PENDIENTE
herencia_core:
specs_heredadas: 3
lista:
- SPEC-VALORACION-INVENTARIO.md
- SPEC-TRAZABILIDAD-LOTES-SERIES.md
- SPEC-INVENTARIOS-CICLICOS.md
directivas_especificas:
- DIRECTIVA-PRODUCCION-VIDRIO.md
- DIRECTIVA-CONTROL-CALIDAD.md
inventarios_ubicacion: orchestration/inventarios/
# -------------------------------------------------------------------------
# RETAIL
# -------------------------------------------------------------------------
- nombre: retail
path: apps/verticales/retail/
nivel: 2B.2
estado: PLANIFICACION_COMPLETA
completitud: 15%
ultima_modificacion: 2025-12-08
capas:
documentacion:
estado: ESTRUCTURA_BASE
database:
estado: PLANIFICADO
backend:
estado: PENDIENTE
frontend:
estado: PENDIENTE
herencia_core:
specs_heredadas: 3
lista:
- SPEC-PRICING-RULES.md
- SPEC-INVENTARIOS-CICLICOS.md
- SPEC-TRAZABILIDAD-LOTES-SERIES.md
directivas_especificas:
- DIRECTIVA-PUNTO-VENTA.md
- DIRECTIVA-INVENTARIO-SUCURSALES.md
inventarios_ubicacion: orchestration/inventarios/
# -------------------------------------------------------------------------
# CLINICAS
# -------------------------------------------------------------------------
- nombre: clinicas
path: apps/verticales/clinicas/
nivel: 2B.2
estado: PLANIFICACION_COMPLETA
completitud: 15%
ultima_modificacion: 2025-12-08
capas:
documentacion:
estado: ESTRUCTURA_BASE
database:
estado: PLANIFICADO
backend:
estado: PENDIENTE
frontend:
estado: PENDIENTE
herencia_core:
specs_heredadas: 3
lista:
- SPEC-RRHH-EVALUACIONES-SKILLS.md
- SPEC-INTEGRACION-CALENDAR.md
- SPEC-MAIL-THREAD-TRACKING.md
directivas_especificas:
- DIRECTIVA-EXPEDIENTE-CLINICO.md
- DIRECTIVA-GESTION-CITAS.md
inventarios_ubicacion: orchestration/inventarios/
# ============================================================================
# SHARED LIBS (Futuro)
# ============================================================================
shared_libs:
path: apps/shared-libs/
nivel: 2B.3
estado: PLANIFICADO
documentacion: PENDIENTE
proposito: "Componentes compartidos entre verticales"
# ============================================================================
# SAAS LAYER (Futuro)
# ============================================================================
saas:
path: apps/saas/
nivel: 2B.4
estado: PLANIFICADO
documentacion: PENDIENTE
proposito: "Capa de servicios multi-tenant cloud"
# ============================================================================
# METRICAS CONSOLIDADAS DE LA SUITE
# ============================================================================
metricas_suite:
fecha_actualizacion: 2025-12-08
documentacion:
total_archivos: 1200+
core: 680+
verticales: 520+
database:
tablas_core: 124
schemas_core: 12
verticales_con_ddl: 2
tablas_especificas_total: 63+ # construccion(33) + mecanicas(30+)
backend:
core_implementado: 0%
construccion_implementado: 15%
entities_totales: 12
services_totales: 2
controllers_totales: 2
frontend:
core_implementado: 0%
construccion_implementado: 2%
cobertura:
gap_analysis_core: "100%"
story_points_cubiertos: 734
specs_transversales: 30
workflows: 3
# ============================================================================
# PROPAGACION SIMCO
# ============================================================================
propagacion:
sistema: SIMCO v2.2.0
niveles:
- nivel: 2B
nombre: Suite Master
ubicacion: orchestration/inventarios/
archivos: [SUITE_MASTER_INVENTORY.yml, STATUS.yml, REFERENCIAS.yml]
- nivel: 2B.1
nombre: ERP Core
ubicacion: apps/erp-core/orchestration/inventarios/
archivos: 6 # Inventarios estándar
- nivel: 2B.2
nombre: Verticales
ubicacion: apps/verticales/*/orchestration/inventarios/
archivos: 6 # Inventarios estándar por vertical
verticales: 5
herencia:
direccion: "Core -> Verticales"
documento_base: "HERENCIA-ERP-CORE.md"
specs_heredables: 30
propagacion_completada: true
fecha_propagacion: 2025-12-08
validacion:
inventarios_completos: true
directivas_propagadas: true
herencia_documentada: true
status_sincronizado: true
# ============================================================================
# PROXIMAS ACCIONES SUITE
# ============================================================================
proximas_acciones:
prioridad_1:
descripcion: "Completar backend construcción"
modulos: [MAI-001, MAI-002, MAI-003]
porcentaje_actual: 15%
porcentaje_objetivo: 50%
prioridad_2:
descripcion: "Cargar DDL mecanicas-diesel"
prerequisito: "Validar DDL contra core"
estado: PENDIENTE
prioridad_3:
descripcion: "Iniciar DDL para verticales restantes"
verticales: [vidrio-templado, retail, clinicas]
# ============================================================================
# REFERENCIAS CRUZADAS
# ============================================================================
referencias:
status_global: orchestration/inventarios/STATUS.yml
referencias_herencia: orchestration/inventarios/REFERENCIAS.yml
core_master: apps/erp-core/orchestration/inventarios/MASTER_INVENTORY.yml
core_database: apps/erp-core/database/README.md
guidelines: orchestration/00-guidelines/