- Add standardized BOOTLOADER for CONSUMER project - Add PROJECT-PROFILE.yml with stack and epicas info - Compliance with SIMCO-ESTANDAR-ORCHESTRATION Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6.2 KiB
6.2 KiB
BOOTLOADER - Trading Platform
Sistema: NEXUS v4.0 - Protocolo de Arranque Local Proyecto: Trading Platform Tipo: CONSUMER (Integrates de template-saas) Version: 1.0.0 Fecha: 2026-01-24
1. Propósito
Este BOOTLOADER define la secuencia de arranque específica para Trading Platform. Plataforma de trading con señales ML que integra selectivamente de template-saas.
2. Cadena de Herencia
workspace-v2 (L0)
│
▼
template-saas (PROVIDER)
│
▼
trading-platform (CONSUMER) ◄── ESTE PROYECTO
3. Secuencia de Arranque (5 Pasos)
┌─────────────────────────────────────────────────────────────────────────┐
│ BOOTLOADER TRADING-PLATFORM - 5 PASOS │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ PASO 1: Cargar L0 (Sistema - Workspace) │
│ ════════════════════════════════════════ │
│ ├── Leer workspace-v2/CLAUDE.md │
│ └── Tokens: ~4000 │
│ │ │
│ ▼ │
│ PASO 2: Cargar L1 (Proyecto) │
│ ════════════════════════════════════════ │
│ ├── Leer orchestration/CONTEXT-MAP.yml │
│ ├── Leer orchestration/_inheritance.yml │
│ └── Tokens: ~2000 │
│ │ │
│ ▼ │
│ PASO 3: Determinar Dominio │
│ ════════════════════════════════════════ │
│ ├── Clasificar tarea (MCP Services, ML, Frontend, Database) │
│ ├── Cargar SIMCO del dominio │
│ └── Cargar inventario del dominio │
│ │ │
│ ▼ │
│ PASO 4: Verificar Estado y Sincronización │
│ ════════════════════════════════════════ │
│ ├── git fetch origin && git status │
│ ├── Verificar cambios heredados de template-saas │
│ └── Aplicar propagaciones pendientes │
│ │ │
│ ▼ │
│ PASO 5: Iniciar Tarea │
│ ════════════════════════════════════════ │
│ ├── Crear carpeta de tarea si no existe │
│ └── Ejecutar FASE C de CAPVED │
│ │
└─────────────────────────────────────────────────────────────────────────┘
4. Rol CONSUMER (Integrates)
Trading Platform integra selectivamente de template-saas:
hereda_de:
- workspace-v2/orchestration/
- projects/template-saas/ (selectivo)
exporta_a: []
modulos_integrados:
- auth # JWT + MFA
- plans # Free, Pro, VIP
- feature-flags
- billing # Stripe
- notifications
- webhooks
modulos_propios:
- fundamentos-auth # MCP Services auth
- trading-charts # lightweight-charts
- senales-ml # ML predictions
- cuentas-inversion # Investment accounts
- mt4-gateway # MetaAPI
5. Variables Pre-Resueltas
PROJECT_ROOT: projects/trading-platform
BACKEND_ROOT: projects/trading-platform/apps/backend
FRONTEND_ROOT: projects/trading-platform/apps/frontend
DATABASE_ROOT: projects/trading-platform/apps/database
ML_ROOT: projects/trading-platform/apps/ml
SCHEMAS:
- core
- trading
- ml
- portfolio
SERVICIOS_MCP:
mcp-auth: 3095
mcp-wallet: 3090
mcp-products: 3091
mcp-vip: 3092
mcp-investment: 3093
mcp-predictions: 3094
SERVICIOS_PYTHON:
ml-engine: 8000
data-service: 8001
mt4-gateway: 8002
6. Checklist de Arranque
- PASO 1: workspace-v2/CLAUDE.md leído
- PASO 2: CONTEXT-MAP.yml cargado
- PASO 2: _inheritance.yml verificado
- PASO 3: Dominio identificado (MCP/ML/Frontend/Database)
- PASO 4: git fetch ejecutado
- PASO 4: Cambios de template-saas verificados
- PASO 5: Tarea iniciada
7. Referencias
- BOOTLOADER Global:
workspace-v2/orchestration/directivas/simco/SIMCO-BOOTLOADER.md - Template SaaS:
../template-saas/orchestration/BOOTLOADER.md - CONTEXT-MAP:
orchestration/CONTEXT-MAP.yml
BOOTLOADER Trading Platform v1.0.0 - Sistema NEXUS v4.0 Tipo: CONSUMER - Integra de template-saas