workspace-v1/projects/gamilit/docs/03-fase-extensiones/EXT-009-peer-challenges/historias-usuario/US-PEER-002-challenge-execution.md
Adrian Flores Cortes 967ab360bb Initial commit: Workspace v1 with 3-layer architecture
Structure:
- control-plane/: Registries, SIMCO directives, CI/CD templates
- projects/: Gamilit, ERP-Suite, Trading-Platform, Betting-Analytics
- shared/: Libs catalog, knowledge-base

Key features:
- Centralized port, domain, database, and service registries
- 23 SIMCO directives + 6 fundamental principles
- NEXUS agent profiles with delegation rules
- Validation scripts for workspace integrity
- Dockerfiles for all services
- Path aliases for quick reference

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 00:35:19 -06:00

958 B

US-PEER-002: 1v1 Challenge Execution

Épica: EXT-009: Peer Challenges Prioridad: P1 Story Points: 8 Esfuerzo: 8 horas Sprint: 12


📋 User Story

Como estudiante que aceptó un challenge,
Quiero completar el ejercicio y ver cómo me va vs mi oponente en tiempo real
Para sentir la emoción de la competencia

Criterios de Aceptación

Backend (4h)

  • Endpoint GET /api/v1/challenges/:id/start (iniciar challenge)
  • WebSocket events:
    • challenge:opponent_started
    • challenge:opponent_completed
    • challenge:progress_update (cada 25% del ejercicio)
  • Tracking de attempts por challenge_id

Frontend (4h)

  • Versus screen:
    • Avatares de challenger vs opponent
    • Progress bars de ambos
    • Timer (opcional)
    • Real-time updates vía WebSocket
  • Exercise player integrado en challenge mode
  • Loading state "Esperando a [opponent]..."

Creado: 2025-11-07