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
341 lines
9.2 KiB
Markdown
341 lines
9.2 KiB
Markdown
# PLAN DE EJECUCION - COMMIT COMPLETO WORKSPACE
|
|
**Fecha:** 2026-01-10
|
|
**Fase:** 2 - Planeacion
|
|
**Estado:** EN_PROGRESO
|
|
**Referencia:** ANALISIS-COMMIT-COMPLETO-WORKSPACE-2026-01-10.md
|
|
|
|
---
|
|
|
|
## 1. ORDEN DE EJECUCION
|
|
|
|
### SECUENCIA OBLIGATORIA:
|
|
```
|
|
1. Submodulo Gamilit (primero - tiene commits pendientes de push)
|
|
├── 1.1 Push commits existentes (5 commits)
|
|
├── 1.2 Stage cambios relevantes (excluir .claude/)
|
|
├── 1.3 Commit cambios
|
|
└── 1.4 Push nuevos commits
|
|
|
|
2. Workspace Principal (segundo - actualizar referencia submodulo)
|
|
├── 2.1 Stage cambios de orchestration/
|
|
├── 2.2 Stage archivos de analisis
|
|
├── 2.3 Stage referencia actualizada de submodulo
|
|
├── 2.4 Commit
|
|
└── 2.5 Push
|
|
```
|
|
|
|
---
|
|
|
|
## 2. DETALLE DE COMMITS
|
|
|
|
### 2.1 SUBMODULO GAMILIT (projects/gamilit)
|
|
|
|
#### PASO 1.1: Push Commits Existentes
|
|
```bash
|
|
# En /home/isem/workspace-v1/projects/gamilit
|
|
git push origin master
|
|
```
|
|
|
|
**Commits a pushear (5):**
|
|
| Hash | Mensaje |
|
|
|------|---------|
|
|
| 1b9e642 | docs(correcciones): Add CORR-010 analysis and execution plan |
|
|
| fed5e61 | fix(frontend): CORR-010 v3 - Fix onProgressUpdate to include current evaluation |
|
|
| 7fe2120 | fix(gamification): CORR-004 - Fix LeaderboardPage and AchievementsPage API issues |
|
|
| 2233acc | docs(correcciones): Update _MAP.md with CORR-002 entry |
|
|
| 3ea547e | fix(frontend): CORR-002 - Fix LeaderboardPage not loading data |
|
|
|
|
#### PASO 1.2: Verificar Exclusion de .claude/
|
|
```bash
|
|
# Verificar que .claude/ esta en .gitignore (CONFIRMADO: linea 193)
|
|
grep -n "\.claude" .gitignore
|
|
# Resultado esperado: .claude/
|
|
```
|
|
|
|
#### PASO 1.3: Stage Cambios Backend y Database
|
|
**Archivos a incluir:**
|
|
```
|
|
apps/backend/src/modules/admin/controllers/*.ts
|
|
apps/backend/src/modules/admin/dto/**/*.ts
|
|
apps/backend/src/modules/admin/services/**/*.ts
|
|
apps/backend/src/modules/admin/entities/*.ts
|
|
apps/backend/src/modules/auth/services/*.ts
|
|
apps/backend/src/modules/educational/controllers/*.ts
|
|
apps/backend/src/modules/educational/dto/**/*.ts
|
|
apps/backend/src/modules/gamification/controllers/*.ts
|
|
apps/backend/src/modules/gamification/services/*.ts
|
|
apps/backend/src/modules/notifications/*.ts
|
|
apps/backend/src/modules/progress/dto/**/*.ts
|
|
apps/backend/src/modules/progress/entities/*.ts
|
|
apps/backend/src/modules/progress/services/**/*.ts
|
|
apps/backend/src/modules/social/services/*.ts
|
|
apps/backend/src/modules/teacher/controllers/*.ts
|
|
apps/backend/src/modules/teacher/services/*.ts
|
|
apps/backend/src/modules/websocket/*.ts
|
|
apps/backend/src/shared/constants/*.ts
|
|
apps/backend/src/shared/dto/**/*.ts
|
|
apps/database/create-database.sh
|
|
```
|
|
|
|
#### PASO 1.4: Commit Gamilit
|
|
**Mensaje de commit:**
|
|
```
|
|
[MAINT-001] feat: Actualizacion integral de modulos backend y database
|
|
|
|
Cambios incluidos:
|
|
- Admin: Controllers, DTOs, Services y Entities actualizados
|
|
- Auth: Mejoras en auth.service
|
|
- Educational: Actualizacion exercises controller y DTOs
|
|
- Gamification: Actualizacion achievements controller y services
|
|
- Notifications: Mejoras en controller y module
|
|
- Progress: DTOs de answers, entities y services actualizados
|
|
- Social: Mejoras en classrooms.service
|
|
- Teacher: Controllers y services actualizados
|
|
- WebSocket: Types, module y service actualizados
|
|
- Shared: Constants y DTOs actualizados
|
|
- Database: Script create-database.sh actualizado
|
|
|
|
Exclusiones: .claude/ (configuracion local)
|
|
```
|
|
|
|
#### PASO 1.5: Push Gamilit
|
|
```bash
|
|
git push origin master
|
|
```
|
|
|
|
---
|
|
|
|
### 2.2 WORKSPACE PRINCIPAL (workspace-v1)
|
|
|
|
#### PASO 2.1: Stage Archivos de Orchestration
|
|
**Archivos modificados a incluir:**
|
|
```
|
|
orchestration/INDICE-DIRECTIVAS-WORKSPACE.yml
|
|
orchestration/agents/perfiles/PERFIL-ML.md
|
|
orchestration/agents/perfiles/PERFIL-SECURITY.md
|
|
orchestration/directivas/simco/SIMCO-ASIGNACION-PERFILES.md
|
|
orchestration/directivas/simco/SIMCO-CCA-SUBAGENTE.md
|
|
orchestration/directivas/simco/SIMCO-CONTEXT-ENGINEERING.md
|
|
orchestration/directivas/simco/SIMCO-CONTEXT-RESOLUTION.md
|
|
orchestration/directivas/simco/SIMCO-DELEGACION-PARALELA.md
|
|
orchestration/inventarios/DEVENV-MASTER-INVENTORY.yml
|
|
orchestration/inventarios/DEVENV-PORTS-INVENTORY.yml
|
|
```
|
|
|
|
#### PASO 2.2: Stage Archivos de Analisis
|
|
**Archivos no rastreados a incluir:**
|
|
```
|
|
orchestration/analisis/*.md (todos los documentos de analisis)
|
|
orchestration/reportes/ (directorio completo)
|
|
```
|
|
|
|
#### PASO 2.3: Stage Knowledge Base y Submodulo
|
|
```
|
|
shared/knowledge-base/projects/gamilit/README.md
|
|
projects/gamilit (referencia de submodulo actualizada)
|
|
```
|
|
|
|
#### PASO 2.4: Commit Workspace
|
|
**Mensaje de commit:**
|
|
```
|
|
[MAINT-001] docs(orchestration): Actualizacion directivas SIMCO, perfiles y analisis
|
|
|
|
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
|
|
- Reportes de ejecucion agregados
|
|
- Knowledge base gamilit README actualizado
|
|
- Referencia submodulo gamilit actualizada
|
|
```
|
|
|
|
#### PASO 2.5: Push Workspace
|
|
```bash
|
|
git push origin develop
|
|
```
|
|
|
|
---
|
|
|
|
## 3. CHECKLIST PRE-COMMIT
|
|
|
|
### 3.1 Para Gamilit
|
|
- [ ] Verificar que .claude/ esta ignorado
|
|
- [ ] Ejecutar: `npm run build` (si aplica)
|
|
- [ ] Ejecutar: `npm run lint` (si aplica)
|
|
- [ ] Verificar: No hay archivos sensibles (.env, credenciales)
|
|
- [ ] Verificar: No hay referencias a Claude en archivos a commitear
|
|
- [ ] git status muestra solo archivos deseados
|
|
|
|
### 3.2 Para Workspace Principal
|
|
- [ ] Verificar archivos de orchestration son correctos
|
|
- [ ] Verificar archivos de analisis no tienen errores
|
|
- [ ] Verificar referencia de submodulo esta actualizada
|
|
- [ ] git status muestra solo archivos deseados
|
|
|
|
---
|
|
|
|
## 4. COMANDOS DE EJECUCION
|
|
|
|
### 4.1 Gamilit
|
|
```bash
|
|
cd /home/isem/workspace-v1/projects/gamilit
|
|
|
|
# 1. Push commits existentes
|
|
git push origin master
|
|
|
|
# 2. Verificar exclusion .claude/
|
|
git status | grep -v ".claude"
|
|
|
|
# 3. Stage cambios backend
|
|
git add apps/backend/src/modules/
|
|
git add apps/database/
|
|
|
|
# 4. Verificar staged
|
|
git diff --cached --name-only
|
|
|
|
# 5. Commit
|
|
git commit -m "[MAINT-001] feat: Actualizacion integral de modulos backend y database
|
|
|
|
Cambios incluidos:
|
|
- Admin: Controllers, DTOs, Services y Entities actualizados
|
|
- Auth: Mejoras en auth.service
|
|
- Educational: Actualizacion exercises controller y DTOs
|
|
- Gamification: Actualizacion achievements controller y services
|
|
- Notifications: Mejoras en controller y module
|
|
- Progress: DTOs de answers, entities y services actualizados
|
|
- Social: Mejoras en classrooms.service
|
|
- Teacher: Controllers y services actualizados
|
|
- WebSocket: Types, module y service actualizados
|
|
- Shared: Constants y DTOs actualizados
|
|
- Database: Script create-database.sh actualizado
|
|
|
|
Exclusiones: .claude/ (configuracion local)"
|
|
|
|
# 6. Push
|
|
git push origin master
|
|
```
|
|
|
|
### 4.2 Workspace Principal
|
|
```bash
|
|
cd /home/isem/workspace-v1
|
|
|
|
# 1. Stage archivos modificados
|
|
git add orchestration/INDICE-DIRECTIVAS-WORKSPACE.yml
|
|
git add orchestration/agents/perfiles/
|
|
git add orchestration/directivas/simco/
|
|
git add orchestration/inventarios/
|
|
|
|
# 2. Stage archivos de analisis
|
|
git add orchestration/analisis/
|
|
git add orchestration/reportes/
|
|
|
|
# 3. Stage knowledge base y submodulo
|
|
git add shared/knowledge-base/projects/gamilit/README.md
|
|
git add projects/gamilit
|
|
|
|
# 4. Verificar staged
|
|
git diff --cached --name-only
|
|
|
|
# 5. Commit
|
|
git commit -m "[MAINT-001] docs(orchestration): Actualizacion directivas SIMCO, perfiles y analisis
|
|
|
|
Cambios incluidos:
|
|
- INDICE-DIRECTIVAS-WORKSPACE.yml actualizado
|
|
- Perfiles de agentes: PERFIL-ML.md, PERFIL-SECURITY.md
|
|
- Directivas SIMCO actualizadas
|
|
- Inventarios actualizados: DEVENV-MASTER, DEVENV-PORTS
|
|
- Documentos de analisis agregados
|
|
- Reportes de ejecucion agregados
|
|
- Knowledge base gamilit README actualizado
|
|
- Referencia submodulo gamilit actualizada"
|
|
|
|
# 6. Push
|
|
git push origin develop
|
|
```
|
|
|
|
---
|
|
|
|
## 5. VALIDACIONES POST-COMMIT
|
|
|
|
### 5.1 Gamilit
|
|
```bash
|
|
# Verificar estado limpio
|
|
git status
|
|
|
|
# Verificar commits en remoto
|
|
git log --oneline -3 origin/master
|
|
```
|
|
|
|
### 5.2 Workspace Principal
|
|
```bash
|
|
# Verificar estado limpio
|
|
git status
|
|
|
|
# Verificar commits en remoto
|
|
git log --oneline -3 origin/develop
|
|
|
|
# Verificar referencia submodulo
|
|
git submodule status
|
|
```
|
|
|
|
---
|
|
|
|
## 6. PLAN DE ROLLBACK
|
|
|
|
### Si falla commit en Gamilit:
|
|
```bash
|
|
git reset HEAD~1 # Deshacer ultimo commit (mantiene cambios)
|
|
# o
|
|
git reset --hard HEAD~1 # Deshacer y perder cambios
|
|
```
|
|
|
|
### Si falla commit en Workspace:
|
|
```bash
|
|
git reset HEAD~1
|
|
# o
|
|
git reset --hard HEAD~1
|
|
```
|
|
|
|
### Si falla push:
|
|
```bash
|
|
git pull --rebase origin [branch]
|
|
git push origin [branch]
|
|
```
|
|
|
|
---
|
|
|
|
## 7. EXCLUSIONES CONFIRMADAS
|
|
|
|
### 7.1 Excluidos por .gitignore (automatico):
|
|
- `.claude/` en gamilit (linea 193 del .gitignore)
|
|
- `node_modules/`
|
|
- `.env` y variantes
|
|
- Archivos de build (`dist/`, `build/`)
|
|
- Logs y archivos temporales
|
|
|
|
### 7.2 Excluidos manualmente (NO agregar al stage):
|
|
- Ninguno adicional requerido - .gitignore cubre todo
|
|
|
|
---
|
|
|
|
## 8. RESUMEN DE IMPACTO
|
|
|
|
| Repositorio | Archivos | Tipo | Destino |
|
|
|-------------|----------|------|---------|
|
|
| gamilit | ~100 | Backend/DB | GitHub (master) |
|
|
| workspace-v1 | ~70 | Docs/Config | Gitea (develop) |
|
|
|
|
**Total estimado:** ~170 archivos en 2 commits
|
|
|
|
---
|
|
|
|
**Documento generado:** 2026-01-10
|
|
**Siguiente fase:** VALIDACION DE PLANEACION
|