Cambios incluidos: - INDICE-DIRECTIVAS-WORKSPACE.yml actualizado - Perfiles de agentes: PERFIL-ML.md, PERFIL-SECURITY.md - Directivas SIMCO actualizadas: - SIMCO-ASIGNACION-PERFILES.md - SIMCO-CCA-SUBAGENTE.md - SIMCO-CONTEXT-ENGINEERING.md - SIMCO-CONTEXT-RESOLUTION.md - SIMCO-DELEGACION-PARALELA.md - Inventarios actualizados: DEVENV-MASTER, DEVENV-PORTS - Documentos de analisis agregados: - Analisis y planes de fix student portal - Analisis scripts BD - Analisis achievements, duplicados, gamification - Auditoria documentacion gamilit - Backlog discrepancias NEXUS - Planes maestros de resolucion - Reportes de ejecucion agregados - Knowledge base gamilit README actualizado - Referencia submodulo gamilit actualizada (commit beb94f7) Validaciones: - Plan validado contra directivas SIMCO-GIT - Dependencias verificadas - Build gamilit: EXITOSO
62 lines
1.6 KiB
Markdown
62 lines
1.6 KiB
Markdown
# Proyecto Gamilit - Knowledge Base
|
|
|
|
**Categoria:** Projects
|
|
**Proyecto:** gamilit
|
|
**Estado:** En producción (85%)
|
|
**Fecha:** 2026-01-07
|
|
|
|
---
|
|
|
|
## Descripcion
|
|
|
|
Plataforma educativa gamificada con sistema de progreso, logros y elementos sociales.
|
|
|
|
## Arquitectura
|
|
|
|
```
|
|
gamilit/
|
|
├── backend/ # NestJS API
|
|
├── frontend/ # React SPA
|
|
├── database/ # PostgreSQL schemas
|
|
└── orchestration/ # Sistema NEXUS
|
|
```
|
|
|
|
## Tecnologias
|
|
|
|
| Componente | Tecnologia |
|
|
|------------|------------|
|
|
| Backend | NestJS + TypeORM |
|
|
| Frontend | React + Zustand |
|
|
| Database | PostgreSQL 16+ |
|
|
| Auth | JWT + Sessions |
|
|
| Real-time | Socket.io |
|
|
|
|
## Patrones Reutilizables
|
|
|
|
Los siguientes patrones fueron extraidos de gamilit al catalogo:
|
|
|
|
| Patron | Ubicacion Catalogo |
|
|
|--------|-------------------|
|
|
| Auth + Sessions | `shared/catalog/auth/` |
|
|
| Multi-tenancy | `shared/catalog/multi-tenancy/` |
|
|
| Notifications | `shared/catalog/notifications/` |
|
|
| Rate Limiting | `shared/catalog/rate-limiting/` |
|
|
| Feature Flags | `shared/catalog/feature-flags/` |
|
|
|
|
## Lecciones Aprendidas
|
|
|
|
1. **Gamificacion**: Sistema de puntos y logros requiere transacciones atomicas
|
|
2. **Progress Tracking**: Calcular progreso en tiempo real es costoso, usar cache
|
|
3. **Social Features**: Implementar feeds con paginacion cursor-based
|
|
4. **Multi-tenant**: RLS es esencial para aislamiento de instituciones
|
|
|
|
## Referencias
|
|
|
|
- Proyecto: `projects/gamilit/`
|
|
- Legacy: `shared/knowledge-base/reference/erp-inmobiliaria-legacy/gamilit/`
|
|
- Catalogo: `shared/catalog/` (modulos extraidos)
|
|
|
|
---
|
|
|
|
*Knowledge Base - Workspace v1*
|