Aller au contenu

PD-295 — Rapport de confrontation (Étape 3)

Ce rapport est produit par l'orchestrateur Claude avant chaque gate PMO.
Il confronte les documents produits pour identifier convergences, divergences et zones d'ombre.

1. Sources confrontées

  • PD-295-specification.md (étape spécification contractuelle)
  • PD-295-tests.md (étape tests contractuels)

2. Convergences

  • Stack contractuelle alignée (FAISS/Ollama/Markdown-YAML-JSONL, dimension 768) : spécification INV-295-01, §5.2 ; tests TC-NOM-02, TC-NR-03.
  • Clarifications step 0 persistées avant rédaction et en verbatim : spécification INV-295-04, INV-295-05, §5.6 ; tests TC-NOM-04, TC-NOM-05.
  • search-clarifications exige --domain et --project : spécification INV-295-14, ERR-295-04 ; tests TC-NOM-06, TC-ERR-04.
  • Scoring B3 cohérent (fichier parallèle + formule fixe) : spécification INV-295-06, INV-295-07 ; tests TC-NOM-07, TC-NOM-08.
  • Migration/promotion/éviction et machine à états fermée alignées : spécification INV-295-08 à INV-295-11, §5.4, §5.8 ; tests TC-NOM-10, TC-NOM-11, TC-NOM-12, TC-ERR-13.
  • Injection B5 alignée (3 sections, cardinalités learnings/veille, traçage par source) : spécification INV-295-12, INV-295-13, §5.9 ; tests TC-NOM-13, TC-NOM-14.
  • reindex-all : ordre des phases convergent : spécification INV-295-15 ; tests TC-NOM-15, TC-NR-04.
  • Robustesse concurrence (lock/idempotence/rate-limit/réconciliation/clearing) convergente : spécification INV-295-18, §5.12 ; tests TC-NOM-17..20, TC-ERR-09, TC-ERR-10.
  • Modes dégradés alignés (source indisponible, indisponibilité totale, échec trace) : spécification ERR-295-05, ERR-295-06, ERR-295-12 ; tests TC-ERR-05, TC-ERR-06, TC-ERR-12.

3. Divergences

⚠️ Les conflits ne doivent JAMAIS être lissés. Chaque divergence est rendue visible.

  • DIV-01 : Statut de testabilité des critères CS/KPI (CA-295-17 à CA-295-20). Source A (spécification) : §7 les classe dans les « Critères d’acceptation (testables) ».
    Source B (tests) : §9 les classe non testables immédiatement (majeur/bloquant).
    Impact : verdict de conformité intégrale impossible à la gate sans arbitrage formel.

  • DIV-02 : Invariant non négociable INV-295-17 vs couverture partielle. Source A (spécification) : invariant non négociable.
    Source B (tests) : matrice §2 + invariants §5 => couverture « Partiel ».
    Impact : un invariant « non négociable » n’est pas démontré à 100% dans la campagne actuelle.

  • DIV-03 : Statut de l’intégration /morning. Source A (spécification) : §5.7 (N3, étape 6) impose la publication.
    Source B (tests) : §9 déclare un verdict strict impossible (contradiction « optionnel » vs « intégration »).
    Impact : conformité de la publication quotidienne non tranchable.

  • DIV-04 : Référence épique canonique incohérente. Source A (spécification) : Epic tooling (à confirmer).
    Source B (tests) : Epic EPIC-XX (à confirmer).
    Impact : traçabilité PMO/JIRA non univoque.

  • DIV-05 : Signature des événements d’observabilité. Source A (spécification) : §5.1.6 ne contractualise pas explicitement une signature d’événement.
    Source B (tests) : §8 exige « Événement signé / horodaté ».
    Impact : risque d’écart entre conformité produit et conformité test.

4. Zones d'ombre

  • Méthode exacte de corrélation Gate 8 GO v1 (statistique, fenêtre, agrégation) non définie.
  • Format canonique de l’identifiant learning exploité dans result_ids[] (unicité/stabilité/version) non explicité.
  • Implémentation technique du lock distribué (backend, reprise après crash) non documentée.
  • Comportement B5 en cas de source disponible mais sans résultat pertinent (count=0) non spécifié.
  • Gouvernance de restauration manuelle depuis ARCHIVED non couverte (hors périmètre annoncé).
  • Politique de conservation/sensibilité des clarifications PO (rétention, anonymisation, suppression) non définie.

5. Recommandation

  • Procéder — convergence confirmée, aucun conflit bloquant
  • Rework nécessaire — divergences à résoudre avant de continuer
  • Escalade — décision humaine requise sur un point structurant