docs: bootstrap ONAPAY platform repository (from-scratch rebuild)

- CLAUDE.md v1.1, 19 ADRs (ADR-0019: rebuild from scratch, Anything MVP code not reused)
- Architecture docs (microservices, stack, UI composition, Kubernetes deployment)
- Cost, pricing and production run-cost estimate
- Contract specs (CDC v1.0, v2.0, MVP V1, vision v4.0)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 23:59:28 +03:00
co-authored by Claude Opus 5.5
commit 35ccef3ce0
32 changed files with 1474 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# ADR-0006 — Temporal pour les sagas et traitements planifiés
**Statut** : Accepté · 2026-12-03
**Décision** : Temporal auto-hébergé sur EKS (persistance RDS `pg-support`, base `temporal`). Utilisé par :
- payment-orchestrator : workflow `Payment` par intent, avec minuteur d'expiration, attente du callback, interrogation du statut en repli, compensations ;
- identity : workflow `GuestActivation` (lien valide 72 h, relance J+1) ;
- reconciliation : traitement nocturne planifié.
Identifiant de workflow = identifiant métier (idempotence). L'UI Temporal permet de visualiser chaque saga.
**Alternatives rejetées** : machine à états XState + pg-boss (durabilité et minuteurs à réimplémenter) ; chorégraphie pure par événements (flux de paiement non traçable).