Skip to content

docs(architecture): fix Mermaid label cropping + align Sirene RGPD on #93 - #95

Merged
GMartin-Data merged 1 commit into
mainfrom
docs/fix-mermaid-rendering
Jun 4, 2026
Merged

GMartin-Data merged 1 commit into
mainfrom
docs/fix-mermaid-rendering

Conversation

@GMartin-Data

Copy link
Copy Markdown
Owner

Contexte

Plusieurs labels de nœuds des diagrammes Mermaid de docs/architecture.md
débordaient de leur boîte (texte tronqué au rendu, en flowchart LR) :
titres stg_france_travail__offres, int_offres_analytiques, fct_offres
coupés, ainsi que le nœud GAP du diagramme monitoring. Cause : des lignes de
label trop longues pour la largeur allouée par le layout LR.

Au passage, le nœud STG_SI portait l'assertion « masquage RGPD », que la
PR #93 vient de corriger comme inexacte côté code dbt.

Changements

docs/architecture.md — 5 nœuds, 2 diagrammes :

Nœud Correction
STG_FT, INT_ANA, FCT_OFF Découpage des lignes longues (<br/> supplémentaires). Aucun texte modifié, seuls les points de coupure changent.
GAP (monitoring) Idem — découpage du label en 4 lignes courtes.
STG_SI « masquage RGPD » → « tags PII · non exposé » : alignement sur PR #93.

Décision technique

STG_SI : aucun masquage n'est appliqué (cf. PR #93). Sirene est un modèle
terminal
— la jointure FT × Sirene a été abandonnée (D14-bis, SIRET absent
des offres), donc la PII est taguée pour traçabilité (tag:pii) mais jamais
exposée
en aval. Le label reflète désormais ce fait, plus l'intention erronée.

Validation

  • Changement documentation-only (Mermaid dans un .md). Aucune logique touchée.
  • Pre-commit OK (Conventional Commit passed ; hooks ruff Skipped — pas de fichier Python).
  • Rendu à re-vérifier visuellement dans l'aperçu Markdown (aucun outil de rendu Mermaid en CI).

Refs : PR #93 (correction RGPD Sirene), D14-bis (jointure FT × Sirene abandonnée), D109 (trou alerte scheduler).

…93

Several node labels overflowed their boxes in LR flowcharts (text cropped
at render): STG_FT, INT_ANA, FCT_OFF in the dbt lineage diagram, and GAP
in the monitoring diagram. Split the long lines with extra <br/> — no text
or meaning changed, only line-break points.

Also correct STG_SI: "masquage RGPD" → "tags PII · non exposé", aligning
the diagram with PR #93 (no masking is applied; Sirene is a terminal model,
PII tagged for traceability but never exposed downstream — D14-bis).
@GMartin-Data
GMartin-Data merged commit 7302187 into main Jun 4, 2026
6 checks passed
@GMartin-Data
GMartin-Data deleted the docs/fix-mermaid-rendering branch June 4, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant