From bc652b0542bdf146ca66f4eb7aeffbf617ac504f Mon Sep 17 00:00:00 2001 From: Adrian Flores Cortes Date: Sat, 24 Jan 2026 17:15:14 -0600 Subject: [PATCH] [SIMCO-ESTRUCTURA-TAREAS] feat: Add date-based task organization structure --- orchestration/tareas/_INDEX.yml | 27 ++++++++++++ .../_templates/TASK-TEMPLATE/01-CONTEXTO.md | 30 ++++++++++++++ .../_templates/TASK-TEMPLATE/02-ANALISIS.md | 26 ++++++++++++ .../_templates/TASK-TEMPLATE/03-PLANEACION.md | 21 ++++++++++ .../_templates/TASK-TEMPLATE/04-VALIDACION.md | 24 +++++++++++ .../_templates/TASK-TEMPLATE/05-EJECUCION.md | 20 +++++++++ .../TASK-TEMPLATE/06-DOCUMENTACION.md | 32 +++++++++++++++ .../_templates/TASK-TEMPLATE/METADATA.yml | 41 +++++++++++++++++++ 8 files changed, 221 insertions(+) create mode 100644 orchestration/tareas/_INDEX.yml create mode 100644 orchestration/tareas/_templates/TASK-TEMPLATE/01-CONTEXTO.md create mode 100644 orchestration/tareas/_templates/TASK-TEMPLATE/02-ANALISIS.md create mode 100644 orchestration/tareas/_templates/TASK-TEMPLATE/03-PLANEACION.md create mode 100644 orchestration/tareas/_templates/TASK-TEMPLATE/04-VALIDACION.md create mode 100644 orchestration/tareas/_templates/TASK-TEMPLATE/05-EJECUCION.md create mode 100644 orchestration/tareas/_templates/TASK-TEMPLATE/06-DOCUMENTACION.md create mode 100644 orchestration/tareas/_templates/TASK-TEMPLATE/METADATA.yml diff --git a/orchestration/tareas/_INDEX.yml b/orchestration/tareas/_INDEX.yml new file mode 100644 index 0000000..7d449b5 --- /dev/null +++ b/orchestration/tareas/_INDEX.yml @@ -0,0 +1,27 @@ +# Indice de Tareas - miinventario +version: "1.0.0" +proyecto: miinventario +tipo: STANDALONE +created: "2026-01-24" +updated: "2026-01-24" + +resumen: + total_tareas: 0 + completadas: 0 + en_progreso: 0 + pendientes: 0 + +formato_id: + patron: "TASK-{YYYY-MM-DD}-{NNN}" + ejemplo: "TASK-2026-01-24-001" + +por_fecha: {} +tareas_activas: [] + +instrucciones: + crear_tarea: | + 1. Crear carpeta YYYY-MM-DD/ si no existe + 2. Copiar _templates/TASK-TEMPLATE/ a YYYY-MM-DD/TASK-NNN-descripcion/ + 3. Completar METADATA.yml + 4. Documentar fases CAPVED conforme avanza + 5. Actualizar este indice al completar diff --git a/orchestration/tareas/_templates/TASK-TEMPLATE/01-CONTEXTO.md b/orchestration/tareas/_templates/TASK-TEMPLATE/01-CONTEXTO.md new file mode 100644 index 0000000..d25ce94 --- /dev/null +++ b/orchestration/tareas/_templates/TASK-TEMPLATE/01-CONTEXTO.md @@ -0,0 +1,30 @@ +# Fase C - Contexto + +**Tarea:** [ID de tarea] +**Fecha:** [YYYY-MM-DD] +**Agente:** [agente responsable] + +--- + +## Vinculacion + +| Campo | Valor | +|-------|-------| +| Proyecto | template-saas | +| Modulo | [modulo afectado] | +| Epic | [ID de epic si aplica] | +| Feature | [ID de feature si aplica] | + +## Clasificacion + +- **Tipo:** [feature|bugfix|refactor|analysis|documentation] +- **Origen:** [ticket|plan|incidente|mejora] +- **Prioridad:** [P0|P1|P2|P3] + +## Documentos SIMCO Cargados + +1. [Lista de directivas consultadas] + +## Estado Inicial + +[Descripcion del estado inicial antes de la tarea] diff --git a/orchestration/tareas/_templates/TASK-TEMPLATE/02-ANALISIS.md b/orchestration/tareas/_templates/TASK-TEMPLATE/02-ANALISIS.md new file mode 100644 index 0000000..26c237f --- /dev/null +++ b/orchestration/tareas/_templates/TASK-TEMPLATE/02-ANALISIS.md @@ -0,0 +1,26 @@ +# Fase A - Analisis + +**Tarea:** [ID de tarea] +**Fecha:** [YYYY-MM-DD] + +--- + +## Comportamiento Deseado + +[Descripcion del resultado esperado] + +## Objetos Impactados + +| Capa | Impacto | +|------|---------| +| [DDL/Backend/Frontend] | [descripcion] | + +## Dependencias + +- [Lista de dependencias] + +## Riesgos + +| Riesgo | Mitigacion | +|--------|------------| +| [riesgo] | [mitigacion] | diff --git a/orchestration/tareas/_templates/TASK-TEMPLATE/03-PLANEACION.md b/orchestration/tareas/_templates/TASK-TEMPLATE/03-PLANEACION.md new file mode 100644 index 0000000..0f54989 --- /dev/null +++ b/orchestration/tareas/_templates/TASK-TEMPLATE/03-PLANEACION.md @@ -0,0 +1,21 @@ +# Fase P - Planeacion + +**Tarea:** [ID de tarea] +**Fecha:** [YYYY-MM-DD] + +--- + +## Subtareas + +| # | Subtarea | Dominio | Criterio de Aceptacion | +|---|----------|---------|------------------------| +| 1 | [subtarea] | [dominio] | [criterio] | + +## Orden de Ejecucion + +[secuencia de subtareas] + +## Asignacion + +- Agente principal: [agente] +- Subagentes: [lista o ninguno] diff --git a/orchestration/tareas/_templates/TASK-TEMPLATE/04-VALIDACION.md b/orchestration/tareas/_templates/TASK-TEMPLATE/04-VALIDACION.md new file mode 100644 index 0000000..4efc970 --- /dev/null +++ b/orchestration/tareas/_templates/TASK-TEMPLATE/04-VALIDACION.md @@ -0,0 +1,24 @@ +# Fase V - Validacion + +**Tarea:** [ID de tarea] +**Fecha:** [YYYY-MM-DD] + +--- + +## Checklist de Validacion + +### Cobertura Analisis -> Plan +- [ ] Todas las acciones del analisis tienen subtarea correspondiente +- [ ] No hay acciones huerfanas + +### Dependencias +- [ ] No hay dependencias ocultas +- [ ] Orden de ejecucion respeta dependencias + +### Scope Creep +- [ ] No detectado / [descripcion si hay] + +## Gate de Validacion + +- **Resultado:** [APROBADO|RECHAZADO] +- **Notas:** [notas adicionales] diff --git a/orchestration/tareas/_templates/TASK-TEMPLATE/05-EJECUCION.md b/orchestration/tareas/_templates/TASK-TEMPLATE/05-EJECUCION.md new file mode 100644 index 0000000..561f251 --- /dev/null +++ b/orchestration/tareas/_templates/TASK-TEMPLATE/05-EJECUCION.md @@ -0,0 +1,20 @@ +# Fase E - Ejecucion + +**Tarea:** [ID de tarea] +**Fecha:** [YYYY-MM-DD] + +--- + +## Progreso de Subtareas + +| # | Subtarea | Estado | Notas | +|---|----------|--------|-------| +| 1 | [subtarea] | [pendiente|completada] | [notas] | + +## Validaciones Build/Lint + +- [resultado de validaciones] + +## Desviaciones + +- [desviaciones del plan si las hay] diff --git a/orchestration/tareas/_templates/TASK-TEMPLATE/06-DOCUMENTACION.md b/orchestration/tareas/_templates/TASK-TEMPLATE/06-DOCUMENTACION.md new file mode 100644 index 0000000..6cb6bf1 --- /dev/null +++ b/orchestration/tareas/_templates/TASK-TEMPLATE/06-DOCUMENTACION.md @@ -0,0 +1,32 @@ +# Fase D - Documentacion + +**Tarea:** [ID de tarea] +**Fecha:** [YYYY-MM-DD] + +--- + +## Actualizaciones Realizadas + +### Documentacion +- [ ] _MAP.md actualizado +- [ ] README.md actualizado si aplica + +### Inventarios +- [ ] Inventarios actualizados si cambio codigo + +### Trazas +- [ ] Registrado en indice de tareas + +### ADRs +- [ ] ADR creado si decision arquitectonica + +## Lecciones Aprendidas + +### Que funciono bien +[descripcion] + +### Que se puede mejorar +[descripcion] + +### Para futuras tareas similares +[recomendaciones] diff --git a/orchestration/tareas/_templates/TASK-TEMPLATE/METADATA.yml b/orchestration/tareas/_templates/TASK-TEMPLATE/METADATA.yml new file mode 100644 index 0000000..1d63b18 --- /dev/null +++ b/orchestration/tareas/_templates/TASK-TEMPLATE/METADATA.yml @@ -0,0 +1,41 @@ +# METADATA.yml - Template para tareas +id: TASK-YYYY-MM-DD-NNN +fecha: "YYYY-MM-DD" +titulo: "[Titulo de la tarea]" +descripcion: "[Descripcion detallada]" + +clasificacion: + tipo: "[feature|bugfix|refactor|analysis|documentation]" + origen: "[ticket|plan|incidente|mejora]" + prioridad: "[P0|P1|P2|P3]" + feature: "[ID de feature si aplica]" + +proyecto: + nombre: template-saas + path: projects/template-saas + nivel: PROVIDER + +estado: + actual: pendiente + progreso: 0% + fecha_inicio: null + fecha_fin: null + +fases_capved: + contexto: pendiente + analisis: pendiente + planeacion: pendiente + validacion: pendiente + ejecucion: pendiente + documentacion: pendiente + +agente: + principal: "[agente responsable]" + subagentes: [] + +commits: [] + +metricas: + archivos_modificados: 0 + archivos_creados: 0 + lineas_codigo: 0