{
  "meta": {
    "title": "Veza Integration V2 TodoList",
    "description": "Tâches mineures restantes pour atteindre 10/10 - Améliorations optionnelles",
    "generated_at": "2025-01-27T00:00:00Z",
    "version": "2.1.0",
    "previous_version": "2.0.0",
    "previous_completion": "32/32 (100%)",
    "scope": {
      "included": ["apps/web/", "veza-backend-api/"],
      "excluded": ["veza-chat-server/", "veza-stream-server/"]
    },
    "current_score": "10/10",
    "target_score": "10/10"
  },
  "summary": {
    "by_priority": {
      "P0_blocker": 0,
      "P1_critical": 0,
      "P2_major": 0,
      "P3_minor": 0
    },
    "total_tasks": 3,
    "estimated_hours": 0.5
  },
  "tasks": [
    {
      "id": "INT-V2-001",
      "category": "INT-CLEANUP",
      "title": "Corriger référence legacy auth store dans stateInvalidation.ts",
      "description": "Remplacer require('@/stores/auth') par @/features/auth/store/authStore dans utils/stateInvalidation.ts",
      "priority": "P3",
      "priority_rank": 1,
      "status": "completed",
      "completed_at": "2025-01-27T00:00:00Z",
      "estimated_hours": 0.08,
      "side": "frontend_only",
      "files_to_modify": [
        "apps/web/src/utils/stateInvalidation.ts"
      ],
      "implementation_steps": [
        "Ouvrir apps/web/src/utils/stateInvalidation.ts",
        "Ligne 232: Remplacer require('@/stores/auth') par require('@/features/auth/store/authStore')",
        "Vérifier que useAuthStore.getState() fonctionne toujours",
        "Compiler TypeScript pour vérifier"
      ],
      "acceptance_criteria": [
        "stateInvalidation.ts utilise le bon store auth",
        "Aucune erreur TypeScript",
        "Fonctionnalité intacte"
      ],
      "dependencies": [],
      "blocks": [],
      "verification_command": "cd apps/web && npm run type-check"
    },
    {
      "id": "INT-V2-002",
      "category": "INT-TYPE",
      "title": "Utiliser enum TrackStatus dans types/api.ts",
      "description": "Remplacer le string literal 'uploading' | 'processing' | 'completed' | 'failed' par l'enum TrackStatus dans types/api.ts",
      "priority": "P3",
      "priority_rank": 2,
      "status": "completed",
      "completed_at": "2025-01-27T00:00:00Z",
      "estimated_hours": 0.17,
      "side": "frontend_only",
      "files_to_modify": [
        "apps/web/src/types/api.ts"
      ],
      "implementation_steps": [
        "Ouvrir apps/web/src/types/api.ts",
        "Importer TrackStatus depuis features/tracks/types/track.ts",
        "Ligne 74: Remplacer string literal par status: TrackStatus",
        "Vérifier que tous les usages de Track.status fonctionnent",
        "Compiler TypeScript"
      ],
      "acceptance_criteria": [
        "Track.status utilise TrackStatus enum",
        "Aucune erreur TypeScript",
        "Type-safety amélioré"
      ],
      "dependencies": [],
      "blocks": [],
      "verification_command": "cd apps/web && npm run type-check"
    },
    {
      "id": "INT-V2-003",
      "category": "INT-DOC",
      "title": "Mettre à jour documentation avec types corrects",
      "description": "Corriger les exemples dans README.md et Table.test.tsx pour utiliser id: string au lieu de id: number",
      "priority": "P3",
      "priority_rank": 3,
      "status": "completed",
      "completed_at": "2025-01-27T00:00:00Z",
      "estimated_hours": 0.25,
      "side": "frontend_only",
      "files_to_modify": [
        "apps/web/src/features/player/README.md",
        "apps/web/src/components/data/Table.test.tsx"
      ],
      "implementation_steps": [
        "Ouvrir apps/web/src/features/player/README.md",
        "Rechercher id: number et remplacer par id: string",
        "Ouvrir apps/web/src/components/data/Table.test.tsx",
        "Ligne 7: Remplacer id: number par id: string",
        "Vérifier que les tests passent toujours"
      ],
      "acceptance_criteria": [
        "Documentation utilise id: string",
        "Tests passent toujours",
        "Exemples cohérents avec code réel"
      ],
      "dependencies": [],
      "blocks": [],
      "verification_command": "cd apps/web && npm test -- Table.test.tsx"
    }
  ],
  "progress_tracking": {
    "total_tasks": 3,
    "completed": 3,
    "completion_percentage": 100
  }
}

