erp-core/docs/08-epicas/README.md

133 lines
4.5 KiB
Markdown

# Epicas - ERP Core
**Version:** 1.0.0
**Fecha:** 2025-12-05
**Proyecto:** ERP Core (Base Reutilizable Multi-Proyecto + SaaS)
---
## Resumen de Epicas
| Fase | Codigo | Nombre | Prioridad | Estado | SP |
|------|--------|--------|-----------|--------|-----|
| 1 | EPIC-MGN-001 | Autenticacion | P0 | Ready | 34 |
| 1 | EPIC-MGN-002 | Usuarios | P0 | Ready | 21 |
| 1 | EPIC-MGN-003 | Roles y Permisos | P0 | Ready | 26 |
| 1 | EPIC-MGN-004 | Multi-Tenancy | P0 | Ready | 21 |
| 2 | EPIC-MGN-005 | Catalogos Maestros | P1 | Backlog | 34 |
| 2 | EPIC-MGN-006 | Configuracion | P1 | Backlog | 13 |
| 2 | EPIC-MGN-010 | Financiero Basico | P1 | Backlog | 55 |
| 2 | EPIC-MGN-011 | Inventario | P1 | Backlog | 42 |
| 2 | EPIC-MGN-012 | Compras | P1 | Backlog | 34 |
| 2 | EPIC-MGN-013 | Ventas | P1 | Backlog | 42 |
| 3 | EPIC-MGN-007 | Auditoria | P2 | Backlog | 13 |
| 3 | EPIC-MGN-008 | Notificaciones | P2 | Backlog | 21 |
| 3 | EPIC-MGN-009 | Reportes | P2 | Backlog | 26 |
| 3 | EPIC-MGN-014 | CRM Basico | P2 | Backlog | 34 |
| 3 | EPIC-MGN-015 | Proyectos | P2 | Backlog | 26 |
| 4 | EPIC-MGN-016 | Billing SaaS | P3 | Backlog | 42 |
| 4 | EPIC-MGN-017 | Payments POS | P3 | Backlog | 34 |
| 4 | EPIC-MGN-018 | WhatsApp Business | P3 | Backlog | 42 |
| 4 | EPIC-MGN-019 | AI Agents | P3 | Backlog | 55 |
**Total Story Points:** 615 SP
---
## Fases de Implementacion
### Fase 1: Foundation (P0) - 102 SP
Modulos criticos sin los cuales el sistema no funciona.
- [EPIC-MGN-001](./EPIC-MGN-001-auth.md) - Autenticacion
- [EPIC-MGN-002](./EPIC-MGN-002-users.md) - Usuarios
- [EPIC-MGN-003](./EPIC-MGN-003-roles.md) - Roles y Permisos
- [EPIC-MGN-004](./EPIC-MGN-004-tenants.md) - Multi-Tenancy
### Fase 2: Core Business (P1) - 220 SP
Modulos de negocio esenciales para operacion.
- [EPIC-MGN-005](./EPIC-MGN-005-catalogs.md) - Catalogos Maestros
- [EPIC-MGN-006](./EPIC-MGN-006-settings.md) - Configuracion
- [EPIC-MGN-010](./EPIC-MGN-010-financial.md) - Financiero Basico
- [EPIC-MGN-011](./EPIC-MGN-011-inventory.md) - Inventario
- [EPIC-MGN-012](./EPIC-MGN-012-purchasing.md) - Compras
- [EPIC-MGN-013](./EPIC-MGN-013-sales.md) - Ventas
### Fase 3: Extended (P2) - 120 SP
Funcionalidades extendidas y complementarias.
- [EPIC-MGN-007](./EPIC-MGN-007-audit.md) - Auditoria
- [EPIC-MGN-008](./EPIC-MGN-008-notifications.md) - Notificaciones
- [EPIC-MGN-009](./EPIC-MGN-009-reports.md) - Reportes
- [EPIC-MGN-014](./EPIC-MGN-014-crm.md) - CRM Basico
- [EPIC-MGN-015](./EPIC-MGN-015-projects.md) - Proyectos
### Fase 4: SaaS Platform (P3) - 173 SP
Modulos avanzados para plataforma SaaS.
- [EPIC-MGN-016](./EPIC-MGN-016-billing.md) - Billing SaaS
- [EPIC-MGN-017](./EPIC-MGN-017-payments.md) - Payments POS
- [EPIC-MGN-018](./EPIC-MGN-018-whatsapp.md) - WhatsApp Business
- [EPIC-MGN-019](./EPIC-MGN-019-ai-agents.md) - AI Agents
---
## Dependencias entre Epicas
```
Fase 1 (Foundation)
├── EPIC-MGN-001 Auth (base)
│ ├── EPIC-MGN-002 Users
│ │ └── EPIC-MGN-003 Roles
│ └── EPIC-MGN-004 Tenants
Fase 2 (Core Business)
├── EPIC-MGN-005 Catalogs (depende de MGN-004)
│ ├── EPIC-MGN-010 Financial
│ ├── EPIC-MGN-011 Inventory
│ │ ├── EPIC-MGN-012 Purchasing
│ │ └── EPIC-MGN-013 Sales
└── EPIC-MGN-006 Settings (depende de MGN-004)
Fase 3 (Extended)
├── EPIC-MGN-007 Audit (depende de MGN-001, MGN-004)
├── EPIC-MGN-008 Notifications (depende de MGN-002)
├── EPIC-MGN-009 Reports (depende de MGN-004)
├── EPIC-MGN-014 CRM (depende de MGN-005)
└── EPIC-MGN-015 Projects (depende de MGN-002, MGN-005)
Fase 4 (SaaS Platform)
├── EPIC-MGN-016 Billing (depende de MGN-004)
│ ├── EPIC-MGN-017 Payments (depende de MGN-010)
│ └── EPIC-MGN-018 WhatsApp (depende de MGN-005)
│ └── EPIC-MGN-019 AI Agents
```
---
## Convenciones
### Nomenclatura
- **Epica:** EPIC-MGN-{NNN}-{nombre}
- **Historia:** US-MGN{NNN}-{NNN}
- **Tarea DB:** DB-MGN{NNN}-{NNN}
- **Tarea Backend:** BE-MGN{NNN}-{NNN}
- **Tarea Frontend:** FE-MGN{NNN}-{NNN}
### Story Points (Fibonacci)
| SP | Complejidad | Duracion Aprox |
|----|-------------|----------------|
| 1 | Trivial | < 2h |
| 2 | Simple | 2-4h |
| 3 | Moderada | 4-8h |
| 5 | Media | 1-2 dias |
| 8 | Alta | 2-3 dias |
| 13 | Muy Alta | 3-5 dias |
| 21 | Epica pequena | 1 semana |
---
*Ultima actualizacion: 2025-12-05*
*Agente: Requirements-Analyst*