From 04fb1cb108d23caef855fb076249ccb6d6ad9c22 Mon Sep 17 00:00:00 2001 From: nick Date: Sat, 21 Nov 2026 14:45:33 +0000 Subject: [PATCH] Qualify navigation pickup candidate and preserve .42 rollback evidence --- .../browser-regressions43.txt | 3 + .../development-attestation.json | 9 + .../payload43.json | 48 +++ .../qualification43.json | 38 +++ .../receipt-polling-example.json | 17 ++ .../setup-evidence43.json | 13 + .../setup43.json | 286 ++++++++++++++++++ .../signatures43.json | 16 + .../upgrade43.json | 46 +++ ...iter-Phase3B4-Navigation-Latency-Report.md | 39 ++- 10 files changed, 512 insertions(+), 3 deletions(-) create mode 100644 Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/browser-regressions43.txt create mode 100644 Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/development-attestation.json create mode 100644 Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/payload43.json create mode 100644 Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/qualification43.json create mode 100644 Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/receipt-polling-example.json create mode 100644 Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/setup-evidence43.json create mode 100644 Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/setup43.json create mode 100644 Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/signatures43.json create mode 100644 Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/upgrade43.json diff --git a/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/browser-regressions43.txt b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/browser-regressions43.txt new file mode 100644 index 00000000..777244eb --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/browser-regressions43.txt @@ -0,0 +1,3 @@ +PASS Writer Word browser/simulated PWA: exact document status, focus isolation, old/uncertain/unsaved/cross-book rejection, explicit chapter handoff, acknowledgement versus request, timeout, repeat guard, bounded check, multi-document selection, disconnect, retained notes/DOM, verified-origin adoption, Help and narrow ribbon. Native events and acknowledgements simulated. +PASS Word document selection Chromium: initial choice, explicit close/reopen/refresh/reconnect, identical names/properties and independent active window; zero automatic navigation. +PASS Word document selection simulated PWA: initial choice, explicit close/reopen/refresh/reconnect, identical names/properties and independent active window; zero automatic navigation. diff --git a/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/development-attestation.json b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/development-attestation.json new file mode 100644 index 00000000..9531e37f --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/development-attestation.json @@ -0,0 +1,9 @@ +{ + "service": "plotdirector-dev", + "state": "active", + "executable": "/srv/apps/plotdirector-dev/current/PlotLine.dll", + "assemblyInformationalVersion": "1.0.0+80f7cb516b52bcf1a0d42493700f0bde85ac776c", + "dllSha256": "5D7F9B4DB127F89A7FB866A932B2C14AF5D5B7B96CAE4B1BD25FC43E10D3C16D", + "method": "Read-only SSH: systemctl, sha256sum, assembly metadata strings", + "deploymentPerformed": false +} diff --git a/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/payload43.json b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/payload43.json new file mode 100644 index 00000000..d88ecea1 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/payload43.json @@ -0,0 +1,48 @@ +{ + "version": "1.0.0.43", + "passed": [ + "Payload version and release publisher match", + "PlotDirector.WordAddIn.vsto identity matches release AnyCPU", + "PlotDirector.WordAddIn.vsto embeds the existing developer certificate", + "PlotDirector.WordAddIn.vsto reference resolves with exact size: PlotDirector.WordAddIn.dll.manifest", + "PlotDirector.WordAddIn.vsto SHA256 reference matches: PlotDirector.WordAddIn.dll.manifest", + "PlotDirector.WordAddIn.dll.manifest identity matches release AnyCPU", + "PlotDirector.WordAddIn.dll.manifest embeds the existing developer certificate", + "PlotDirector.WordAddIn.dll.manifest reference resolves with exact size: Microsoft.Office.Tools.dll", + "PlotDirector.WordAddIn.dll.manifest SHA256 reference matches: Microsoft.Office.Tools.dll", + "PlotDirector.WordAddIn.dll.manifest reference resolves with exact size: Microsoft.Office.Tools.Common.dll", + "PlotDirector.WordAddIn.dll.manifest SHA256 reference matches: Microsoft.Office.Tools.Common.dll", + "PlotDirector.WordAddIn.dll.manifest reference resolves with exact size: Microsoft.Office.Tools.Common.v4.0.Utilities.dll", + "PlotDirector.WordAddIn.dll.manifest SHA256 reference matches: Microsoft.Office.Tools.Common.v4.0.Utilities.dll", + "PlotDirector.WordAddIn.dll.manifest reference resolves with exact size: Microsoft.Office.Tools.Word.dll", + "PlotDirector.WordAddIn.dll.manifest SHA256 reference matches: Microsoft.Office.Tools.Word.dll", + "PlotDirector.WordAddIn.dll.manifest reference resolves with exact size: Microsoft.Office.Tools.Word.v4.0.Utilities.dll", + "PlotDirector.WordAddIn.dll.manifest SHA256 reference matches: Microsoft.Office.Tools.Word.v4.0.Utilities.dll", + "PlotDirector.WordAddIn.dll.manifest reference resolves with exact size: Microsoft.Office.Tools.v4.0.Framework.dll", + "PlotDirector.WordAddIn.dll.manifest SHA256 reference matches: Microsoft.Office.Tools.v4.0.Framework.dll", + "PlotDirector.WordAddIn.dll.manifest reference resolves with exact size: Microsoft.VisualStudio.Tools.Applications.Runtime.dll", + "PlotDirector.WordAddIn.dll.manifest SHA256 reference matches: Microsoft.VisualStudio.Tools.Applications.Runtime.dll", + "PlotDirector.WordAddIn.dll.manifest reference resolves with exact size: PlotDirector.Companion.Client.dll", + "PlotDirector.WordAddIn.dll.manifest SHA256 reference matches: PlotDirector.Companion.Client.dll", + "PlotDirector.WordAddIn.dll.manifest reference resolves with exact size: PlotDirector.Companion.Protocol.dll", + "PlotDirector.WordAddIn.dll.manifest SHA256 reference matches: PlotDirector.Companion.Protocol.dll", + "PlotDirector.WordAddIn.dll.manifest reference resolves with exact size: PlotDirector.WordAddIn.dll", + "PlotDirector.WordAddIn.dll.manifest SHA256 reference matches: PlotDirector.WordAddIn.dll", + "Signed VSTO deployment publisher is Nick Beckley", + "Application file version matches release: PlotDirector.WordAddIn.dll", + "Application file version matches release: Agent\\PlotDirector.Companion.Agent.exe", + "Application file version matches release: Agent\\PlotDirector.Companion.Agent.dll", + "Supporting library retains its declared stable version: PlotDirector.Companion.Client.dll", + "Supporting library retains its declared stable version: PlotDirector.Companion.Protocol.dll", + "Supporting library retains its declared stable version: Agent\\PlotDirector.Companion.Protocol.dll", + "Published tray apphost is native Windows x64", + "Native context guard accepts the existing current-user version10 upgrade", + "Native context guard accepts the working current-user version12 upgrade", + "Native context guard accepts the working current-user version13 upgrade", + "Native context guard accepts the working current-user version14 upgrade", + "Native context guard refuses machine without mutation", + "Native context guard refuses foreign-user without mutation", + "Native context guard refuses newer-version without mutation" + ], + "sourceCommit": "d46ed116009b5250c19fddf8456a5e83116a5924" +} diff --git a/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/qualification43.json b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/qualification43.json new file mode 100644 index 00000000..aa103967 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/qualification43.json @@ -0,0 +1,38 @@ +{ + "sourceCommit": "d46ed116009b5250c19fddf8456a5e83116a5924", + "version": "1.0.0.43", + "completeSolution": "PASS Release, zero warnings/errors", + "vstoBuild": "PASS signed Office build, zero warnings/errors", + "nativeFoundation": 308, + "wordObservation": 13, + "chapterRegression": 453, + "applicationRegression": 633, + "nativeApplicationFocused": [ + "--native-companion", + "--native-companion-http", + "--native-workflow", + "--native-tray", + "--native-import", + "--intent-assessment" + ], + "browserWriterWord": "PASS Chromium and simulated PWA, native events simulated", + "browserExplicitSelection": "PASS Chromium and simulated PWA", + "idlePipePickup": { + "maximumMs": 133.85, + "meanMs": 121.6, + "samples": 6 + }, + "payloadAssertions": 42, + "setupAssertions": 106, + "upgradeAssertions": 34, + "manifests": "Both mage signatures valid", + "installed": false, + "physicalAfterChange": "NOT RUN: explicit installation approval required", + "rollback": { + "version": "1.0.0.42", + "msiSha256": "7C0BFBE14EB676A0943172A9C76A4BC7FD58AE472A43CFBFB6D32A7113E7C333", + "directory": "\\Downloads\\PlotDirectorRollback-1.0.0.42-0e331eac", + "exeSha256": "8C75694DA4403621082CD96FB1B91EDEF68B3F437E6EEB719DC3CCAE976B6BF1" + }, + "browserPrerequisites": "Locked npm dependencies, Node system CA with TLS verification. Vendor headless archive downloaded over HTTPS, extracted with .NET to private fixture directory after Playwright extraction stalled. No dependency/source/lockfile edits." +} diff --git a/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/receipt-polling-example.json b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/receipt-polling-example.json new file mode 100644 index 00000000..81adf950 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/receipt-polling-example.json @@ -0,0 +1,17 @@ +{ + "navigationId": "317dd23a-700c-49d0-b55f-bd0973a37fff", + "clock": "Chrome CDP Network monotonic seconds", + "navigateRequest": 56985.873866, + "navigateAccepted": 56986.324119, + "serverTargetAndQueueMs": 424.67, + "receiptRequests": [ + 56987.334739, + 56988.353985 + ], + "receiptResponses": [ + 56987.350635, + 56988.376274 + ], + "confirmationMs": 2504, + "notes": "Routes only: POST WriterWord/Navigate, GET WriterWord/Navigation. Headers, tokens, manuscript identity and body omitted." +} diff --git a/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/setup-evidence43.json b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/setup-evidence43.json new file mode 100644 index 00000000..baa4b7c8 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/setup-evidence43.json @@ -0,0 +1,13 @@ +{ + "atlasBaseline": "9fed339879887964d526cff00772ffc4dc522c5d", + "installerCommit": "d46ed116009b5250c19fddf8456a5e83116a5924", + "version": "1.0.0.43", + "builtUtc": "2026-11-21T14:40:42.9742192Z", + "payloadPackage": "\\Downloads\\PlotDirectorWordCompanion\\1.0.0.43-d46ed116", + "upgradeCode": "{641A087B-9779-458C-B290-BCBBAD49319A}", + "setupSha256": "6094E9857A6D0A43852576DB98F6FBE2EA179A08C9D14C6149FC08895B96ED7F", + "msiVersion": "1.0.43", + "applicationCommit": "d46ed116009b5250c19fddf8456a5e83116a5924", + "productCode": "{D7159670-480D-42D6-A93B-9F9145D8201E}", + "msiSha256": "20E45867E5B68304EFB885B8D734BA29CDE9ED8930E02C45F9F357810DCA9C92" +} diff --git a/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/setup43.json b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/setup43.json new file mode 100644 index 00000000..20b1e7ca --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/setup43.json @@ -0,0 +1,286 @@ +{ + "upgrade": [ + { + "UpgradeCode": "{641A087B-9779-458C-B290-BCBBAD49319A}", + "VersionMin": "", + "VersionMax": "1.0.43", + "Language": "", + "Attributes": "0", + "Remove": "ALL", + "ActionProperty": "OLDPRODUCTS" + }, + { + "UpgradeCode": "{641A087B-9779-458C-B290-BCBBAD49319A}", + "VersionMin": "1.0.43", + "VersionMax": "", + "Language": "", + "Attributes": "2", + "Remove": "", + "ActionProperty": "NEWERPRODUCTS" + } + ], + "manual": "Installation, upgrade/uninstall/rollback, trust, Word restart, visual/theme/DPI/accessibility and author workflow acceptance not performed.", + "sourceCommit": "d46ed116009b5250c19fddf8456a5e83116a5924", + "msiProperties": { + "UpgradeCode": "{641A087B-9779-458C-B290-BCBBAD49319A}", + "MSIINSTALLPERUSER": "1", + "COMPANIONVERSION": "1.0.0.43", + "SOURCECOMMIT": "d46ed116009b5250c19fddf8456a5e83116a5924", + "ProductLanguage": "1033", + "ARPNOMODIFY": "1", + "ARPPRODUCTICON": "PlotDirectorIcon", + "ProductCode": "{D7159670-480D-42D6-A93B-9F9145D8201E}", + "SecureCustomProperties": "OLDPRODUCTS;NEWERPRODUCTS", + "ADDLOCAL": "Complete", + "ARPURLINFOABOUT": "https://dev.plotdirector.com/", + "ProductName": "PlotDirector Companion", + "ARPNOREPAIR": "1", + "Manufacturer": "Nick Beckley", + "ProductVersion": "1.0.43" + }, + "passed": [ + "Exact release payload source and setup evidence agree", + "Final EXE and MSI hashes agree with build evidence", + "Bootstrapper assembly and file versions match the release", + "EXE embeds the exact signed MSI with no external payload dependency", + "Setup has an explicit asInvoker execution manifest", + "PlotDirectorCompanionSetup.exe uses the existing developer signer", + "PlotDirectorCompanionSetup.exe signature is valid or limited solely by developer trust", + "PlotDirectorCompanion.msi uses the existing developer signer", + "PlotDirectorCompanion.msi signature is valid or limited solely by developer trust", + "MSI version and source metadata match the final application", + "Major upgrade changes ProductCode and preserves the baseline UpgradeCode (1.0.42)", + "MSI is authored strictly per-user", + "MSI summary is compressed x64 and requires no elevated privileges", + "Install root remains current-user LocalAppData Programs", + "Payload directory is application-only: Microsoft.Office.Tools.Common.dll", + "Embedded CAB hash matches verified payload: Microsoft.Office.Tools.Common.dll", + "MSI file size matches payload: Microsoft.Office.Tools.Common.dll", + "Component GUID remains stable from baseline 1.0.42: Microsoft.Office.Tools.Common.dll", + "Payload directory is application-only: Microsoft.Office.Tools.Common.v4.0.Utilities.dll", + "Embedded CAB hash matches verified payload: Microsoft.Office.Tools.Common.v4.0.Utilities.dll", + "MSI file size matches payload: Microsoft.Office.Tools.Common.v4.0.Utilities.dll", + "Component GUID remains stable from baseline 1.0.42: Microsoft.Office.Tools.Common.v4.0.Utilities.dll", + "Payload directory is application-only: Microsoft.Office.Tools.dll", + "Embedded CAB hash matches verified payload: Microsoft.Office.Tools.dll", + "MSI file size matches payload: Microsoft.Office.Tools.dll", + "Component GUID remains stable from baseline 1.0.42: Microsoft.Office.Tools.dll", + "Payload directory is application-only: Microsoft.Office.Tools.v4.0.Framework.dll", + "Embedded CAB hash matches verified payload: Microsoft.Office.Tools.v4.0.Framework.dll", + "MSI file size matches payload: Microsoft.Office.Tools.v4.0.Framework.dll", + "Component GUID remains stable from baseline 1.0.42: Microsoft.Office.Tools.v4.0.Framework.dll", + "Payload directory is application-only: Microsoft.Office.Tools.Word.dll", + "Embedded CAB hash matches verified payload: Microsoft.Office.Tools.Word.dll", + "MSI file size matches payload: Microsoft.Office.Tools.Word.dll", + "Component GUID remains stable from baseline 1.0.42: Microsoft.Office.Tools.Word.dll", + "Payload directory is application-only: Microsoft.Office.Tools.Word.v4.0.Utilities.dll", + "Embedded CAB hash matches verified payload: Microsoft.Office.Tools.Word.v4.0.Utilities.dll", + "MSI file size matches payload: Microsoft.Office.Tools.Word.v4.0.Utilities.dll", + "Component GUID remains stable from baseline 1.0.42: Microsoft.Office.Tools.Word.v4.0.Utilities.dll", + "Payload directory is application-only: Microsoft.VisualStudio.Tools.Applications.Runtime.dll", + "Embedded CAB hash matches verified payload: Microsoft.VisualStudio.Tools.Applications.Runtime.dll", + "MSI file size matches payload: Microsoft.VisualStudio.Tools.Applications.Runtime.dll", + "Component GUID remains stable from baseline 1.0.42: Microsoft.VisualStudio.Tools.Applications.Runtime.dll", + "Payload directory is application-only: package.json", + "Embedded CAB hash matches verified payload: package.json", + "MSI file size matches payload: package.json", + "Component GUID remains stable from baseline 1.0.42: package.json", + "Payload directory is application-only: PlotDirector.Companion.Client.dll", + "Embedded CAB hash matches verified payload: PlotDirector.Companion.Client.dll", + "MSI file size matches payload: PlotDirector.Companion.Client.dll", + "Component GUID remains stable from baseline 1.0.42: PlotDirector.Companion.Client.dll", + "Payload directory is application-only: PlotDirector.Companion.Protocol.dll", + "Embedded CAB hash matches verified payload: PlotDirector.Companion.Protocol.dll", + "MSI file size matches payload: PlotDirector.Companion.Protocol.dll", + "Component GUID remains stable from baseline 1.0.42: PlotDirector.Companion.Protocol.dll", + "Payload directory is application-only: PlotDirector.WordAddIn.dll", + "Embedded CAB hash matches verified payload: PlotDirector.WordAddIn.dll", + "MSI file size matches payload: PlotDirector.WordAddIn.dll", + "Component GUID remains stable from baseline 1.0.42: PlotDirector.WordAddIn.dll", + "Payload directory is application-only: PlotDirector.WordAddIn.dll.manifest", + "Embedded CAB hash matches verified payload: PlotDirector.WordAddIn.dll.manifest", + "MSI file size matches payload: PlotDirector.WordAddIn.dll.manifest", + "Component GUID remains stable from baseline 1.0.42: PlotDirector.WordAddIn.dll.manifest", + "Payload directory is application-only: PlotDirector.WordAddIn.vsto", + "Embedded CAB hash matches verified payload: PlotDirector.WordAddIn.vsto", + "MSI file size matches payload: PlotDirector.WordAddIn.vsto", + "Component GUID remains stable from baseline 1.0.42: PlotDirector.WordAddIn.vsto", + "Payload directory is application-only: Microsoft.Windows.SDK.NET.dll", + "Embedded CAB hash matches verified payload: Agent/Microsoft.Windows.SDK.NET.dll", + "MSI file size matches payload: Agent/Microsoft.Windows.SDK.NET.dll", + "Component GUID remains stable from baseline 1.0.42: Agent/Microsoft.Windows.SDK.NET.dll", + "Payload directory is application-only: PlotDirector.Companion.Agent.deps.json", + "Embedded CAB hash matches verified payload: Agent/PlotDirector.Companion.Agent.deps.json", + "MSI file size matches payload: Agent/PlotDirector.Companion.Agent.deps.json", + "Component GUID remains stable from baseline 1.0.42: Agent/PlotDirector.Companion.Agent.deps.json", + "Payload directory is application-only: PlotDirector.Companion.Agent.dll", + "Embedded CAB hash matches verified payload: Agent/PlotDirector.Companion.Agent.dll", + "MSI file size matches payload: Agent/PlotDirector.Companion.Agent.dll", + "Component GUID remains stable from baseline 1.0.42: Agent/PlotDirector.Companion.Agent.dll", + "Payload directory is application-only: PlotDirector.Companion.Agent.exe", + "Embedded CAB hash matches verified payload: Agent/PlotDirector.Companion.Agent.exe", + "MSI file size matches payload: Agent/PlotDirector.Companion.Agent.exe", + "Component GUID remains stable from baseline 1.0.42: Agent/PlotDirector.Companion.Agent.exe", + "Payload directory is application-only: PlotDirector.Companion.Agent.runtimeconfig.json", + "Embedded CAB hash matches verified payload: Agent/PlotDirector.Companion.Agent.runtimeconfig.json", + "MSI file size matches payload: Agent/PlotDirector.Companion.Agent.runtimeconfig.json", + "Component GUID remains stable from baseline 1.0.42: Agent/PlotDirector.Companion.Agent.runtimeconfig.json", + "Payload directory is application-only: PlotDirector.Companion.Protocol.dll", + "Embedded CAB hash matches verified payload: Agent/PlotDirector.Companion.Protocol.dll", + "MSI file size matches payload: Agent/PlotDirector.Companion.Protocol.dll", + "Component GUID remains stable from baseline 1.0.42: Agent/PlotDirector.Companion.Protocol.dll", + "Payload directory is application-only: WinRT.Runtime.dll", + "Embedded CAB hash matches verified payload: Agent/WinRT.Runtime.dll", + "MSI file size matches payload: Agent/WinRT.Runtime.dll", + "Component GUID remains stable from baseline 1.0.42: Agent/WinRT.Runtime.dll", + "CAB includes the complete runtime inventory plus package.json, without symbols or extra state", + "Replacement preflight inventory exactly matches every embedded MSI payload path", + "All MSI registry writes are limited to exact Companion HKCU keys", + "Word registration uses signed local manifest and LoadBehavior3", + "Start-menu and Startup shortcuts target the installed tray executable", + "Uninstall cleanup excludes user state, documents, credentials and logs", + "Older MSI removal is transactional and precedes new files", + "Standard MSI installation and unified removal actions are present", + "Upgrade range includes baseline 1.0.42 without migrating advertised feature state", + "Newer versions are detected without removal and blocked from downgrade", + "Tray depends on existing .NET10 Windows Desktop x64 runtime", + "Bootstrapper retains normal-user escape, native context checks and exact-product stale metadata handling" + ], + "executeSequence": [ + { + "Action": "FindRelatedProducts", + "Condition": "", + "Sequence": "25" + }, + { + "Action": "LaunchConditions", + "Condition": "", + "Sequence": "100" + }, + { + "Action": "ValidateProductID", + "Condition": "", + "Sequence": "700" + }, + { + "Action": "CostInitialize", + "Condition": "", + "Sequence": "800" + }, + { + "Action": "FileCost", + "Condition": "", + "Sequence": "900" + }, + { + "Action": "CostFinalize", + "Condition": "", + "Sequence": "1000" + }, + { + "Action": "InstallValidate", + "Condition": "", + "Sequence": "1400" + }, + { + "Action": "InstallInitialize", + "Condition": "", + "Sequence": "1500" + }, + { + "Action": "RemoveExistingProducts", + "Condition": "OLDPRODUCTS", + "Sequence": "1510" + }, + { + "Action": "ProcessComponents", + "Condition": "", + "Sequence": "1600" + }, + { + "Action": "UnpublishFeatures", + "Condition": "", + "Sequence": "1800" + }, + { + "Action": "RemoveShortcuts", + "Condition": "", + "Sequence": "3200" + }, + { + "Action": "RemoveRegistryValues", + "Condition": "", + "Sequence": "3300" + }, + { + "Action": "RemoveFiles", + "Condition": "", + "Sequence": "3500" + }, + { + "Action": "RemoveFolders", + "Condition": "", + "Sequence": "3600" + }, + { + "Action": "CreateFolders", + "Condition": "", + "Sequence": "3700" + }, + { + "Action": "InstallFiles", + "Condition": "", + "Sequence": "4000" + }, + { + "Action": "CreateShortcuts", + "Condition": "", + "Sequence": "4500" + }, + { + "Action": "WriteRegistryValues", + "Condition": "", + "Sequence": "5000" + }, + { + "Action": "RegisterUser", + "Condition": "", + "Sequence": "6000" + }, + { + "Action": "RegisterProduct", + "Condition": "", + "Sequence": "6100" + }, + { + "Action": "PublishFeatures", + "Condition": "", + "Sequence": "6300" + }, + { + "Action": "PublishProduct", + "Condition": "", + "Sequence": "6400" + }, + { + "Action": "InstallFinalize", + "Condition": "", + "Sequence": "6600" + } + ], + "version": "1.0.0.43", + "signatures": [ + { + "thumbprint": "4F3EE0D52D2C60214FB1F81DF6E479820A16487F", + "message": "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.", + "file": "PlotDirectorCompanionSetup.exe", + "status": "UnknownError" + }, + { + "thumbprint": "4F3EE0D52D2C60214FB1F81DF6E479820A16487F", + "message": "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.", + "file": "PlotDirectorCompanion.msi", + "status": "UnknownError" + } + ] +} diff --git a/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/signatures43.json b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/signatures43.json new file mode 100644 index 00000000..1f639ca0 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/signatures43.json @@ -0,0 +1,16 @@ +[ + { + "name": "PlotDirectorCompanion.msi", + "sha256": "20E45867E5B68304EFB885B8D734BA29CDE9ED8930E02C45F9F357810DCA9C92", + "signatureStatus": "UnknownError", + "statusMessage": "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.", + "thumbprint": "4F3EE0D52D2C60214FB1F81DF6E479820A16487F" + }, + { + "name": "PlotDirectorCompanionSetup.exe", + "sha256": "6094E9857A6D0A43852576DB98F6FBE2EA179A08C9D14C6149FC08895B96ED7F", + "signatureStatus": "UnknownError", + "statusMessage": "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.", + "thumbprint": "4F3EE0D52D2C60214FB1F81DF6E479820A16487F" + } +] diff --git a/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/upgrade43.json b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/upgrade43.json new file mode 100644 index 00000000..600af1f6 --- /dev/null +++ b/Docs/Writer/Evidence/Phase3B4/20261121T142329Z-navigation42-physical/upgrade43.json @@ -0,0 +1,46 @@ +{ + "scope": "Read-only MSI tables, compiled policy and disposable Windows file-lock fixtures only. No installed upgrade was executed.", + "rejectedOriginalAuthoring": [ + "No explicit local Complete feature selection", + "Complete can be advertised or absent", + "Old advertised feature state is eligible for migration", + "MigrateFeatureStates action is scheduled" + ], + "passed": [ + "Regression fixture records the real advertised-feature/no-file-action failure", + "Negative control: original released version12 MSI fails all four local-install invariants", + "Corrected MSI cannot inherit the recorded advertised feature selection", + "New release has its own major-upgrade identity, distinct from the failed version12 package", + "Compiled bootstrapper requests local files: version10 advertised-feature major upgrade", + "Compiled bootstrapper chooses correct repair mode: version10 advertised-feature major upgrade", + "Compiled bootstrapper requests local files: same-release advertised repair", + "Compiled bootstrapper chooses correct repair mode: same-release advertised repair", + "Strict check rejects and diagnoses old/mixed files: 1.0.0.10 / 1.0.0.10", + "Strict check rejects and diagnoses old/mixed files: 1.0.0.12 / 1.0.0.12", + "Strict check rejects and diagnoses old/mixed files: 1.0.0.13 / 1.0.0.13", + "Strict check rejects and diagnoses old/mixed files: 1.0.0.14 / 1.0.0.14", + "Strict check rejects and diagnoses old/mixed files: 1.0.0.43 / 1.0.0.10", + "Strict check rejects and diagnoses old/mixed files: 1.0.0.10 / 1.0.0.43", + "Strict check accepts matching release files", + "Compiled control flow explicitly promotes feature state 1 to Local before accepting versions", + "Compiled control flow explicitly promotes feature state 2 to Local before accepting versions", + "Compiled control flow explicitly promotes feature state 4 to Local before accepting versions", + "Already Local feature is not needlessly configured again", + "Compiled feature transition refuses native-error instead of trusting result0 or old files", + "Compiled feature transition refuses still-advertised instead of trusting result0 or old files", + "Compiled feature transition refuses unknown-state instead of trusting result0 or old files", + "Unknown native state is rejected before any configuration request", + "Bootstrapper wires explicit native Local configuration before strict version validation", + "Required file belongs to the locally selected Complete feature: PlotDirector.WordAddIn.dll", + "Required file belongs to the locally selected Complete feature: PlotDirector.Companion.Agent.exe", + "Replacement preflight accepts unlocked/missing payload without changing bytes", + "Actual Windows sharing lock on the reported DLL blocks setup before registration/MSI changes", + "Read-only replacement refusal reports access denied without relaxing permissions", + "Installer holds the existing tray singleton contract against shortcut/sign-in restart during copying", + "Singleton guard releases for later tray launch and payload bytes remain unchanged", + "Compiled replacement preflight inventory covers the whole MSI payload including the failed DLL and tray", + "Copy preflight precedes registration and all VSTO/MSI mutation", + "Singleton guard releases on failure and before the installed tray is started" + ], + "correctedSetupSha256": "6094E9857A6D0A43852576DB98F6FBE2EA179A08C9D14C6149FC08895B96ED7F" +} diff --git a/Docs/Writer/Writer-Phase3B4-Navigation-Latency-Report.md b/Docs/Writer/Writer-Phase3B4-Navigation-Latency-Report.md index 0d4386c3..1004b1f7 100644 --- a/Docs/Writer/Writer-Phase3B4-Navigation-Latency-Report.md +++ b/Docs/Writer/Writer-Phase3B4-Navigation-Latency-Report.md @@ -2,7 +2,7 @@ ## Current checkpoint — 21 November, installed .42 physical diagnostics -**The user installed .42 successfully without certificate/security warnings. Computer use now works through the reconnected Chrome extension.** The actual browser URL is Development (`https://dev.plotdirector.com/Writer/Review`); Word Troubleshooting explicitly reported **PlotDirector 1.0.0.42, Agent: connected**, authenticated heartbeat and one document. Running agent/file inventory matched .42. Word retained 48 verified chapters and 154,925 words. No manuscript text was edited or saved. The .42 package and hashes are recorded in the historical package section below. +**The user installed .42 successfully without certificate/security warnings. Computer use now works through the reconnected Chrome extension.** The actual browser URL is Development (`https://dev.plotdirector.com/Writer/Review`); Word Troubleshooting explicitly reported **PlotDirector 1.0.0.42, Agent: connected**, authenticated heartbeat and one document. Running agent/file inventory matched .42. Word retained 48 verified chapters and 154,925 words. No manuscript text was edited or saved. The .42 package and hashes are recorded in the historical package section below. A statically qualified, signed **.43 correction candidate is ready; installation approval is the remaining gate before the after-change physical benchmark**. Ten real warm .42 trials completed with matching native acknowledgement and inspected Word targets. The original Writer scene focus was restored with a separate excluded navigation. Initial warmup and cleanup are excluded. Browser foreground and side-by-side arrangements were not independently controlled; exact viewport paint time remains unmeasured. These are click-to-native-confirmation timings with physical target checks, not invented click-to-paint measurements. @@ -51,9 +51,42 @@ The wider 3.38-second baseline is consistent with stacked waits: unchanged agent **Proposed .43 changes only AgentLink's idle local pipe interval from 1000ms to 100ms.** Its worker already wakes every 25ms. Maximum idle local exchanges increase from about one to ten per second per connected Word instance, with no increased cloud/DB requests, no new worker or navigation architecture, and the same cancellation, timeout and bounded mailbox. Busy traffic still takes priority and existing chapter fast polling is unchanged. This is a bounded local tradeoff; physical CPU/resource impact remains to be observed after installation. -No R1 producer timestamp/freshness logic, R2 selection, identity, saved/revision/provenance proof, expiry, cancellation, server authorisation, target positions or execution acknowledgement has changed. Only five native source/release/test files are modified: AgentLink, its executable regression harness, version props, VSTO assembly metadata and Setup Release.json. No database, migration, stored procedure, application/server source or configuration changes are required. Production remains untouched. +No R1 producer timestamp/freshness logic, R2 selection, identity, saved/revision/provenance proof, expiry, cancellation, server authorisation, target positions or execution acknowledgement has changed. Only six native source/release/test files are modified: AgentLink, its executable regression harness, the chapter polling expiry assertion, version props, VSTO assembly metadata and Setup Release.json. No database, migration, stored procedure, application/server source or configuration changes are required. Production remains untouched. -A real named-pipe regression with no Word selection/metrics traffic verifies exact command delivery, pickup below 500ms and bounded pacing rather than a busy loop. Its first run observed maximum 134.64ms and mean 122.07ms over six idle exchanges; native foundation passed 308 checks. Complete Release solution build passed with zero warnings/errors. Further regression, signing and package qualification are in progress at this source checkpoint. .43 must not replace installed .42 until qualification and explicit installation approval; preserve the signed .42 installer as rollback. No .43 physical speedup is claimed before that gate. +A real named-pipe regression with no Word selection/metrics traffic verifies exact command delivery, pickup below 500ms and bounded pacing rather than a busy loop. Its first run observed maximum 134.64ms and mean 122.07ms over six idle exchanges; the final package gate observed maximum 133.85ms and mean 121.60ms. These are isolated local-pipe results, not physical Word benchmarks. The chapter regression initially failed its old assertion that no idle poll occurs within 250ms; the assertion now verifies that chapter fast polling expires into the bounded 100ms idle cadence. The corrected complete chapter suite passed. + +### Final qualification and concrete .43 package + +Package source is **d46ed116009b5250c19fddf8456a5e83116a5924**, following correction/evidence commit 16019087. Supported Update-WordCompanion -NoSync and Build-Setup workflows were used without Office Clean, F5 registration, installation or process termination. + +| Check | Result | +| --- | --- | +| Complete Release solution and signed VSTO build | PASS, zero warnings/errors | +| Native foundation | 308 PASS | +| R1 observation freshness/native acknowledgement | 13 PASS | +| Native chapter/range/reopening/navigation regressions | 453 PASS | +| Full application executable regression harness | 633 PASS | +| Six focused native application suites | PASS | +| Writer Word browser and explicit-document-selection fixtures | PASS, Chromium and simulated PWA | +| Payload / setup / advertised-feature upgrade qualification | 42 / 106 / 34 PASS | +| Both VSTO manifest signatures | mage: valid | +| Physical .43 navigation benchmark / resource observation | NOT RUN, awaiting installation approval | + +Browser fixture dependencies were restored from the existing lockfile using npm ci with Node system certificate trust enabled and TLS verification retained. Playwright's vendor archive extraction stalled; the downloaded headless archive was extracted with .NET into a private qualification directory, and the browser launch and both unchanged fixture suites passed. No dependency or lockfile changes were made. These simulations preserve their stated limits and do not substitute for physical Word/PWA acceptance. The temporary local fixture server was stopped afterwards. + +Fresh read-only Development attestation confirmed active plotdirector-dev, the expected service executable, assembly informational version **1.0.0+80f7cb516b52bcf1a0d42493700f0bde85ac776c**, and DLL SHA-256 **5D7F9B4DB127F89A7FB866A932B2C14AF5D5B7B96CAE4B1BD25FC43E10D3C16D**. No deployment occurred. .43 uses the same protocol/capabilities and needs no server update. + +Candidate: `C:\Users\Nick\Downloads\PlotDirectorCompanion-1.0.0.43-d46ed116\PlotDirectorCompanionSetup.exe`. + +- EXE SHA-256: **6094E9857A6D0A43852576DB98F6FBE2EA179A08C9D14C6149FC08895B96ED7F**. +- MSI SHA-256: **20E45867E5B68304EFB885B8D734BA29CDE9ED8930E02C45F9F357810DCA9C92**. +- MSI version 1.0.43; new ProductCode `{D7159670-480D-42D6-A93B-9F9145D8201E}`; established UpgradeCode retained. +- Existing developer signer thumbprint **4F3EE0D52D2C60214FB1F81DF6E479820A16487F**. Both static Authenticode results report UnknownError solely because the chain terminates in an untrusted root. This is disclosed separately from the user's warning-free .42 installation. No trust settings were changed. +- Preserved rollback: `C:\Users\Nick\Downloads\PlotDirectorRollback-1.0.0.42-0e331eac`, containing the verified unchanged signed .42 unified EXE and MSI. EXE SHA-256 **8C75694DA4403621082CD96FB1B91EDEF68B3F437E6EEB719DC3CCAE976B6BF1**; MSI **7C0BFBE14EB676A0943172A9C76A4BC7FD58AE472A43CFBFB6D32A7113E7C333**. Recovery uses separately approved normal uninstall/reinstall, never a forced downgrade or registry repair. + +[Qualification and rollback](Evidence/Phase3B4/20261121T142329Z-navigation42-physical/qualification43.json), [signatures](Evidence/Phase3B4/20261121T142329Z-navigation42-physical/signatures43.json), [Development attestation](Evidence/Phase3B4/20261121T142329Z-navigation42-physical/development-attestation.json), [browser receipt timing](Evidence/Phase3B4/20261121T142329Z-navigation42-physical/receipt-polling-example.json). + +**Next action requires approval to replace .42 with this concrete .43 package.** Normal Word save/closure and the established interactive installer procedure remain required; no automatic replacement, author-document edit, security-warning bypass or Production operation is authorised. After installation, verify actual loaded versions and Development connection, repeat ten equivalent warm physical trials, compare median/p90/worst and inspect idle resource use. The under-two-second aim and final physical qualification remain open; the confirmed local bottleneck has a regression-qualified correction ready for that test. ### Historical evidence below