Skip to content

feat(mindmap): integrated HTML mindmaps localized for 8 languages (both families) - #819

Merged
jsboige merged 1 commit into
masterfrom
feat/mindmap-html-integrated-i18n-8lang
Jul 16, 2026
Merged

feat(mindmap): integrated HTML mindmaps localized for 8 languages (both families)#819
jsboige merged 1 commit into
masterfrom
feat/mindmap-html-integrated-i18n-8lang

Conversation

@jsboige

@jsboige jsboige commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Quoi

Régénère les mindmaps HTML intégrés (SVG inline autoportant — le format servi en prod + relu en navigateur par Thomas & Adeline) depuis les .content.svg localisés courants, pour les 8 langues, les 2 familles (Fallacies + Virtues). 16 fichiers.

Fidèle au pipeline (MindMapHtmlWrapper.FormatWrapper) : strip <?xml?> + injection dans included.html [SVGCONTENT].

Corrige 2 défauts

  • Virtues : les 4 HTML existants (fr/en/ru/pt) étaient des clones FR byte-identiques (même SHA256, 0 cyrillique dans le "ru") et es/ar/fa/zh manquaient. → 8/8 présents, chacun localisé + interactif (223 nodes cliquables, description/exemple/lien localisés — vérifié navigateur, ru node0 = "Обоснованный аргумент").
  • Fallacies : rafraîchis depuis le content.svg localisé de juin 2026 (le HTML committé embarquait un snapshot stale de mai).

Gap connu (séparé, préexistant)

Le content.svg Fallacies (FreeMind-Batik) porte 0 node interactif (vs 1408 sur la page prod 2024, vs 223 sur Virtues) — l'injection de nodes n'a rien matché pour Fallacies au regen #565. L'arbre localisé statique est correct et reviewable ; restaurer l'interactivité click→définition = fix pipeline en suivi.

Délégation directe jsboige (session interactive 2026-07-16) : lander les mindmaps 8 langues + publier en prod pour T&A.

🤖 Coordinator ai-01

…nguages (both families)

Regenerate the self-contained (inline-SVG) mindmap HTML from the CURRENT
localized .content.svg, for all 8 languages, both families — the format
that renders in-browser for Thomas & Adeline's visual review and that the
prod site serves.

Faithful to the pipeline (MindMapHtmlWrapper.FormatWrapper): strip the
inline SVG <?xml?> declaration, inject into included.html [SVGCONTENT].

Fixes two defects in the committed integrated HTML:
- Virtues: the 4 existing HTML (fr/en/ru/pt) were byte-identical FR clones
  (same SHA256, 0 Cyrillic in the "ru" file) and es/ar/fa/zh were MISSING.
  Now 8/8 present, each localized + interactive (223 clickable nodes with
  localized description/example/link — verified in-browser, ru node0 =
  "Обоснованный аргумент").
- Fallacies: refreshed from the current Jun-2026 localized content.svg
  (the committed HTML embedded a stale May-2026 snapshot).

Known gap (separate, pre-existing): the FreeMind-Batik Fallacies
content.svg carries 0 interactive `.node` overlays (vs 1408 on the
2024 prod page and vs 223 on Virtues) — the node-injection matched
nothing for Fallacies during the #565 regen. Localized static tree is
correct and reviewable; restoring click-to-define interactivity is a
follow-up pipeline fix (node-injection matcher + FreeMind regen).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jsboige
jsboige merged commit 20e87c7 into master Jul 16, 2026
3 checks passed
@jsboige
jsboige deleted the feat/mindmap-html-integrated-i18n-8lang branch July 16, 2026 22:21
jsboige added a commit that referenced this pull request Jul 16, 2026
…ppers (read-only, 0 write) (#821)

Read-only check on the 29 integrated HTML mindmap wrappers regenerated by
#819 (the T&A review vehicle for gate (b)), extending the #818 encoding
thread. Answers a concrete de-risking question: did the #804 residual #3
(.content.svg declare encoding="utf-16" but are UTF-8+BOM, ai-01 Cycle H)
propagate into the file Thomas & Adeline actually open?

Result: NO. 0/29 wrappers carry the latent.
- 29/29 are really UTF-8, declare charset=UTF-8 (meta).
- 0 utf-16-declared-but-utf8 mismatches.
- Cause: MindMapHtmlWrapper.FormatWrapper strips the <?xml?> prologue and
  injects the SVG into an HTML shell with its own charset=UTF-8, so the
  erroneous utf-16 declaration is eliminated, not inherited.

Independently corroborates ai-01's Cycle H localization certification
(SHA256 #636 + script composition) on the freshest artifact (#819).

Tracked-not-fixed observation: 4/29 wrappers carry a BOM
(Fallacies_{ar,es,fa,zh}.html) — harmless (meta charset + BOM precedence)
but inconsistent. Fix = po-2023 regen lane (mindmaps), not po-2024
(Cards). Folded into po-2023's post-tag mindmap regen pass (#804 #1/#2/#3).

Out of scope: wrapper/.content.svg regen, MindMapHtmlWrapper edit, BOM
strip — all lane po-2023. No write prod this PR.

Refs: #819, #804 residu #3, #818, #458.

Co-authored-by: Your <your.email@example.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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