Commit Graph

83 Commits

Author SHA1 Message Date
Adrian Flores Cortes
9d54f832b4 docs: Update task index - Sprint 2 completed
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Sprint 2 (P1) marked as completed:
- ST-2.1-PORTFOLIO-UI: 5 SP
- ST-2.2-MLM-UI: 8 SP
- ST-2.3-GOALS-UI: 8 SP

Progress: 53/49 SP executed (108% - includes planning phases)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 20:11:12 -06:00
Adrian Flores Cortes
6f54d57a09 [SPRINT-2] chore(submodule): Update frontend with Portfolio, MLM, Goals UI
Sprint 2 (P1) completed:
- ST-2.1: Portfolio UI (5 SP) - Categories, products, variants, prices
- ST-2.2: MLM UI (8 SP) - Network tree, nodes, ranks, commissions
- ST-2.3: Goals UI (8 SP) - Definitions, assignments, progress tracking

Total: 21 SP | 36 files | 5726 lines added

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 20:10:52 -06:00
Adrian Flores Cortes
ab97d79803 docs: Update task index - Sprint 1 completed
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Sprint 1 (P0) marked as completed:
- ST-1.1-RBAC-FRONTEND: 5 SP
- ST-1.2-AUDIT-COMPLETE: 3 SP
- ST-1.3-NOTIFICATIONS-COMPLETE: 3 SP

Progress: 32/49 SP executed (65%)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 19:59:12 -06:00
Adrian Flores Cortes
d48588bf35 [SPRINT-1] chore(submodule): Update frontend with RBAC, Audit, Notifications
Sprint 1 (P0) completed:
- ST-1.1: RBAC Frontend (5 SP) - Roles & permissions management
- ST-1.2: Audit Complete (3 SP) - Enhanced filters and stats
- ST-1.3: Notifications Complete (3 SP) - Template management

Total: 11 SP | 23 files | 2822 lines added

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 19:58:50 -06:00
Adrian Flores Cortes
ea1ad056de [TASK-2026-02-03-AUDITORIA-FRONTEND-UX-UI] docs: Add frontend UX/UI audit task planning
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
CAPVED Analysis:
- C: Documented current frontend state (56 pages, 28 components, 24 hooks)
- A: Identified 12 gaps across 4 priority levels (P0-P3)
- P: Created 4-sprint plan with 12 subtasks (49 SP total)

Gaps identified:
- P0: RBAC, Audit, Notifications frontend incomplete
- P1: Portfolio, MLM, Goals UI missing (hooks exist)
- P2: WCAG 2.1 at 67%, tests coverage low
- P3: Documentation outdated, archive cleanup needed

Files created:
- METADATA.yml
- FASE-CAPVED-CONTEXTO.md
- FASE-CAPVED-ANALISIS.md
- PLAN-SUBTAREAS-FRONTEND.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 19:47:39 -06:00
Adrian Flores Cortes
fd12ab6b6d chore: update backend ref (validadores DTOs adicionales)
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Actualiza referencia del submódulo backend después de agregar validadores
con mensajes en español a 12 DTOs adicionales.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:32:20 -06:00
Adrian Flores Cortes
afd45c4c24 [CRIT-003] chore: Update backend ref and inventories
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Backend: c426249 (class-validator decorators)
- DATABASE_INVENTORY.yml: v3.4.0 with validation metrics
- MASTER_INVENTORY.yml: v6.1.0 with coherence metrics

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:23:19 -06:00
Adrian Flores Cortes
1655ab157c chore: update backend ref (TenantContextInterceptor)
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Update backend submodule to include the new TenantContextInterceptor
for PostgreSQL RLS context management.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:19:17 -06:00
Adrian Flores Cortes
5576c7c5fb chore: Update database submodule ref (fa67494)
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Adds 32 FK indexes for missing foreign key coverage
- Resolves P1 task from TASK-2026-02-03-REMEDIACION-BD

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:19:06 -06:00
Adrian Flores Cortes
5f25327f18 fix(ddl): Update database ref with storage triggers and whatsapp RLS fix
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- storage/06-triggers.sql: Added updated_at triggers for files and usage
- whatsapp RLS: Fixed current_setting pattern with true parameter

