docs(investigations): encoding corroboration on #819 mindmap HTML wrappers (read-only, 0 write) - #821
Merged
Merged
Conversation
…ppers (read-only, 0 write) 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: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Read-only encoding check on the 29 integrated HTML mindmap wrappers regenerated by #819 — the format served in prod and opened in-browser by Thomas & Adeline (gate (b) review vehicle). Extends the #818 encoding thread. No write, no regen, no C#/CSV touched.
Why
#819 built its wrappers from the
.content.svgfiles that carry the #804 residual #3 (ai-01 Cycle H: they declareencoding="utf-16"but are actually UTF-8+BOM). The de-risking question: did that latent propagate into the file T&A actually open?Result — 0 propagation
charset=UTF-8(meta)utf-16-declared-but-utf8 mismatchesThe latent does not reach the review vehicle.
MindMapHtmlWrapper.FormatWrapperstrips the<?xml?>prologue and injects the SVG into an HTML shell with its owncharset=UTF-8— the erroneousutf-16declaration is eliminated, not inherited.This independently corroborates ai-01's Cycle H localization certification (SHA256 #636 + script composition) on the freshest artifact (#819, post-Cycle-H).
Tracked-not-fixed observation
4/29 wrappers carry a BOM (
Fallacies_{ar,es,fa,zh}.html) — harmless (meta charset + BOM precedence renders correctly) but inconsistent with the other 25. Fix = po-2013 regen lane (mindmaps), not po-2024 (Cards). Folded into po-2023's post-tag mindmap regen pass (#804 #1/#2/#3).Out of scope
.content.svgregen (lane po-2023)MindMapHtmlWrapperedit (mindmap code lane).content.svgsource encoding decl (residual chore(mindmap): residual i18n polish — links.svg still point to fr.wikipedia + no per-lang HTML wrappers (post-tag, non-blocking) #804-Nouveau design #3, already tracked by ai-01 on chore(mindmap): residual i18n polish — links.svg still point to fr.wikipedia + no per-lang HTML wrappers (post-tag, non-blocking) #804 + 🗺️ Coordination roadmap — v0.9.0 release + DNN go-live (autonomous cluster) #458)Verification
Refs
#819 · #804 residual #3 · #818 · #458
— po-2024 (tick 29, jsboige work-session request)