Record Companion 1.0.0.13 Windows package qualification and limits

This commit is contained in:
nick 2026-11-06 22:45:51 +00:00
parent 938ffaf351
commit 21f9eac167
5 changed files with 606 additions and 6 deletions

View File

@ -0,0 +1,387 @@
{
"installedInventory": [
{
"sha256": "6370E60ADC74AC1C8AE7987C8F059F1069F4D8A24725886A87EA75FD3A1F8951",
"path": "Microsoft.Office.Tools.Common.dll",
"fileId": "F71D9A78FE62F0B311EDC49F8",
"componentId": "{8FA7D971-2FE6-310B-1EDC-49F8807C1770}"
},
{
"sha256": "604E813D1923BBA0EC6255B169F5943F65315E91D8F067F67B0D2F37ECED5E99",
"path": "Microsoft.Office.Tools.Common.v4.0.Utilities.dll",
"fileId": "F78522D7AF68C7916FDE8FD89",
"componentId": "{7A2D5278-8CF6-1679-FDE8-FD89BB2FC7A5}"
},
{
"sha256": "2F7532355034DA667C0DF7CA5D54B24601074346B9EA2D2305B2676D9E577C7A",
"path": "Microsoft.Office.Tools.dll",
"fileId": "F36EBBBBC7C2C6FBB96A245EF",
"componentId": "{BCBBEB36-2C7C-BB6F-96A2-45EF6A4FC7F5}"
},
{
"sha256": "3786CE2C006658DD30F5C919E561D4BEBF5D02BCDFCA7C82E5108C551884DBF3",
"path": "Microsoft.Office.Tools.v4.0.Framework.dll",
"fileId": "F87158EF8A20348624BB26B0F",
"componentId": "{F88E1587-03A2-6248-4BB2-6B0F495183BF}"
},
{
"sha256": "37CBCEE1AB36849E8F26EBAFE7B712BFCFD01D07FD8688BF85E53F4AB6E91AC8",
"path": "Microsoft.Office.Tools.Word.dll",
"fileId": "F2513A99A29B859C1DD38877B",
"componentId": "{9AA91325-B829-C159-DD38-877B8C14E5E2}"
},
{
"sha256": "F720AC853EC95414930381406FA34EAAA90737383E4C221A5B2E6F412263D1C4",
"path": "Microsoft.Office.Tools.Word.v4.0.Utilities.dll",
"fileId": "FCAE8B66D4A81FAE173CC788F",
"componentId": "{6DB6E8CA-814A-E1FA-73CC-788FB33497DC}"
},
{
"sha256": "77D99747306A8546E7E5ABBB0CD251552995F6B97ACF508B090CD5CE2577D0A7",
"path": "Microsoft.VisualStudio.Tools.Applications.Runtime.dll",
"fileId": "F90ACA044CDD743982CAE752A",
"componentId": "{44A0AC90-D7CD-9843-2CAE-752ADB56CE7A}"
},
{
"sha256": "6841DB88650456C85546516703CC4643F5C09DDB86430F544109738C557C5F58",
"path": "package.json",
"fileId": "FBAD3F069D386D245A04319D2",
"componentId": "{69F0D3BA-86D3-45D2-A043-19D2AFBB81DE}"
},
{
"sha256": "66663DA47A8421D647283B57CFA5BE1E7227B24960DF3D68B8E492A15BC5F68F",
"path": "PlotDirector.Companion.Client.dll",
"fileId": "F52E45C2A67EDCD27128AA9D6",
"componentId": "{2A5CE452-ED67-27CD-128A-A9D69B6CA4C3}"
},
{
"sha256": "EBF9107486CC48171A35EA5D3F2197009D4737A062B5912F91685B969047717C",
"path": "PlotDirector.Companion.Protocol.dll",
"fileId": "FF608A21F1A501513AABDC49C",
"componentId": "{1FA208F6-501A-1315-AABD-C49C327DA44B}"
},
{
"sha256": "CD9E87EB58378F206655B14C286DFD294E20F8B911F36BA39063A0367F6AA69C",
"path": "PlotDirector.WordAddIn.dll",
"fileId": "FAEF12D6D691496AA2C1FB075",
"componentId": "{6D2DF1AE-1469-AA96-2C1F-B0757D62FDDD}"
},
{
"sha256": "1D08A9B4CF8CA6EEF9002A6EC4D7FE39A6CFDA88B47095D9944910B2992C479D",
"path": "PlotDirector.WordAddIn.dll.manifest",
"fileId": "F686A414A1BD7BF0C79F63047",
"componentId": "{4A416A68-D71B-0CBF-79F6-30479D391F27}"
},
{
"sha256": "88AD2B91FFECDE16EAEB8B9C9E4B8D30DC185F76D09DFB586764A61CBFD7136F",
"path": "PlotDirector.WordAddIn.vsto",
"fileId": "F2534FA8E1E0DCC5B96F600B0",
"componentId": "{8EFA3425-0D1E-5BCC-96F6-00B008863CC6}"
},
{
"sha256": "3BF4ADFBD7BAF65F0FAF5D67ABAA65C3014BDEAB1E4A8A2D67027F6D72546B0B",
"path": "Agent/PlotDirector.Companion.Agent.deps.json",
"fileId": "FC8EB1FFFC63CC98FFB0CA347",
"componentId": "{FF1FEBC8-3CC6-8FC9-FB0C-A3478202F8C7}"
},
{
"sha256": "41D9F54DA6420C2937110ACEE2651A293966BE1CAF4BF5BF4C51EB8DE14D8AA1",
"path": "Agent/PlotDirector.Companion.Agent.dll",
"fileId": "F3A30270354ACD571A6531DBB",
"componentId": "{0327303A-AC54-71D5-A653-1DBBF348A02A}"
},
{
"sha256": "0C999AADD0CFA3883DE289E270599D4DCC2174A2A9DE3AF91CB88EEA2091B9FF",
"path": "Agent/PlotDirector.Companion.Agent.exe",
"fileId": "F09D1872D05DC0A62DE31A186",
"componentId": "{2D87D109-DC05-620A-DE31-A186536FCD81}"
},
{
"sha256": "96BC2946DFF8790400D652EC7F8DE7BB043E954980D59470C112788B68A1FBD3",
"path": "Agent/PlotDirector.Companion.Agent.runtimeconfig.json",
"fileId": "F50AED3EF840D104A64AD1C74",
"componentId": "{EFD3AE50-0D84-4A10-64AD-1C74541A70FB}"
},
{
"sha256": "EBF9107486CC48171A35EA5D3F2197009D4737A062B5912F91685B969047717C",
"path": "Agent/PlotDirector.Companion.Protocol.dll",
"fileId": "FE695917695994DB8CABD8DE4",
"componentId": "{769195E6-9995-B84D-CABD-8DE4FDC27268}"
}
],
"manual": "Installation, upgrade/uninstall/rollback, trust, Word restart, visual/theme/DPI/accessibility and author workflow acceptance not performed.",
"upgrade": [
{
"UpgradeCode": "{641A087B-9779-458C-B290-BCBBAD49319A}",
"VersionMin": "",
"VersionMax": "1.0.13",
"Language": "",
"Attributes": "0",
"Remove": "ALL",
"ActionProperty": "OLDPRODUCTS"
},
{
"UpgradeCode": "{641A087B-9779-458C-B290-BCBBAD49319A}",
"VersionMin": "1.0.13",
"VersionMax": "",
"Language": "",
"Attributes": "2",
"Remove": "",
"ActionProperty": "NEWERPRODUCTS"
}
],
"sourceCommit": "73ae3140e0be5efd2ca8fff60d3a301788d3b206",
"version": "1.0.0.13",
"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 qualified version10 UpgradeCode",
"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 version10: 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 version10: 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 version10: 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 version10: 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 version10: 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 version10: 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 version10: 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",
"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 version10: 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 version10: 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 version10: 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 version10: 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 version10: PlotDirector.WordAddIn.vsto",
"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 version10: 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 version10: 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 version10: 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 version10: 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 version10: Agent/PlotDirector.Companion.Protocol.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 version10 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"
],
"msiProperties": {
"UpgradeCode": "{641A087B-9779-458C-B290-BCBBAD49319A}",
"MSIINSTALLPERUSER": "1",
"ARPNOMODIFY": "1",
"ProductCode": "{A5831E49-6675-4BCA-9A3D-E03C992F4A13}",
"SOURCECOMMIT": "73ae3140e0be5efd2ca8fff60d3a301788d3b206",
"ARPPRODUCTICON": "PlotDirectorIcon",
"ProductLanguage": "1033",
"COMPANIONVERSION": "1.0.0.13",
"Manufacturer": "Nick Beckley",
"ARPNOREPAIR": "1",
"ADDLOCAL": "Complete",
"ARPURLINFOABOUT": "https://dev.plotdirector.com/",
"SecureCustomProperties": "OLDPRODUCTS;NEWERPRODUCTS",
"ProductVersion": "1.0.13",
"ProductName": "PlotDirector Companion"
},
"signatures": [
{
"thumbprint": "4F3EE0D52D2C60214FB1F81DF6E479820A16487F",
"file": "PlotDirectorCompanionSetup.exe",
"message": "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.",
"status": "UnknownError"
},
{
"thumbprint": "4F3EE0D52D2C60214FB1F81DF6E479820A16487F",
"file": "PlotDirectorCompanion.msi",
"message": "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.",
"status": "UnknownError"
}
],
"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"
}
]
}