Ref: P1 - Triggers storage y correccion RLS whatsapp

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:18:19 -06:00
Adrian Flores Cortes
d25058ac75 [CRIT-002] chore: Update database ref (0d3e022)
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Add public.set_updated_at() function for MLM schema triggers.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:17:33 -06:00
Adrian Flores Cortes
1765f56785 chore: Update backend ref (a671697)
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Added unit tests for MLM and Goals modules

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 16:35:34 -06:00
Adrian Flores Cortes
77a7a693e1 docs: Update PROXIMA-ACCION.md - E2E tests completed
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- E2E tests for Sales, MLM, Goals marked as completed (72 tests)
- Updated metrics: 830 unitarios + 119 E2E
- All P2 gaps now resolved

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 16:14:18 -06:00
Adrian Flores Cortes
224ed585f5 [SYNC] chore: Update frontend ref (9019261)
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
E2E tests for Sales, MLM, Goals - 72 tests

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 16:13:36 -06:00
Adrian Flores Cortes
320ec50bb6 docs: Update PROXIMA-ACCION.md - P2/P3 all completed
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
All P2 and P3 gaps resolved:
- Controller tests recreated (39)
- Billing/webhooks tests verified OK
- DDL roles updated
- BACKEND_INVENTORY.yml v4.2.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 16:07:55 -06:00
Adrian Flores Cortes
210f942ef9 docs(P3): Update BACKEND_INVENTORY and sync database
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Updated BACKEND_INVENTORY.yml to v4.2.0
- Fixed MLM/Goals module location (were inside dependencias_npm)
- Updated Sales/Commissions/Portfolio tests counts
- Cleared resolved gaps (tests and DDL)
- Synced database submodule with DDL roles fix

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 16:07:20 -06:00
Adrian Flores Cortes
56119c7ac3 docs: Update PROXIMA-ACCION.md - P2 controller tests completed
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- 4 controller test files recreated (39 tests total)
- Updated Gaps section marking P2 tests as RESUELTO

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:27:49 -06:00
Adrian Flores Cortes
aa17b1e994 [SYNC] chore: Update backend ref (23bd170)
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
P2 controller tests recreated - 39 new tests

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:26:54 -06:00
Adrian Flores Cortes
c873a85a3e docs(orchestration): Update PROXIMA-ACCION with P0 completions
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Add entity corrections (password_hash, slug) to recent changes
- Add Notifications frontend to recent changes
- Update GAPS section: P0 resolved, P2/P3 pending
- Mark entities gap as resolved

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:45:00 -06:00
Adrian Flores Cortes
b0fd287fd0 [SYNC] chore: Update frontend ref (08b1dec)
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Add Notifications page and complete RBAC routing

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:43:57 -06:00
Adrian Flores Cortes
fa24868bc7 docs(orchestration): Add improvement analysis for P0 entity corrections
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Add ANALISIS-MEJORA-CONTINUA.md with:
  - Directive effectiveness analysis
  - Standards compliance review
  - Execution pattern documentation
  - Subagent usage recommendations
  - Token usage metrics and opportunities
  - Reusable components for future tasks
  - Process improvement recommendations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:33:35 -06:00
Adrian Flores Cortes
eb0d39216c docs(orchestration): Add TASK-2026-02-03-P0-CORRECCION-ENTITIES documentation
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Add METADATA.yml with complete task metadata, artefacts, and commits
- Add TASK-REPORT.md with detailed execution report
- Update _INDEX.yml to register the completed task
- Task completed: DDL vs Entity alignment for user, role, tenant

