- FASE-0: Diagnostic audit of 500+ files, 33 findings cataloged (7P0/8P1/12P2/6P3) - FASE-1: Resolved 7 P0 critical conflicts (ports, paths, dedup OQI-010/ADR-002, orphan schemas) - FASE-2: Resolved 8 P1 issues (traces, README/CLAUDE.md, DEPENDENCY-GRAPH v2.0, DDL drift, stack versions, DoR/DoD) - FASE-3: Resolved 12 P2 issues (archived tasks indexed, RNFs created, OQI-010 US/RF/ET, AGENTS v2.0) - FASE-4: Purged 3 obsolete docs to _archive/, fixed MODELO-NEGOCIO.md broken ref - FASE-5: Cross-layer validation (DDL→OQI 66%, OQI→BE 72%, BE→FE 78%, Inventories 95%) - FASE-6: INFORME-FINAL, SA-INDEX (18 subagents), METADATA COMPLETED 27/33 findings resolved (82%), 6 P3 deferred to backlog. 18 new files created, 40+ modified, 4 archived. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.2 KiB
1.2 KiB
| id | title | type | status | rf_parent | epic | version | created_date |
|---|---|---|---|---|---|---|---|
| ET-LTI-001 | Arquitectura de Integracion LLM-Trading | Specification | Backlog | RF-LTI-001 | OQI-010 | 1.0 | 2026-02-06 |
ET-LTI-001: Arquitectura de Integracion LLM-Trading
Diagrama
LLM Agent (OQI-007)
|
+-- Tool Registry (OQI-010)
| +-- Market Tools -> data-service (port 3084)
| +-- ML Tools -> ml-engine (port 3083)
| +-- Trading Tools -> backend/trading (port 3081)
| +-- Portfolio Tools -> backend/portfolio (port 3081)
|
+-- Prompt Engine (OQI-010)
| +-- Template Selector
| +-- Context Injector
| +-- Safety Filter
|
+-- Guardrails (OQI-010)
+-- Confirmation Handler
+-- Risk Validator
+-- Audit Logger
Flujo de Ejecucion
- Usuario envia mensaje al LLM
- LLM selecciona template apropiado basado en intent
- LLM invoca tools necesarios
- Safety guardrails validan cada tool call
- Resultados formateados y retornados al usuario
- Si es operacion de trading: confirmacion antes de ejecutar
Tecnologias
- Tool framework: function calling del LLM (Ollama/Claude)
- Backend: Express.js endpoints existentes
- Comunicacion: HTTP entre servicios