- 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.1 KiB
1.1 KiB
| id | title | type | status | rf_parent | epic | version | created_date |
|---|---|---|---|---|---|---|---|
| ET-LTI-002 | Modelo de Datos LLM-Trading Integration | Specification | Backlog | RF-LTI-001 | OQI-010 | 1.0 | 2026-02-06 |
ET-LTI-002: Modelo de Datos LLM-Trading Integration
Nota
OQI-010 NO introduce tablas nuevas. Utiliza tablas existentes de:
- llm schema: conversations, messages, tools, tool_executions (OQI-007)
- trading schema: orders, positions (OQI-003)
- audit schema: trading_audit (OQI-001)
- ml schema: signals (OQI-006)
Extensiones Propuestas
Si se requiere persistencia adicional, se propone:
llm.trading_tool_configs
| Columna | Tipo | Descripcion |
|---|---|---|
| id | UUID | PK |
| tool_name | VARCHAR(100) | Nombre del tool |
| is_enabled | BOOLEAN | Habilitado/deshabilitado |
| requires_confirmation | BOOLEAN | Requiere confirmacion |
| max_calls_per_minute | INT | Rate limit |
| config_json | JSONB | Configuracion adicional |
Indices y Constraints
- FK: tool_executions.tool_id -> tools.id (ya existe en OQI-007)
- La tabla trading_tool_configs es nueva y se asignaria al schema llm