Changes made:
- user.entity.ts: password_hash nullable for OAuth users
- role.entity.ts: slug NOT NULL to match DDL
- 9 test files corrected, 4 removed temporarily

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:31:50 -06:00
Adrian Flores Cortes
73d2524a6d [SYNC] chore: Update backend ref (9baaf4a) - role.slug NOT NULL
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:24:51 -06:00
Adrian Flores Cortes
93581494bc [SYNC] chore: Update backend ref (e2abeac) - OAuth password_hash nullable
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:20:55 -06:00
Adrian Flores Cortes
10e1c76425 docs: Update PROXIMA-ACCION.md - P1/P2 completados
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- UI MLM/Goals: Ya completa (7+6 páginas, router integrado)
- Tests P2: 441 tests pasando (117 controller + 324 service)
- Especificaciones técnicas: ET-SAAS-018 a 022 creadas
- Actualizado gaps y próximas tareas

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:06:53 -06:00
Adrian Flores Cortes
ba50b2a166 chore: Update backend ref with P2 controller tests (61d7d29)
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- 12 new controller test files (117 tests)
- 441 total tests passing for sales/commissions/portfolio

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 13:26:02 -06:00
Adrian Flores Cortes
2825b3d5fd docs: Add ET-SAAS-018 to ET-SAAS-022 technical specifications
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- ET-SAAS-018-sales.md: Sales pipeline/CRM module
- ET-SAAS-019-portfolio.md: Product catalog module
- ET-SAAS-020-commissions.md: Commissions system
- ET-SAAS-021-mlm.md: Multi-Level Marketing module
- ET-SAAS-022-goals.md: Goals and objectives system
- Update _MAP.md with all 9 specifications

All specs document:
- Data model (DDL, enums, tables)
- Backend architecture (endpoints, services)
- Security (RLS, RBAC permissions)
- Frontend status and hooks
- Module integrations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 13:14:48 -06:00
Adrian Flores Cortes
ae092a9bb1 chore: Update docs/_MAP.md and purge obsolete archive files
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Update docs/_MAP.md to include SAAS-015 to SAAS-022 modules
- Update schema count from 12 to 17, tables from 24 to 48
- Add ADR-006 to ADR-011 references
- Add sales, commissions, portfolio, goals, mlm schemas
- Purge 75 obsolete files from orchestration/_archive/ (~620KB)
  - 2026-01-07-trazas/ (5 files)
  - 2026-01-10-simco-v37/ (52 files)
  - 2026-01-10-sprint5/ (18 files)
- Update frontend submodule reference

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 13:05:24 -06:00
Adrian Flores Cortes
c8b75d0435 [TASK-2026-02-03] analysis: Complete integral analysis Template SaaS
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Auditoría completa en 5 fases CAPVED (81 SP):

Fase 1 - Inventario:
- 22 módulos SAAS documentados (SAAS-001 a SAAS-022)
- 11 ADRs, 7 integraciones, 5 especificaciones técnicas
- 17 schemas DDL, 48 tablas, 72 RLS policies
- 23 módulos backend, 71 entities, 41 controllers
- 56 páginas frontend, 22 hooks

Fase 2 - Coherencia:
- DDL→Backend: 93% cobertura
- Backend→Frontend: 58% cobertura (gaps críticos)
- Trazabilidad RF/RNF: 97.3%

Fase 3 - Plan Remediación:
- 16 gaps identificados (4 P0, 4 P1, 4 P2, 4 P3)
- P0: Audit, RBAC, Notifications sin frontend
- 57 archivos obsoletos a purgar (620 KB)
- Plan: 21 tareas, 39 SP en 3 sprints

Outputs:
- FASE-1-INVENTARIO-CONTEXTO.md
- FASE-2-ANALISIS-COHERENCIA.md
- FASE-3-PLANEACION-REMEDIACION.md
- REPORTE-FINAL-ANALISIS.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 12:49:20 -06:00
Adrian Flores Cortes
0e23f048a0 [HOMOLOG] docs: Complete homologation with workspace-v2 standards
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Add docs/99-referencias/ section:
  - ESTANDARES-APLICADOS.md (14 standards, 98% compliance)
  - MATRIZ-TRAZABILIDAD.md (37 RF/RNF, 97% coverage)
  - ONBOARDING.md (developer guide)
  - _INDEX.md (section index)

- Update CLAUDE.md v1.2.0:
  - Add 4 new modules (sales, portfolio, commissions, mlm, goals)
  - Add quick references section

- Update DIRECTIVAS-LOCALES.md v1.1:
  - Add SIMCO directives table
  - Add principles inheritance table

