Commit Graph

5 Commits

Author SHA1 Message Date
Adrian Flores Cortes
149e44735f feat(auth): Implement auto-refresh token interceptor (ST4.1 partial)
BLOCKER-001: Auto-Refresh Tokens

Implemented:
 Centralized API client with auto-refresh interceptor
 Request queueing (prevents multiple simultaneous refreshes)
 Retry logic (max 1 retry per request)
 Token management functions (get/set/clear)
 Auth service migrated to apiClient
 ET-AUTH-007 technical specification

Core functionality complete - Users no longer need to re-login every hour.

Pending:
- ST4.1.2: Backend refresh token rotation
- ST4.1.3: Migrate other services to apiClient
- ST4.1.4: Secure storage (httpOnly cookies)
- ST4.1.5: E2E tests

Files:
- apps/frontend/src/lib/apiClient.ts (new, 237 lines)
- apps/frontend/src/services/auth.service.ts (updated)
- docs/.../ET-AUTH-007-token-lifecycle-autorefresh.md (new, 634 lines)

Part of ST4: Blockers P0 Resolution.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 19:16:39 -06:00
Adrian Flores Cortes
cdec253b02 [TASK-2026-01-25-FRONTEND-ANALYSIS] docs: Add frontend specifications and user stories
- Add 5 frontend specification documents (ET-*-frontend.md):
  - ET-AUTH-006: Authentication module frontend spec
  - ET-ML-008: ML Signals module frontend spec
  - ET-LLM-007: LLM Agent module frontend spec
  - ET-PFM-008: Portfolio Manager frontend spec (design)
  - ET-MKT-003: Marketplace frontend spec (design)

- Add 8 new user stories:
  - US-AUTH-013: Global logout
  - US-AUTH-014: Device management
  - US-ML-008: Ensemble signal view
  - US-ML-009: ICT analysis view
  - US-ML-010: Multi-symbol scan
  - US-LLM-011: Execute trade from chat
  - US-PFM-013: Rebalance alerts
  - US-PFM-014: PDF report generation

- Update task index with completed analysis

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 01:47:27 -06:00
c1b5081208 feat(ml): Complete FASE 11 - BTCUSD update and comprehensive documentation alignment
ML Engine Updates:
- Updated BTCUSD with Polygon API data (2024-2025): 215,699 new records
- Re-trained all ML models: Attention (R²: 0.223), Base, Metamodel (87.3% confidence)
- Backtest results: +176.71R profit with aggressive_filter strategy

Documentation Consolidation:
- Created docs/99-analisis/_MAP.md index with 13 new analysis documents
- Consolidated inventories: removed duplicates from orchestration/inventarios/
- Updated ML_INVENTORY.yml with BTCUSD metrics and training results
- Added execution reports: FASE11-BTCUSD, correction issues, alignment validation

Architecture & Integration:
- Updated all module documentation with NEXUS v3.4 frontmatter
- Fixed _MAP.md indexes across all folders
- Updated orchestration plans and traces

Files: 229 changed, 5064 insertions(+), 1872 deletions(-)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 09:31:29 -06:00
a7cca885f0 feat: Major platform documentation and architecture updates
Changes include:
- Updated architecture documentation
- Enhanced module definitions (OQI-001 to OQI-008)
- ML integration documentation updates
- Trading strategies documentation
- Orchestration and inventory updates
- Docker configuration updates

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 05:33:35 -06:00
ef42f5353a Initial commit - trading-platform 2026-01-04 06:12:13 -06:00