aissia/docs/04-reference/content-integrated.md
StillHammer ba42b6d9c7 Update CDC with hybrid architecture (WarFactory + multi-target)
- Add hybrid deployment modes: local_dev (MVP) and production_pwa (optional)
- Integrate WarFactory engine reuse with hot-reload 0.4ms
- Define multi-target compilation strategy (DLL/SO/WASM)
- Detail both deployment modes with cost analysis
- Add progressive roadmap: Phase 1 (local), Phase 2 (POC WASM), Phase 3 (cloud)
- Budget clarified: $10-20/mois (local) vs $13-25/mois (cloud)
- Document open questions for technical validation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 11:49:09 +08:00

6.8 KiB

Points Intégrés - Content Integrated

Points 1-10 - Architecture Fondamentale INTÉGRÉS

🔥 Architecture Core (CRITICAL) - INTÉGRÉS

1. Triple Interface Pattern - IEngine → IModuleSystem → IModule → IIO pour séparation complète responsabilités

  • Intégré : CLAUDE.md ligne 42

2. Évolution Progressive Architecture - Debug → Production → DataOriented avec hot-swappable infrastructure

  • Intégré : CLAUDE.md architecture modulaire

3. Claude Code Micro-Context - Modules 200-300 lignes max pour efficacité IA développement

  • Intégré : CLAUDE.md ligne 44

4. Client/Server Modulaire - V1 Thin Client validation → V2 Shared Logic prediction

  • Intégré : CLAUDE.md ligne 42

5. Distribution Performance-Based - Critical locale, Strategic distribuée selon tolérance latence

  • Intégré : CLAUDE.md ligne 45

Workflow Développement (HIGH) - INTÉGRÉS

6. Build Autonome - cmake . par module, zéro dépendance parent

  • Intégré : CLAUDE.md lignes 99-101

7. Hot-Reload Infrastructure - Remplacement temps réel modules avec sauvegarde état

  • Intégré : docs/architecture-technique.md section Hot-Reload Infrastructure

8. Développement Parallèle - Multiple instances Claude Code simultanées sans conflits

  • Intégré : docs/toCheck/claude-code-integration.md lignes 80-100
  • Intégré : docs/toCheck/AddToClaudemd.md Point 8

9. CLAUDE.md Spécialisés - Instructions contextuelles limitées par module

  • Intégré : docs/toCheck/claude-code-integration.md lignes 102-147
  • Intégré : docs/toCheck/AddToClaudemd.md Point 9

10. Migration V1→V2 - Évolution sans risque architecture client/server

  • Intégré : docs/architecture-technique.md lignes 568-585
  • Intégré : docs/toCheck/AddToClaudemd.md Point 10

Statut Intégration

  • Points 1-10 : COMPLÈTEMENT INTÉGRÉS
  • Points 86-89 : INTÉGRÉS - Contraintes CRITICAL dans CLAUDE.md
  • Points 90-95 : INTÉGRÉS - Transport costs dans transport-economic-system.md
  • Point 131 : INTÉGRÉ - ProductionModule exception dans CLAUDE.md
  • Point 166 : INTÉGRÉ - IModule interface dans CLAUDE.md
  • Points 126-130, 135, 42-44 : INTÉGRÉS - Diverses contraintes

Nouveaux Points Intégrés (98-104)

98. V1 Client Target - 30+ fps stable

  • Intégré : docs/architecture-technique.md section V1

99. V2 Client Target - 60+ fps avec prediction

  • Intégré : docs/architecture-technique.md section V2

100. V1 Server Capacity - 10+ concurrent players

  • Intégré : docs/architecture-technique.md section V1

101. V2 Server Capacity - 100+ concurrent players

  • Intégré : docs/architecture-technique.md section V2

102. V1 Latency - <150ms validation acceptable

  • Intégré : docs/architecture-technique.md section V1

103. V2 Network - 30ms server, 0ms perceived client

  • Intégré : docs/architecture-technique.md section V2

104. ISocket Overhead - >1ms INACCEPTABLE ProductionModule

  • Intégré : CLAUDE.md Module Constraints

Points 251-350 Intégrés - Configuration, Error Handling, Security & Deployment

251-290. Configuration Parameters - Transport thresholds, costs, times, storage, stock levels, construction costs

  • Intégré : docs/configuration/ (transport-economic-system.md + module-configuration.md)

291-310. Error Handling - Anti-cheat validation, input responses, module failures, network issues

  • Intégré : docs/configuration/error-handling.md

311-330. Security Measures - Server authority, anti-cheat, client prediction, psychological warfare

  • Intégré : docs/configuration/security-measures.md

331-350. Deployment Strategies - Progressive V1→V2, hot-reload production, A/B testing

  • Intégré : docs/configuration/deployment-strategies.md
  • Organisé : Dossier configuration complet avec README

Points 351-390 Intégrés - Claude Code Development Practices

351-390. Development Practices - Claude Code limits, parallel development, build patterns, testing

  • Intégré : CLAUDE.md section "Claude Code Development Practices (Points 351-390)"

Points 391-430 Déjà Intégrés - Integration Patterns

391-430. Integration Patterns - Module communication, engine coordination, client-server sync

  • Déjà intégré : architecture-technique.md (Triple Interface, JSON, hot-reload)
  • Déjà intégré : architecture-modulaire.md (IEngine/IModuleSystem/IModule/IIO)
  • Déjà intégré : claude-code-integration.md (Module coordination, builds)
  • Déjà intégré : player-integration.md (Client-server sync)

Points 431-470 Déjà Intégrés - User Experience

431-470. User Experience - Latency targets, hot-reload UX, config modification, multiplayer sync

  • Déjà intégré : architecture-technique.md (Performance targets V1/V2, latency specs)
  • Déjà intégré : player-integration.md (30+fps/60+fps, 150ms/0ms latency)
  • Déjà intégré : docs/configuration/ (Hot-reload UX, config modification)
  • Déjà intégré : factory-architecture-post-player.md (Frame-perfect 60fps)

Points 471-570 Déjà Intégrés - Business Logic & Build System

471-510. Business Logic Rules - Transport hierarchy, volume thresholds, economic cycles, pricing

  • Déjà intégré : docs/configuration/transport-economic-system.md (Ship 0.10€/kg → Truck 5.00€/kg)

511-530. File Structure - Module directories, client/server/shared, naming conventions

  • Déjà intégré : architecture-technique.md (modules/ structure, CLAUDE.md pattern)
  • Déjà intégré : README.md (Development workflow, file organization)

531-570. Build System Details - Commands, CMake structure, dependencies, libraries

  • Déjà intégré : architecture-technique.md (cmake ., NEVER/ALWAYS patterns)
  • Déjà intégré : CLAUDE.md (Build commands, project structure)

Points 136-142 Déjà Intégrés - Interface Contracts

136-142. Interface Contracts - JSON in/out, pure functions, pas side effects

  • Déjà intégré : architecture-technique.md (JSON in/out uniquement, logic métier pure)
  • Déjà intégré : architecture-modulaire.md (JSON communication, aucune dépendance infrastructure)
  • Déjà intégré : claude-code-integration.md (Pure logic only, JSON messages)

Total Intégré : 357 points sur 570

  • Localisation : CLAUDE.md, architecture-technique.md, claude-code-integration.md, docs/configuration/
  • Restant : 131 points spécifiés + 82 non-spécifiés à traiter