PlotDirector/PlotDirector.NativeCompanion/WindowsValidation/Setup/Qualification-2026-11-06-v1.0.0.13.md

7.3 KiB

Companion 1.0.0.13 — Windows automated qualification, 6 November 2026

Signed candidate produced; not installed. Live Word/PWA integration and the actual MSI upgrade are NOT verified. The original MSI 1310 cause remains unproven.

Source and artifacts

  • Existing shared branch: codex/word-companion-native-phase1-20261104.
  • Started clean at dcaab6e2262d93f929ee266f0358b9b5dc9a8861; identified tracking remote PlotDirector, fetched and fast-forwarded to Atlas's latest 73ae3140e0be5efd2ca8fff60d3a301788d3b206. No branch/worktree created.
  • Exact native/VSTO payload source: 73ae3140e0.
  • Exact installer build source: 938ffaf351. Subsequent changes repair only test-harness argument conversion/fixture cleanup and record evidence; native and installer build sources/bytes are unchanged.
  • Signed complete installer: C:\Users\Nick\Downloads\PlotDirectorCompanion-1.0.0.13-938ffaf3\PlotDirectorCompanionSetup.exe
  • Signed MSI alongside it: PlotDirectorCompanion.msi (embedded in the EXE).
  • Complete signed payload: C:\Users\Nick\Downloads\PlotDirectorWordCompanion\1.0.0.13-73ae3140.
Artifact SHA-256
Setup EXE 1CCB95F445B3682C9602F5C2D004ACDA6E19A78A6D583A099320EE5CFD9B8011
MSI 644EE1D746C02958A29EBF9291F8649F4A7592E7883959B0C4D83F49B8DDEC3D

VSTO and tray application versions are 1.0.0.13, MSI 1.0.13. The existing Client/Protocol library versions remain 1.0.0.0; exact bytes are pinned by signed manifest digests and inventory. Signer is the existing developer certificate 4F3EE0D52D2C60214FB1F81DF6E479820A16487F; both VSTO signatures verify through mage. EXE/MSI Authenticode reports an untrusted developer certificate root, not a public distribution signature. No trust-store changes were made.

Packaging correction and diagnosis

Release.json now aligns to Atlas's version13 payload and baseline. New ProductCode {A5831E49-6675-4BCA-9A3D-E03C992F4A13} retains the established UpgradeCode {641A087B-9779-458C-B290-BCBBAD49319A}. Older-product removal includes versions10 and12 within the existing MSI transaction; component GUIDs remain stable from the qualified version10 baseline. Same-release maintenance, explicit Local feature configuration, downgrade/context guards and strict actual file-version checks remain.

The previous logs distinguish the already-fixed advertised-feature mismatch from MSI 1310/system error0 copying Microsoft.Office.Tools.Common.dll, followed by1603 and rollback error5. They do not establish the specific writer/lock/ACL cause. The user reported successful installation after exiting the sign-in-started tray and removing the old folder; this is evidence consistent with a lock, not proof of the historical MSI cause. No further installation or destructive diagnostic was run.

The demonstrated installer gap was no replacement-access check before VSTO/MSI mutation, and no exclusion against a tray restart after the one-shot process stop. The corrected bootstrapper:

  • Stops only the exact installed agent path in the current session when a human explicitly runs setup; it no longer accepts any executable under LocalAppData.
  • Holds the existing tray singleton lock throughout the upgrade, releasing it on failure and before starting the upgraded tray.
  • Checks every candidate payload path for existing-file replacement access using OPEN_EXISTING without writing bytes. Missing old files are allowed; sharing, read-only and access errors stop before registration/VSTO/MSI changes with the path and Windows error. It never deletes installed files or changes permissions.

This is a qualified guard against the demonstrated file-lock/access failure class, not a claim that the historical MSI 1310 or rollback-security cause is solved. A later Word/antivirus/external-process race and MSI transaction/rollback behavior cannot be ruled out by this preflight. No safety/version check was bypassed.

Automated results

One serial Update-WordCompanion.ps1 -NoSync run built/tested the unchanged Atlas source, using existing Office MSBuild and the existing certificate. No Office Clean, F5 registration, Visual Studio, Word, installers or desktop automation was invoked.

Check Result
Complete Release solution build PASS, zero warnings/errors
Native foundation executable harness PASS, 217 checks
Native companion / HTTP / workflow / tray / import / Intent suites All six PASS
Office MSBuild VSTO and signed manifests PASS, zero warnings/errors
Windows x64 .NET10 desktop agent publish PASS
Unified signed EXE/MSI/CAB build PASS, 18 runtime/inventory files
Exact manifest/file digests, versions and context fixtures PASS, 40 assertions
MSI/CAB/EXE payload and version10 compatibility inspection PASS, 97 assertions
Advertised upgrade/maintenance and copy-access regression PASS, 32 assertions

The upgrade regression rejects the original defective version12 MSI, exercises compiled maintenance transitions, rejects old/mixed versions10/12, holds a real Windows sharing lock on a disposable DLL with the reported filename, checks a read-only file, verifies unchanged bytes, and tests the existing tray singleton contract against restart. It never invokes Setup.Main, MSI install/configure APIs, the installed tray, or the installed application's singleton lock.

The first package check used an earlier trial version10 MSI and correctly rejected its different component GUIDs. It was rerun only with the preserved qualified baseline, whose setup EXE hash matches Release.json. The upgrade harness initially hit PowerShell PSObject-to-string reflection conversion and cleanup of an uncreated fixture; those harness-only defects were corrected and the affected check rerun. Native builds/tests and the installer build were not repeated. The failed baseline comparison's extraction is retained separately; final package bytes are unchanged.

Machine-readable passing evidence: Evidence-1.0.0.13/{payload,package,upgrade}.json. Local full build log and private read-only before/after installation snapshots are under C:\Temp\PlotDirectorQualification-1.0.0.13; private profile/registry details are intentionally not committed.

Preservation and remaining acceptance

Read-only native inventory confirms the working installed product remains MSI1.0.12, with VSTO/tray1.0.0.12 in the current-user unmanaged MSI context. Before/after installed payload hashes and Word registration match exactly. No installed settings, manifests, manuscripts, database, system configuration, Office/Visual Studio tools or Production were changed. The qualified version10 installer baseline is untouched.

Remaining blocker: actual version12-to13 MSI copying, rollback and Word restart have not been executed, and the old1310 root cause cannot be proven under the required non-installing constraints. Do not call this an accepted live upgrade.

Next human step: save/close Word, exit the Companion tray menu, and run the complete EXE above (not the adjacent MSI). Retain logs if any replacement error occurs; do not delete the installation directory as a workaround. Then perform the isolated-book Word/PWA acceptance checklist in Atlas's handover, including exact document capture, three-book/reconnect scope, Context/Intent windows and 200k+ responsiveness. No live Word or PWA result is inferred from these automated/simulated tests.