# HERENCIA SIMCO - Template SaaS **Proyecto:** template-saas **Tipo:** STANDALONE **Version SIMCO:** 3.4 --- ## Directivas Heredadas del Workspace Este proyecto hereda las siguientes directivas SIMCO del workspace-v1: ### Directivas de Estructura (SIMCO-ESTRUCTURA) | Directiva | Ubicacion | Aplicacion | |-----------|-----------|------------| | SIMCO-ESTRUCTURA-REPOS | `orchestration/directivas/simco/` | Estructura de carpetas | | SIMCO-NIVELES | `orchestration/directivas/simco/` | Nivel STANDALONE | | SIMCO-MODULOS-COMPARTIDOS | `orchestration/directivas/simco/` | Uso de shared/ | ### Directivas de Tarea (SIMCO-TAREA) | Directiva | Aplicacion | |-----------|------------| | SIMCO-TAREA | Ejecucion de tareas por agentes | | SIMCO-BUSCAR | Busqueda en codebase | | SIMCO-CREAR | Creacion de nuevos archivos | | SIMCO-CONTRIBUIR-CATALOGO | Contribuciones a shared/catalog | ### Directivas de Contexto | Directiva | Aplicacion | |-----------|------------| | SIMCO-CONTEXT-RESOLUTION | Resolucion de contexto de proyecto | | DIRECTIVA-CARGA-CONTEXTO | Carga de contexto en sesiones | --- ## Configuracion Especifica ### Variables del Proyecto ```yaml PROJECT_ID: template-saas PROJECT_TYPE: standalone PROJECT_CATEGORY: saas SIMCO_LEVEL: 0 (template/referencia) ``` ### Aplicacion de SIMCO-NIVELES Como proyecto STANDALONE de tipo TEMPLATE: 1. **Auto-contenido** - No depende de otros proyectos 2. **Referencia** - Sirve como base para nuevos proyectos SaaS 3. **Catalogo** - Contribuye patrones a `shared/catalog/` --- ## Integracion con shared/ ### Uso de shared/catalog ```yaml catalogo_consumido: - auth (patrones de autenticacion) - multi-tenancy (RLS patterns) - billing (Stripe integration) - notifications (templates) catalogo_contribuido: - template-saas (todo el proyecto como template) ``` ### Uso de shared/knowledge-base ```yaml knowledge_base: - patterns/PATRON-RLS-POLICIES.md - patterns/PATRON-MULTI-TENANT.md - architecture/PATRON-SAAS.md ``` --- ## Agentes Aplicables ### Agentes Primarios | Agente | Responsabilidad | |--------|-----------------| | Database-Agent | DDL, RLS, migraciones | | Backend-Agent | Modulos NestJS/Express | | Frontend-Agent | Portales React | | DevOps-Agent | Docker, CI/CD | ### Agentes Secundarios | Agente | Responsabilidad | |--------|-----------------| | Security-Auditor | Revision de seguridad | | Testing-Agent | Tests unitarios e integracion | | Requirements-Analyst | Documentacion de specs | --- ## Propagacion ### Origen Este template recibe patrones de: - `projects/gamilit` - Arquitectura multi-tenant - `projects/erp-core` - Patrones de modulos ### Destino Este template propaga a: - Nuevos proyectos SaaS creados en el workspace - `shared/catalog/template-saas/` - Referencia en catalogo --- ## Referencias - SIMCO Index: `workspace-v1/orchestration/directivas/simco/_INDEX.md` - Aliases: `workspace-v1/orchestration/referencias/ALIASES.yml` - Contexto: `CONTEXTO-PROYECTO.md` --- **Actualizado:** 2026-01-07