View File

@ -0,0 +1,46 @@
{
"version": "1.0.0.13",
"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 refuses machine without mutation",
"Native context guard refuses foreign-user without mutation",
"Native context guard refuses newer-version without mutation"
],
"sourceCommit": "73ae3140e0be5efd2ca8fff60d3a301788d3b206"
}

View File

@ -0,0 +1,44 @@
{
"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"
],
"correctedSetupSha256": "1CCB95F445B3682C9602F5C2D004ACDA6E19A78A6D583A099320EE5CFD9B8011",
"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.10",
"Strict check rejects and diagnoses old/mixed files: 1.0.0.10 / 1.0.0.13",
"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"
]
}

View File

@ -0,0 +1,123 @@
# 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: **73ae3140e0be5efd2ca8fff60d3a301788d3b206**.
- Exact installer build source: **938ffaf3519381c8f1c39a37a3944312f605432c**.
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.

View File

@ -78,28 +78,28 @@ New-Item -ItemType Directory -Path $scratch | Out-Null
$dll=Join-Path $scratch 'Microsoft.Office.Tools.Common.dll'
[IO.File]::WriteAllBytes($dll,[byte[]](1,2,3,4));$originalHash=(Get-FileHash $dll).Hash
try {
$null=$verifyCopy.Invoke($null,@($scratch,[string[]]@('Microsoft.Office.Tools.Common.dll','missing.dll'),$logger))
$null=$verifyCopy.Invoke($null,@([string]$scratch,[string[]]@('Microsoft.Office.Tools.Common.dll','missing.dll'),$logger))
Assert-Upgrade ((Get-FileHash $dll).Hash -eq $originalHash) 'Replacement preflight accepts unlocked/missing payload without changing bytes'
$locked=[IO.File]::Open($dll,[IO.FileMode]::Open,[IO.FileAccess]::Read,[IO.FileShare]::Read)
try {
$message=$null;try{$null=$verifyCopy.Invoke($null,@($scratch,[string[]]@('Microsoft.Office.Tools.Common.dll'),$logger))}catch{$message=$_.Exception.ToString()}
$message=$null;try{$null=$verifyCopy.Invoke($null,@([string]$scratch,[string[]]@('Microsoft.Office.Tools.Common.dll'),$logger))}catch{$message=$_.Exception.ToString()}
Assert-Upgrade ($message -like '*Microsoft.Office.Tools.Common.dll*Windows error 32*No registration or MSI changes*') 'Actual Windows sharing lock on the reported DLL blocks setup before registration/MSI changes'
} finally {$locked.Dispose()}
[IO.File]::SetAttributes($dll,[IO.FileAttributes]::ReadOnly)
try {
$message=$null;try{$null=$verifyCopy.Invoke($null,@($scratch,[string[]]@('Microsoft.Office.Tools.Common.dll'),$logger))}catch{$message=$_.Exception.ToString()}
$message=$null;try{$null=$verifyCopy.Invoke($null,@([string]$scratch,[string[]]@('Microsoft.Office.Tools.Common.dll'),$logger))}catch{$message=$_.Exception.ToString()}
Assert-Upgrade ($message -like '*Windows error 5*No registration or MSI changes*') 'Read-only replacement refusal reports access denied without relaxing permissions'
} finally {[IO.File]::SetAttributes($dll,[IO.FileAttributes]::Normal)}
$guard=$guardMethod.Invoke($null,@($scratch,7))
$guard=$guardMethod.Invoke($null,@([string]$scratch,7))
try {
$blocked=$false;try{$race=[IO.File]::Open((Join-Path $scratch 'agent-7.lock'),[IO.FileMode]::OpenOrCreate,[IO.FileAccess]::ReadWrite,[IO.FileShare]::None);$race.Dispose()}catch{$blocked=$true}
Assert-Upgrade $blocked 'Installer holds the existing tray singleton contract against shortcut/sign-in restart during copying'
} finally {$guard.Dispose()}
$next=$guardMethod.Invoke($null,@($scratch,7));$next.Dispose()
$next=$guardMethod.Invoke($null,@([string]$scratch,7));$next.Dispose()
Assert-Upgrade ((Get-FileHash $dll).Hash -eq $originalHash) 'Singleton guard releases for later tray launch and payload bytes remain unchanged'
} finally {
# Only these exact generated fixture files, never the installed application.
Remove-Item -LiteralPath $dll,(Join-Path $scratch 'agent-7.lock') -Force
foreach($fixturePath in @($dll,(Join-Path $scratch 'agent-7.lock'))){if(Test-Path -LiteralPath $fixturePath){Remove-Item -LiteralPath $fixturePath -Force}}
Remove-Item -LiteralPath $scratch
}
$releaseType=$assembly.GetType('SetupRelease',$true)