PlotDirector/Docs/Writer/Word-Companion-Ribbon-47-Atlas-Handover-20261123.md

7.6 KiB

Word Companion .47 ribbon refinement — Atlas handover

23 November 2026. Existing branch: codex/word-companion-native-phase1-20261104; remote: PlotDirector (https://git.catherinelynwood.com/nick/PlotDirector.git). Qualified application and installer source: cfcd40b5b9175f26ca1ab1de0d1fdfbcfe4147f5. Ribbon implementation: 2b8e7cf7; compiled Windows qualification check: cfcd40b5.

Ready for user installation and physical acceptance, not physically accepted. The user reports that .46 shared focus is working. Read-only file metadata confirms installed VSTO and agent EXE versions 1.0.0.46; this check does not claim to inspect the loaded Word assembly. The working installation, Word sessions and personal configuration were not changed. No computer-use automation was needed for this delivery.

Change and preserved integration

  • The existing PlotDirectorHold toggle uses Office size="large", matching Context/PlotDirector, and stays in the Manuscript focus group.
  • Available and Following: Hold / Pause. Available and Held: Resume / Play. Unavailable: Hold / Pause, disabled, with the existing concise recovery tooltip. The existing per-window pressed state is retained; reconnect re-enables the appropriate action without discarding Hold state.
  • Dynamic imagery reuses the existing 32px Audio Review renderer and its two cached Play/Pause pictures. Existing invalidation remains keyed to actual Word-window identity, Hold state and availability; no extra invalidation loop/timer was added.
  • The redundant State field was already removed in .46 and remains absent. No replacement persistent status field or retired Intent control was added.
  • Book/Chapter/Scene fields, Context, PlotDirector, Open Companion, Audio Review, Synchronise and Tools retain their bindings and grouping. The shared icon renderer's public Audio callback remains intact.
  • No change to Word input detection, publication, mapping, per-window Hold ownership, native IPC, authenticated document/session routing, SignalR, focus storage, content updates or navigation acknowledgements. Resume invokes the existing SetFocusHeld(false) catch-up path. There is no server/web contract change and no new configuration, dependency, migration or stored procedure.

Only Vsto/Ribbon.xml, Vsto/NativeRibbon.cs, native/version/MSI metadata and the new isolated WindowsValidation/Test-WordFocusRibbon.ps1 check changed. No application/web source, manuscript/relationship/story/investigation data or Production service changed. Main PlotDirector focus dropdown and History ribbon changes remain entirely for Atlas. Previous/Next retain manuscript-scene order; no browser Back/Forward semantics were introduced.

Windows build and package qualification

The complete application executable regression harness also passed: 797 PASS, exit 0. Builds and regression runs were serial; no loopback fixture host was left running.

Used the established Update-WordCompanion.ps1 -NoSync -CertificateThumbprint 4F3EE0D52D2C60214FB1F81DF6E479820A16487F on a clean source commit, followed by the existing Setup/Build-Setup.ps1 and Setup/Test-SetupPackage.ps1. Dependencies restored; complete Release solution and actual Office/VSTO build passed with zero warnings/errors. The established native/focused application pipeline produced 385 PASS.

The new Windows check loads the actual signed VSTO package assembly in a short-lived .NET Framework process, reads its embedded ribbon XML, invokes unavailable-state callbacks and creates/caches the real Play/Pause pictures. 23 assertions passed: large size, group, all dynamic bindings, no overriding Lock icon, removed State/Intent, preserved controls, disabled state, recovery tooltip and distinct cached images. The same compiled check rejects .46 at the large-control assertion, demonstrating the baseline difference. It does not load Word or instantiate an editor adapter and therefore does not establish real Held-state behavior, Office layout or physical navigation.

Windows PowerShell's script policy blocked an initial attempt to run the check there. The final check uses the existing .NET Framework C# compiler from the normal build shell. No execution-policy, trust-store or security setting was changed.

162 installer assertions passed against the verified .46 MSI, including upgrade identity, contents/extraction, installed dependencies, version metadata and supported current-user installation policy. Both VSTO manifests were verified by mage. Installer and MSI use native version 1.0.0.47 / MSI 1.0.47, ProductCode {34A55804-99FD-48F1-9855-13BFC88F9625} and the established UpgradeCode {641A087B-9779-458C-B290-BCBBAD49319A}.

EXE/MSI signing uses the existing developer certificate 4F3EE0D52D2C60214FB1F81DF6E479820A16487F (private key present; expires 4 December 2026). Windows reports UnknownError specifically because the chain terminates in an untrusted root, as for .46. This is signed developer output, not a claim of publicly trusted Authenticode. No certificate was invented or installed and signing was not bypassed.

Downloads delivery and rollback

Actual Windows Known Folder resolution was used, not a hard-coded user profile:

C:\Users\Nick\Downloads\PlotDirector-Windows-20261123-1931\

Run PlotDirectorCompanionSetup.exe, the established bootstrapper containing the MSI. The matching PlotDirectorCompanion.msi, README, source/configuration/date/hash/content build manifest and package evidence accompany it. The installer embeds all native payload files; the separately retained source payload is C:\Users\Nick\Downloads\PlotDirectorWordCompanion\1.0.0.47-cfcd40b5. Existing runtime prerequisites are documented in the README and checked by setup; no runtime installation or repair was performed.

File SHA-256
PlotDirectorCompanionSetup.exe 2CB1946594DDDB4863F959ABC8AE9B49F74075E0545A033F0BE5373529B20156
PlotDirectorCompanion.msi 0979EDCB7D3FF962A4447D5B93F8BEC959991EB9F782A054859DA32425526442

Verified .46 rollback EXE/MSI/evidence were copied into the private .47 qualification directory. Their SHA-256 values remain 66012856E230F9762158F534426DA23B8B1FFE62AB24A025F04F09F841641255 and 2B4015C33C2ED1A196F17C8D9544880628AF27098E8ADEE3AED3B226F8664847. Original .46 and earlier rollback packages remain untouched. Generated setup build/extraction directories were moved into private evidence, leaving a clear delivery folder; no release binaries are committed to Git.

Private logs and package reports are in the directory named by %LOCALAPPDATA%\PlotDirectorQualification\word-ribbon47-current.txt. The user-facing build manifest records exact source, configuration, UTC build date, payload inventory and installer hashes.

Remaining physical acceptance

The user will install and test this package. Close Word normally before running setup. Not verified with .47: actual installation/loaded versions; large ribbon layout at normal/reduced widths; visible Pause/Hold and Play/Resume including keyboard/pressed state; real Word clicks publishing to Review/Context; incoming focus from both clients; independent Word Hold and Resume catch-up; live data while Held; reconnect without F5; multiple independent Context windows; no focus loops, focus stealing or caret disruption; Context/PlotDirector launch, Companion, Audio Review, Synchronise and Tools functionality. No real manuscript edits are needed for navigation/layout tests.

Automated Windows/package checks are complete; physical installation/navigation acceptance remains explicitly outstanding. There was no Development web deployment or Production deployment for this ribbon-only task.