PD-298 — Décomposition step 6a¶
Date : 2026-04-22 Mode : sequential (10 agents, 5 waves)
Parallelization¶
mode: sequential
waves:
- name: "Wave 0 — Types & Validation"
agents: [agent-types, agent-validation, agent-masking]
- name: "Wave 1 — Persistance & API"
agents: [agent-drm, agent-api]
- name: "Wave 2 — Hooks"
agents: [agent-hooks]
- name: "Wave 3 — UI Components & Screens"
agents: [agent-components, agent-screens]
- name: "Wave 4 — Guards & Telemetry"
agents: [agent-guards, agent-telemetry]
Manifest des tâches¶
| # | Agent | Module | Fichiers | Dépendances |
|---|---|---|---|---|
| 1 | agent-types | sharing-types | src/sharing/types/** | — |
| 2 | agent-validation | sharing-validation | src/sharing/validation/** | sharing-types |
| 3 | agent-masking | sharing-masking | src/sharing/masking/** | sharing-types |
| 4 | agent-drm | sharing-drm-prefs | src/sharing/drm-prefs/** | sharing-types |
| 5 | agent-api | sharing-api-client | src/sharing/api/** | sharing-types, sharing-validation |
| 6 | agent-hooks | sharing-hooks | src/sharing/hooks/** | sharing-types, sharing-api, sharing-drm-prefs, sharing-validation |
| 7 | agent-components | sharing-components | src/sharing/components/** | sharing-types, sharing-hooks, sharing-validation, sharing-masking |
| 8 | agent-screens | sharing-screens | src/sharing/screens/** | sharing-types, sharing-hooks, sharing-components, sharing-guards |
| 9 | agent-guards | sharing-guards | src/sharing/guards/**, src/screens/proofs/ProofDetailScreen.tsx | sharing-types |
| 10 | agent-telemetry | sharing-telemetry | src/sharing/telemetry/** | sharing-types |
Données résolues (pré-implémentation)¶
HT-01 — Regex email¶
Backend utilise class-validator @IsEmail() + @MaxLength(254) + trim+lowercase. L'app utilisera le même standard : validation RFC 5322 simplifiée via regex standard, longueur max 254, trim+lowercase.
HT-02 — Texte RGPD¶
Template structuré i18n : finalité (authentification destinataire + traçabilité), base légale (intérêt légitime + preuve), durée de rétention (90 jours après expiration/révocation), destinataires (propriétaire de la preuve), droits (accès, rectification, effacement — contact@probatiovault.com).
HT-03 — Textes ARB-7 et ARB-8¶
- ARB-7 (révocation) : "Révoquer ce lien empêchera tout accès futur via ProbatioVault. Les consultations ou copies déjà réalisées ne peuvent pas être annulées."
- ARB-8 (DRM) : "En partageant cette preuve, vous accordez un accès en lecture au destinataire. ProbatioVault ne peut pas empêcher les copies ou captures d'écran réalisées hors plateforme. La révocation bloque uniquement les accès futurs via ProbatioVault."
i18n¶
Fichier cible : src/i18n/fr/sharing.json Toutes les chaînes dans ce fichier, aucune en dur.