FASE 0 - Preparación y Purga: - Archived 21 completed tasks to _archive/2026-01/ - Marked 4 docs as DEPRECATED - Created 3 baseline coherence reports FASE 1 - DDL-Backend Coherence: - audit.types.ts: +4 types (SystemEvent, TradingAudit, ApiRequestLog, DataAccessLog) - investment.types.ts: +4 types (RiskQuestionnaire, WithdrawalRequest, DailyPerformance, DistributionHistory) - entity.types.ts: +5 types (Symbol, TradingBot, TradingSignal, TradingMetrics, PaperBalance) FASE 2 - Backend-Frontend Coherence: - investmentStore.ts: New Zustand store with 20+ actions - mlStore.ts: New Zustand store with signal caching - alerts.service.ts: New service with 15 functions FASE 3 - Documentation: - OQI-009: Updated to 100% coverage, added ET-MKT-004-productos.md - OQI-010: Created full structure (STATUS.md, ROADMAP-MT4.md, ET-MT4-001-gateway.md) Coherence Baseline Established: - DDL-Backend: 31% (target 95%) - Backend-Frontend: 72% (target 85%) - Global: 39.6% (target 90%) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
83 lines
2.3 KiB
YAML
83 lines
2.3 KiB
YAML
# Metadata de Tarea - OQI-007 LLM Assistant Panels
|
|
version: "1.0.0"
|
|
created: "2026-01-26"
|
|
updated: "2026-01-26"
|
|
|
|
tarea:
|
|
id: TASK-2026-01-26-OQI-007-LLM-ASSISTANT-PANELS
|
|
titulo: "OQI-007 LLM Assistant Panels - Error Handling, Connection, Tokens, Prompts"
|
|
tipo: FEATURE
|
|
estado: COMPLETADA
|
|
prioridad: P1
|
|
estimacion: 8h
|
|
real: 4h
|
|
|
|
contexto:
|
|
epic: OQI-007
|
|
modulo: llm-strategy-agent
|
|
capa: frontend
|
|
descripcion: |
|
|
Creacion de 4 componentes de utilidad para el modulo assistant:
|
|
- ErrorBoundary: Manejo de errores React con fallback UI
|
|
- ConnectionStatus: Indicador de conexion WebSocket/API
|
|
- TokenUsageDisplay: Visualizacion de consumo de tokens
|
|
- PromptLibrary: Biblioteca de templates de prompts
|
|
|
|
entregables:
|
|
componentes:
|
|
- nombre: ErrorBoundary.tsx
|
|
lineas: 200
|
|
tipos: [ErrorBoundaryProps, ErrorBoundaryState]
|
|
descripcion: "Error boundary React con retry, refresh, stack trace"
|
|
- nombre: ConnectionStatus.tsx
|
|
lineas: 280
|
|
tipos: [ConnectionState, ConnectionMetrics, ConnectionStatusProps]
|
|
descripcion: "Indicador de estado con 3 variantes (badge, indicator, detailed)"
|
|
- nombre: TokenUsageDisplay.tsx
|
|
lineas: 380
|
|
tipos: [TokenUsage, TokenCosts, SessionTokenStats, TokenUsageDisplayProps]
|
|
descripcion: "Visualizacion de tokens con 3 variantes y warnings de contexto"
|
|
- nombre: PromptLibrary.tsx
|
|
lineas: 350
|
|
tipos: [Prompt, PromptCategory, PromptLibraryProps]
|
|
descripcion: "Biblioteca de prompts con busqueda, categorias, favoritos"
|
|
|
|
archivos_modificados:
|
|
- path: apps/frontend/src/modules/assistant/components/index.ts
|
|
cambio: "Exportaciones de 4 nuevos componentes y tipos"
|
|
|
|
metricas:
|
|
lineas_codigo: 1210
|
|
tipos_exportados: 11
|
|
componentes_nuevos: 4
|
|
progreso_modulo: "25% -> 35%"
|
|
|
|
dependencias:
|
|
tecnologias:
|
|
- React 18
|
|
- TypeScript
|
|
- lucide-react
|
|
- Tailwind CSS
|
|
patrones:
|
|
- Functional components
|
|
- Named exports for types
|
|
- Dark theme (gray-800/900)
|
|
|
|
validacion:
|
|
build: PENDIENTE
|
|
lint: PENDIENTE
|
|
tipos: OK (interfaces exportadas)
|
|
|
|
capved:
|
|
contexto: "01-CONTEXTO.md"
|
|
analisis: "02-ANALISIS.md"
|
|
planeacion: "03-PLANEACION.md"
|
|
validacion: "04-VALIDACION.md"
|
|
ejecucion: "05-EJECUCION.md"
|
|
documentacion: "06-DOCUMENTACION.md"
|
|
|
|
agente:
|
|
nombre: "Claude Opus 4.5"
|
|
sesion: "2026-01-26"
|
|
modo: "FULL"
|