- Fix CONTEXT-MAP.yml v2.1.0:
  - Correct paths from apps/* to L2 submodules structure

- Update orchestration files:
  - PROJECT-STATUS.md with homologation note
  - PROXIMA-ACCION.md with task reference
  - _INDEX.yml to v1.4.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 02:55:31 -06:00
Adrian Flores Cortes
b56eb16450 chore: Update CONTEXT-MAP.yml with PROVIDER role
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Changed tipo from STANDALONE to PROVIDER
- Added modulos_provistos section (19 modules)
- Added consumidores section (erp-core, trading-platform, michangarrito)
- Version bumped to 2.1.0

Part of: TASK-2026-02-02-ANALISIS-REESTRUCTURACION-ORCHESTRATION

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 16:22:03 -06:00
Adrian Flores Cortes
021cfae679 docs: Add TASK-2026-01-30-FIX-BUILD-TESTS documentation
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
- Created task folder with METADATA.yml
- Documented context, execution, and final documentation
- Updated _INDEX.yml with new task

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 16:41:15 -06:00
Adrian Flores Cortes
ee9b1770c1 chore: Update backend submodule - test expectations fix
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 16:07:42 -06:00
Adrian Flores Cortes
ae2137b5c1 chore: Update backend submodule - test fixes
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 16:04:45 -06:00
Adrian Flores Cortes
76be70a6bc chore: Update backend submodule - DDL entity coherence
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Updates backend submodule with entity fixes:
- User, Tenant, Role entities aligned with DDL schema
- Test mocks updated with new entity fields

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 15:57:54 -06:00
Adrian Flores Cortes
b91346ebba [TEMPLATE-SAAS] docs: Update orchestration after submodules integration
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Sync _INDEX.yml: TASK-007 completed, add TASK-2026-01-30
- Update PROXIMA-ACCION.md with recent changes section
- Document .gitmodules creation and apps/ removal

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 15:12:18 -06:00
Adrian Flores Cortes
8189c46a7c [TEMPLATE-SAAS] chore: Remove legacy apps/ directory
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Remove 28,107 duplicate files from apps/ structure.
The actual code lives in submodules: backend/, database/, frontend/

This was a legacy monorepo-style structure that is no longer needed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 15:10:40 -06:00
Adrian Flores Cortes
472671f09f [TEMPLATE-SAAS] chore: Add .gitmodules for L2 submodules
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Formalize backend, database, and frontend as git submodules.
This enables proper recursive submodule operations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 15:04:36 -06:00
Adrian Flores Cortes
7abfa28579 [WORKSPACE] chore: Update frontend submodule + restructure tasks to date folders
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
2026-01-29 17:57:40 -06:00
Adrian Flores Cortes
1b4b9a0a06 [TASK-009] refactor: Reorganize tasks to date folders
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Moved loose tasks to date folders:
- 2026-01-24/: TASK-SAAS-018, TASK-SAAS-020
- 2026-01-25/: TASK-SAAS-019

Aligns with workspace-v2 orchestration standards.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 17:57:13 -06:00
Adrian Flores Cortes
ceb7ffec25 [TASK-007] chore: P2 complete - Archive obsolete docs + sprint history
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
## T-04.3: Archive obsolete documentation
- Created _archive/2026-01-07-trazas/ (5 files, 64 KB)
- Created _archive/2026-01-10-simco-v37/ (51 files, 524 KB)
- Created _archive/2026-01-10-sprint5/ (19 files, 216 KB)
- Created _archive/_INDEX-ARCHIVED.md with full inventory
- Total: 75 files archived, 816 KB organized

## T-04.4: Consolidate sprint history
- Created HISTORICO-SPRINTS.md with 9 sprints documented
- Sprint 1-5: Initial implementation (42 SP)
- Sprint 6-9: Sales, Commissions, Portfolio, MLM/Goals (218 SP)
- Total: 260 SP across 23 modules

Directories cleaned: analisis/, analisis-previo/, planes/, trazas/

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 15:41:36 -06:00
Adrian Flores Cortes
ebf9989aef [TASK-007] feat: P1 complete - Full MLM/Goals UI + 324 tests
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
## Backend (5b0e61c)
- T-01.5: Billing entities updated (invoice.entity.ts)
- T-05.1: Sales module tests (109 tests, 100% coverage)
- T-05.2: Commissions module tests (136 tests, 100% coverage)
- T-05.3: Portfolio module tests (79 tests, 100% coverage)

## Frontend (2bfd90c)
- T-02.1: MLM structure pages (4 pages)
- T-02.2: MLM detail pages (3 pages)
- T-02.3: Goals structure pages (3 pages)
- T-02.4: Goals detail pages (3 pages)
- T-02.5: MLM routes integrated (7 routes)
- T-02.6: Goals routes integrated (6 routes)

## Metrics
- New pages: 13
- New routes: 13
- New tests: 324
- Test coverage: 100% on new modules

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 12:54:22 -06:00
Adrian Flores Cortes
7a43ac1c96 [TASK-007] feat: Complete CAPVED analysis and sync for template-saas
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
## Entities (DDL↔Backend sync):
- user.entity: 8 missing fields added
- role.entity: 4 missing fields added
- tenant.entity: 5 missing fields added

## Documentation:
- PROXIMA-ACCION.md: Rewritten with 2026-01-27 status
- PROJECT-STATUS.md: Added MLM, Goals, Portfolio phases
- docs/01-modulos/_INDEX.md: Updated module states to Completado

## Inventories:
- DATABASE_INVENTORY.yml: Added mlm/goals schemas (10 tables)
- BACKEND_INVENTORY.yml: Added mlm/goals modules (10 entities)
- MASTER_INVENTORY.yml: MLM/Goals marked as completado
- tareas/_INDEX.yml: Registered TASK-007, SAAS-021, SAAS-022

Metrics: 23 modules, 17 schemas, 48 tables, 260 SP (100%)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 12:30:59 -06:00
Adrian Flores Cortes
87603b6d52 chore: Update package-lock and frontend submodule
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 14:13:17 -06:00
Adrian Flores Cortes
8fd38d250e chore: Update submodules (SAAS-021 MLM module)
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 09:32:40 -06:00
Adrian Flores Cortes
40c102025f chore: Update backend submodule - Fix TypeORM entity types
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 06:36:36 -06:00
Adrian Flores Cortes
e8f19d0465 [SAAS-022] feat: Implement Goals module
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- DDL: 4 tables (definitions, assignments, progress_log, milestone_notifications)
- DDL: 8 enums, 16 RLS policies
- Backend: 4 entities, 2 services, 2 controllers
- Frontend: 3 API services, 24 React Query hooks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 06:29:51 -06:00
Adrian Flores Cortes
6bc6706726 [SAAS-019] fix: Correct metadata dates in inventory files
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Update DATABASE_INVENTORY.yml version to 3.3.0, date to 2026-01-25
- Update BACKEND_INVENTORY.yml version to 4.1.0, date to 2026-01-25
- Fixes minor documentation inconsistency

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 06:04:28 -06:00
Adrian Flores Cortes
1cb357ee81 [SAAS-019] docs: Update SIMCO documentation for Portfolio module
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- Add METADATA.yml for TASK-2026-01-25-SAAS-019-PORTFOLIO
- Update DATABASE_INVENTORY.yml with portfolio schema (4 tables)
- Update BACKEND_INVENTORY.yml with portfolio module (4 entities, 2 services)
- Update FRONTEND_INVENTORY.yml with portfolio hooks (21 hooks)
- Update MASTER_INVENTORY.yml - SAAS-019 now completado (SP: 13)
- Update _INDEX.yml with SAAS-019 task entry

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 05:58:24 -06:00
Adrian Flores Cortes
1d3ad175aa [SAAS-019] feat: Implement Portfolio module
Some checks are pending
CI / Backend CI (push) Waiting to run
CI / Frontend CI (push) Waiting to run
CI / Security Scan (push) Waiting to run
CI / CI Summary (push) Blocked by required conditions
- DDL: 4 tables (categories, products, variants, prices) with RLS
- Backend: 4 entities, 2 services, 2 controllers, full CRUD
- Frontend: API services and React Query hooks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 05:43:32 -06:00