Workspace V1 agents
Go to file
rckrdmrd ff3038f183 feat(orchestration): Add subagent token management system
Sistema completo de gestión de tokens para subagentes NEXUS v4.0:

Nuevas directivas SIMCO:
- SIMCO-SUBAGENTE.md: Protocolo para agentes en modo subagente
- SIMCO-CCA-SUBAGENTE.md: CCA ligero para subagentes (~1,500 tokens)
- SIMCO-CONTROL-TOKENS.md: Gestión de límites de tokens
- SIMCO-DELEGACION-PARALELA.md: Delegación paralela

Perfiles compact (~250 tokens cada uno):
- PERFIL-BACKEND-COMPACT.md
- PERFIL-FRONTEND-COMPACT.md
- PERFIL-DATABASE-COMPACT.md
- PERFIL-DEVOPS-COMPACT.md
- PERFIL-ML-COMPACT.md
- PERFIL-GENERIC-SUBAGENT.md

Templates de delegación escalonados:
- TEMPLATE-DELEGACION-MINIMA.md (~250 tokens)
- TEMPLATE-DELEGACION-ESTANDAR.md (~600 tokens)
- TEMPLATE-DELEGACION-COMPLETA.md (~1,800 tokens)

Nuevos perfiles especializados:
- PERFIL-MCP-ARCHITECT.md
- PERFIL-MCP-DEVELOPER.md
- PERFIL-RAG-ENGINEER.md
- PERFIL-CICD-SPECIALIST.md
- PERFIL-PRODUCTION-MANAGER.md
- PERFIL-MONITORING-AGENT.md
- PERFIL-SECRETS-MANAGER.md
- PERFIL-PROPAGATION-TRACKER.md

Checklists y documentación:
- CHECKLIST-PRE-DELEGACION.md
- Análisis y planes de implementación

Métricas de mejora:
- ~59% reducción de tokens por delegación
- Perfiles compact: 69% más ligeros
- CCA subagente: 85% más ligero

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:43:01 -06:00
control-plane feat: Workspace-v1 complete migration with NEXUS v3.4 2026-01-04 03:37:42 -06:00
core chore: Configurar arquitectura de subrepositorios 2026-01-04 05:27:54 -06:00
devtools chore: Configurar arquitectura de subrepositorios 2026-01-04 05:27:54 -06:00
orchestration feat(orchestration): Add subagent token management system 2026-01-07 04:43:01 -06:00
projects chore: Configurar arquitectura de subrepositorios 2026-01-04 05:27:54 -06:00
scripts feat: Workspace-v1 complete migration with NEXUS v3.4 2026-01-04 03:37:42 -06:00
shared chore: Configurar arquitectura de subrepositorios 2026-01-04 05:27:54 -06:00
.gitignore chore: Configurar arquitectura de subrepositorios 2026-01-04 05:27:54 -06:00
.gitmodules fix: Usar SSH para submodulo gamilit 2026-01-04 06:02:05 -06:00
README.md feat: Workspace-v1 complete migration with NEXUS v3.4 2026-01-04 03:37:42 -06:00
SUBREPOSITORIOS.md chore: Configurar arquitectura de subrepositorios 2026-01-04 05:27:54 -06:00

Workspace v1 - Multi-Project Development Environment

Version: 2.0.0 Fecha: 2025-12-18


Descripcion

Workspace unificado para desarrollo de multiples proyectos con arquitectura de 3 capas, sistema de orquestacion SIMCO/NEXUS, y governance centralizado.


Arquitectura

workspace-v1/
|
+-- control-plane/           # Governance y orquestacion
|     +-- registries/        # Puertos, dominios, BDs
|     +-- orchestration/     # SIMCO, agentes, directivas
|     +-- devtools/          # Scripts, docker, configs
|
+-- projects/                # Repositorios de productos
|     +-- gamilit/           # Gamificacion educativa
|     +-- erp-suite/         # ERP multi-vertical
|     +-- trading-platform/  # Trading
|     +-- betting-analytics/ # Betting analytics
|
+-- shared/                  # Recursos compartidos
      +-- libs/              # Librerias
      +-- infra/             # Infraestructura
      +-- knowledge-base/    # Documentacion

Proyectos

Proyecto Descripcion Status
Gamilit Plataforma de gamificacion educativa Development
ERP Suite ERP multi-vertical (construccion, mecanicas) Development
Trading Platform Plataforma de trading Planned
Betting Analytics Analisis de apuestas deportivas Planned

Quick Start

1. Inicializar Workspace

# Crear redes Docker
cd control-plane
./devtools/docker/networks/create-networks.sh

# Iniciar Traefik
cd devtools/docker/traefik
docker-compose -f docker-compose.traefik.yml up -d

2. Levantar un Proyecto

# Ejemplo: Gamilit
cd projects/gamilit/docker
docker-compose up -d

3. Validar Configuracion

cd control-plane
./devtools/scripts/validation/validate-all.sh

URLs de Desarrollo

Infraestructura

Servicio URL
Traefik Dashboard http://traefik.localhost:8080

Gamilit

Servicio URL
API http://api.gamilit.localhost
Web http://gamilit.localhost

ERP Suite

Servicio URL
Core API http://api.erp.localhost
Core Web http://erp.localhost
Construccion API http://api.construccion.erp.localhost
Mecanicas API http://api.mecanicas.erp.localhost

Trading

Servicio URL
API http://api.trading.localhost
Web http://trading.localhost

Betting

Servicio URL
API http://api.betting.localhost
Web http://betting.localhost

Sistema SIMCO/NEXUS

Directivas Principales

  • SIMCO-INICIALIZACION: Protocolo de carga de contexto
  • SIMCO-CREAR: Creacion de componentes
  • SIMCO-VALIDAR: Validacion pre-commit
  • SIMCO-SERVICE-DESCRIPTOR: Uso de descriptores

Agentes

Agente Rol
NEXUS-BACKEND APIs y logica
NEXUS-FRONTEND Interfaces UI
NEXUS-DATABASE Schemas y datos
NEXUS-DEVOPS Infraestructura
NEXUS-TECH-LEADER Arquitectura

Principios Clave

  1. Registry First: Todo puerto/dominio/BD debe estar registrado
  2. Descriptor First: Crear service.descriptor.yml antes del codigo
  3. Validacion Continua: Validar antes de commit
  4. Aislamiento: Cada proyecto en su red Docker
  5. Traefik Only: Solo puertos 80/443 publicos

Documentacion


Mantenido por: Tech-Leader Ultima actualizacion: 2025-12-18