From c6bde4561f9c424a498f35ff30ffb9ee3ca1d4f1 Mon Sep 17 00:00:00 2001 From: nick Date: Mon, 9 Nov 2026 17:06:20 +0000 Subject: [PATCH] Hand over remaining Word structural validation issue to Atlas --- .../2026-11-09-v1.0.0.27-windows-qualification.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Docs/WordCompanion/WindowsHandover/2026-11-09-v1.0.0.27-windows-qualification.md b/Docs/WordCompanion/WindowsHandover/2026-11-09-v1.0.0.27-windows-qualification.md index bddd70de..0131bf15 100644 --- a/Docs/WordCompanion/WindowsHandover/2026-11-09-v1.0.0.27-windows-qualification.md +++ b/Docs/WordCompanion/WindowsHandover/2026-11-09-v1.0.0.27-windows-qualification.md @@ -22,3 +22,15 @@ Remaining: verify restart/recovery, real Word changed-chapter reconciliation, an ## Author follow-up The author observed Writing Context follow when clicking inside accepted chapters. Clicking inside the final picture chapter left Context in its previous location; the ribbon status disappeared and repair stopped. Restarting the repair resumed near chapter 9. A fresh Development read at 16:45:53 UTC confirmed ten durable checkpoints and ten validations at Word revision 0, with unchanged paragraph and canonical-position hashes. The server still recorded the original session ID, so this proves repair retry and continuation within that session; recovery across a new Word session is not established. + +## Latest Windows result and Atlas handover + +The author reported 47 of 48 chapters accepted in Word Companion 1.0.0.27, with Writing Context and Writing Intent working. A fresh read-only Development query independently found 47 durable checkpoints and 47 validations for the original Word session at revision 0. The manuscript remains at revision 2, with 8,457 paragraphs and paragraph positions, 48 active chapters and 290 active scenes. The paragraph and canonical position hashes still match the baseline. Full 48/48 acceptance remains outstanding. + +The final chapter includes Catherine's letter, a QR code and a signature image. Its heading is visually formatted but is not a genuine Word Heading 1. These details are suspected contributors. The investigation has not tied the empty Word position to a specific image or established a causal role for the heading style. + +The exact reported validation error was `Word range length contains unsupported structural content; positions were not guessed`. The throw in source appends a full stop. In [the VSTO chapter reader](../../../PlotDirector.NativeCompanion/Vsto/WordChapterRead.cs#L154), the initial range check compares `Range.Text.Length` with `End - Start` before XML or per-paragraph certification. The measured failing Word range is [838510, 845456), with 6,946 Word positions and 6,945 UTF-16 units. The paragraph starting at 844820 spans 12 positions and returns 11 units. Its first position, [844820, 844821), returns empty text and matches the floating picture anchor reported by Word (shape type 13). The chapter also has a separate inline picture. + +The [per-paragraph native text checks](../../../PlotDirector.NativeCompanion/Vsto/WordChapterRead.cs#L171) and [downstream chapter fingerprint parser](../../../PlotDirector.NativeCompanion/Protocol/Manuscript/ChapterFingerprint.cs#L60) are the next relevant code paths. The initial range check rejects this case before either can certify the chapter. The Windows evidence establishes the position/text mismatch. Atlas owns investigation and correction. + +This handover adds documentation only. There were no outstanding source or test changes. The installed Companion and Discovery were left in place, and no new repair or build was run.