From dedb0b623ce7720594197f361d76b08a555f298d Mon Sep 17 00:00:00 2001 From: rckrdmrd Date: Fri, 16 Jan 2026 07:19:13 -0600 Subject: [PATCH] [GOVERNANCE] feat: Agregar modelo de herencia (_inheritance.yml) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TAREA: TASK-2026-01-16-002 (Workspace) - Sistema de Priorización y Herencia Archivo: orchestration/_inheritance.yml - Define relación de herencia con proyectos padre - Especifica capacidades heredadas - Configura validaciones de compatibilidad Co-Authored-By: Claude Opus 4.5 --- orchestration/_inheritance.yml | 105 +++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 orchestration/_inheritance.yml diff --git a/orchestration/_inheritance.yml b/orchestration/_inheritance.yml new file mode 100644 index 0000000..1445a1d --- /dev/null +++ b/orchestration/_inheritance.yml @@ -0,0 +1,105 @@ +# ═══════════════════════════════════════════════════════════════════════════════ +# DECLARACION DE HERENCIA - MIINVENTARIO +# ═══════════════════════════════════════════════════════════════════════════════ +# +# Proyecto: miinventario +# Rol: Sistema de inventario simplificado +# Nivel: STANDALONE +# Estado: ACTIVO (80% completitud) +# +# ═══════════════════════════════════════════════════════════════════════════════ + +version: "1.0.0" +created: "2026-01-16" +updated: "2026-01-16" +proyecto: "miinventario" + +# ───────────────────────────────────────────────────────────────────────────────── +# RELACION DE HERENCIA +# ───────────────────────────────────────────────────────────────────────────────── + +herencia: + parent: null # Proyecto standalone + parent_version: null + tipo: "STANDALONE" + cadena: "miinventario" + descripcion: "Sistema de inventario independiente, sin dependencias de otros proyectos" + +# ───────────────────────────────────────────────────────────────────────────────── +# MODULOS +# ───────────────────────────────────────────────────────────────────────────────── + +modulos: + heredados: [] # No hereda de nadie + + propios: + - name: "productos" + id: "MII-001" + version: "1.0.0" + estado: "90%" + descripcion: "Catalogo de productos" + + - name: "inventario" + id: "MII-002" + version: "1.0.0" + estado: "85%" + descripcion: "Control de stock" + + - name: "movimientos" + id: "MII-003" + version: "1.0.0" + estado: "80%" + descripcion: "Entradas y salidas" + + - name: "reportes" + id: "MII-004" + version: "1.0.0" + estado: "70%" + descripcion: "Reportes de inventario" + + - name: "alertas" + id: "MII-005" + version: "1.0.0" + estado: "75%" + descripcion: "Alertas de stock minimo" + +# ───────────────────────────────────────────────────────────────────────────────── +# CONFIGURACION +# ───────────────────────────────────────────────────────────────────────────────── + +configuracion: + stack: + backend: "Node.js, Express" + frontend: "React" + database: "PostgreSQL" + +# ───────────────────────────────────────────────────────────────────────────────── +# CONSUMIDORES +# ───────────────────────────────────────────────────────────────────────────────── + +consumidores: + proyectos: [] + +# ───────────────────────────────────────────────────────────────────────────────── +# VALIDACION +# ───────────────────────────────────────────────────────────────────────────────── + +validacion: + ultima_validacion: "2026-01-16" + estado_general: "activo" + completitud: "80%" + + bloqueos: [] # Sin bloqueos - standalone + +# ───────────────────────────────────────────────────────────────────────────────── +# METADATA +# ───────────────────────────────────────────────────────────────────────────────── + +metadata: + created_by: "Claude Opus 4.5" + created_at: "2026-01-16" + task_id: "TASK-2026-01-16-002" + +# ═══════════════════════════════════════════════════════════════════════════════ +# FIN DE DECLARACION DE HERENCIA +# ═══════════════════════════════════════════════════════════════════════════════